Statistics
| Branch: | Tag: | Revision:

root / test @ e9ebf2d7

Name Size
  autotools
  data
  hs
  py

Latest revisions

# Date Author Comment
e9ebf2d7 05/05/2014 02:22 pm Ilias Tsitsimpis

Add 'disks_info' Instance slot

Instance's 'disks' slot will contain a list of disk UUIDs. Create a new
slot named 'disks_info' which will be annotated with the disk objects'
during the RPC.

Signed-off-by: Ilias Tsitsimpis <>
Reviewed-by: Jose A. Lopes <>

921fd285 05/05/2014 02:22 pm Ilias Tsitsimpis

Get instance's nodes from config

Use 'GetInstanceNodes' to get the nodes of an instance, instead of the
'all_nodes' Instance property.

Signed-off-by: Ilias Tsitsimpis <>
Reviewed-by: Jose A. Lopes <>

45c044f4 05/05/2014 02:22 pm Ilias Tsitsimpis

Get instance secondary nodes from config

Use 'GetInstanceSecondaryNodes' to get the secondary nodes of an
instance, instead of the 'secondary_nodes'.
Annotate 'secondary_nodes' in rpc so that backend has access to it.

Signed-off-by: Ilias Tsitsimpis <>...

ad8076ee 05/05/2014 02:22 pm Ilias Tsitsimpis

Change TestInstance in objects unittest

Now that 'all_nodes' and 'secondary_nodes' of an instance are computed
from the 'config' module, move the corresponding tests from
'objects_unittest' to 'config_unittest'.

Signed-off-by: Ilias Tsitsimpis <>...

18544dc0 05/05/2014 02:22 pm Ilias Tsitsimpis

Fix '_create_instance' in config_unittest

Previously '_create_instance' would initialize the config object every
time it would be called. This causes '_WriteConfig' to fail with
ConfigurationError: The configuration file has been modified since the
last write. Fix this by passing the config object to '_create_instance'...

09104704 05/05/2014 02:22 pm Ilias Tsitsimpis

Add timestamp/serial_no slot to disk objects

Now that disks are top level citizens in config,
they need a timestamp and a serial_no slot.

Signed-off-by: Ilias Tsitsimpis <>
Reviewed-by: Jose A. Lopes <>

d7135309 05/05/2014 02:22 pm Ilias Tsitsimpis

Add disks entry to config.data

Add disks entry to config.data.

Signed-off-by: Ilias Tsitsimpis <>
Reviewed-by: Jose A. Lopes <>

2d9828b3 04/29/2014 03:55 pm Apollon Oikonomopoulos

Add systemd unittests

Test the consistency between daemon-util and the systemd unit files:

- Each service started/stopped by daemon-util must have a respective
unit file.
- The daemon user/group in the service file must be the same as the
one reported by daemon-util....
5676ffd5 04/28/2014 03:31 pm Klaus Aehlig

Merge branch 'stable-2.11' into stable-2.12

  • stable-2.11
    Avoid assertIn
    Be more explicit about the scope of gnt-cluster upgrade

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Hrvoje Ribicic <>

2e925e4b 04/28/2014 03:22 pm Klaus Aehlig

Avoid assertIn

...as it is only present in python version 2.7 and higher.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Petr Pudlak <>

View revisions

Also available in: Atom