Activity

From 02/26/2013 to 03/27/2013

03/27/2013

12:47 pm ganeti-local Revision 64760879: Unit tests for config.ConfigWriter.VerifyConfig()
The test is aimed mostly at instance policies, which changed recently.
Signed-off-by: Bernardo Dal Seno <bdalseno@go...
Bernardo Dal Seno
12:47 pm Revision 64760879: Unit tests for config.ConfigWriter.VerifyConfig()
The test is aimed mostly at instance policies, which changed recently.
Signed-off-by: Bernardo Dal Seno <bdalseno@go...
Bernardo Dal Seno
12:46 pm Revision 0b94cda8: cfgupgrade: Add support for newly refactored ipolicies
Instance policies in the configuration are upgraded and downgraded. Both
operations are idempotent.
Signed-off-by: B...
Bernardo Dal Seno
12:46 pm ganeti-local Revision 0b94cda8: cfgupgrade: Add support for newly refactored ipolicies
Instance policies in the configuration are upgraded and downgraded. Both
operations are idempotent.
Signed-off-by: B...
Bernardo Dal Seno
12:46 pm ganeti-local Revision da5f09ef: Refactor ispecs in ipolicy structures
Minimum and maximum instance specs are put together into a single element
of the instance policy. This is in preparat...
Bernardo Dal Seno
12:46 pm Revision da5f09ef: Refactor ispecs in ipolicy structures
Minimum and maximum instance specs are put together into a single element
of the instance policy. This is in preparat...
Bernardo Dal Seno
12:46 pm ganeti-local Revision 1709435e: cfgupgrade: Add --downgrade option
It's now possible to go back to the previous stable version. Unit tests
provided.
This is mostly useful during devel...
Bernardo Dal Seno
12:46 pm Revision 1709435e: cfgupgrade: Add --downgrade option
It's now possible to go back to the previous stable version. Unit tests
provided.
This is mostly useful during devel...
Bernardo Dal Seno
12:46 pm Revision bb553e5a: cfgupgrade: Refactor code
All the upgrading code is now in one function. No functionality has been
changed.
Signed-off-by: Bernardo Dal Seno <...
Bernardo Dal Seno
12:46 pm ganeti-local Revision bb553e5a: cfgupgrade: Refactor code
All the upgrading code is now in one function. No functionality has been
changed.
Signed-off-by: Bernardo Dal Seno <...
Bernardo Dal Seno
12:46 pm ganeti-local Revision 04db1880: Configuration is verified on load
If there are errors in the configuration when master daemon is started,
they are now logged and reported. Previously ...
Bernardo Dal Seno
12:46 pm Revision 04db1880: Configuration is verified on load
If there are errors in the configuration when master daemon is started,
they are now logged and reported. Previously ...
Bernardo Dal Seno
12:45 pm ganeti-local Revision d948c101: Refactor cli.CreateIPolicyFromOpts()
The code relative to instance specs has been moved into a different
function. This in preparation for further patches...
Bernardo Dal Seno
12:45 pm Revision d948c101: Refactor cli.CreateIPolicyFromOpts()
The code relative to instance specs has been moved into a different
function. This in preparation for further patches...
Bernardo Dal Seno
12:45 pm Revision eeaa5f6c: Remove duplicate filling of instance policy
Instance policy fields were manually filled in CreateIPolicyFromOpts() and
then filled again by the caller. Now they ...
Bernardo Dal Seno
12:45 pm ganeti-local Revision eeaa5f6c: Remove duplicate filling of instance policy
Instance policy fields were manually filled in CreateIPolicyFromOpts() and
then filled again by the caller. Now they ...
Bernardo Dal Seno
12:45 pm ganeti-local Revision a6fdce9e: Unit test for cli.CreateIPolicyFromOpts()
Useful for subsequent patches.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Helga Velroyen <h...
Bernardo Dal Seno
12:45 pm Revision a6fdce9e: Unit test for cli.CreateIPolicyFromOpts()
Useful for subsequent patches.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Helga Velroyen <h...
Bernardo Dal Seno
12:45 pm ganeti-local Revision a6321765: Amend partitioned design doc for multiple ispecs
There will be only one standard specification in instance policies.
Signed-off-by: Bernardo Dal Seno <bdalseno@googl...
Bernardo Dal Seno
12:45 pm Revision a6321765: Amend partitioned design doc for multiple ispecs
There will be only one standard specification in instance policies.
Signed-off-by: Bernardo Dal Seno <bdalseno@googl...
Bernardo Dal Seno
12:44 pm ganeti-local Revision e118deb1: QA: Fix assertion
The assertion was always true because "all" was missing.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Revi...
Bernardo Dal Seno
12:44 pm Revision e118deb1: QA: Fix assertion
The assertion was always true because "all" was missing.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Revi...
Bernardo Dal Seno

03/26/2013

07:10 pm ganeti-local Revision 681f4f7b: More info on using the RAPI
Add some additional information about how to use/test the RAPI,
including how to specify authentication credentials.
...
Michele Tartara
07:10 pm Revision 681f4f7b: More info on using the RAPI
Add some additional information about how to use/test the RAPI,
including how to specify authentication credentials.
...
Michele Tartara
01:57 pm Revision 2cbcf95d: gnt-instance info uses a revised format
The code is more modular and the output is YAML-compliant. QA updated to
take advantage of it.
Signed-off-by: Bernar...
Bernardo Dal Seno
01:57 pm ganeti-local Revision 2cbcf95d: gnt-instance info uses a revised format
The code is more modular and the output is YAML-compliant. QA updated to
take advantage of it.
Signed-off-by: Bernar...
Bernardo Dal Seno
01:57 pm Revision 0e79564a: gnt-cluster info uses a revised format
The code is more modular and the output is YAML-compliant.
Added function in QA that uses PyYAML to parse the comman...
Bernardo Dal Seno
01:57 pm ganeti-local Revision 0e79564a: gnt-cluster info uses a revised format
The code is more modular and the output is YAML-compliant.
Added function in QA that uses PyYAML to parse the comman...
Bernardo Dal Seno
01:57 pm ganeti-local Revision 4d99964c: Generic function to print data for gnt-xxx info
The function produces a human-readable output, which is also a valid YAML
file, from an intermediate data structure. ...
Bernardo Dal Seno
01:57 pm Revision 4d99964c: Generic function to print data for gnt-xxx info
The function produces a human-readable output, which is also a valid YAML
file, from an intermediate data structure. ...
Bernardo Dal Seno

03/22/2013

05:06 pm ganeti-local Revision 61f8fda4: Fix bug in rlib2 unit tests
The "queryargs" parameter of the __init__ function of rlib2 classes should
be a dictionary, as defined in the Resourc...
Michele Tartara
05:06 pm Revision 61f8fda4: Fix bug in rlib2 unit tests
The "queryargs" parameter of the __init__ function of rlib2 classes should
be a dictionary, as defined in the Resourc...
Michele Tartara
05:01 pm Revision fb409531: Remove use of deprecated function
cgi.parse_qs() is deprecated in python 2.6 and substituted by
urlparse.parse_qs().
This patch modifies the code to u...
Michele Tartara
05:01 pm ganeti-local Revision fb409531: Remove use of deprecated function
cgi.parse_qs() is deprecated in python 2.6 and substituted by
urlparse.parse_qs().
This patch modifies the code to u...
Michele Tartara
01:00 pm Revision 27263c47: gnt-cluster modify: limit storage type consistency check
This fixes the currently broken Q&A. The consistency check
for storage types is now only run when the 'enabled_storag...
Helga Velroyen
01:00 pm ganeti-local Revision 27263c47: gnt-cluster modify: limit storage type consistency check
This fixes the currently broken Q&A. The consistency check
for storage types is now only run when the 'enabled_storag...
Helga Velroyen
09:46 am ganeti-local Revision 9c6f0b51: Check if instances use disk templates that get disabled
When disk templates get disabled via 'gnt-cluster modify', so far
we did not check if any instances still use a disk ...
Helga Velroyen
09:46 am Revision 9c6f0b51: Check if instances use disk templates that get disabled
When disk templates get disabled via 'gnt-cluster modify', so far
we did not check if any instances still use a disk ...
Helga Velroyen

03/21/2013

06:13 pm ganeti-local Revision 6414296b: Fixing some mistakes in design doc for space reporting
- Use entities as examples for storage types that are actually storage
types.
- Fix mixing up 'external_storage' and ...
Helga Velroyen
06:13 pm Revision 6414296b: Fixing some mistakes in design doc for space reporting
- Use entities as examples for storage types that are actually storage
types.
- Fix mixing up 'external_storage' and ...
Helga Velroyen
05:41 pm ganeti-local Revision 94309823: Use 'storage type' consistently in design doc
To minimize the confusion between whether or not a storage type
is the same as a storage method, I updated the design...
Helga Velroyen
05:41 pm Revision 94309823: Use 'storage type' consistently in design doc
To minimize the confusion between whether or not a storage type
is the same as a storage method, I updated the design...
Helga Velroyen
05:41 pm ganeti-local Revision c66d8987: Upgrade configuration wrt enabled storage types
This implements an online update of the configuration for when a configuration
is loaded that does not yet contain th...
Helga Velroyen
05:41 pm Revision c66d8987: Upgrade configuration wrt enabled storage types
This implements an online update of the configuration for when a configuration
is loaded that does not yet contain th...
Helga Velroyen
05:41 pm ganeti-local Revision dacd8ba4: QA: Extend cluster QA wrt enabled storage types
This extends the QA scripts to test the changes in 'gnt-cluster init',
'gnt-cluster info', and 'gnt-cluster modify' w...
Helga Velroyen
05:41 pm Revision dacd8ba4: QA: Extend cluster QA wrt enabled storage types
This extends the QA scripts to test the changes in 'gnt-cluster init',
'gnt-cluster info', and 'gnt-cluster modify' w...
Helga Velroyen
05:41 pm ganeti-local Revision c074a9e8: gnt-cluster init: add enabled_storage_types parameter
This patch extends the 'gnt-cluster init' command to set the list
of enabled storage types on cluster creation.
Sign...
Helga Velroyen
05:41 pm Revision c074a9e8: gnt-cluster init: add enabled_storage_types parameter
This patch extends the 'gnt-cluster init' command to set the list
of enabled storage types on cluster creation.
Sign...
Helga Velroyen
05:41 pm ganeti-local Revision c270ee07: gnt-cluster modify: dis/enabling storage types
This patch extends the 'gnt-cluster modify' command to manipulate the list
of enabled storage types. Note that this c...
Helga Velroyen
05:41 pm Revision c270ee07: gnt-cluster modify: dis/enabling storage types
This patch extends the 'gnt-cluster modify' command to manipulate the list
of enabled storage types. Note that this c...
Helga Velroyen
05:41 pm ganeti-local Revision 7b9ceea7: gnt-cluster info: show enabled storage types
This extends the 'gnt-cluster info' command to list the storage types
that are enabled on the cluster. It also fixes ...
Helga Velroyen
05:41 pm Revision 7b9ceea7: gnt-cluster info: show enabled storage types
This extends the 'gnt-cluster info' command to list the storage types
that are enabled on the cluster. It also fixes ...
Helga Velroyen
05:40 pm ganeti-local Revision d0de443e: Add 'enabled_storage_types' to the cluster config
This patch adds the cluster's new field 'enabled_storage_types'
to the configuration objects in python and haskell.
...
Helga Velroyen
05:40 pm Revision d0de443e: Add 'enabled_storage_types' to the cluster config
This patch adds the cluster's new field 'enabled_storage_types'
to the configuration objects in python and haskell.
...
Helga Velroyen
05:40 pm ganeti-local Revision 33c730a2: Add constants for storage types to constants.py
This patch adds the currently known and used storage methods to the
constants.py file. Note that storage types are di...
Helga Velroyen
05:40 pm Revision 33c730a2: Add constants for storage types to constants.py
This patch adds the currently known and used storage methods to the
constants.py file. Note that storage types are di...
Helga Velroyen
01:26 pm ganeti-local Revision 011a19bf: Fix Mond man page
Remove some erroneous formatting from the Mond man page.
Signed-off-by: Michele Tartara <mtartara@google.com>
Review...
Michele Tartara
01:26 pm Revision 011a19bf: Fix Mond man page
Remove some erroneous formatting from the Mond man page.
Signed-off-by: Michele Tartara <mtartara@google.com>
Review...
Michele Tartara
12:30 pm ganeti-local Revision 423b2dd5: Add monitoring HTTP API structure
Add all the supported commands to the API.
The actual response is still to be implemented.
Signed-off-by: Michele Ta...
Michele Tartara
12:30 pm Revision 423b2dd5: Add monitoring HTTP API structure
Add all the supported commands to the API.
The actual response is still to be implemented.
Signed-off-by: Michele Ta...
Michele Tartara
12:29 pm ganeti-local Revision eb65c915: Add basic HTTP server functionalities to Mond
Add a stub implementation of the Mond HTTP server to Mond using the Haskell
snap-server library.
Signed-off-by: Mich...
Michele Tartara
12:29 pm Revision eb65c915: Add basic HTTP server functionalities to Mond
Add a stub implementation of the Mond HTTP server to Mond using the Haskell
snap-server library.
Signed-off-by: Mich...
Michele Tartara
12:29 pm ganeti-local Revision 2fa8f963: Update documentation for monitoring daemon
This commit updates the installation instructions and the user guide.
Signed-off-by: Michele Tartara <mtartara@googl...
Michele Tartara
12:29 pm Revision 2fa8f963: Update documentation for monitoring daemon
This commit updates the installation instructions and the user guide.
Signed-off-by: Michele Tartara <mtartara@googl...
Michele Tartara
12:13 pm ganeti-local Revision 05b6f4d8: Merge branch 'devel-2.7'
* devel-2.7
cfgupgrade: Fix error messages
Update "FIXME" string in RAPI
rapi client: add target_node to migrat...
Bernardo Dal Seno
12:13 pm Revision 05b6f4d8: Merge branch 'devel-2.7'
* devel-2.7
cfgupgrade: Fix error messages
Update "FIXME" string in RAPI
rapi client: add target_node to migrat...
Bernardo Dal Seno
10:49 am ganeti-local Revision 13cc7b84: Add the core of the monitoring daemon
This commit adds the core infrastructure of the monitoring daemon,
and integrates it in the build and test systems.
...
Michele Tartara
10:49 am Revision 13cc7b84: Add the core of the monitoring daemon
This commit adds the core infrastructure of the monitoring daemon,
and integrates it in the build and test systems.
...
Michele Tartara

03/20/2013

06:48 pm ganeti-local Revision fdb85e3d: cfgupgrade: Fix error messages
Messages were inconsistent. You could get both an error and a message
saying that everything was fine.
Signed-off-by...
Bernardo Dal Seno
06:48 pm Revision fdb85e3d: cfgupgrade: Fix error messages
Messages were inconsistent. You could get both an error and a message
saying that everything was fine.
Signed-off-by...
Bernardo Dal Seno
01:49 pm Revision 09b7b6f2: Update "FIXME" string in RAPI
We are not ready for this change yet. Let's push it to 2.8.
Signed-off-by: Michele Tartara <mtartara@google.com>
Rev...
Michele Tartara
01:49 pm ganeti-local Revision 09b7b6f2: Update "FIXME" string in RAPI
We are not ready for this change yet. Let's push it to 2.8.
Signed-off-by: Michele Tartara <mtartara@google.com>
Rev...
Michele Tartara
01:25 pm Revision cb44e3db: Typo 'repot' in Server.hs
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Helga Velroyen
01:25 pm ganeti-local Revision cb44e3db: Typo 'repot' in Server.hs
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Helga Velroyen
12:34 pm ganeti-local Revision 511e00b8: Fix typo 'VolumeN' in bdev.py
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Helga Velroyen
12:34 pm Revision 511e00b8: Fix typo 'VolumeN' in bdev.py
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Helga Velroyen

03/18/2013

04:46 am Revision d6ffd12f: Support b64 encoded reservations in network object
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
04:45 am Revision 9f73b342: Modify haskell not to break with abstract networks
Make network slot in Network Object optionalField and modify
createValidNetwork, py_compat_networks to pass haskell t...
Dimitris Aragiorgis
04:45 am Revision ddfd3c3d: Extend qa to test abstract networks
Support abstract networks (--network option becomes non mandatory)
and add a section to check _AllIPs().
Signed-off-...
Dimitris Aragiorgis
04:45 am Revision 98874282: Workaround for pylint error R0921
Since it cannot be disabled (due to pylint bug) we introduce
a dummy class to extend Network class.
Signed-off-by: D...
Dimitris Aragiorgis
04:45 am Revision 1a57888e: Make AddressPool extend GenericNetwork
..and make AddressPool only deal with IPv4 address pool and
implement the corresponding methods for reserving/releasi...
Dimitris Aragiorgis
04:45 am Revision a8102c68: Move pool creation in CheckPrereq
In LUNetworkAdd create pool inside CheckPrereq and raise OpPrereqError
if it fails.
Signed-off-by: Dimitris Aragiorg...
Dimitris Aragiorgis
04:45 am Revision 6a2c20f2: Make --network optional
To this end one can define solely collision domains (Ethernet
networks), IPv4 Address Pools, and IPv6 networks and al...
Dimitris Aragiorgis
04:45 am Revision 37696594: Update py_compat_networks test
Use renamed methods of network module and fix genValidNetwork.
In network module during _Validate we check whether g...
Dimitris Aragiorgis
04:45 am Revision 39a56351: Add Network class in network module
Towards to abstract networks we introduce Network class that
currently is only a wrapper of AddressPool. Move Check m...
Dimitris Aragiorgis
04:45 am Revision 79fa745e: Add GenericNetwork class in network module
This class will be the base class for every network. It implements
basic validation methods for subnets and gateways ...
Dimitris Aragiorgis
04:45 am Revision a979fe4e: Rename private methods in network module
Most methods are used internally by the class it self; make those
methods start with a '_'. This will make things eas...
Dimitris Aragiorgis
04:45 am Revision 85c4ae9b: Refactor network module
Merge InitializePool inside __init__. Introduce new helper
funtion _InitializeReservations which creates the correspo...
Dimitris Aragiorgis
04:45 am Revision ddfa03fd: Add Check method in network module
This checks if the given address/network pair is valid.
If not it raises OpPrereqError. This is used in LUNetworkSetP...
Dimitris Aragiorgis
04:45 am Revision ac0f4fe5: Delegate IsReserved() check in ReserveIp()
..and raise OpPrereqError. Thus remove any if pool.IsReserved()..
and try-except-raise in LUNetworkSetParams().
Sign...
Dimitris Aragiorgis
04:45 am Revision 3d736ac9: Make ReserveIp/GenerateIp raise OpPrereqError
Both catch AddressPool errors and raise OpPrereqError with
the corresponding message. Remove any unnecessary try-exce...
Dimitris Aragiorgis
04:45 am Revision e5e39af4: Add _AllIPs() config method
This returns a list of tuples (ip, network). Use it in ReserveIp,
where a network without AddressPool can be passed, ...
Dimitris Aragiorgis
04:45 am Revision 83695d19: Make GetStats() an AddressPool method
..and remove it from cmdlib
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
04:45 am Revision e79955a6: Use HooksDict() everywhere
To do so network object should be available just after CheckPrereq().
Thus move object creation away from Exec() in L...
Dimitris Aragiorgis
04:45 am Revision 7ee959dc: Support reserve/release external IPs
Modify ReserveIp/ReleaseIp/GenerateIp/UnlockedCommitIp to take
an additional argument; the external flag.
Update invo...
Dimitris Aragiorgis
04:45 am Revision 55de975c: Fix early returns in network module
Replace early returns with proper if-else statements.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
04:45 am Revision 89f5beda: Rename some vars for the sake of readability
In network module use nobj wherever we refer to L{objects.Network}
and pool for AddressPool class. Apply that in LUNe...
Dimitris Aragiorgis
04:45 am Revision c12401f2: Replace _GetSize() with numhosts in network
Use numhosts property of ipaddr's IPNetwork class of instead of
_GetSize() in network module. Remove non used GetFree...
Dimitris Aragiorgis
04:45 am Revision 9e5003cf: Network QA
This adds a script for the QA of 'gnt-network'. So far it
covers adding/removing and connecting/disconnecting network...
Helga Velroyen
04:45 am Revision 5e279e51: qa fix
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
04:45 am Revision 16eb7455: Extend network QA
Move GetNonexistentNetwork() in qa_utils.
Add various corner cases for existing test add/remove and
connect/disconne...
Dimitris Aragiorgis
04:42 am Revision d8016bce: Add cfgupgrade for hotplug
This adds dev_idxs slot to exising instances (initialized according to
current number of devices) and removes depreca...
Dimitris Aragiorgis
04:42 am Revision e648cea4: Hotplug: client support
Add --hotplug option. Only used in OpInstanceSetParams.
If this is omitted modifications become effective after
reboo...
Dimitris Aragiorgis
04:40 am Revision 11714164: Hotplug: cmdlib support
Hotpluging is done by functions invoked by ApplyContainerMods(). In
order hotpluging to take place a --hotplug optio...
Dimitris Aragiorgis
04:28 am Revision d2db2790: Hotplug: KVM support
KVM >= 1.0 is needed.
Introduce new methods: HotAddNic/HotDelNic, HotAddDisk/HotDelDisk. All
of them use QEMU monito...
Dimitris Aragiorgis
04:28 am Revision 31135ddd: Hotplug: rpc support
Introduce new RPCs that eventually invoke hypervisor specific
hotplug functions.
Signed-off-by: Dimitris Aragiorgis ...
Dimitris Aragiorgis
04:25 am Revision af9cef96: Hotplug: objects.py additions
Add pci slot in NIC/Disk objects. This slot will be used only
by hypervisor code. Currently only KVM will use it and ...
Dimitris Aragiorgis
04:24 am Revision 60a9e48a: Add hotplug design doc
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
03:42 am Revision ea3243ca: Update manpages wrt new device refering
This patch updates gnt-instance man page to include refering to devices
by their name and UUID. Also removing deprica...
Chris Stavrakakis
03:42 am Revision f7d15a04: Add name to INicParams and IDiskParams
This commits adds name to NIC and Disk modification definition. Chris Stavrakakis
03:42 am Revision 40249283: Add Disks and NICs to _AllUUIDObjects
Since disks and NICs have UUIDs, they must be considered
to _AllUUIDObjects.
Signed-off-by: Christos Stavrakakis <cs...
Christos Stavrakakis
03:42 am Revision b061f584: Update unittests for device UUIDs/names
Update unittests to support only the new device refering
format.
Signed-off-by: Christos Stavrakakis <cstavr@grnet.gr>
Christos Stavrakakis
03:42 am Revision 97afd6de: Remove empty line. In Use UUID patch
Chris Stavrakakis
03:42 am Revision 52450fa1: Support quering for devices names and UUIDs
Signed-off-by: Christos Stavrakakis <cstavr@grnet.gr>
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Christos Stavrakakis
03:42 am Revision 160cd941: Display UUIDs and names in gnt-instance info
Modify gnt-instance client to display the UUID and name
fields of instances disks and NICs.
Signed-off-by: Christos ...
Christos Stavrakakis
03:42 am Revision 4ee73bb2: Check that device names are unique and valid
Extend the CheckArguments phase of LUInstanceCreate and CheckPrereq
phase of LUInstanceSetParams to also check if the...
Christos Stavrakakis
03:42 am Revision 5ca3ac51: Implement renaming Disks and NICs
Implement renaming Disks and NICs in LUInstanceSetParams. Remove code
that checked that changing disk mode was the on...
Christos Stavrakakis
03:42 am Revision 616d6d0e: Support UUIDs and names when handling NICs/Disks
Handle UUID and name fields when creating/managing NICs and Disks. Also,
export NICs and Disks names to instance hook...
Christos Stavrakakis
03:42 am Revision 845c573d: Support UUIDs and names when refering to a device
Modify _ApplyContainerMods function to lookup NICs/Disks not only by their
index inside the container, but also by th...
Christos Stavrakakis
03:42 am Revision f027fb24: Remove deprecated device referencing
Remove deprecated device referencing from OpInstanceSetParams
opcode. Allow only the new style format:
index:action,...
Christos Stavrakakis
03:42 am Revision 70141765: Add uuid and name slots to Disk/NIC ConfigObjects
This patch adds "uuid" and "name" slots to Disk and NIC ConfigObjects.
Signed-off-by: Christos Stavrakakis <cstavr@g...
Christos Stavrakakis
03:42 am Revision b6028438: Add IDISK_NAME and INIC_NAME constants
Declare IDISK_NAME and INIC_NAME constants and add them to the
IDISK_PARAMS_TYPE and INIC_PARAMS_TYPE.
Signed-off-by...
Christos Stavrakakis
03:42 am Revision 5ed29562: Add design doc for device UUIDs and names
Signed-off-by: Christos Stavrakakis <cstavr@grnet.gr>
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Christos Stavrakakis

03/15/2013

03:41 pm ganeti-local Revision 6d2e1c12: Add design document for the "reason trail"
This commit adds the design document for introducing "reason trails",
tracing the reason why opcodes are executed, st...
Michele Tartara
03:41 pm Revision 6d2e1c12: Add design document for the "reason trail"
This commit adds the design document for introducing "reason trails",
tracing the reason why opcodes are executed, st...
Michele Tartara

03/13/2013

02:23 pm ganeti-local Revision f511082f: Add Mond to the list of possible daemons
Also, add its logfiles and extra log files.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Iustin...
Michele Tartara
02:23 pm Revision f511082f: Add Mond to the list of possible daemons
Also, add its logfiles and extra log files.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Iustin...
Michele Tartara
02:23 pm ganeti-local Revision a8828704: Add infrastructure for allowing additional logfiles
Some daemons will need more than the single logfile that is currently
allowed. This patch introduces the infrastructu...
Michele Tartara
02:23 pm Revision a8828704: Add infrastructure for allowing additional logfiles
Some daemons will need more than the single logfile that is currently
allowed. This patch introduces the infrastructu...
Michele Tartara
12:49 pm ganeti-local Revision 14013e5d: Add user and group for the monitoring agent
This commit adds the user and group variables for the monitoring agent in all
the configuration files where they are ...
Michele Tartara
12:49 pm Revision 14013e5d: Add user and group for the monitoring agent
This commit adds the user and group variables for the monitoring agent in all
the configuration files where they are ...
Michele Tartara

03/12/2013

07:19 pm ganeti-local Revision dc700f75: rapi client: add target_node to migrate instance
This allows migrating to any node, as it is already possible for
failover, when instances are externally mirrored.
S...
Daniel Krambrock
07:19 pm Revision dc700f75: rapi client: add target_node to migrate instance
This allows migrating to any node, as it is already possible for
failover, when instances are externally mirrored.
S...
Daniel Krambrock
06:52 pm Revision d8f0b7c1: Make diskless instances externally mirrored
This addresses Issue 237.
Mirroring no disk is a no-op. As such we can treat them like mirrored
instances, since the...
Guido Trotter
06:52 pm ganeti-local Revision d8f0b7c1: Make diskless instances externally mirrored
This addresses Issue 237.
Mirroring no disk is a no-op. As such we can treat them like mirrored
instances, since the...
Guido Trotter
06:29 pm ganeti-local Revision 7b3d70d4: Fix migrate/failover -n for ext mirror storage
This fixes issue 396.
- Fix a wrong comment that mentions drbd8 when actually the code acts
only on externally mir...
Guido Trotter
06:29 pm Revision 7b3d70d4: Fix migrate/failover -n for ext mirror storage
This fixes issue 396.
- Fix a wrong comment that mentions drbd8 when actually the code acts
only on externally mir...
Guido Trotter
06:16 pm ganeti-local Revision ab9e48d1: Enable split queries for the network
Now that all fields are implemented, and (I think) behave equivalent
to the Python implementation, we can switch on t...
Iustin Pop
06:16 pm ganeti-local Revision 63fb3de0: Add a simple tool for checking split-query equivalence
This is not run automatically (although it could/should), but is very
useful during development.
Signed-off-by: Iust...
Iustin Pop
06:16 pm Revision ab9e48d1: Enable split queries for the network
Now that all fields are implemented, and (I think) behave equivalent
to the Python implementation, we can switch on t...
Iustin Pop
06:16 pm Revision 63fb3de0: Add a simple tool for checking split-query equivalence
This is not run automatically (although it could/should), but is very
useful during development.
Signed-off-by: Iust...
Iustin Pop
06:16 pm ganeti-local Revision 82953e9a: Change node disk/hv_state query in confd
Currently, the Python code returns either FS_UNAVAIL (if these
attributes are None) or the proper dicts. As we don't ...
Iustin Pop
06:16 pm ganeti-local Revision 40b118d3: Introduce better item getter helper in query.py
And also use it for simple network fields. Currently the Python
library returns jsnull, which is formatted as 'None' ...
Iustin Pop
06:16 pm ganeti-local Revision 7c17db26: Fix gnt-backup list -o node via confd
Currently, the 'node' field is declared as a simple config field, so
when only selecting this fields, the runtime gat...
Iustin Pop
06:16 pm ganeti-local Revision c81b97f2: Make gnt-node list -o(p|s)inst_list output stable
Currently, both the Python and Haskell code return the internal
instance list unsorted, which means the output can va...
Iustin Pop
06:16 pm ganeti-local Revision ce906289: Sort instance list in gnt-group list -opinst_list
The Python code currently sorts this, but the Haskell code not.
This should maybe have a test, but I'm not sure how ...
Iustin Pop
06:16 pm ganeti-local Revision 60a67263: Fix network query field types/names in the Haskell code
The headers/type/descriptions had some differences from the Python
code, when checked for exact equivalence.
Signed-...
Iustin Pop
06:16 pm ganeti-local Revision 87f1a454: A few style fixes in Ganeti.Network
Side-effects of working on some other network-related stuff…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-...
Iustin Pop
06:16 pm ganeti-local Revision 147fd319: Expand TestHelper to allow non-underscore prefixes
HLint 1.8.28 requires us to always add "ignore CamelCase", which can
be problematic sometimes (e.g. when using Overlo...
Iustin Pop
06:16 pm ganeti-local Revision b1b4a26b: Change to CamelCase format in Test/Ganeti/Objects.hs
This is in preparation for using OverloadedString extensions in this
file, which conflicts with hlint 1.8.28's handli...
Iustin Pop
06:16 pm ganeti-local Revision 3a991f2d: Add simple Ip4Address/Ip4Network types
This patch adds some very simple IPv4 address/network types, and uses
them in the 'Network' config object.
We need t...
Iustin Pop
06:16 pm ganeti-local Revision bac48afe: Add missing external_reservations query field in confd
Based on the implemented Ip4Network/Address types, we can now compute
the (external) reservations.
Signed-off-by: Iu...
Iustin Pop
06:16 pm Revision bac48afe: Add missing external_reservations query field in confd
Based on the implemented Ip4Network/Address types, we can now compute
the (external) reservations.
Signed-off-by: Iu...
Iustin Pop
06:16 pm Revision 40b118d3: Introduce better item getter helper in query.py
And also use it for simple network fields. Currently the Python
library returns jsnull, which is formatted as 'None' ...
Iustin Pop
06:16 pm Revision 7c17db26: Fix gnt-backup list -o node via confd
Currently, the 'node' field is declared as a simple config field, so
when only selecting this fields, the runtime gat...
Iustin Pop
06:16 pm Revision c81b97f2: Make gnt-node list -o(p|s)inst_list output stable
Currently, both the Python and Haskell code return the internal
instance list unsorted, which means the output can va...
Iustin Pop
06:16 pm Revision ce906289: Sort instance list in gnt-group list -opinst_list
The Python code currently sorts this, but the Haskell code not.
This should maybe have a test, but I'm not sure how ...
Iustin Pop
06:16 pm Revision 82953e9a: Change node disk/hv_state query in confd
Currently, the Python code returns either FS_UNAVAIL (if these
attributes are None) or the proper dicts. As we don't ...
Iustin Pop
06:16 pm Revision 87f1a454: A few style fixes in Ganeti.Network
Side-effects of working on some other network-related stuff…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-...
Iustin Pop
06:16 pm Revision 147fd319: Expand TestHelper to allow non-underscore prefixes
HLint 1.8.28 requires us to always add "ignore CamelCase", which can
be problematic sometimes (e.g. when using Overlo...
Iustin Pop
06:16 pm Revision b1b4a26b: Change to CamelCase format in Test/Ganeti/Objects.hs
This is in preparation for using OverloadedString extensions in this
file, which conflicts with hlint 1.8.28's handli...
Iustin Pop
06:16 pm Revision 3a991f2d: Add simple Ip4Address/Ip4Network types
This patch adds some very simple IPv4 address/network types, and uses
them in the 'Network' config object.
We need t...
Iustin Pop
06:16 pm Revision 60a67263: Fix network query field types/names in the Haskell code
The headers/type/descriptions had some differences from the Python
code, when checked for exact equivalence.
Signed-...
Iustin Pop
05:21 pm ganeti-local Revision 74df4a99: Update design doc about free space reporting
This patch updates the design doc "Design correct reporting of storage
free space". The modifications were chosen to ...
Helga Velroyen
05:21 pm Revision 74df4a99: Update design doc about free space reporting
This patch updates the design doc "Design correct reporting of storage
free space". The modifications were chosen to ...
Helga Velroyen
03:52 pm Revision ad658827: Fix QA: skip reinstall for diskless instances
Diskless instances cannot really be reinstalled, not even through RAPI.
Signed-off-by: Bernardo Dal Seno <bdalseno@g...
Bernardo Dal Seno
03:52 pm ganeti-local Revision ad658827: Fix QA: skip reinstall for diskless instances
Diskless instances cannot really be reinstalled, not even through RAPI.
Signed-off-by: Bernardo Dal Seno <bdalseno@g...
Bernardo Dal Seno
03:43 pm ganeti-local Revision 0e8d8384: Fix typo in the monitoring agent design doc
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michele Tartara
03:43 pm Revision 0e8d8384: Fix typo in the monitoring agent design doc
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michele Tartara
01:32 pm ganeti-local Revision 46d21495: Merge branch 'devel-2.7'
* devel-2.7
Add QA for instance creation with policy violation
Add QA for policy-instance interactions
Add QA f...
Bernardo Dal Seno
01:32 pm Revision 46d21495: Merge branch 'devel-2.7'
* devel-2.7
Add QA for instance creation with policy violation
Add QA for policy-instance interactions
Add QA f...
Bernardo Dal Seno
12:44 pm ganeti-local Revision 2eef8750: Fix style error in hconfd
The first line of a function should be blank, unless it is able to contain the
whole function.
Signed-off-by: Michel...
Michele Tartara
12:44 pm Revision 2eef8750: Fix style error in hconfd
The first line of a function should be blank, unless it is able to contain the
whole function.
Signed-off-by: Michel...
Michele Tartara

03/11/2013

08:57 pm ganeti-local Revision fa84c8a4: Add QA for instance creation with policy violation
When instance policy is violated, creation fails.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by...
Bernardo Dal Seno
08:57 pm Revision fa84c8a4: Add QA for instance creation with policy violation
When instance policy is violated, creation fails.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by...
Bernardo Dal Seno
08:57 pm ganeti-local Revision ab4832d1: Add QA for policy-instance interactions
Violations on policy changes are checked.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Guido ...
Bernardo Dal Seno
08:57 pm Revision ab4832d1: Add QA for policy-instance interactions
Violations on policy changes are checked.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Guido ...
Bernardo Dal Seno
08:57 pm ganeti-local Revision b3f3aa3d: Add QA for cluster policies
qa_cluster.TestClusterSetISpecs() is exported as it will be used in future
tests.
Signed-off-by: Bernardo Dal Seno <...
Bernardo Dal Seno
08:57 pm Revision b3f3aa3d: Add QA for cluster policies
qa_cluster.TestClusterSetISpecs() is exported as it will be used in future
tests.
Signed-off-by: Bernardo Dal Seno <...
Bernardo Dal Seno
08:57 pm Revision ba5c6c6b: Unit tests for objects.InstancePolicy + a fix
Tests for:
objects.InstancePolicy.CheckParameterSyntax()
objects.InstancePolicy.CheckDiskTemplates()
objects.In...
Bernardo Dal Seno
08:57 pm ganeti-local Revision ba5c6c6b: Unit tests for objects.InstancePolicy + a fix
Tests for:
objects.InstancePolicy.CheckParameterSyntax()
objects.InstancePolicy.CheckDiskTemplates()
objects.In...
Bernardo Dal Seno
08:57 pm ganeti-local Revision e38bc4eb: Unit tests for objects.FillIPolicy() + small fix
IPOLICY_DEFAULTS is now a legal policy (the disk-templates entry was a set
instead of a list, before).
Signed-off-by...
Bernardo Dal Seno
08:57 pm Revision e38bc4eb: Unit tests for objects.FillIPolicy() + small fix
IPOLICY_DEFAULTS is now a legal policy (the disk-templates entry was a set
instead of a list, before).
Signed-off-by...
Bernardo Dal Seno
08:57 pm Revision 4f7e5a1d: Fix upgrade of policy in objects.Cluster
Unknown elements were silently removed on startup. This means that a
software upgrade could result in lost configurat...
Bernardo Dal Seno
08:57 pm ganeti-local Revision 4f7e5a1d: Fix upgrade of policy in objects.Cluster
Unknown elements were silently removed on startup. This means that a
software upgrade could result in lost configurat...
Bernardo Dal Seno
08:56 pm Revision 2477c1c5: Fix instance policy checks for default back-end parameters
Policy violations of back-end parameters that used the cluster default
value were not reported in cluster-verify.
Si...
Bernardo Dal Seno
08:56 pm ganeti-local Revision 2477c1c5: Fix instance policy checks for default back-end parameters
Policy violations of back-end parameters that used the cluster default
value were not reported in cluster-verify.
Si...
Bernardo Dal Seno
08:56 pm ganeti-local Revision 6ea2bb8c: Fix restoring default instance specs in group policies
"default" was not accepted as a valid input value for instance specs in
group policies, due to a bug introduced in 2c...
Bernardo Dal Seno
08:56 pm Revision 6ea2bb8c: Fix restoring default instance specs in group policies
"default" was not accepted as a valid input value for instance specs in
group policies, due to a bug introduced in 2c...
Bernardo Dal Seno
08:56 pm Revision 5dd7d15b: Unit tests for cmdlib._GetUpdatedIPolicy()
Not 100% coverage, though.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Guido Trotter <ultrot...
Bernardo Dal Seno
08:56 pm ganeti-local Revision 5dd7d15b: Unit tests for cmdlib._GetUpdatedIPolicy()
Not 100% coverage, though.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Guido Trotter <ultrot...
Bernardo Dal Seno
08:56 pm ganeti-local Revision cc4b2676: Fix policy check for disk templates
Instance disk template is checked against the policy, and diskless
instances aren't checked for the number of disks.
...
Bernardo Dal Seno
08:56 pm Revision cc4b2676: Fix policy check for disk templates
Instance disk template is checked against the policy, and diskless
instances aren't checked for the number of disks.
...
Bernardo Dal Seno
08:56 pm ganeti-local Revision 6a327093: Fix merge 8e09e801 that resulted in duplicated code
A fragment in LUInstanceCreate.CheckPrereq() removed in commit ba147ff8 was
reintroduced in merge 8e09e801 due to a c...
Bernardo Dal Seno
08:56 pm Revision 6a327093: Fix merge 8e09e801 that resulted in duplicated code
A fragment in LUInstanceCreate.CheckPrereq() removed in commit ba147ff8 was
reintroduced in merge 8e09e801 due to a c...
Bernardo Dal Seno
03:06 pm ganeti-local Revision 7db266bb: GanetiRapiClient: fix the no_remember option
There was a typo which prevented the correct option from being passed to
RAPI
Signed-off-by: Daniel Krambrock <danie...
Daniel Krambrock
03:06 pm Revision 7db266bb: GanetiRapiClient: fix the no_remember option
There was a typo which prevented the correct option from being passed to
RAPI
Signed-off-by: Daniel Krambrock <danie...
Daniel Krambrock

03/08/2013

05:46 pm Revision 4f73cfc9: Merge branch 'devel-2.7'
* devel-2.7:
Change hbal behaviour in case of early exit
Fix build/sphinx_ext.py with tuple defaults for op param...
Iustin Pop
05:46 pm ganeti-local Revision 4f73cfc9: Merge branch 'devel-2.7'
* devel-2.7:
Change hbal behaviour in case of early exit
Fix build/sphinx_ext.py with tuple defaults for op param...
Iustin Pop
02:50 pm ganeti-local Revision 2d6bdcc5: Change hbal behaviour in case of early exit
Currently, hbal exits with status 1 if early exit is requested, even
when all jobs are successful. This is counter-in...
Iustin Pop
02:50 pm Revision 2d6bdcc5: Change hbal behaviour in case of early exit
Currently, hbal exits with status 1 if early exit is requested, even
when all jobs are successful. This is counter-in...
Iustin Pop

03/06/2013

05:31 pm Revision 777e8b6f: Fix "reason" opcode parameter description
The "reason" opcode parameter can now apply to multiple opcodes, not just the
one for rebooting instances.
Signed-of...
Michele Tartara
05:31 pm ganeti-local Revision 777e8b6f: Fix "reason" opcode parameter description
The "reason" opcode parameter can now apply to multiple opcodes, not just the
one for rebooting instances.
Signed-of...
Michele Tartara
04:37 pm Revision c83c0410: Fix build/sphinx_ext.py with tuple defaults for op params
When an OpCode's parameter has a tuple as default value, this code
will break:
buf.write("defaults to ``%s``" % de...
Iustin Pop
04:37 pm ganeti-local Revision c83c0410: Fix build/sphinx_ext.py with tuple defaults for op params
When an OpCode's parameter has a tuple as default value, this code
will break:
buf.write("defaults to ``%s``" % de...
Iustin Pop
04:37 pm ganeti-local Revision 67c15d8b: Fix bug in man build rule
Currently the man page build rule is run without ‘-e’, so the actual
checks in there are just warnings (check-man-war...
Iustin Pop
04:37 pm Revision 67c15d8b: Fix bug in man build rule
Currently the man page build rule is run without ‘-e’, so the actual
checks in there are just warnings (check-man-war...
Iustin Pop
11:36 am ganeti-local Revision e61db4b2: Fix hscolour style sheet building
Currently we only symlink this into two hard-coded directories, which
breaks the source code viewing for all the othe...
Iustin Pop
11:36 am Revision e61db4b2: Fix hscolour style sheet building
Currently we only symlink this into two hard-coded directories, which
breaks the source code viewing for all the othe...
Iustin Pop
11:16 am Revision 69c88fb1: Make "reason" a common opcode attribute
The "reason" attribute will be common to many opcodes.
This patch factors it out so that it will be possible for the ...
Michele Tartara
11:16 am ganeti-local Revision 69c88fb1: Make "reason" a common opcode attribute
The "reason" attribute will be common to many opcodes.
This patch factors it out so that it will be possible for the ...
Michele Tartara

03/05/2013

06:15 pm Revision 9b154e2b: Merge branch 'devel-2.7'
* devel-2.7:
Update required pylint version
Constants.hs.in: improve Haddock markup in the template
convert-con...
Iustin Pop
06:15 pm ganeti-local Revision 9b154e2b: Merge branch 'devel-2.7'
* devel-2.7:
Update required pylint version
Constants.hs.in: improve Haddock markup in the template
convert-con...
Iustin Pop
05:53 pm ganeti-local Revision 099e9213: Update required pylint version
This should help a lot of users, since pylint 0.21.1 was quite an old
version…
The tree is "clean" w.r.t. the new py...
Iustin Pop
05:53 pm Revision 099e9213: Update required pylint version
This should help a lot of users, since pylint 0.21.1 was quite an old
version…
The tree is "clean" w.r.t. the new py...
Iustin Pop
05:53 pm ganeti-local Revision 1498270e: Constants.hs.in: improve Haddock markup in the template
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Iustin Pop
05:53 pm Revision 1498270e: Constants.hs.in: improve Haddock markup in the template
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Iustin Pop
05:53 pm ganeti-local Revision 25d7b289: convert-constants: generate better Haddock markup
Currently the Python source constants are used as-is, which is not
nice on the eyes (especially for unqualified names...
Iustin Pop
05:53 pm Revision 25d7b289: convert-constants: generate better Haddock markup
Currently the Python source constants are used as-is, which is not
nice on the eyes (especially for unqualified names...
Iustin Pop
05:53 pm ganeti-local Revision 7ddd8e4c: Expand Haddock to run over test files as well
This patch does multiple enhancements to the way we build the Haddock
docs, motivated by the fact that if we don't ru...
Iustin Pop
05:53 pm Revision 7ddd8e4c: Expand Haddock to run over test files as well
This patch does multiple enhancements to the way we build the Haddock
docs, motivated by the fact that if we don't ru...
Iustin Pop
01:56 pm Revision 491d02ca: Merge branch 'devel-2.7'
* devel-2.7: (23 commits)
Add export lists for files which didn't have them
Fix Haskell compatibility tests with ...
Iustin Pop
01:56 pm ganeti-local Revision 491d02ca: Merge branch 'devel-2.7'
* devel-2.7: (23 commits)
Add export lists for files which didn't have them
Fix Haskell compatibility tests with ...
Iustin Pop
11:03 am Revision c56dd17b: Switch LispConfig double comparison to relative error
This further improves the comparison for "non-trivial"
numbers. Without this patch, there are still cases where the a...
Iustin Pop
11:03 am ganeti-local Revision c56dd17b: Switch LispConfig double comparison to relative error
This further improves the comparison for "non-trivial"
numbers. Without this patch, there are still cases where the a...
Iustin Pop

03/04/2013

06:39 pm Revision d58d44f3: Switch Attoparsec parser from double to rational
According to the documentation, “This function is almost ten times
faster than rational, but is slightly less accurat...
Iustin Pop
06:39 pm Revision 1fe0e999: Make the XmParser config test runtime more consistent
Currently, the test uses a frequency of 5 string/5 double/1 list for
generating Arbitrary instances of ListConfig. Ho...
Iustin Pop
06:39 pm ganeti-local Revision d58d44f3: Switch Attoparsec parser from double to rational
According to the documentation, “This function is almost ten times
faster than rational, but is slightly less accurat...
Iustin Pop
06:39 pm ganeti-local Revision 1fe0e999: Make the XmParser config test runtime more consistent
Currently, the test uses a frequency of 5 string/5 double/1 list for
generating Arbitrary instances of ListConfig. Ho...
Iustin Pop
06:39 pm ganeti-local Revision a7e76dc3: Improve output of the XmParser config test
Currently, this tests and its helper function 'isAlmostEqual' uses
plain booleans to signify failures, which means yo...
Iustin Pop
06:39 pm Revision a7e76dc3: Improve output of the XmParser config test
Currently, this tests and its helper function 'isAlmostEqual' uses
plain booleans to signify failures, which means yo...
Iustin Pop
06:10 pm Revision 91c1a265: Fix node partial name matching in Haskell code
This implements QffHostname and fixes the node listing (as well as
export listing when filtering on node name).
This...
Iustin Pop
06:10 pm ganeti-local Revision 91c1a265: Fix node partial name matching in Haskell code
This implements QffHostname and fixes the node listing (as well as
export listing when filtering on node name).
This...
Iustin Pop
06:09 pm Revision e7124835: Fix bug in group queries related to node/instance fields
Since we use the primitive string type for group UUIDs, the group
fields have a bug where we pass the group name as f...
Iustin Pop
06:09 pm ganeti-local Revision e7124835: Fix bug in group queries related to node/instance fields
Since we use the primitive string type for group UUIDs, the group
fields have a bug where we pass the group name as f...
Iustin Pop
06:09 pm Revision d5b2753a: Abstract the individual query functions
After implementing a few of the query executor functions, it turns out
that we have the same general pattern:
- comp...
Iustin Pop
06:09 pm ganeti-local Revision d5b2753a: Abstract the individual query functions
After implementing a few of the query executor functions, it turns out
that we have the same general pattern:
- comp...
Iustin Pop
06:08 pm ganeti-local Revision dce08ad3: Allow confd to serve network list-fields queries
The fields are not yet complete, but at least we can enable the
list-field query to see what is there already.
Signe...
Iustin Pop
06:08 pm Revision dce08ad3: Allow confd to serve network list-fields queries
The fields are not yet complete, but at least we can enable the
list-field query to see what is there already.
Signe...
Iustin Pop
06:08 pm ganeti-local Revision 36162faf: Rename/make uniform the other query entities
Following the new naming style introduced in Exports.hs, this patch
renames the other resources to export non-qualifi...
Iustin Pop
06:08 pm Revision 36162faf: Rename/make uniform the other query entities
Following the new naming style introduced in Exports.hs, this patch
renames the other resources to export non-qualifi...
Iustin Pop
05:59 pm ganeti-local Revision dde85e1e: Add export lists for files which didn't have them
Two test helper files didn't have export lists (lost during the split
of tests). This patch finally reintroduces them...
Iustin Pop
05:59 pm Revision dde85e1e: Add export lists for files which didn't have them
Two test helper files didn't have export lists (lost during the split
of tests). This patch finally reintroduces them...
Iustin Pop
05:18 pm ganeti-local Revision 3cbd5808: Fix Haskell compatibility tests with disabled file storage
When file storage is disabled at ./configure time, we shouldn't pass
opcodes containing DTFile/DTSharedFile/StorageFi...
Iustin Pop
05:18 pm Revision 3cbd5808: Fix Haskell compatibility tests with disabled file storage
When file storage is disabled at ./configure time, we shouldn't pass
opcodes containing DTFile/DTSharedFile/StorageFi...
Iustin Pop
05:18 pm ganeti-local Revision 3c87d614: Fix QA with disabled file storage
Currently QA tries to use “gnt-node list-storage” with all storage
types, but when file storage is disabled this will...
Iustin Pop
05:18 pm Revision 3c87d614: Fix QA with disabled file storage
Currently QA tries to use “gnt-node list-storage” with all storage
types, but when file storage is disabled this will...
Iustin Pop
05:18 pm ganeti-local Revision 7b3cbe02: Fix convert-constants handling of booleans
It turns out that, in Python, booleans are also integers. So they fall
under the “isinstance(value, int)” case, resul...
Iustin Pop
05:18 pm Revision 7b3cbe02: Fix convert-constants handling of booleans
It turns out that, in Python, booleans are also integers. So they fall
under the “isinstance(value, int)” case, resul...
Iustin Pop
05:18 pm ganeti-local Revision 1fbb19fa: Fix handling of disabled (shared) file storage
The vcluster changes broke the disabling of file storage; we can
workaround by (manually) skipping the virtualisation...
Iustin Pop
05:18 pm Revision 1fbb19fa: Fix handling of disabled (shared) file storage
The vcluster changes broke the disabling of file storage; we can
workaround by (manually) skipping the virtualisation...
Iustin Pop
12:35 pm ganeti-local Revision 91c17910: Allow rpc.MakeLegacyNodeInfo to parse non-LVM results
'MakeLegacyNodeInfo' is not the best place for this, but we'd have to
duplicate it if we wanted a LVM-less version, s...
Iustin Pop
12:35 pm ganeti-local Revision b6322b3e: Fix LUTestAllocator with instance alloc
This is similar to commit 8775e62a; the addition of node_whitelist
broke this LU as well.
Signed-off-by: Iustin Pop ...
Iustin Pop
12:35 pm ganeti-local Revision 36a566e8: Allow iallocator to work without LVM storage
Currently, the iallocator interface requires LVM storage, due to the
way it computes the node storage information.
B...
Iustin Pop
12:35 pm Revision bfa99f7a: Fix low verbosity levels in htools
In a few cases, we tested the verbosity level for (== 0), instead of
higher/lower than a certain value. If the user p...
Iustin Pop
12:35 pm ganeti-local Revision bfa99f7a: Fix low verbosity levels in htools
In a few cases, we tested the verbosity level for (== 0), instead of
higher/lower than a certain value. If the user p...
Iustin Pop
12:35 pm Revision b6322b3e: Fix LUTestAllocator with instance alloc
This is similar to commit 8775e62a; the addition of node_whitelist
broke this LU as well.
Signed-off-by: Iustin Pop ...
Iustin Pop
12:35 pm Revision 91c17910: Allow rpc.MakeLegacyNodeInfo to parse non-LVM results
'MakeLegacyNodeInfo' is not the best place for this, but we'd have to
duplicate it if we wanted a LVM-less version, s...
Iustin Pop
12:35 pm Revision 36a566e8: Allow iallocator to work without LVM storage
Currently, the iallocator interface requires LVM storage, due to the
way it computes the node storage information.
B...
Iustin Pop
12:35 pm Revision 0e42ef67: Fix improperly formatted docstring
Change the docstring of chompPrefix to prevent the error
"doc comment parse failed" that was raised by some version o...
Michele Tartara
12:35 pm ganeti-local Revision 0e42ef67: Fix improperly formatted docstring
Change the docstring of chompPrefix to prevent the error
"doc comment parse failed" that was raised by some version o...
Michele Tartara
12:35 pm ganeti-local Revision 64b0309a: Fix confd issue regarding --no-lvm-storage
If cluster is initialized with --no-lvm-storage then volume_group_name
does not exist in config.data. Thus we must de...
Dimitris Aragiorgis
12:35 pm Revision 64b0309a: Fix confd issue regarding --no-lvm-storage
If cluster is initialized with --no-lvm-storage then volume_group_name
does not exist in config.data. Thus we must de...
Dimitris Aragiorgis

03/01/2013

06:54 pm ganeti-local Revision ac84befd: Fix networks in _PrepareNicModifications()
Passing --net 0:add,ip=5.5.5.5 failed due to a reference
of a non initialized variable (new_net_obj). Reorder the che...
Dimitris Aragiorgis
06:54 pm Revision ac84befd: Fix networks in _PrepareNicModifications()
Passing --net 0:add,ip=5.5.5.5 failed due to a reference
of a non initialized variable (new_net_obj). Reorder the che...
Dimitris Aragiorgis

02/28/2013

06:40 pm ganeti-local Revision cd385f07: Fix sphinx label namespace
Thanks Michael for pointing out the error!
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hansel...
Iustin Pop
06:40 pm Revision cd385f07: Fix sphinx label namespace
Thanks Michael for pointing out the error!
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hansel...
Iustin Pop
05:48 pm Revision a09b0f16: Clarify use of move-instance with self-signed certificates
The document doesn't mention which certificates need to be passed as
ca-file, so let's try to clarify that.
Signed-o...
Iustin Pop
05:48 pm ganeti-local Revision a09b0f16: Clarify use of move-instance with self-signed certificates
The document doesn't mention which certificates need to be passed as
ca-file, so let's try to clarify that.
Signed-o...
Iustin Pop
04:52 pm Revision 59c75517: QA: Support diskless instances
This is an initial implementation of diskless instances.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revie...
Michael Hanselmann
04:52 pm ganeti-local Revision 59c75517: QA: Support diskless instances
This is an initial implementation of diskless instances.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revie...
Michael Hanselmann
04:52 pm Revision 00650761: QA: Compare ipolicy directly with None
If a value was set to numeric 0, the parameter wouldn't be passed to the
command.
Signed-off-by: Michael Hanselmann ...
Michael Hanselmann
04:52 pm ganeti-local Revision 00650761: QA: Compare ipolicy directly with None
If a value was set to numeric 0, the parameter wouldn't be passed to the
command.
Signed-off-by: Michael Hanselmann ...
Michael Hanselmann
04:52 pm ganeti-local Revision 89d11332: QA: List all ipolicy options in example configuration
This makes it easier to know what options are available.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revie...
Michael Hanselmann
04:52 pm Revision 89d11332: QA: List all ipolicy options in example configuration
This makes it easier to know what options are available.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revie...
Michael Hanselmann
04:52 pm ganeti-local Revision b296c810: QA: Update assertion for diskless instances
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google.com>
Michael Hanselmann
04:52 pm Revision b296c810: QA: Update assertion for diskless instances
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google.com>
Michael Hanselmann
04:52 pm Revision a90636b2: QA: Disable reinstall test for diskless instances
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google.com>
Michael Hanselmann
04:52 pm ganeti-local Revision a90636b2: QA: Disable reinstall test for diskless instances
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google.com>
Michael Hanselmann
04:52 pm ganeti-local Revision 1a6db3df: QA: Fix dictionary formatting
Make it match the style guide.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal Seno ...
Michael Hanselmann
04:52 pm Revision 1a6db3df: QA: Fix dictionary formatting
Make it match the style guide.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal Seno ...
Michael Hanselmann
04:52 pm ganeti-local Revision 04b5f222: QA: Disable drbd-offline test if no DRBD instance is used
If “instance-add-drbd-disk” is not enabled it usually also means to not
use DRBD at all.
Signed-off-by: Michael Hans...
Michael Hanselmann
04:52 pm Revision 04b5f222: QA: Disable drbd-offline test if no DRBD instance is used
If “instance-add-drbd-disk” is not enabled it usually also means to not
use DRBD at all.
Signed-off-by: Michael Hans...
Michael Hanselmann
04:16 pm ganeti-local Revision ce35bdeb: Remove early returns in network LUs
Remove any early returns in LUNetworkDisconnect/LUNetworkConnect
and replace them with if-else statements.
Signed-of...
Dimitris Aragiorgis
04:16 pm Revision ce35bdeb: Remove early returns in network LUs
Remove any early returns in LUNetworkDisconnect/LUNetworkConnect
and replace them with if-else statements.
Signed-of...
Dimitris Aragiorgis

02/27/2013

11:47 pm Revision 5c1ae836: Test AsyncStreamServer with abstract unix sockets
This was meant to be since "the beginning" but was never submitted as
somehow it failed with python 2.4. Now that the...
Guido Trotter
11:47 pm ganeti-local Revision 5c1ae836: Test AsyncStreamServer with abstract unix sockets
This was meant to be since "the beginning" but was never submitted as
somehow it failed with python 2.4. Now that the...
Guido Trotter
04:00 pm Revision 301adaae: QA: Disable RAPI tests for virtual clusters
The QA script connects to the RAPI daemon. In virtual cluster setups the
daemon is usually listening on a local inter...
Michael Hanselmann
04:00 pm ganeti-local Revision 301adaae: QA: Disable RAPI tests for virtual clusters
The QA script connects to the RAPI daemon. In virtual cluster setups the
daemon is usually listening on a local inter...
Michael Hanselmann
04:00 pm Revision 2df92990: QA: Add virtual cluster support to queue drain test
The path to the queue drain file must use the virtual node path.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
04:00 pm ganeti-local Revision 2df92990: QA: Add virtual cluster support to queue drain test
The path to the queue drain file must use the virtual node path.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
04:00 pm Revision db41409c: QA: Disable copyfile test for virtual clusters
This test will need some more work for virtual clusters. Disable it in
the meantime.
Signed-off-by: Michael Hanselma...
Michael Hanselmann
04:00 pm ganeti-local Revision db41409c: QA: Disable copyfile test for virtual clusters
This test will need some more work for virtual clusters. Disable it in
the meantime.
Signed-off-by: Michael Hanselma...
Michael Hanselmann
04:00 pm Revision c0464536: QA: Disable OOB tests for virtual clusters
They do not work properly at the moment.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo...
Michael Hanselmann
04:00 pm ganeti-local Revision c0464536: QA: Disable OOB tests for virtual clusters
They do not work properly at the moment.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo...
Michael Hanselmann
04:00 pm Revision 734fd6b4: QA: Update virtual node's RAPI users file
The file is located below the virtual node directory.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
Michael Hanselmann
04:00 pm ganeti-local Revision 734fd6b4: QA: Update virtual node's RAPI users file
The file is located below the virtual node directory.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
Michael Hanselmann
04:00 pm Revision dcd85eef: QA: Read virtual node's RAPI certificate
The virtual node prefix must be added to the path.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by...
Michael Hanselmann
04:00 pm ganeti-local Revision dcd85eef: QA: Read virtual node's RAPI certificate
The virtual node prefix must be added to the path.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by...
Michael Hanselmann
03:59 pm Revision c9cf3f1a: qa_os: Disable checks for virtual clusters
The OS definitions are not virtualized. Tests configuring different OS
definitions on different nodes don't work prop...
Michael Hanselmann
03:59 pm ganeti-local Revision c9cf3f1a: qa_os: Disable checks for virtual clusters
The OS definitions are not virtualized. Tests configuring different OS
definitions on different nodes don't work prop...
Michael Hanselmann
03:59 pm Revision e35c341e: qa_instance: Virtual cluster support for instance list
Use path of virtual node when retrieving ssconf's instance list.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
03:59 pm ganeti-local Revision e35c341e: qa_instance: Virtual cluster support for instance list
Use path of virtual node when retrieving ssconf's instance list.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
03:58 pm Revision ea0d8b70: qa_daemon: Virtual cluster support
Use virtual node path when removing the watcher status file.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
R...
Michael Hanselmann
03:58 pm ganeti-local Revision ea0d8b70: qa_daemon: Virtual cluster support
Use virtual node path when removing the watcher status file.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
R...
Michael Hanselmann
03:58 pm Revision 7160f14a: qa_utils: Support virtual cluster for backup files
“qa_utils.BackupFile” is always called with the path for a normal node.
In virtual clusters the node prefix path must...
Michael Hanselmann
03:58 pm ganeti-local Revision 7160f14a: qa_utils: Support virtual cluster for backup files
“qa_utils.BackupFile” is always called with the path for a normal node.
In virtual clusters the node prefix path must...
Michael Hanselmann
03:58 pm Revision 50eaa5da: qa_utils: Virtual cluster support for SSH commands
In virtual clusters, all “gnt-*” and “ganeti-*” commands require
environment variables to be set for the virtual clus...
Michael Hanselmann
03:58 pm ganeti-local Revision 50eaa5da: qa_utils: Virtual cluster support for SSH commands
In virtual clusters, all “gnt-*” and “ganeti-*” commands require
environment variables to be set for the virtual clus...
Michael Hanselmann
03:11 pm Revision c072e788: qa_config: Support callable test checks
Until now all tests depended on simple AND/OR conditions. With the
introduction of virtual cluster support, some test...
Michael Hanselmann
03:11 pm ganeti-local Revision c072e788: qa_config: Support callable test checks
Until now all tests depended on simple AND/OR conditions. With the
introduction of virtual cluster support, some test...
Michael Hanselmann
03:11 pm Revision 76fda900: QA: Add config entries for virtual cluster
If these new options are set, a virtual cluster is created and used.
Virtual clusters consist of 1..N virtual nodes o...
Michael Hanselmann
03:11 pm ganeti-local Revision 76fda900: QA: Add config entries for virtual cluster
If these new options are set, a virtual cluster is created and used.
Virtual clusters consist of 1..N virtual nodes o...
Michael Hanselmann
11:57 am Revision b3ab9a8a: Fix typo in docstring
Signed-off-by: Christos Stavrakakis <cstavr@grnet.gr>
Reviewed-by: Michele Tartara <mtartara@google.com>
Christos Stavrakakis
11:57 am ganeti-local Revision b3ab9a8a: Fix typo in docstring
Signed-off-by: Christos Stavrakakis <cstavr@grnet.gr>
Reviewed-by: Michele Tartara <mtartara@google.com>
Christos Stavrakakis

02/26/2013

02:04 pm Revision 27d75ee0: rapi.rst: Replace manual method lists with directive
Many resources, but not all, list their supported methods. With a new
reST directive, this list is now automatically ...
Michael Hanselmann
02:04 pm ganeti-local Revision 27d75ee0: rapi.rst: Replace manual method lists with directive
Many resources, but not all, list their supported methods. With a new
reST directive, this list is now automatically ...
Michael Hanselmann
03:53 am ganeti-local Revision e0519c34: Add networks to _AllIDs()
networks config objects have UUIDs and thus should be included
in _AllUUIDObjects().
Signed-off-by: Dimitris Aragior...
Dimitris Aragiorgis
03:53 am ganeti-local Revision 5a76adf7: Fix HooksDict() in case of no tags
In this method self.tags might be None and cannot be used
in join(). Use GetTags instead.
Signed-off-by: Dimitris Ar...
Dimitris Aragiorgis
03:53 am Revision e0519c34: Add networks to _AllIDs()
networks config objects have UUIDs and thus should be included
in _AllUUIDObjects().
Signed-off-by: Dimitris Aragior...
Dimitris Aragiorgis
03:53 am Revision 5a76adf7: Fix HooksDict() in case of no tags
In this method self.tags might be None and cannot be used
in join(). Use GetTags instead.
Signed-off-by: Dimitris Ar...
Dimitris Aragiorgis
03:53 am ganeti-local Revision 6d96f116: Fix locking in LUNetworkConnect()
Locks for group instances are aquired only if conflicts are checked.
To this end we must _CheckNodeGroupInstances() o...
Dimitris Aragiorgis
03:53 am Revision 6d96f116: Fix locking in LUNetworkConnect()
Locks for group instances are aquired only if conflicts are checked.
To this end we must _CheckNodeGroupInstances() o...
Dimitris Aragiorgis
03:49 am ganeti-local Revision 076a2938: Fix networks in LUInstanceSetParams()
Params passed in _CreateNewNic() are not yet evaluated and include
the value passed by user for the network. A lookup...
Dimitris Aragiorgis
03:49 am Revision 076a2938: Fix networks in LUInstanceSetParams()
Params passed in _CreateNewNic() are not yet evaluated and include
the value passed by user for the network. A lookup...
Dimitris Aragiorgis
« Previous
Next »
 

Also available in: Atom