Introduce --hotplug-if-possible option
This will be useful for an external entity using RAPI thatwants to modify devices of instances.
The common use case for that is:"I want to add a NIC/disk to an instance. If it is runningthen try to hotplug the device. If not, then just add it to config."...
Add missing spindles paramter to idisk
When spindles where added to Ganeti, apparently it was forgottento add the parameter to the Haskell data type as well. Do this now.
Signed-off-by: Klaus Aehlig <aehlig@google.com>Reviewed-by: Petr Pudlak <pudlak@google.com>
Parse spindles as integer
The disk parameter "spindles", if present, has to be an integer.Enforce this already when parsing the command line, instead ofpassing around the string representation of that integer.
Signed-off-by: Klaus Aehlig <aehlig@google.com>...
Fix a bug in BlockDevAssemble
If BlockdevAssemble() is invoked with as_primary=False(currently only in the first pass of AssembleInstanceDisks())then _RecursiveAssembleBD() returns True. In this case wemust return a dummy True, True in the backend method....
Add an IPv6 check for the QA test of custom SSH ports
If any of the nodes involved would be reached through IPv6, the test isskipped. This is because the required testing setup using "iptables" issuiteble only for IPv4 and doesn't work for IPv6 connections....
hsqueeze: describe option -C in the man page
The option -C was recently added to hsqueeze, but not documented inthe man page. Add the documentation now.
Signed-off-by: Klaus Aehlig <aehlig@google.com>Reviewed-by: Helga Velroyen <helgav@google.com>
Bump new upstream version
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Merge branch 'stable-2.8-latest' into debian-2.8
Do not abort if hotplug is not supported
This will be useful for an external entity using RAPI thatwants to do device modifications to instances.
The common use case for that is:"I want to add a nic/disk to an instance. If it is runningthen hotplug the device. If not, then just add it to config."...
Add an aggregate NIC VLAN field to Python queries
As all other NIC fields have an aggregate retrieval field, add one forthe VLANs as well.
Signed-off-by: Hrvoje Ribicic <riba@google.com>Reviewed-by: Thomas Thrainer <thomasth@google.com>
Allow the NIC VLAN to be set to an empty string
The NIC VLAN has previously not been modified via Haskell, causing theINicParams class not to be used. With the recent job queuerefactorings, a modification definition is recorded, and for an emptystring (which is a legal default value) a crash happens. This patch...
Add the aggregate NIC VLAN instance field
Allow the retrieval of the VLANs of all the NICs through nic.vlans.
Add NIC VLAN field retrieval to Haskell queries
The field was added to Python queries in an earlier version, and nowhas to be added to the Haskell queries as well.
Some changes in control file
ganeti-haskell replaces snf-ganeti because/usr/share/man/man8/ganeti-confd.8.gz was in ganeti 2.6 but now inganeti-haskell.
snf-ganeti recommends qemu-kvm or xen or qemu so that ifkvm is already installed do not install xen....
RAPI: Make use of request_body in Reboot/Remove
Until now, the shutdown_timeout parameter could only be passed toShutdownInstance() inside kwargs, causing it to be included in therequest body. Based on that, extend RebootInstance() andRemoveInstance() so that they can take extra arguments (e.g....
RAPI: Pass depends body arg (if any) to opcode
Most rlib2 classes override the default _GetDefaultData() method withcustom methods that parse a request's body and query args and return a(body, specific_static) tuple eventually passed to FillOpCode().Job dependencies are defined in the `depends` body argument that might...
Allow instances to obtain externally reserved IPs
The administrator should be able to assign an externally reserved IPto a Ganeti instance manually, if desired. Currently this is notsupported. External reservations should act as holes in the pool andnot just as IPs already used by someone outside of Ganeti....
Mark cluster's IPs as externally reserved
Currently, upon network creation, nodes' and master's IPsare reserved in the pool.
This leads to pool reservations ('X' in map) that cannot be changedafterwards, although they may need to (e.g. in case of node...
Show running times of whole test blocks
Similarly to simple tests, test blocks are now demarcated (in boldface)and measured.
Signed-off-by: Petr Pudlak <pudlak@google.com>Reviewed-by: Jose A. Lopes <jabolopes@google.com>
Add more color options to QA
Allow combination of colors, background colors, bold, reverse video,etc.
Add more thorough check for terminal color support to QA
It uses `tput` to check if the current terminal has enough colors.
Be paranoid about existing keys in cfgupgrade
The cfgupgrade test assumes a very minimal configuration for some of itstests. This configuration does not contain some of the fields which wereassumed to be present in cfgupgrade. This patch tests for the existence...
Downgrade from 2.10 to 2.9 correctly
Add handling for Open vSwitch related configuration parameters as wellas for the "cpuid" and "soundhw" hypervisor parameters.
Signed-off-by: Thomas Thrainer <thomasth@google.com>Reviewed-by: Jose A. Lopes <jabolopes@google.com>
Update NEWS file with socket permission fix info
The NEWS file now contains a 2.8.3 entry, describing the fix of theprevious patch.
Signed-off-by: Hrvoje Ribicic <riba@google.com>Reviewed-by: Michele Tartara <mtartara@google.com>
Fix socket permissions after master-failover
When using gnt-cluster master-failover, on the soon-to-be-master theluxi daemon is started by the node daemon. This makes the luxidaemon inherit the node daemon's umask 077, making the communicationsocket unreadable to group members. When using Ganeti with non-root...
« Previous 1 ... 159 160 161 162 163 ... 644 Next » (4001-4025/16089) | Per page: 25, 50, 100
Also available in: Atom