Activity

From 10/22/2012 to 11/20/2012

11/20/2012

08:04 pm Revision 39573352: Fix some more hlint warnings
Sorry…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Iustin Pop
08:04 pm ganeti-local Revision 39573352: Fix some more hlint warnings
Sorry…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Iustin Pop
07:51 pm Revision f500d80b: Fix tools/move-instance after networks addition
Commits d4117a72 (“Modify LUInstanceCreate to support networks”) and
09a3d21f (“Pass detailed network info in hooks“)...
Iustin Pop
07:51 pm ganeti-local Revision f500d80b: Fix tools/move-instance after networks addition
Commits d4117a72 (“Modify LUInstanceCreate to support networks”) and
09a3d21f (“Pass detailed network info in hooks“)...
Iustin Pop
07:51 pm Revision 8df21834: Move _BuildNetworkEnv() at top-level
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm ganeti-local Revision 8df21834: Move _BuildNetworkEnv() at top-level
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm Revision 861a92b4: Use bitarray 0.8 interface
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm ganeti-local Revision 861a92b4: Use bitarray 0.8 interface
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm Revision cfcea7ef: Minor fix in query.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm ganeti-local Revision cfcea7ef: Minor fix in query.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm Revision 08ed6998: Minor fix in ovf
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm ganeti-local Revision 08ed6998: Minor fix in ovf
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm Revision 6a94d553: Fix a few docstrings
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm ganeti-local Revision 6a94d553: Fix a few docstrings
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm Revision 1f1d3bf2: Simplify GenerateFree in network module
GenerateFree now returns the first available IP in the network
or raises AddressPoolError if it is full.
Signed-off-...
Dimitris Aragiorgis
07:51 pm ganeti-local Revision 1f1d3bf2: Simplify GenerateFree in network module
GenerateFree now returns the first available IP in the network
or raises AddressPoolError if it is full.
Signed-off-...
Dimitris Aragiorgis
07:51 pm Revision e81eef56: Replace string values with proper constants
_UnlockedCommitIp is used either for releasing or reserving an
IP inside a network. New constants RELEASE_ACTION/RESE...
Dimitris Aragiorgis
07:51 pm Revision 7f033fb3: Add docstring to the GetECReserved config method
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm ganeti-local Revision 7f033fb3: Add docstring to the GetECReserved config method
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm ganeti-local Revision e81eef56: Replace string values with proper constants
_UnlockedCommitIp is used either for releasing or reserving an
IP inside a network. New constants RELEASE_ACTION/RESE...
Dimitris Aragiorgis
07:51 pm Revision 032a7d71: Simplify mac generation funtions
Introduce new config method _UnlockedGetNetworkMACPrefix and refactor
original _GenerateOneMAC so that it takes prefi...
Dimitris Aragiorgis
07:51 pm ganeti-local Revision 032a7d71: Simplify mac generation funtions
Introduce new config method _UnlockedGetNetworkMACPrefix and refactor
original _GenerateOneMAC so that it takes prefi...
Dimitris Aragiorgis
07:51 pm Revision 538427e6: Fix _ComputeNics to include network slot
This bug was introduced after rebasing master branch.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-...
Dimitris Aragiorgis
07:51 pm ganeti-local Revision 538427e6: Fix _ComputeNics to include network slot
This bug was introduced after rebasing master branch.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-...
Dimitris Aragiorgis
07:51 pm Revision 1fa2c40b: Fixes to pass py-apidoc (make commit-check)
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm ganeti-local Revision 1fa2c40b: Fixes to pass py-apidoc (make commit-check)
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm Revision 3c286190: Fixes to pass pep8 (make lint)
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm ganeti-local Revision 3c286190: Fixes to pass pep8 (make lint)
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm Revision beb81ea5: Fixes to pass pylint (make lint)
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm ganeti-local Revision beb81ea5: Fixes to pass pylint (make lint)
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm Revision 6e8091f9: Fixes to pass unittests (make check)
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm ganeti-local Revision 6e8091f9: Fixes to pass unittests (make check)
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm Revision 77aab207: Check for existing networks/groups in Network LUs
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm ganeti-local Revision 77aab207: Check for existing networks/groups in Network LUs
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm Revision 8140e24f: Add tags in network objects
Support:
- gnt-network add --tags.
- gnt-network list-tags/add-tags/remove-tags/.
- gnt-network list -o +tags
Sig...
Dimitris Aragiorgis
07:51 pm ganeti-local Revision 8140e24f: Add tags in network objects
Support:
- gnt-network add --tags.
- gnt-network list-tags/add-tags/remove-tags/.
- gnt-network list -o +tags
Sig...
Dimitris Aragiorgis
07:51 pm Revision d5ed7dce: Change default fields for network listing
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm ganeti-local Revision d5ed7dce: Change default fields for network listing
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm Revision 09a3d21f: Pass detailed network info in hooks
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm Revision cbe4a0a5: Pass netinfo in rpcs
If a nic has a network field then encapsulate a network object in
netinfo slot for every rpc. This is needed to pass ...
Dimitris Aragiorgis
07:51 pm ganeti-local Revision cbe4a0a5: Pass netinfo in rpcs
If a nic has a network field then encapsulate a network object in
netinfo slot for every rpc. This is needed to pass ...
Dimitris Aragiorgis
07:51 pm ganeti-local Revision 09a3d21f: Pass detailed network info in hooks
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
Dimitris Aragiorgis
07:51 pm Revision 58bf877f: cfgupgrade for networks
Add networks slot in config data.
Add networks slot in nodegroups.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet....
Dimitris Aragiorgis
07:51 pm ganeti-local Revision 58bf877f: cfgupgrade for networks
Add networks slot in config data.
Add networks slot in nodegroups.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet....
Dimitris Aragiorgis
07:51 pm Revision a0af6c80: Use network's mac prefix
Modify existing GenerateMAC so that it takes network as an argument.
Substitute _GenerateOneMAC with a decorator _Ge...
Dimitris Aragiorgis
07:51 pm ganeti-local Revision a0af6c80: Use network's mac prefix
Modify existing GenerateMAC so that it takes network as an argument.
Substitute _GenerateOneMAC with a decorator _Ge...
Dimitris Aragiorgis
07:51 pm Revision 4e4b6b7a: Include networks in Makefile and bash completion
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Rev...
Apollon Oikonomopoulos
07:51 pm ganeti-local Revision 4e4b6b7a: Include networks in Makefile and bash completion
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Rev...
Apollon Oikonomopoulos
07:51 pm Revision a04cc7a4: Add gnt-network man page
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Rev...
Apollon Oikonomopoulos
07:51 pm ganeti-local Revision a04cc7a4: Add gnt-network man page
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Rev...
Apollon Oikonomopoulos
07:51 pm Revision 4588b4bd: Rapi support for networks
Support:
- GetNetwork(s)
- CreateNetwork
- ConnectNetwork
- DisconnectNetwork
- RemoveNetwork
Signed-off-by: Di...
Dimitris Aragiorgis
07:51 pm ganeti-local Revision 4588b4bd: Rapi support for networks
Support:
- GetNetwork(s)
- CreateNetwork
- ConnectNetwork
- DisconnectNetwork
- RemoveNetwork
Signed-off-by: Di...
Dimitris Aragiorgis
07:51 pm Revision f2bd89b3: ss_conf support for networks
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Rev...
Apollon Oikonomopoulos
07:51 pm ganeti-local Revision f2bd89b3: ss_conf support for networks
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Rev...
Apollon Oikonomopoulos
07:51 pm Revision 9c784fb3: Introduce client support for networks
gnt-network is used to manipulate and handle networks that currently
provides the following operations:
* Add a new...
Dimitris Aragiorgis
07:51 pm ganeti-local Revision 9c784fb3: Introduce client support for networks
gnt-network is used to manipulate and handle networks that currently
provides the following operations:
* Add a new...
Dimitris Aragiorgis
07:51 pm Revision d4117a72: Modify instance client to support networks
Add --no-conflicts-check option.
Modify instance query methods to return nic's network info.
Signed-off-by: Apollon ...
Apollon Oikonomopoulos
07:51 pm ganeti-local Revision d4117a72: Modify instance client to support networks
Add --no-conflicts-check option.
Modify instance query methods to return nic's network info.
Signed-off-by: Apollon ...
Apollon Oikonomopoulos
07:51 pm Revision a5ad5e58: Peripheral changes for networks
Specifically:
* export a new environment variable for the gnt-os-interface
* export a new environment variable for ...
Apollon Oikonomopoulos
07:51 pm ganeti-local Revision a5ad5e58: Peripheral changes for networks
Specifically:
* export a new environment variable for the gnt-os-interface
* export a new environment variable for ...
Apollon Oikonomopoulos
07:51 pm Revision d1547283: Modify LUInstanceSetParams() to support networks
Keep backwards compatibility just like LUInstanceCreate() and support
network parameter for NIC object.
Add ec_id ar...
Dimitris Aragiorgis
07:51 pm ganeti-local Revision d1547283: Modify LUInstanceSetParams() to support networks
Keep backwards compatibility just like LUInstanceCreate() and support
network parameter for NIC object.
Add ec_id ar...
Dimitris Aragiorgis
07:51 pm Revision ced51149: Modify RemoveInstance() to support networks
Release any IPs held the instance before actually removing.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Rev...
Dimitris Aragiorgis
07:51 pm ganeti-local Revision ced51149: Modify RemoveInstance() to support networks
Release any IPs held the instance before actually removing.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Rev...
Dimitris Aragiorgis
07:51 pm Revision e8e079f3: Modify LUInstanceCreate to support networks
Implement backend support, to export the IP pool management
functionality to the clients. When the new NIC parameter ...
Dimitris Aragiorgis
07:51 pm ganeti-local Revision e8e079f3: Modify LUInstanceCreate to support networks
Implement backend support, to export the IP pool management
functionality to the clients. When the new NIC parameter ...
Dimitris Aragiorgis
07:51 pm Revision ad4a9ae7: Config methods for reserving/releasing IPs
Use TemporaryReservationManager for IP handling to ensure config data
consistency.
Implement:
- methods for reservi...
Dimitris Aragiorgis
07:51 pm ganeti-local Revision ad4a9ae7: Config methods for reserving/releasing IPs
Use TemporaryReservationManager for IP handling to ensure config data
consistency.
Implement:
- methods for reservi...
Dimitris Aragiorgis
07:50 pm Revision 0fbd466b: Implement network/nodegroup mappings
LUNetworkConnect() connects a network to a nodegroup and defines
its netparams (mode and link). Specifically:
* Chec...
Dimitris Aragiorgis
07:50 pm ganeti-local Revision 0fbd466b: Implement network/nodegroup mappings
LUNetworkConnect() connects a network to a nodegroup and defines
its netparams (mode and link). Specifically:
* Chec...
Dimitris Aragiorgis
07:50 pm Revision 1e0d3321: Implement LUNetworkSetParams
Support modifying all network parameters except for network (ip
range). Cannot modify gateway and reserved ips at the...
Dimitris Aragiorgis
07:50 pm ganeti-local Revision 1e0d3321: Implement LUNetworkSetParams
Support modifying all network parameters except for network (ip
range). Cannot modify gateway and reserved ips at the...
Dimitris Aragiorgis
07:50 pm Revision 306bed0e: Implement LUNetworkQuery
Summarily list all existing networks
Supply detailed info for every existing network
- List used/free IPs
- List in...
Apollon Oikonomopoulos
07:50 pm ganeti-local Revision 306bed0e: Implement LUNetworkQuery
Summarily list all existing networks
Supply detailed info for every existing network
- List used/free IPs
- List in...
Apollon Oikonomopoulos
07:50 pm Revision 6c0a75db: Basic IP pool management logic
Implement LUs for corresponding opcodes:
* LUNetworkAdd:
- Check for IP validity
- Reserves all necessary IPs
...
Dimitris Aragiorgis
07:50 pm ganeti-local Revision 6c0a75db: Basic IP pool management logic
Implement LUs for corresponding opcodes:
* LUNetworkAdd:
- Check for IP validity
- Reserves all necessary IPs
...
Dimitris Aragiorgis
07:50 pm Revision 1de1cf25: Introduce new module for IP pool management
Add new library module lib/network.py.
Introduce new class: AddressPool.
AddressPool implements all operations neede...
Apollon Oikonomopoulos
07:50 pm ganeti-local Revision 1de1cf25: Introduce new module for IP pool management
Add new library module lib/network.py.
Introduce new class: AddressPool.
AddressPool implements all operations neede...
Apollon Oikonomopoulos
07:50 pm Revision eaa4c57c: IP pool related objects, opcodes and constants
Config objects:
* Introduce L{Network} with
- IPv4 network field (mandatory)
- IPv4 gateway, IPv6 (network/gatew...
Dimitris Aragiorgis
07:50 pm ganeti-local Revision eaa4c57c: IP pool related objects, opcodes and constants
Config objects:
* Introduce L{Network} with
- IPv4 network field (mandatory)
- IPv4 gateway, IPv6 (network/gatew...
Dimitris Aragiorgis
05:39 pm Revision edb5a1c8: Add more basic validation types
This mirrors the ht.py types PositiveInt, NonNegative, etc., except
that they work at a more generic level (any numer...
Iustin Pop
05:39 pm ganeti-local Revision edb5a1c8: Add more basic validation types
This mirrors the ht.py types PositiveInt, NonNegative, etc., except
that they work at a more generic level (any numer...
Iustin Pop
05:38 pm Revision 469a1490: Fix a hlint warning
This is yet-another version-specific warning (fixed in later hlint
versions), but it's better to keep it clean.
Sign...
Iustin Pop
05:38 pm ganeti-local Revision 469a1490: Fix a hlint warning
This is yet-another version-specific warning (fixed in later hlint
versions), but it's better to keep it clean.
Sign...
Iustin Pop
01:02 pm Revision a52f8e72: Add DRBD parser unit tests
This adds tests that existing test files can be parsed by the Haskell
parser as well, plus one new test file.
Signed...
Michele Tartara
01:02 pm ganeti-local Revision a52f8e72: Add DRBD parser unit tests
This adds tests that existing test files can be parsed by the Haskell
parser as well, plus one new test file.
Signed...
Michele Tartara
01:02 pm Revision 3c1915df: Add parser for DRBD /proc file
A new directory for haskell modules about block devices has been created
The parser is divided in two modules:
* one ...
Michele Tartara
01:02 pm ganeti-local Revision 3c1915df: Add parser for DRBD /proc file
A new directory for haskell modules about block devices has been created
The parser is divided in two modules:
* one ...
Michele Tartara
12:12 pm Revision 1a865afe: Properly log errors when setting up daemon FDs
While writing the pipe-based reporting and trying various ways to
break the startup, I fought for a while trying to u...
Iustin Pop
12:12 pm ganeti-local Revision 1a865afe: Properly log errors when setting up daemon FDs
While writing the pipe-based reporting and trying various ways to
break the startup, I fought for a while trying to u...
Iustin Pop
11:28 am Revision 8ee2994a: Switch opcode data type from normal to record constructors
Currently, the OpCode definitions are using normal constructors:
data OpCode = OpTestDelay Double Bool [String]
...
Iustin Pop
11:28 am ganeti-local Revision 8ee2994a: Switch opcode data type from normal to record constructors
Currently, the OpCode definitions are using normal constructors:
data OpCode = OpTestDelay Double Bool [String]
...
Iustin Pop
11:26 am Revision 51d991d7: Fix docstrings for the Filter type
While looking at the opcode docs and clicking accidentally on the
filter type, I saw that the haddock formatting is b...
Iustin Pop
11:26 am ganeti-local Revision 51d991d7: Fix docstrings for the Filter type
While looking at the opcode docs and clicking accidentally on the
filter type, I saw that the haddock formatting is b...
Iustin Pop
11:26 am Revision 32f2e1e1: Simplify a few test helpers
Use more monadic combinators instead of explicit code.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Ad...
Iustin Pop
11:26 am ganeti-local Revision 32f2e1e1: Simplify a few test helpers
Use more monadic combinators instead of explicit code.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Ad...
Iustin Pop
11:25 am Revision 9ba02574: Add custom code for CV_E* constants to convert-constants
Currently, the cluster verify errors are defined as follows:
CV_ECLUSTER_FOO = (TCLUSTER, "ECLUSTER_FOO", "descripti...
Iustin Pop
11:25 am ganeti-local Revision 9ba02574: Add custom code for CV_E* constants to convert-constants
Currently, the cluster verify errors are defined as follows:
CV_ECLUSTER_FOO = (TCLUSTER, "ECLUSTER_FOO", "descripti...
Iustin Pop
11:25 am Revision e1ebbfcf: Improve error message for wrong opcode parameter values
When given an empty string as value to a parameter that doesn't accept
empty strings, the error message was confusing...
Iustin Pop
11:25 am ganeti-local Revision e1ebbfcf: Improve error message for wrong opcode parameter values
When given an empty string as value to a parameter that doesn't accept
empty strings, the error message was confusing...
Iustin Pop
11:16 am Revision 2c9fa1ff: Cleanup ht's use of positive/strictpositive
Currently, ht.py uses a bad terminology for positive/non-negative
numbers. Per http://en.wikipedia.org/wiki/Positive_...
Iustin Pop
11:16 am ganeti-local Revision 2c9fa1ff: Cleanup ht's use of positive/strictpositive
Currently, ht.py uses a bad terminology for positive/non-negative
numbers. Per http://en.wikipedia.org/wiki/Positive_...
Iustin Pop
11:16 am Revision 92f51573: Split OpCode.hs and add module for opcode parameters
Due to TemplateHaskell stage restrictions, we can't define parameters
in the same module as we're using them for TH, ...
Iustin Pop
11:16 am ganeti-local Revision 92f51573: Split OpCode.hs and add module for opcode parameters
Due to TemplateHaskell stage restrictions, we can't define parameters
in the same module as we're using them for TH, ...
Iustin Pop
11:16 am Revision 5e9deac0: Create a new Ganeti/Types.hs module
There are already three cases where we copied type definitions between
the htools-specific types into the main ganeti...
Iustin Pop
11:16 am ganeti-local Revision 5e9deac0: Create a new Ganeti/Types.hs module
There are already three cases where we copied type definitions between
the htools-specific types into the main ganeti...
Iustin Pop

11/19/2012

09:34 pm Revision dc6296ff: locking: Simplify condition
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
09:34 pm ganeti-local Revision dc6296ff: locking: Simplify condition
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
05:28 pm Revision 52fca4ba: configure: Shell cleanup
- Remote unnecessary quote characters
- Change some uses of “test "$foo"” to “test -n "$foo"”
- Merge “if/else/if” in...
Michael Hanselmann
05:28 pm ganeti-local Revision 52fca4ba: configure: Shell cleanup
- Remote unnecessary quote characters
- Change some uses of “test "$foo"” to “test -n "$foo"”
- Merge “if/else/if” in...
Michael Hanselmann
03:17 pm Revision 70296981: Fix opcode validation for OpOobCommand.command
The 'command' attribute of the OpOobCommand command is defined with a
default value of None, but its validation requi...
Iustin Pop
03:17 pm ganeti-local Revision 70296981: Fix opcode validation for OpOobCommand.command
The 'command' attribute of the OpOobCommand command is defined with a
default value of None, but its validation requi...
Iustin Pop
03:12 pm Revision e4d745a7: Add opcode for running commands remotely
The opcode doesn't pay attention to the build-time flag to enable or
disable restricted commands. In a cluster differ...
Michael Hanselmann
03:12 pm ganeti-local Revision e4d745a7: Add opcode for running commands remotely
The opcode doesn't pay attention to the build-time flag to enable or
disable restricted commands. In a cluster differ...
Michael Hanselmann
03:12 pm Revision db2203e0: Add RPC for restricted commands
Expose the functionality to run restricted commands remotely via RPC.
Signed-off-by: Michael Hanselmann <hansmi@goog...
Michael Hanselmann
03:12 pm ganeti-local Revision db2203e0: Add RPC for restricted commands
Expose the functionality to run restricted commands remotely via RPC.
Signed-off-by: Michael Hanselmann <hansmi@goog...
Michael Hanselmann
03:10 pm Revision 03c5291c: locking: Don't schedule pending acq. for short timeout
Scheduling a pending acquisition is relatively expensive and lot of code
is involved. Unless there is already one, a ...
Michael Hanselmann
03:10 pm ganeti-local Revision 03c5291c: locking: Don't schedule pending acq. for short timeout
Scheduling a pending acquisition is relatively expensive and lot of code
is involved. Unless there is already one, a ...
Michael Hanselmann
11:49 am Revision 488a5b2e: Prevent hlint crash on unicode chars
Some versions of hlint crash on the Attoparsec test file because they
are not able to correctly handle unicode charac...
Michele Tartara
11:49 am ganeti-local Revision 488a5b2e: Prevent hlint crash on unicode chars
Some versions of hlint crash on the Attoparsec test file because they
are not able to correctly handle unicode charac...
Michele Tartara

11/16/2012

06:52 pm Revision 7742b03c: Rename design document for SSH setup
More design details will be added regarding setting up the node daemon,
so this is more about adding a node than just...
Michael Hanselmann
06:52 pm ganeti-local Revision 7742b03c: Rename design document for SSH setup
More design details will be added regarding setting up the node daemon,
so this is more about adding a node than just...
Michael Hanselmann
04:10 pm ganeti-local Revision 1a2eb2dc: backend: Implement remote commands
As per design document (doc/design-remote-commands.rst), a number of
rather strict tests is applied to any incoming r...
Michael Hanselmann
04:10 pm Revision 1a2eb2dc: backend: Implement remote commands
As per design document (doc/design-remote-commands.rst), a number of
rather strict tests is applied to any incoming r...
Michael Hanselmann
04:09 pm ganeti-local Revision 9108958f: configure: Add option to enable remote commands
By default remote commands are disabled and need to be explicitely
enabled at build time.
Signed-off-by: Michael Han...
Michael Hanselmann
04:09 pm Revision 9108958f: configure: Add option to enable remote commands
By default remote commands are disabled and need to be explicitely
enabled at build time.
Signed-off-by: Michael Han...
Michael Hanselmann
03:57 pm Revision de959245: Add unit test for RAPI handler access definitions
- Ensure query-related resources have the same access permissions
(specifically “/2/query/*” and “/2/*/console”)
- ...
Michael Hanselmann
03:57 pm Revision 41f3d54d: Update ganeti-rapi man page for new user option
Instead of duplicating what is already described in the full
documentation, a reference is added instead. Man pages c...
Michael Hanselmann
03:57 pm ganeti-local Revision de959245: Add unit test for RAPI handler access definitions
- Ensure query-related resources have the same access permissions
(specifically “/2/query/*” and “/2/*/console”)
- ...
Michael Hanselmann
03:57 pm ganeti-local Revision 41f3d54d: Update ganeti-rapi man page for new user option
Instead of duplicating what is already described in the full
documentation, a reference is added instead. Man pages c...
Michael Hanselmann
03:57 pm Revision 5e12acfe: rapi: Add new user option for querying
This was requested in issue 301. Before this patch, requests to
“/2/query/*” and “/2/instances/*/console” would requi...
Michael Hanselmann
03:57 pm ganeti-local Revision 5e12acfe: rapi: Add new user option for querying
This was requested in issue 301. Before this patch, requests to
“/2/query/*” and “/2/instances/*/console” would requi...
Michael Hanselmann
02:32 pm Revision 7b0476cf: Add Utility functions for loading data from test files
They mimic their python counterparts.
Added functions:
* getSourceDir
* testDataFilename
* readTestData
* readPython...
Michele Tartara
02:32 pm ganeti-local Revision 7b0476cf: Add Utility functions for loading data from test files
They mimic their python counterparts.
Added functions:
* getSourceDir
* testDataFilename
* readTestData
* readPython...
Michele Tartara
12:00 pm Revision ff247692: Improved TestHelper module docstring
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michele Tartara
12:00 pm ganeti-local Revision ff247692: Improved TestHelper module docstring
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michele Tartara

11/15/2012

02:30 pm Revision f92ed8ab: Move gnt_cluster.SHOW_MACHINE_OPT to cli
This allows the option to be re-used in other places.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
Michael Hanselmann
02:30 pm ganeti-local Revision f92ed8ab: Move gnt_cluster.SHOW_MACHINE_OPT to cli
This allows the option to be re-used in other places.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
Michael Hanselmann
02:21 pm Revision 17071597: Add ganeti-node-role ocf example file
This allows offlining nodes that don't respond if they are part of a
linux-HA cluster.
Signed-off-by: Guido Trotter ...
Guido Trotter
02:21 pm Revision aa75500a: Add ganeti-master-role.ocf example file
This allows controlling the cluster master role if the nodes are part of
a linux-HA cluster.
Signed-off-by: Guido Tr...
Guido Trotter
02:21 pm ganeti-local Revision aa75500a: Add ganeti-master-role.ocf example file
This allows controlling the cluster master role if the nodes are part of
a linux-HA cluster.
Signed-off-by: Guido Tr...
Guido Trotter
02:21 pm ganeti-local Revision 17071597: Add ganeti-node-role ocf example file
This allows offlining nodes that don't respond if they are part of a
linux-HA cluster.
Signed-off-by: Guido Trotter ...
Guido Trotter
12:20 pm Revision 32a569fe: Cleanup THH function use from built module namespace
Currently, THH.hs "injects" into the built code names of library
functions like Text.JSON.makeObj, Ganeti.JSON.fromOb...
Iustin Pop
12:20 pm ganeti-local Revision 32a569fe: Cleanup THH function use from built module namespace
Currently, THH.hs "injects" into the built code names of library
functions like Text.JSON.makeObj, Ganeti.JSON.fromOb...
Iustin Pop
09:31 am Revision e98bb8c8: Fix typo in manpage for gnt-os
s/exists/exist/
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Michele Tartara <mtartara@google....
Michael Hanselmann
09:31 am ganeti-local Revision e98bb8c8: Fix typo in manpage for gnt-os
s/exists/exist/
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Michele Tartara <mtartara@google....
Michael Hanselmann

11/14/2012

06:05 pm Revision 61899e64: Switch Attoparsec/unicode test from QC to HUnit
This is not a quickcheck property, since it doesn't have any
variable/arbitrary inputs. So let's make it a test case,...
Iustin Pop
06:05 pm ganeti-local Revision 61899e64: Switch Attoparsec/unicode test from QC to HUnit
This is not a quickcheck property, since it doesn't have any
variable/arbitrary inputs. So let's make it a test case,...
Iustin Pop
01:07 pm Revision 1511a65d: Merge branch 'stable-2.6-ippool-hotplug-esi' into debian-2.6
Dimitris Aragiorgis
01:07 pm ganeti-local Revision 1511a65d: Merge branch 'stable-2.6-ippool-hotplug-esi' into debian-2.6
Dimitris Aragiorgis
01:05 pm Revision c9fc98df: Remove unused code in cfgupgrade
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
01:05 pm ganeti-local Revision c9fc98df: Remove unused code in cfgupgrade
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
12:07 pm ganeti-local Revision bfbd12f7: Warn on invalid lines in HTTP user files
Without this change, invalid lines or values would be silently ignored.
Signed-off-by: Michael Hanselmann <hansmi@go...
Michael Hanselmann
12:07 pm Revision bfbd12f7: Warn on invalid lines in HTTP user files
Without this change, invalid lines or values would be silently ignored.
Signed-off-by: Michael Hanselmann <hansmi@go...
Michael Hanselmann
10:44 am Revision 3e0b97b5: Don't check for remote command directory as file storage
This test does not work properly if localstatedir is not “/etc”.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
10:44 am ganeti-local Revision 3e0b97b5: Don't check for remote command directory as file storage
This test does not work properly if localstatedir is not “/etc”.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
10:43 am ganeti-local Revision f5720846: gnt-instance.8: Add index to disk and nic removal
The text of the manpage explains that an index can be prepended to
"remove" but the short help doesn't mention it. Ad...
Guido Trotter
10:43 am Revision f5720846: gnt-instance.8: Add index to disk and nic removal
The text of the manpage explains that an index can be prepended to
"remove" but the short help doesn't mention it. Ad...
Guido Trotter
10:21 am ganeti-local Revision fe8f80bd: Document master daemon's shutdown behaviour
This wasn't clearly documented until now.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin ...
Michael Hanselmann
10:21 am Revision fe8f80bd: Document master daemon's shutdown behaviour
This wasn't clearly documented until now.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin ...
Michael Hanselmann
10:16 am Revision df99f3a9: pathutils: Add directory for remote commands
Also add tests to ensure it's never allowed as a file storage path. A
constant for the lock file is also added.
Sign...
Michael Hanselmann
10:16 am ganeti-local Revision df99f3a9: pathutils: Add directory for remote commands
Also add tests to ensure it's never allowed as a file storage path. A
constant for the lock file is also added.
Sign...
Michael Hanselmann
10:16 am ganeti-local Revision 2f18052f: utils.process.RunResult: Always set "fail_reason" attribute
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
10:16 am Revision 2f18052f: utils.process.RunResult: Always set "fail_reason" attribute
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
10:15 am Revision 23b9930c: Add previously missing node daemon GID to getent mock
The UID is there, the GID wasn't.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <ius...
Michael Hanselmann
10:15 am ganeti-local Revision 23b9930c: Add previously missing node daemon GID to getent mock
The UID is there, the GID wasn't.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <ius...
Michael Hanselmann
10:15 am Revision ebfb2f46: Add test utility to count calls to function
In some cases it's nice to verify a function has been called exactly N
times. This is going to be used in tests for r...
Michael Hanselmann
10:15 am ganeti-local Revision ebfb2f46: Add test utility to count calls to function
In some cases it's nice to verify a function has been called exactly N
times. This is going to be used in tests for r...
Michael Hanselmann
02:38 am Revision ecd11bb0: Sort content of generated RPC code
This is similar to commit f5ce761. A stable sort order makes changes
between versions easier to find.
Signed-off-by:...
Michael Hanselmann
02:38 am ganeti-local Revision ecd11bb0: Sort content of generated RPC code
This is similar to commit f5ce761. A stable sort order makes changes
between versions easier to find.
Signed-off-by:...
Michael Hanselmann

11/13/2012

10:21 pm Revision 105f0d47: Add new test for RAPI
Unlike existing tests, this actually tests RAPI at the interface with
the HTTP server. This way authentification can ...
Michael Hanselmann
10:21 pm ganeti-local Revision 105f0d47: Add new test for RAPI
Unlike existing tests, this actually tests RAPI at the interface with
the HTTP server. This way authentification can ...
Michael Hanselmann
09:28 pm Revision f63ffb37: Expose changing job priority via LUXI
A new LUXI request is added, in both Python and Haskell.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revie...
Michael Hanselmann
09:28 pm Revision e9e07c9c: Add “gnt-job change-priority” sub-command
This can be used to change the priority of a pending or running job (the
latter only if there are unprocessed opcodes...
Michael Hanselmann
09:28 pm ganeti-local Revision f63ffb37: Expose changing job priority via LUXI
A new LUXI request is added, in both Python and Haskell.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revie...
Michael Hanselmann
09:28 pm ganeti-local Revision e9e07c9c: Add “gnt-job change-priority” sub-command
This can be used to change the priority of a pending or running job (the
latter only if there are unprocessed opcodes...
Michael Hanselmann
09:20 pm Revision 4679547e: jqueue: Allow changing of job priority
This is due to a feature request. Sometimes one wants to change the
priority of a job after it has been submitted, e....
Michael Hanselmann
09:20 pm ganeti-local Revision 4679547e: jqueue: Allow changing of job priority
This is due to a feature request. Sometimes one wants to change the
priority of a job after it has been submitted, e....
Michael Hanselmann
09:20 pm Revision bba69414: workerpool: Preserve task number when deferring
When a task is deferred it should receive the same task ID upon being
returned to the pool.
Signed-off-by: Michael H...
Michael Hanselmann
09:20 pm Revision 9a2564e7: workerpool: Add method to change task's priority
Using the task ID a pending task's priority can be changed. This will be
used to change the priority of jobs in the w...
Michael Hanselmann
09:20 pm ganeti-local Revision 9a2564e7: workerpool: Add method to change task's priority
Using the task ID a pending task's priority can be changed. This will be
used to change the priority of jobs in the w...
Michael Hanselmann
09:20 pm ganeti-local Revision bba69414: workerpool: Preserve task number when deferring
When a task is deferred it should receive the same task ID upon being
returned to the pool.
Signed-off-by: Michael H...
Michael Hanselmann
09:20 pm ganeti-local Revision 99fb250b: jqueue: Set task ID for jobs added to workerpool
The job ID is re-used as the task ID, as job IDs are unique.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
R...
Michael Hanselmann
09:20 pm Revision 99fb250b: jqueue: Set task ID for jobs added to workerpool
The job ID is re-used as the task ID, as job IDs are unique.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
R...
Michael Hanselmann
09:20 pm ganeti-local Revision 125b74b2: workerpool: Change data structure for priority change
To prepare for the addition of a new function allowing changing a
pending task's priority, the internal data structur...
Michael Hanselmann
09:20 pm Revision 125b74b2: workerpool: Change data structure for priority change
To prepare for the addition of a new function allowing changing a
pending task's priority, the internal data structur...
Michael Hanselmann
03:42 pm Revision 39f0eea5: Automatically enable version-dependent GHC flags
Some GHC flags are very useful, but only appear in more recent GHC
versions. To support the use of such flags while s...
Iustin Pop
03:42 pm ganeti-local Revision 39f0eea5: Automatically enable version-dependent GHC flags
Some GHC flags are very useful, but only appear in more recent GHC
versions. To support the use of such flags while s...
Iustin Pop
01:38 pm Revision 43b3b5c1: Added attoparsec unit test for Unicode parsing
Attoparsec is known to have had issues with parsing non-ASCII strings.
This test makes sure that parsing of Unicode c...
Michele Tartara
01:38 pm ganeti-local Revision 43b3b5c1: Added attoparsec unit test for Unicode parsing
Attoparsec is known to have had issues with parsing non-ASCII strings.
This test makes sure that parsing of Unicode c...
Michele Tartara
11:42 am Revision 35c6e63d: Add "Attoparsec" to the optional haskell packages
This will be needed for the data collectors of the monitoring agent.
* Detection of the library
* Creation of the ap...
Michele Tartara
11:42 am ganeti-local Revision 35c6e63d: Add "Attoparsec" to the optional haskell packages
This will be needed for the data collectors of the monitoring agent.
* Detection of the library
* Creation of the ap...
Michele Tartara
11:33 am ganeti-local Revision e02ee261: Documentation for the NODE_RES level
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Helga Velroyen
11:33 am Revision e02ee261: Documentation for the NODE_RES level
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Helga Velroyen
10:29 am Revision 6376dcc0: Improve make regen-vcs-version
"make regen-vcs-version" is run at every ./devel/upload time, in order
to have reasonably up-to-date information in t...
Iustin Pop
10:29 am ganeti-local Revision 6376dcc0: Improve make regen-vcs-version
"make regen-vcs-version" is run at every ./devel/upload time, in order
to have reasonably up-to-date information in t...
Iustin Pop
10:28 am Revision 67e4fcf4: Fix two hlint warnings
Sorry, I broke lint again :), by introducing two sub-standard changes.
Additionally, this silences an older existing...
Iustin Pop
10:28 am ganeti-local Revision 67e4fcf4: Fix two hlint warnings
Sorry, I broke lint again :), by introducing two sub-standard changes.
Additionally, this silences an older existing...
Iustin Pop

11/12/2012

06:51 pm Revision 09b72783: RunCmd: Expose "postfork" callback
The “_postfork_fn” parameter was only used for tests until now. To
implement a good locking scheme, remote commands m...
Michael Hanselmann
06:51 pm ganeti-local Revision 09b72783: RunCmd: Expose "postfork" callback
The “_postfork_fn” parameter was only used for tests until now. To
implement a good locking scheme, remote commands m...
Michael Hanselmann
06:17 pm ganeti-local Revision 551a29df: Merge branch 'devel-2.6' into master
* devel-2.6:
Improve error message when migration status fail
Fix type error in kvm/GetMigrationStatus
Fix PID ...
Iustin Pop
06:17 pm Revision 551a29df: Merge branch 'devel-2.6' into master
* devel-2.6:
Improve error message when migration status fail
Fix type error in kvm/GetMigrationStatus
Fix PID ...
Iustin Pop
06:05 pm Revision 112b6e89: Merge branch 'stable-2.6' into devel-2.6
* stable-2.6:
Improve error message when migration status fail
Fix type error in kvm/GetMigrationStatus
Fix PID...
Iustin Pop
06:05 pm ganeti-local Revision 112b6e89: Merge branch 'stable-2.6' into devel-2.6
* stable-2.6:
Improve error message when migration status fail
Fix type error in kvm/GetMigrationStatus
Fix PID...
Iustin Pop
03:14 pm Revision 4041a4e3: Improve error message when migration status fail
Commit 6a1434d7 (“Make migration RPC non-blocking”) changed the API
for reporting migration status, but has a small c...
Iustin Pop
03:14 pm ganeti-local Revision 4041a4e3: Improve error message when migration status fail
Commit 6a1434d7 (“Make migration RPC non-blocking”) changed the API
for reporting migration status, but has a small c...
Iustin Pop
03:13 pm ganeti-local Revision 62457f51: Fix type error in kvm/GetMigrationStatus
Commit 6a1434d7 (“Make migration RPC non-blocking”) changed from
raising HypervisorErrors to returning MigrationStatu...
Iustin Pop
03:13 pm Revision 62457f51: Fix type error in kvm/GetMigrationStatus
Commit 6a1434d7 (“Make migration RPC non-blocking”) changed from
raising HypervisorErrors to returning MigrationStatu...
Iustin Pop
01:29 pm ganeti-local Revision a4c0fe1e: Fix PID file writing in Haskell daemons
Currently, the code uses createFile, which has the effect of always
truncating the file. This is bad, as the content ...
Iustin Pop
01:29 pm Revision a4c0fe1e: Fix PID file writing in Haskell daemons
Currently, the code uses createFile, which has the effect of always
truncating the file. This is bad, as the content ...
Iustin Pop
01:21 pm Revision 29a30533: Remove unsafePerformIO usage
We need to change a few things, most importantly CLI options defaults,
but otherwise we already used the path to file...
Iustin Pop
01:21 pm ganeti-local Revision 29a30533: Remove unsafePerformIO usage
We need to change a few things, most importantly CLI options defaults,
but otherwise we already used the path to file...
Iustin Pop
01:21 pm ganeti-local Revision 37904802: Change keyToFilename/readSSconfFile interaction
Currently, keyToFilename uses itself the default config path. In the
light of making that an function in the IO monad...
Iustin Pop
01:21 pm Revision 37904802: Change keyToFilename/readSSconfFile interaction
Currently, keyToFilename uses itself the default config path. In the
light of making that an function in the IO monad...
Iustin Pop
01:19 pm ganeti-local Revision d66aa238: Change type of program options to 'IO [Options]'
Some options have defaults that depend on the environment, and we
could handle these in two ways:
- use a place-hold...
Iustin Pop
01:19 pm Revision d66aa238: Change type of program options to 'IO [Options]'
Some options have defaults that depend on the environment, and we
could handle these in two ways:
- use a place-hold...
Iustin Pop
12:02 pm Revision 48483a2e: Two small logging improvements
The "starting" message is changed to match the Python one, and in case
the preparation fails, we also log the error (...
Iustin Pop
12:02 pm Revision 73b16ca1: Annotate confd startup/luxi binding error
The luxi binding is now annotated for better readability.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by:...
Iustin Pop
12:02 pm ganeti-local Revision 48483a2e: Two small logging improvements
The "starting" message is changed to match the Python one, and in case
the preparation fails, we also log the error (...
Iustin Pop
12:02 pm ganeti-local Revision 73b16ca1: Annotate confd startup/luxi binding error
The luxi binding is now annotated for better readability.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by:...
Iustin Pop
12:02 pm Revision e14b84e9: Switch writing of PID file to new reporting style
Currently, the writing of the PID file uses a "standard" error
reporting: catch exception, transform it into a 'Resul...
Iustin Pop
12:02 pm Revision 7413b229: Move and rename BasicTypes.annotateIOError
It turns out that annotateIOError already exists in the standard
library, with a different purpose (this made me wast...
Iustin Pop
12:02 pm Revision b9097468: Switch daemon startup to pipe-based error reporting
This changes the daemon reporting error to the same mechanism as in
Python: use a pipe which is written to from the f...
Iustin Pop
12:02 pm Revision ef3de7b0: Move preparation steps of confd in prepMain
This does the address parsing earlier, before we fork, for
better/faster error reporting.
Signed-off-by: Iustin Pop ...
Iustin Pop
12:02 pm Revision 4c3f55b8: Split queryd run into prepare and exec
This will help with the general daemon split of prepare/run, and flag
errors earlier in the startup.
Signed-off-by: ...
Iustin Pop
12:02 pm ganeti-local Revision 4c3f55b8: Split queryd run into prepare and exec
This will help with the general daemon split of prepare/run, and flag
errors earlier in the startup.
Signed-off-by: ...
Iustin Pop
12:02 pm ganeti-local Revision ef3de7b0: Move preparation steps of confd in prepMain
This does the address parsing earlier, before we fork, for
better/faster error reporting.
Signed-off-by: Iustin Pop ...
Iustin Pop
12:02 pm ganeti-local Revision b9097468: Switch daemon startup to pipe-based error reporting
This changes the daemon reporting error to the same mechanism as in
Python: use a pipe which is written to from the f...
Iustin Pop
12:02 pm ganeti-local Revision 7413b229: Move and rename BasicTypes.annotateIOError
It turns out that annotateIOError already exists in the standard
library, with a different purpose (this made me wast...
Iustin Pop
12:02 pm ganeti-local Revision e14b84e9: Switch writing of PID file to new reporting style
Currently, the writing of the PID file uses a "standard" error
reporting: catch exception, transform it into a 'Resul...
Iustin Pop
12:00 pm Revision d8e7c45e: Convert tag objects to a safer type
Currently, we keep information about the "target" of a tag operation
in a data type similar to (TagKind, Maybe String...
Iustin Pop
12:00 pm ganeti-local Revision d8e7c45e: Convert tag objects to a safer type
Currently, we keep information about the "target" of a tag operation
in a data type similar to (TagKind, Maybe String...
Iustin Pop
11:44 am ganeti-local Revision 88609f00: Switch Luxi TH code from simple to custom fields
This is needed so that we have more flexibility in generating Luxi
serialisation code (deserialisation is still custo...
Iustin Pop
11:44 am Revision 88609f00: Switch Luxi TH code from simple to custom fields
This is needed so that we have more flexibility in generating Luxi
serialisation code (deserialisation is still custo...
Iustin Pop
11:44 am ganeti-local Revision a309a3b4: Fix display of results in ==? operator
Doh, this is exactly the opposite of what we wanted… good thing no
test failed so far :)
Signed-off-by: Iustin Pop <...
Iustin Pop
11:44 am Revision a309a3b4: Fix display of results in ==? operator
Doh, this is exactly the opposite of what we wanted… good thing no
test failed so far :)
Signed-off-by: Iustin Pop <...
Iustin Pop
11:44 am Revision 92ad1f44: Make THH:genSaveOpCode a bit more general
This can be improved, by taking all hardcoded names as parameters, to
serve as a more-general "build save clause for ...
Iustin Pop
11:44 am ganeti-local Revision 92ad1f44: Make THH:genSaveOpCode a bit more general
This can be improved, by taking all hardcoded names as parameters, to
serve as a more-general "build save clause for ...
Iustin Pop

11/09/2012

03:35 pm Revision a12f0ef8: sphinx_ext: Allow use of “rapi” module in pyeval
This way constants like “rapi.RAPI_ACCESS_WRITE” can be used in
documentation.
Signed-off-by: Michael Hanselmann <ha...
Michael Hanselmann
03:35 pm ganeti-local Revision a12f0ef8: sphinx_ext: Allow use of “rapi” module in pyeval
This way constants like “rapi.RAPI_ACCESS_WRITE” can be used in
documentation.
Signed-off-by: Michael Hanselmann <ha...
Michael Hanselmann

11/08/2012

08:37 pm Revision 2a38e913: rlib2: Document two previously undocumented functions
Commit 208a6cff just included empty docstrings.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: I...
Michael Hanselmann
08:37 pm ganeti-local Revision 2a38e913: rlib2: Document two previously undocumented functions
Commit 208a6cff just included empty docstrings.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: I...
Michael Hanselmann
04:40 pm ganeti-local Revision e4e59de8: jqueue/mcpu: Determine priority using callback
Instead of being given the priority for acquiring locks by means of a
parameter, mcpu will now call back. This is in ...
Michael Hanselmann
04:40 pm Revision e4e59de8: jqueue/mcpu: Determine priority using callback
Instead of being given the priority for acquiring locks by means of a
parameter, mcpu will now call back. This is in ...
Michael Hanselmann
04:15 pm Revision 8af734f8: Merge branch 'devel-2.6'
* devel-2.6:
http/__init__.py: Remove extraneous argument
rapi.testutils: Add utility to format HTTP headers
ra...
Michael Hanselmann
04:15 pm ganeti-local Revision 8af734f8: Merge branch 'devel-2.6'
* devel-2.6:
http/__init__.py: Remove extraneous argument
rapi.testutils: Add utility to format HTTP headers
ra...
Michael Hanselmann
04:08 pm Revision 22105827: Merge branch 'stable-2.6' into devel-2.6
* stable-2.6:
http/__init__.py: Remove extraneous argument
rapi.testutils: Add utility to format HTTP headers
r...
Michael Hanselmann
04:08 pm ganeti-local Revision 22105827: Merge branch 'stable-2.6' into devel-2.6
* stable-2.6:
http/__init__.py: Remove extraneous argument
rapi.testutils: Add utility to format HTTP headers
r...
Michael Hanselmann
03:53 pm ganeti-local Revision e080072c: http/__init__.py: Remove extraneous argument
pylint complained, I fixed it, and unfortunately pushed too early.
Signed-off-by: Michael Hanselmann <hansmi@google....
Michael Hanselmann
03:53 pm Revision e080072c: http/__init__.py: Remove extraneous argument
pylint complained, I fixed it, and unfortunately pushed too early.
Signed-off-by: Michael Hanselmann <hansmi@google....
Michael Hanselmann
03:20 pm Revision 1b8e72f3: rapi.testutils: Add utility to format HTTP headers
Once again this will be used by forthcoming RAPI test.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewe...
Michael Hanselmann
03:20 pm ganeti-local Revision 1b8e72f3: rapi.testutils: Add utility to format HTTP headers
Once again this will be used by forthcoming RAPI test.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewe...
Michael Hanselmann
03:20 pm Revision 0351944b: rapi.testutils: Return headers from mock utility
A newly added test for RAPI will also verify the returned headers. A
test in ganeti.rapi.client_unittest.py is split ...
Michael Hanselmann
03:20 pm ganeti-local Revision 0351944b: rapi.testutils: Return headers from mock utility
A newly added test for RAPI will also verify the returned headers. A
test in ganeti.rapi.client_unittest.py is split ...
Michael Hanselmann
03:19 pm ganeti-local Revision 0e632cbd: http: Add wrapper for mimetools.Message
A newly added piece of code will also have to parse headers, so having
this wrapper saves us from copying this part o...
Michael Hanselmann
03:19 pm Revision 0e632cbd: http: Add wrapper for mimetools.Message
A newly added piece of code will also have to parse headers, so having
this wrapper saves us from copying this part o...
Michael Hanselmann
02:58 pm Revision cdc2392b: Rename Confd.hs to Confd/Types.hs
This should be the last module rename, promise!
We rename this to conform to the other hierarchies (e.g. Query), and...
Iustin Pop
02:58 pm ganeti-local Revision cdc2392b: Rename Confd.hs to Confd/Types.hs
This should be the last module rename, promise!
We rename this to conform to the other hierarchies (e.g. Query), and...
Iustin Pop
12:31 pm Revision 3bebda52: OpCodes.hs: add OpTagsSet and OpTagsDel
Also, adjust comment to $(genOpCode) block to avoid repetition of
"only".
Signed-off-by: Dato Simó <dato@google.com>...
Dato Simó
12:31 pm ganeti-local Revision 3bebda52: OpCodes.hs: add OpTagsSet and OpTagsDel
Also, adjust comment to $(genOpCode) block to avoid repetition of
"only".
Signed-off-by: Dato Simó <dato@google.com>...
Dato Simó
12:31 pm Revision 367c4241: htools: move TagObject from Luxi.hs to OpCodes.hs
In addition to ReqQueryTags in Luxi.hs, the TagObject ADT is also
required for the "kind" attribute of OpTagsSet and ...
Dato Simó
12:31 pm ganeti-local Revision 367c4241: htools: move TagObject from Luxi.hs to OpCodes.hs
In addition to ReqQueryTags in Luxi.hs, the TagObject ADT is also
required for the "kind" attribute of OpTagsSet and ...
Dato Simó

11/07/2012

06:57 pm Revision 7a70541e: Add missing tests for commit f0d2286
Commit f0d2286 changed the logic of
gnt_instance._ConvertNicDiskModifications to also allow a parameter
named “modify...
Michael Hanselmann
06:57 pm ganeti-local Revision 7a70541e: Add missing tests for commit f0d2286
Commit f0d2286 changed the logic of
gnt_instance._ConvertNicDiskModifications to also allow a parameter
named “modify...
Michael Hanselmann
05:58 pm ganeti-local Revision 2ac2e420: Implement base checkFn/prepFn/execFn model for daemons
This mirrors the code in the Python code base, and is required for
clean error reporting during startup.
This patch ...
Iustin Pop
05:58 pm Revision 2ac2e420: Implement base checkFn/prepFn/execFn model for daemons
This mirrors the code in the Python code base, and is required for
clean error reporting during startup.
This patch ...
Iustin Pop
03:39 pm ganeti-local Revision 7ae5d703: One more ghc 7.6 fix
This is only in master, so needed to be fixed separately.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by:...
Iustin Pop
03:39 pm Revision 7ae5d703: One more ghc 7.6 fix
This is only in master, so needed to be fixed separately.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by:...
Iustin Pop
03:35 pm Revision c258f110: workerpool: Use itertools.count instead of manual counting
Instead of having to explicitely increment the value (“… += 1”), a call
to next() is enough. These numbers should in ...
Michael Hanselmann
03:35 pm ganeti-local Revision c258f110: workerpool: Use itertools.count instead of manual counting
Instead of having to explicitely increment the value (“… += 1”), a call
to next() is enough. These numbers should in ...
Michael Hanselmann
03:06 pm ganeti-local Revision b9612abb: Merge branch 'devel-2.6' into submit
* devel-2.6:
Fix compatibility with newer Haskell libraries
Fix gnt-instance console with xl
Conflicts:
...
Iustin Pop
03:06 pm Revision b9612abb: Merge branch 'devel-2.6' into submit
* devel-2.6:
Fix compatibility with newer Haskell libraries
Fix gnt-instance console with xl
Conflicts:
...
Iustin Pop
02:08 pm Revision 27639c4e: Merge branch 'stable-2.6' into devel-2.6
* stable-2.6:
Fix compatibility with newer Haskell libraries
Fix gnt-instance console with xl
Signed-off-by: Ius...
Iustin Pop
02:08 pm ganeti-local Revision 27639c4e: Merge branch 'stable-2.6' into devel-2.6
* stable-2.6:
Fix compatibility with newer Haskell libraries
Fix gnt-instance console with xl
Signed-off-by: Ius...
Iustin Pop
02:07 pm Revision f9435bdc: Switch devel/upload to a static file
We had twice in the past days questions about devel/upload being
"broken", since bash re-reads shell scripts during t...
Iustin Pop
02:07 pm ganeti-local Revision f9435bdc: Switch devel/upload to a static file
We had twice in the past days questions about devel/upload being
"broken", since bash re-reads shell scripts during t...
Iustin Pop
10:46 am ganeti-local Revision 1251817b: Fix compatibility with newer Haskell libraries
This small patch fixes compatibility with a few newer Haskell libraries:
- base 4.6, included with ghc 7.6, removed ...
Iustin Pop
10:46 am Revision 1251817b: Fix compatibility with newer Haskell libraries
This small patch fixes compatibility with a few newer Haskell libraries:
- base 4.6, included with ghc 7.6, removed ...
Iustin Pop

11/06/2012

08:19 pm Revision 5a5dde45: Merge branch 'stable-2.6-ippool-hotplug-esi' into debian-2.6
Dimitris Aragiorgis
08:19 pm ganeti-local Revision 5a5dde45: Merge branch 'stable-2.6-ippool-hotplug-esi' into debian-2.6
Dimitris Aragiorgis
08:18 pm ganeti-local Revision c6885eb9: Merge branch 'stable-2.6-hotplug' into stable-2.6-ippool-hotplug-esi
Dimitris Aragiorgis
08:18 pm Revision c6885eb9: Merge branch 'stable-2.6-hotplug' into stable-2.6-ippool-hotplug-esi
Dimitris Aragiorgis
08:10 pm ganeti-local Revision f89b3fc1: Hotplug: do not allow disk/0 to be hotplug-able
BIOS boots from first disk. If we enable hotplug in disk/0
it will added at the end of PCI address space (slot 31). I...
Dimitris Aragiorgis
08:10 pm Revision f89b3fc1: Hotplug: do not allow disk/0 to be hotplug-able
BIOS boots from first disk. If we enable hotplug in disk/0
it will added at the end of PCI address space (slot 31). I...
Dimitris Aragiorgis
08:01 pm ganeti-local Revision f215debf: Use SSH_LOGIN_USER rather than root for xl ssh
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: ...
Guido Trotter
08:01 pm Revision f215debf: Use SSH_LOGIN_USER rather than root for xl ssh
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: ...
Guido Trotter
08:01 pm ganeti-local Revision 1f5557ca: Fix gnt-instance console with xl
- Rename xm-console-wrapper to xen-console-wrapper
- Pass the xen command to use as a parameter
Signed-off-by: Guido...
Guido Trotter
08:01 pm Revision 1f5557ca: Fix gnt-instance console with xl
- Rename xm-console-wrapper to xen-console-wrapper
- Pass the xen command to use as a parameter
Signed-off-by: Guido...
Guido Trotter
07:59 pm ganeti-local Revision 10b86782: Add utility to check if file is executable
This replaces direct calls to “os.access” and
“os.path.exists”/“os.path.isfile”.
Signed-off-by: Michael Hanselmann <...
Michael Hanselmann
07:59 pm Revision 10b86782: Add utility to check if file is executable
This replaces direct calls to “os.access” and
“os.path.exists”/“os.path.isfile”.
Signed-off-by: Michael Hanselmann <...
Michael Hanselmann
07:27 pm Revision 55d1ebfa: Fix NameError in constants.py introduced in merge 46c1f82
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
07:27 pm ganeti-local Revision 55d1ebfa: Fix NameError in constants.py introduced in merge 46c1f82
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:56 pm ganeti-local Revision 51dc9701: Update debian/changelog
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
06:56 pm Revision 51dc9701: Update debian/changelog
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
06:54 pm Revision 5506670c: Merge branch 'stable-2.6-ippool-hotplug-esi' into debian-2.6
Dimitris Aragiorgis
06:54 pm ganeti-local Revision 5506670c: Merge branch 'stable-2.6-ippool-hotplug-esi' into debian-2.6
Dimitris Aragiorgis
06:53 pm Revision 65b8b768: Add debian tree
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
06:53 pm ganeti-local Revision 65b8b768: Add debian tree
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
06:48 pm ganeti-local Revision 471b6c46: Add test for Luxi calls consistency hs/py
This tests that the same Luxi calls are defined in Python and
Haskell. It doesn't test yet that their serialisation i...
Iustin Pop
06:48 pm Revision 471b6c46: Add test for Luxi calls consistency hs/py
This tests that the same Luxi calls are defined in Python and
Haskell. It doesn't test yet that their serialisation i...
Iustin Pop
06:26 pm Revision 46c1f828: Merge branch 'devel-2.6'
* devel-2.6:
Disable E1101 on ganeti/http/server.py:424
Fix live migration under xl
Don't check for xend port w...
Guido Trotter
06:26 pm ganeti-local Revision 46c1f828: Merge branch 'devel-2.6'
* devel-2.6:
Disable E1101 on ganeti/http/server.py:424
Fix live migration under xl
Don't check for xend port w...
Guido Trotter
06:20 pm Revision 16c2024a: Merge branch 'stable-2.6' into devel-2.6
* stable-2.6:
Disable E1101 on ganeti/http/server.py:424
Fix live migration under xl
Don't check for xend port ...
Guido Trotter
06:20 pm ganeti-local Revision 16c2024a: Merge branch 'stable-2.6' into devel-2.6
* stable-2.6:
Disable E1101 on ganeti/http/server.py:424
Fix live migration under xl
Don't check for xend port ...
Guido Trotter
05:47 pm ganeti-local Revision 57a6042e: Disable E1101 on ganeti/http/server.py:424
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
05:47 pm Revision 57a6042e: Disable E1101 on ganeti/http/server.py:424
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
04:32 pm ganeti-local Revision 053c356a: Fix live migration under xl
Until now the only way to make live migration work in conjunction with
"xl" was to add ssh known_hosts keys for every...
Guido Trotter
04:32 pm Revision 053c356a: Fix live migration under xl
Until now the only way to make live migration work in conjunction with
"xl" was to add ssh known_hosts keys for every...
Guido Trotter
04:32 pm ganeti-local Revision 3135de69: Don't check for xend port when using xl
If the toolstack is set to "xl" we shouldn't ping xend for liveness
before attempting a live migration.
Signed-off-b...
Guido Trotter
04:32 pm Revision 3135de69: Don't check for xend port when using xl
If the toolstack is set to "xl" we shouldn't ping xend for liveness
before attempting a live migration.
Signed-off-b...
Guido Trotter
04:00 pm ganeti-local Revision 2826897c: utils.io: Improve handling of double and single slashes
Up until now “IsBelowDir("/", …)” would never return True. The reason
was that an additional slash was added to the r...
Michael Hanselmann
04:00 pm Revision 2826897c: utils.io: Improve handling of double and single slashes
Up until now “IsBelowDir("/", …)” would never return True. The reason
was that an additional slash was added to the r...
Michael Hanselmann
03:56 pm ganeti-local Revision f94779f5: workerpool: Don't mask variable in AddManyTasks
The name “priority” is already used.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal...
Michael Hanselmann
03:56 pm ganeti-local Revision c69c45a7: workerpool: Simplify _WaitForTaskUnlocked
The function in is simplified in its structure and duplicated checks
have been merged.
Signed-off-by: Michael Hansel...
Michael Hanselmann
03:56 pm Revision f94779f5: workerpool: Don't mask variable in AddManyTasks
The name “priority” is already used.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal...
Michael Hanselmann
03:56 pm Revision c69c45a7: workerpool: Simplify _WaitForTaskUnlocked
The function in is simplified in its structure and duplicated checks
have been merged.
Signed-off-by: Michael Hansel...
Michael Hanselmann

11/05/2012

09:50 pm ganeti-local Revision bcd35e09: cli.py: use None as name for tag operations on the cluster
This change is mostly cosmetic. Previously, the literal "cluster" was
used for the 'name' field of tag operations on ...
Dato Simó
09:50 pm Revision bcd35e09: cli.py: use None as name for tag operations on the cluster
This change is mostly cosmetic. Previously, the literal "cluster" was
used for the 'name' field of tag operations on ...
Dato Simó
12:29 am Revision 268dca3a: Merge branch 'stable-2.6' into stable-2.6-ippool-hotplug-esi
Conflicts:
lib/cmdlib.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
12:29 am ganeti-local Revision 268dca3a: Merge branch 'stable-2.6' into stable-2.6-ippool-hotplug-esi
Conflicts:
lib/cmdlib.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis

11/02/2012

01:25 pm ganeti-local Revision c17770c7: Fix previous merge
A call to _CalculateGroupIPolicy wasn't refactored during the merge.
Signed-off-by: Bernardo Dal Seno <bdalseno@goog...
Bernardo Dal Seno
01:25 pm Revision c17770c7: Fix previous merge
A call to _CalculateGroupIPolicy wasn't refactored during the merge.
Signed-off-by: Bernardo Dal Seno <bdalseno@goog...
Bernardo Dal Seno

11/01/2012

07:44 pm ganeti-local Revision 8e09e801: Merge branch 'devel-2.6'
* devel-2.6:
Fix typo in gnt-instance man page
jqueue: Return jobs to queue when shutting down
gnt-debug delay:...
Michael Hanselmann
07:44 pm Revision 8e09e801: Merge branch 'devel-2.6'
* devel-2.6:
Fix typo in gnt-instance man page
jqueue: Return jobs to queue when shutting down
gnt-debug delay:...
Michael Hanselmann
06:39 pm ganeti-local Revision dc2cc657: Merge branch 'stable-2.6' into devel-2.6
* stable-2.6:
Fix typo in gnt-instance man page
jqueue: Return jobs to queue when shutting down
gnt-debug delay...
Michael Hanselmann
06:39 pm Revision dc2cc657: Merge branch 'stable-2.6' into devel-2.6
* stable-2.6:
Fix typo in gnt-instance man page
jqueue: Return jobs to queue when shutting down
gnt-debug delay...
Michael Hanselmann
05:48 pm Revision 88f622e0: Fix typo in gnt-instance man page
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:48 pm ganeti-local Revision 88f622e0: Fix typo in gnt-instance man page
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:48 pm Revision 942e2262: jqueue: Return jobs to queue when shutting down
When a job is still waiting for locks and the queue is shutting down,
they should be returned and not actually start ...
Michael Hanselmann
05:48 pm ganeti-local Revision 942e2262: jqueue: Return jobs to queue when shutting down
When a job is still waiting for locks and the queue is shutting down,
they should be returned and not actually start ...
Michael Hanselmann
05:09 pm Revision bb600388: gnt-debug delay: Add "--submit" option
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:09 pm ganeti-local Revision bb600388: gnt-debug delay: Add "--submit" option
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:06 pm ganeti-local Revision b1adc12e: Remove duplicate workerpool test
Commit 52c47e4e (July 2010) added the exact test twice, probably due to
a copy & paste error.
Signed-off-by: Michael...
Michael Hanselmann
05:06 pm Revision b1adc12e: Remove duplicate workerpool test
Commit 52c47e4e (July 2010) added the exact test twice, probably due to
a copy & paste error.
Signed-off-by: Michael...
Michael Hanselmann
03:00 pm Revision 233f4bc6: Make hostname checks uniform between instance rename and add
Currently, we have instance rename doing extra checks on the host
name, to prevent accidental wrong renames; however,...
Iustin Pop
03:00 pm ganeti-local Revision 233f4bc6: Make hostname checks uniform between instance rename and add
Currently, we have instance rename doing extra checks on the host
name, to prevent accidental wrong renames; however,...
Iustin Pop
03:00 pm Revision 4c91d2ad: Improve logging of new job submissions
This addresses issue 290: when receiving new jobs, logging is
incomplete, and we don't have the job ID(s) and/or summ...
Iustin Pop
03:00 pm ganeti-local Revision 4c91d2ad: Improve logging of new job submissions
This addresses issue 290: when receiving new jobs, logging is
incomplete, and we don't have the job ID(s) and/or summ...
Iustin Pop
03:00 pm Revision a9d40c65: Improve handling of lock exceptions
There are two issues with lock exceptions right now:
- first, we don't log the original error; this is fine for now
...
Iustin Pop
03:00 pm ganeti-local Revision a9d40c65: Improve handling of lock exceptions
There are two issues with lock exceptions right now:
- first, we don't log the original error; this is fine for now
...
Iustin Pop
10:46 am ganeti-local Revision 4c6a5e9b: Various pep8 fixes
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:46 am ganeti-local Revision ee94f6b9: Changes in tests
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:46 am ganeti-local Revision ac13568a: Add tags in network objects
Support:
- gnt-network add --tags.
- gnt-network list-tags/add-tags/remove-tags/.
- gnt-network list -o +tags
Sig...
Dimitris Aragiorgis
10:45 am ganeti-local Revision b9b00963: Export serial_no of networks/instances in hooks
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Fix pylint error
Signed-off-by: Dimitris Aragiorgis <dimara@gr...
Dimitris Aragiorgis
10:45 am ganeti-local Revision eba5b011: Change default fields for network listing
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:45 am ganeti-local Revision 76cc6c57: Fixes
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:45 am ganeti-local Revision f7eca51b: Fixes
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:45 am ganeti-local Revision 26cdf73a: Pass detailed network info in hooks
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
apidoc pass for cmdlib
Signed-off-by: Dimitris Aragiorgis <dim...
Dimitris Aragiorgis
10:45 am ganeti-local Revision 1d77baaf: cfgupgrade for networks
Add networks slot in config data.
Add networks slot in nodegroups.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
10:45 am ganeti-local Revision b8b9c378: Pass netinfo in rpcs
If a nic has a network field then encapsulate a network object in
netinfo slot for every rpc. This is needed to pass ...
Dimitris Aragiorgis
10:45 am ganeti-local Revision d2280fdb: Fixes
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:45 am ganeti-local Revision 9b1c23f8: Fixes
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:44 am ganeti-local Revision 56b82dc8: Include networks in Makefile and bash completion
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Apollon Oikonomopoulos
10:44 am ganeti-local Revision c0fc01e9: Use network's mac prefix
Modify existing GenerateMAC so that it takes network as an argument.
Substitute _GenerateOneMAC with a decorator _Ge...
Dimitris Aragiorgis
10:44 am ganeti-local Revision 6dc43f99: Fixes
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:44 am ganeti-local Revision 53658379: Update hooks and rapi docs
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:44 am ganeti-local Revision 1e1cf57e: Fixes
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:44 am ganeti-local Revision ffc25e31: Rapi support for networks
Support:
- GetNetwork(s)
- CreateNetwork
- ConnectNetwork
- DisconnectNetwork
- RemoveNetwork
Signed-off-by: Di...
Dimitris Aragiorgis
10:44 am ganeti-local Revision 2cc0732c: ss_conf support for networks
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Apollon Oikonomopoulos
10:44 am ganeti-local Revision f58ecd88: Introduce client support for networks
gnt-network is used to manipulate and handle networks that
currently provides the following operations:
* Add a new...
Dimitris Aragiorgis
10:44 am ganeti-local Revision 04029aea: Fixes
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:44 am ganeti-local Revision cc379194: Add gnt-network man page
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Apollon Oikonomopoulos
10:44 am ganeti-local Revision 5528e5ef: Fixes
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:44 am ganeti-local Revision 16ca1725: Modify instance client to support networks
Add --no-conflicts-check option.
Modify instance query methods to return nic's network info.
Signed-off-by: Apollon ...
Apollon Oikonomopoulos
10:44 am ganeti-local Revision e40aebc9: Fixes
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:44 am ganeti-local Revision 3d2702ea: Peripheral changes for networks
Specifically:
* export a new environment variable for the gnt-os-interface
* export a new environment variable for ...
Apollon Oikonomopoulos
10:44 am ganeti-local Revision f96e40ab: Fixes
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:44 am ganeti-local Revision 618969d1: Modify LUInstanceSetParams() to support networks
Keep backwards compatibility just like LUInstanceCreate() and
support network parameter for NIC object.
Add ec_id ar...
Dimitris Aragiorgis
10:44 am ganeti-local Revision a4806151: Modify RemoveInstance() to support networks
Release any IPs held the instance before actually removing.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
10:44 am ganeti-local Revision a6aaf22b: Fixes
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:43 am ganeti-local Revision 2326d061: Fixes
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:43 am ganeti-local Revision 37f1ab12: Modify LUInstanceCreate to support networks
Implement backend support, to export the IP pool management
functionality to the clients. When the new NIC parameter ...
Dimitris Aragiorgis
10:43 am ganeti-local Revision f04dba63: Fixes
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:43 am ganeti-local Revision 149ed856: Config methods for reserving/releasing IPs
Use TemporaryReservationManager for IP handling to ensure
config data consistency.
Implement:
- methods for reservi...
Dimitris Aragiorgis
10:43 am ganeti-local Revision b389cbce: Implement network/nodegroup mappings
LUNetworkConnect() connects a network to a nodegroup and defines
its netparams (mode and link). Specifically:
* Chec...
Dimitris Aragiorgis
10:43 am ganeti-local Revision 3ea782f3: Fixes
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:22 am ganeti-local Revision 8bcbd891: Implement LUNetworkSetParams
Support modifying all network parameters except for network (ip range)
Cannot modify gateway and reserved ips at the ...
Dimitris Aragiorgis
10:22 am ganeti-local Revision d3d7a7ae: Fixes
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
05:38 am ganeti-local Revision 707969cc: Implement LUNetworkQuery
Summarily list all existing networks
Supply detailed info for every existing network
- List used/free IPs
- List in...
Apollon Oikonomopoulos
05:38 am ganeti-local Revision 189ed529: Fixes
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
05:38 am ganeti-local Revision 8ff462ac: Basic IP pool management logic
Implement LUs for corresponding opcodes:
* LUNetworkAdd:
- Check for IP validity
- Reserves all necessary IPs
...
Dimitris Aragiorgis
05:38 am ganeti-local Revision a27f9450: Fixes
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
05:38 am ganeti-local Revision 624934fb: Introduce new module for IP pool management
Add new library module lib/network.py.
Introduce new class: AddressPool.
AddressPool implements all operations neede...
Apollon Oikonomopoulos
05:37 am ganeti-local Revision d390585c: Fixes
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis

10/30/2012

09:00 pm Revision cfa2b7a0: Add note about developing on a production machine
This is the bit of documentation missing for issue 170. Doing
development on a machine which already has Ganeti insta...
Iustin Pop
09:00 pm ganeti-local Revision cfa2b7a0: Add note about developing on a production machine
This is the bit of documentation missing for issue 170. Doing
development on a machine which already has Ganeti insta...
Iustin Pop
08:26 pm ganeti-local Revision 04da9087: Merge branch 'stable-2.6-ippool' into stable-2.6-ippool-hotplug-esi
Dimitris Aragiorgis
08:26 pm Revision 04da9087: Merge branch 'stable-2.6-ippool' into stable-2.6-ippool-hotplug-esi
Dimitris Aragiorgis
08:24 pm Revision b1e5ee06: Fix a bug intruduced when refactoring GenerateFree
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
08:24 pm ganeti-local Revision b1e5ee06: Fix a bug intruduced when refactoring GenerateFree
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
07:55 pm Revision e15cada8: Merge branch 'stable-2.6-ippool' into stable-2.6-ippool-hotplug-esi
Dimitris Aragiorgis
07:55 pm ganeti-local Revision e15cada8: Merge branch 'stable-2.6-ippool' into stable-2.6-ippool-hotplug-esi
Dimitris Aragiorgis
07:50 pm ganeti-local Revision bc25ebb4: Fix a typo in OpNetworkSetParams
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
07:50 pm Revision bc25ebb4: Fix a typo in OpNetworkSetParams
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
07:41 pm Revision a9d6eeb1: Merge branch 'stable-2.6-ippool' into stable-2.6-ippool-hotplug-esi
Conflicts:
lib/network.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
07:41 pm ganeti-local Revision a9d6eeb1: Merge branch 'stable-2.6-ippool' into stable-2.6-ippool-hotplug-esi
Conflicts:
lib/network.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
07:30 pm Revision 48e734f3: Introduce new basic type TStringNone
Check if a certain value is "none". This is used by opcodes that
unset an object's attribute (set it to None), for in...
Dimitris Aragiorgis
07:30 pm ganeti-local Revision 48e734f3: Introduce new basic type TStringNone
Check if a certain value is "none". This is used by opcodes that
unset an object's attribute (set it to None), for in...
Dimitris Aragiorgis
05:51 pm ganeti-local Revision 4a6d8fd5: Move _BuildNetworkEnv() at top-level
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
04:07 pm Revision 0d324688: Fix runtime memory increases
Commit 2c0af7da which added the runtime memory changes functionality
had a small typo (wrong name); I've rewritten th...
Iustin Pop
04:07 pm ganeti-local Revision 0d324688: Fix runtime memory increases
Commit 2c0af7da which added the runtime memory changes functionality
had a small typo (wrong name); I've rewritten th...
Iustin Pop
03:45 pm Revision 11b82202: Merge branch 'stable-2.6-ippool-hotplug-esi' into debian-2.6-demo
Dimitris Aragiorgis
03:38 pm Revision 922828a6: Use bitarray 0.8 interface
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
03:38 pm ganeti-local Revision 922828a6: Use bitarray 0.8 interface
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
03:37 pm ganeti-local Revision 326d8273: Simplify GenerateFree in network module
GenerateFree now returns the first available IP in the network
or raises AddressPoolError if it is full.
Signed-off-...
Dimitris Aragiorgis
03:37 pm Revision 326d8273: Simplify GenerateFree in network module
GenerateFree now returns the first available IP in the network
or raises AddressPoolError if it is full.
Signed-off-...
Dimitris Aragiorgis
03:34 pm ganeti-local Revision e3fd65a4: Replace string values with proper constants
_UnlockedCommitIp is used either for releasing or reserving an
IP inside a network. New constants RELEASE_ACTION/RESE...
Dimitris Aragiorgis
03:34 pm Revision e3fd65a4: Replace string values with proper constants
_UnlockedCommitIp is used either for releasing or reserving an
IP inside a network. New constants RELEASE_ACTION/RESE...
Dimitris Aragiorgis
03:31 pm Revision aa16d5a8: Simplify mac generation funtions
Introduce new config method _UnlockedGetNetworkMACPrefix and refactor
original _GenerateOneMAC so that it takes prefi...
Dimitris Aragiorgis
03:31 pm ganeti-local Revision aa16d5a8: Simplify mac generation funtions
Introduce new config method _UnlockedGetNetworkMACPrefix and refactor
original _GenerateOneMAC so that it takes prefi...
Dimitris Aragiorgis
02:57 pm Revision 28ec01e6: Use bitarray 0.8 interface
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
02:57 pm ganeti-local Revision 28ec01e6: Use bitarray 0.8 interface
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
02:18 pm ganeti-local Revision fbc89014: Use bitarray 0.8 interface
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
02:18 pm ganeti-local Revision a02b6df4: Minor fix in query.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
02:18 pm ganeti-local Revision 91feab85: Minor fix in ovf
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
02:18 pm ganeti-local Revision fd5855ba: Fix few docstrings
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
02:17 pm Revision 8e66b9bf: Fix validation of vgname in OpClusterSetParams
This variable can be empty, when we want to disable LVM, so we can't
use TMaybeString.
Fixes issue 285.
Signed-off-...
Iustin Pop
02:17 pm ganeti-local Revision 8e66b9bf: Fix validation of vgname in OpClusterSetParams
This variable can be empty, when we want to disable LVM, so we can't
use TMaybeString.
Fixes issue 285.
Signed-off-...
Iustin Pop
02:17 pm ganeti-local Revision e5dfc531: Fix removal of storage directory on shared file storage
This patch makes _RemoveDisks symmetric to _CreateDisks with respect
to file-based storage: _CreateDisks uses "in con...
Iustin Pop
02:17 pm Revision e5dfc531: Fix removal of storage directory on shared file storage
This patch makes _RemoveDisks symmetric to _CreateDisks with respect
to file-based storage: _CreateDisks uses "in con...
Iustin Pop
02:17 pm Revision 15361a18: Switch non-redundant check to disk template-based
Currently, the warning/notice about non-redundant instances in cluster
verify is based non empty secondaries list (ho...
Iustin Pop
02:17 pm ganeti-local Revision 15361a18: Switch non-redundant check to disk template-based
Currently, the warning/notice about non-redundant instances in cluster
verify is based non empty secondaries list (ho...
Iustin Pop
01:01 pm ganeti-local Revision 4fb3b93c: Add docstring to the GetECReserved config method
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
01:01 pm ganeti-local Revision 1b209a17: Replace string values with proper constants
_UnlockedCommitIp is used either for releasing or reserving an
IP inside a network. New constants RELEASE_ACTION/RESE...
Dimitris Aragiorgis
01:01 pm ganeti-local Revision 29cb6d9f: Simplify GenerateFree in network module
GenerateFree now returns the first available IP in the network
or raises AddressPoolError if it is full.
Signed-off-...
Dimitris Aragiorgis
01:01 pm ganeti-local Revision c0631c06: Simplify mac generation funtions
Introduce new config method _UnlockedGetNetworkMACPrefix and refactor
original _GenerateOneMAC so that it takes prefi...
Dimitris Aragiorgis
12:59 am ganeti-local Revision efd38c3d: Fix permission for socket directory
The directory must we writable also by the confd daemon user.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>...
Bernardo Dal Seno
12:59 am Revision efd38c3d: Fix permission for socket directory
The directory must we writable also by the confd daemon user.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>...
Bernardo Dal Seno

10/29/2012

02:19 pm Revision dc1e9a74: Document the new --yes-do-it option for master-failover
Sorry, this should have gone in the previous commit, I forgot about
it.
Signed-off-by: Iustin Pop <iustin@google.com...
Iustin Pop
02:19 pm ganeti-local Revision dc1e9a74: Document the new --yes-do-it option for master-failover
Sorry, this should have gone in the previous commit, I forgot about
it.
Signed-off-by: Iustin Pop <iustin@google.com...
Iustin Pop
01:59 pm Revision 6022a419: Add option to force master-failover without voting
This fixes issue 282.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google....
Iustin Pop
01:59 pm ganeti-local Revision 6022a419: Add option to force master-failover without voting
This fixes issue 282.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google....
Iustin Pop

10/26/2012

06:05 pm ganeti-local Revision 7adb7dff: Convert Luxi results to Ganeti errors
This a bit too complex patch converts the result of Luxi calls
(submitJob, query*, etc.) from Result to ErrorResult. ...
Iustin Pop
06:05 pm Revision 7adb7dff: Convert Luxi results to Ganeti errors
This a bit too complex patch converts the result of Luxi calls
(submitJob, query*, etc.) from Result to ErrorResult. ...
Iustin Pop
05:35 pm ganeti-local Revision 7939f60c: cfgupgrade: Write file for file storage paths
When file storage is used this file is now mandatory.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
Michael Hanselmann
05:35 pm Revision 7939f60c: cfgupgrade: Write file for file storage paths
When file storage is used this file is now mandatory.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
Michael Hanselmann
05:35 pm ganeti-local Revision 5e09a309: backend: Switch to new file storage directory verification
The configuration is no longer used for verifying file storage paths.
Signed-off-by: Michael Hanselmann <hansmi@goog...
Michael Hanselmann
05:35 pm Revision 5e09a309: backend: Switch to new file storage directory verification
The configuration is no longer used for verifying file storage paths.
Signed-off-by: Michael Hanselmann <hansmi@goog...
Michael Hanselmann
05:35 pm Revision 72b35807: Check allowed file storage paths during cluster-verify
Some paths, such as /bin or /usr/lib, should not be used for file
storage. This patch implements a check during clust...
Michael Hanselmann
05:35 pm ganeti-local Revision 72b35807: Check allowed file storage paths during cluster-verify
Some paths, such as /bin or /usr/lib, should not be used for file
storage. This patch implements a check during clust...
Michael Hanselmann
05:33 pm ganeti-local Revision 78062de9: Make Paramiko an optional dependency for listrunner
With the move away from “setup-ssh”, Paramiko is no longer necessary to
configure SSH on nodes.
Signed-off-by: Micha...
Michael Hanselmann
05:33 pm Revision 78062de9: Make Paramiko an optional dependency for listrunner
With the move away from “setup-ssh”, Paramiko is no longer necessary to
configure SSH on nodes.
Signed-off-by: Micha...
Michael Hanselmann
05:27 pm Revision 8a670753: Remove setup-ssh
It has been superseeded by “prepare-node-join”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: I...
Michael Hanselmann
05:27 pm ganeti-local Revision 8a670753: Remove setup-ssh
It has been superseeded by “prepare-node-join”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: I...
Michael Hanselmann
05:27 pm Revision 224ff0f7: gnt-node add: Use prepare-node-join
This patch changes “gnt-node add” to use the newly added
“prepare-node-join” tool. Hereby Paramiko is no longer a har...
Michael Hanselmann
05:27 pm ganeti-local Revision 224ff0f7: gnt-node add: Use prepare-node-join
This patch changes “gnt-node add” to use the newly added
“prepare-node-join” tool. Hereby Paramiko is no longer a har...
Michael Hanselmann
05:27 pm ganeti-local Revision f712208d: prepare-node-join: Use ssh.GetAllUserFiles
Instead of building the dictionary locally, the global version in
“ssh.py” can be used.
Signed-off-by: Michael Hanse...
Michael Hanselmann
05:27 pm Revision f712208d: prepare-node-join: Use ssh.GetAllUserFiles
Instead of building the dictionary locally, the global version in
“ssh.py” can be used.
Signed-off-by: Michael Hanse...
Michael Hanselmann
05:27 pm Revision 5484cda5: ssh: Add function to get all of user's SSH files
This new function returns the file paths for all of a user's SSH-related
files (RSA, DSA and authorized_keys).
Signe...
Michael Hanselmann
05:27 pm ganeti-local Revision 5484cda5: ssh: Add function to get all of user's SSH files
This new function returns the file paths for all of a user's SSH-related
files (RSA, DSA and authorized_keys).
Signe...
Michael Hanselmann
05:27 pm ganeti-local Revision d5d76ab2: RunCmd: Support standard input file descriptor
This patch changes “utils.RunCmd” to accept a file-like object or a
numeric file descriptor which will be used as the...
Michael Hanselmann
05:27 pm Revision d5d76ab2: RunCmd: Support standard input file descriptor
This patch changes “utils.RunCmd” to accept a file-like object or a
numeric file descriptor which will be used as the...
Michael Hanselmann
03:37 pm ganeti-local Revision feec4cc5: Factorize job selection in “gnt-job cancel”
This will also be used for changing jobs' priorities. All parameters to
the common function are non-optional.
Signed...
Michael Hanselmann
03:37 pm Revision feec4cc5: Factorize job selection in “gnt-job cancel”
This will also be used for changing jobs' priorities. All parameters to
the common function are non-optional.
Signed...
Michael Hanselmann
03:37 pm ganeti-local Revision 6b96df59: utils.x509: Factorize code to extract X509 certificate
This will be useful in “gnt-node add”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop...
Michael Hanselmann
03:37 pm ganeti-local Revision ebae9e37: prepare_node_join: Move daemon SSH files to constants
This dictionary will also be useful in “gnt-node add”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewe...
Michael Hanselmann
03:37 pm Revision ebae9e37: prepare_node_join: Move daemon SSH files to constants
This dictionary will also be useful in “gnt-node add”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewe...
Michael Hanselmann
03:37 pm Revision 6b96df59: utils.x509: Factorize code to extract X509 certificate
This will be useful in “gnt-node add”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop...
Michael Hanselmann
03:37 pm ganeti-local Revision 340ae7da: prepare-node-join: Swap private and public keys
Other places, such as “ssh.GetUserFiles”, use a structure where the
private key comes before the private key. Until n...
Michael Hanselmann
03:37 pm Revision 340ae7da: prepare-node-join: Swap private and public keys
Other places, such as “ssh.GetUserFiles”, use a structure where the
private key comes before the private key. Until n...
Michael Hanselmann
03:37 pm Revision 910ef222: prepare-node-join: Use public key directly for auth…_keys
A public key already includes the necessary prefix (“ssh-rsa” or
“ssh-dss”), so there is no need to add it again.
Si...
Michael Hanselmann
03:37 pm ganeti-local Revision 910ef222: prepare-node-join: Use public key directly for auth…_keys
A public key already includes the necessary prefix (“ssh-rsa” or
“ssh-dss”), so there is no need to add it again.
Si...
Michael Hanselmann
03:35 pm ganeti-local Revision 7bd70e6b: ssh.GetUserFiles: Parameter to disable directory check
Without this parameter, either an error would be raised or “.ssh” would
have to be created. Now it is possible to ret...
Michael Hanselmann
03:35 pm Revision 7bd70e6b: ssh.GetUserFiles: Parameter to disable directory check
Without this parameter, either an error would be raised or “.ssh” would
have to be created. Now it is possible to ret...
Michael Hanselmann
03:05 pm ganeti-local Revision 879d9290: Move htools backends to a separate directory
Five modules under the HTools/ directories are backend
implementations, so let's move them to a separate directory, t...
Iustin Pop
03:05 pm Revision 879d9290: Move htools backends to a separate directory
Five modules under the HTools/ directories are backend
implementations, so let's move them to a separate directory, t...
Iustin Pop
02:49 pm Revision 5c03bcea: Fix lint issue in Test/…/THH.hs
Sorry!
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
02:49 pm ganeti-local Revision 5c03bcea: Fix lint issue in Test/…/THH.hs
Sorry!
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
02:23 pm ganeti-local Revision bca39f5c: Fix X509CertError definition in Haskell codebase
Thanks Dato for catching this.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi...
Iustin Pop
02:23 pm Revision bca39f5c: Fix X509CertError definition in Haskell codebase
Thanks Dato for catching this.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi...
Iustin Pop
02:22 pm ganeti-local Revision 66ad857a: Fix a few issues found by newer hlint
Testing with a newer hlint found a few minor issues; but all are real,
valid recommendations:
- don't use "if cond t...
Iustin Pop
02:22 pm Revision 66ad857a: Fix a few issues found by newer hlint
Testing with a newer hlint found a few minor issues; but all are real,
valid recommendations:
- don't use "if cond t...
Iustin Pop
02:22 pm Revision f51eacf3: Add a simple unittest for THH code
This is very THH specific, and applies to all serialisations generated
by THH, so I'm adding it in its own module.
P...
Iustin Pop
02:22 pm ganeti-local Revision f51eacf3: Add a simple unittest for THH code
This is very THH specific, and applies to all serialisations generated
by THH, so I'm adding it in its own module.
P...
Iustin Pop
02:22 pm ganeti-local Revision 9b156883: Add support for optional fields with null serialised
This follows a conversation we had for how to deal with
optional-but-required fields in JSON serialisations: fields w...
Iustin Pop
02:22 pm Revision 9b156883: Add support for optional fields with null serialised
This follows a conversation we had for how to deal with
optional-but-required fields in JSON serialisations: fields w...
Iustin Pop
11:06 am Revision d976957d: Update instance modify message
Currently the message does not say explicitly that instance-initiated
reboots are useless to trigger the use of new p...
Iustin Pop
11:06 am ganeti-local Revision d976957d: Update instance modify message
Currently the message does not say explicitly that instance-initiated
reboots are useless to trigger the use of new p...
Iustin Pop
10:22 am Revision 2081f0bd: Merge branch 'stable-2.6-hotplug' into stable-2.6-ippool-hotplug-esi
Conflicts:
lib/config.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
10:22 am ganeti-local Revision 2081f0bd: Merge branch 'stable-2.6-hotplug' into stable-2.6-ippool-hotplug-esi
Conflicts:
lib/config.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis

10/25/2012

11:03 pm Revision c1bfc2eb: Hotplug: rpc only if instance is running
Intruduce new function _InstanceRunning().
Fix *PCIInfo config methods to hold exclusively _config_lock and
take inst...
Dimitris Aragiorgis
11:03 pm ganeti-local Revision c1bfc2eb: Hotplug: rpc only if instance is running
Intruduce new function _InstanceRunning().
Fix *PCIInfo config methods to hold exclusively _config_lock and
take inst...
Dimitris Aragiorgis
08:57 pm Revision 86a24969: Errors.hs: improve field names for ConfigVersionMismatch
Change {exp,act}Code to {exp,act}Ver, which gives a better idea that
the integer fields represent version numbers.
A...
Dato Simó
08:57 pm ganeti-local Revision 86a24969: Errors.hs: improve field names for ConfigVersionMismatch
Change {exp,act}Code to {exp,act}Ver, which gives a better idea that
the integer fields represent version numbers.
A...
Dato Simó
06:47 pm ganeti-local Revision cd93a0ec: Remove unused cache implementation
Note that this commit has no Makefile.am changes, as the files were
not actually used. So it's better to actually rem...
Iustin Pop
06:47 pm Revision cd93a0ec: Remove unused cache implementation
Note that this commit has no Makefile.am changes, as the files were
not actually used. So it's better to actually rem...
Iustin Pop
06:43 pm ganeti-local Revision dce5d027: THH.hs: delete isOptional, no longer used
The isOptional function is no longer used after a150585 (“Convert
opcode TH code to the use of Field type”).
Signed-...
Dato Simó
06:43 pm Revision dce5d027: THH.hs: delete isOptional, no longer used
The isOptional function is no longer used after a150585 (“Convert
opcode TH code to the use of Field type”).
Signed-...
Dato Simó
04:46 pm Revision 5e360222: Fix two typos in Ganeti administrator's guide
Fix a verb tense and add a missing verb.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Adeodato ...
Michele Tartara
04:46 pm ganeti-local Revision 5e360222: Fix two typos in Ganeti administrator's guide
Fix a verb tense and add a missing verb.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Adeodato ...
Michele Tartara
04:10 pm ganeti-local Revision 15c118a4: bdev: Remove unused import of itertools
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Michael Hanselmann
04:10 pm Revision 15c118a4: bdev: Remove unused import of itertools
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Michael Hanselmann
03:18 pm ganeti-local Revision 23e3c9b7: bdev: Add verification for file storage paths
An earlier version of this patch series verified all paths in cmdlib in
the master daemon. With this change all that ...
Michael Hanselmann
03:18 pm Revision 23e3c9b7: bdev: Add verification for file storage paths
An earlier version of this patch series verified all paths in cmdlib in
the master daemon. With this change all that ...
Michael Hanselmann
03:16 pm ganeti-local Revision aebd0e4e: jqueue: Factorize code to modify job
A new function will be added to change a job's priority.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revie...
Michael Hanselmann
03:16 pm Revision aebd0e4e: jqueue: Factorize code to modify job
A new function will be added to change a job's priority.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revie...
Michael Hanselmann
03:16 pm ganeti-local Revision bb921668: jqueue: Add docstring for _DetermineJobDirectories
Somehow this was missed in commit 0422250e.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Helga...
Michael Hanselmann
03:16 pm ganeti-local Revision 552328b8: cli: Use callback for --priority
If the option is used elsewhere, the numeric value is directly
available.
Signed-off-by: Michael Hanselmann <hansmi@...
Michael Hanselmann
03:16 pm ganeti-local Revision 42d49574: jqueue: Fix comments in _SubmitJobUnlocked
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Michael Hanselmann
03:16 pm ganeti-local Revision c87440f5: Drop SSHS_FORCE constant
It is not actually used.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Helga Velroyen <helgav@g...
Michael Hanselmann
03:16 pm Revision 552328b8: cli: Use callback for --priority
If the option is used elsewhere, the numeric value is directly
available.
Signed-off-by: Michael Hanselmann <hansmi@...
Michael Hanselmann
03:16 pm Revision bb921668: jqueue: Add docstring for _DetermineJobDirectories
Somehow this was missed in commit 0422250e.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Helga...
Michael Hanselmann
03:16 pm Revision c87440f5: Drop SSHS_FORCE constant
It is not actually used.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Helga Velroyen <helgav@g...
Michael Hanselmann
03:16 pm Revision 42d49574: jqueue: Fix comments in _SubmitJobUnlocked
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Michael Hanselmann
02:32 pm ganeti-local Revision 7a07475f: Add a default `.ghci' file
This options file for ghci preseeds the correct include paths, so that
interactive sessions don't need to always pass...
Iustin Pop
02:32 pm Revision 7a07475f: Add a default `.ghci' file
This options file for ghci preseeds the correct include paths, so that
interactive sessions don't need to always pass...
Iustin Pop
01:20 pm Revision fa45c478: Force tap's MAC prefix to "fe"
Setting a high prefix discourages the bridge from adopting the tap's
MAC. Xen is not affected by this since the MAC i...
Simon Deziel
01:20 pm ganeti-local Revision fa45c478: Force tap's MAC prefix to "fe"
Setting a high prefix discourages the bridge from adopting the tap's
MAC. Xen is not affected by this since the MAC i...
Simon Deziel
01:05 pm ganeti-local Revision 5183e8be: Convert query path from string errors to GanetiException
This patch converts all the call paths from 'Result' (which contains
just string errors) to 'ErrorResult', which hold...
Iustin Pop
01:05 pm Revision f56fc1a6: Add exception utility functions
In Python, formatError also returns the exit code, but I find that
splitting them leads to clearer code.
Signed-off-...
Iustin Pop
01:05 pm Revision 5183e8be: Convert query path from string errors to GanetiException
This patch converts all the call paths from 'Result' (which contains
just string errors) to 'ErrorResult', which hold...
Iustin Pop
01:05 pm ganeti-local Revision f56fc1a6: Add exception utility functions
In Python, formatError also returns the exit code, but I find that
splitting them leads to clearer code.
Signed-off-...
Iustin Pop
12:38 pm ganeti-local Revision ef3ad027: Add an Errors module mirroring the Python one
As described in the module doc string, while writing this it dawned
upon me that we're mixing all errors together int...
Iustin Pop
12:38 pm Revision ef3ad027: Add an Errors module mirroring the Python one
As described in the module doc string, while writing this it dawned
upon me that we're mixing all errors together int...
Iustin Pop
12:38 pm Revision 185b5b0d: Abstract Luxi template functionality
These are almost generic, so let's change the signatures a bit a make
them fully so.
Signed-off-by: Iustin Pop <iust...
Iustin Pop
12:38 pm ganeti-local Revision 185b5b0d: Abstract Luxi template functionality
These are almost generic, so let's change the signatures a bit a make
them fully so.
Signed-off-by: Iustin Pop <iust...
Iustin Pop
12:38 pm ganeti-local Revision 2e202a9b: Abstract a few types in THH.hs
This 'simple' way of defining objects will be used also for errors, so
let's make it less Luxi-specific.
Signed-off-...
Iustin Pop
12:38 pm Revision 2e202a9b: Abstract a few types in THH.hs
This 'simple' way of defining objects will be used also for errors, so
let's make it less Luxi-specific.
Signed-off-...
Iustin Pop
12:03 pm Revision 9e995e4f: Add missing empty line
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Reviewed-by: I...
Guido Trotter
12:03 pm ganeti-local Revision 9e995e4f: Add missing empty line
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Reviewed-by: I...
Guido Trotter
11:54 am Revision 61b9b9c6: Remove dumb-allocator code from devel/upload
The 'dumb-allocator' has been removed almost two years ago (commit
6f547f96, “Remove dumb-allocator”), let's remove t...
Iustin Pop
11:54 am ganeti-local Revision 61b9b9c6: Remove dumb-allocator code from devel/upload
The 'dumb-allocator' has been removed almost two years ago (commit
6f547f96, “Remove dumb-allocator”), let's remove t...
Iustin Pop
11:54 am ganeti-local Revision 23294fb0: Fix devel/upload restart of daemons
While running with a wrong --prefix/--sysconfdir, I saw that
devel/upload actually uses a hardcoded path for the init...
Iustin Pop
11:54 am Revision 23294fb0: Fix devel/upload restart of daemons
While running with a wrong --prefix/--sysconfdir, I saw that
devel/upload actually uses a hardcoded path for the init...
Iustin Pop

10/24/2012

04:57 pm ganeti-local Revision df3fc286: Merge branch 'stable-2.6-grnet' into debian-2.6-grnet
Dimitris Aragiorgis
04:30 pm Revision 1b2ebbc0: Merge branch 'stable-2.6-ippool' into stable-2.6-ippool-hotplug-esi
Dimitris Aragiorgis
04:30 pm ganeti-local Revision 1b2ebbc0: Merge branch 'stable-2.6-ippool' into stable-2.6-ippool-hotplug-esi
Dimitris Aragiorgis
04:29 pm ganeti-local Revision 6233a7b9: Merge branch 'stable-2.6-ippool' into stable-2.6-grnet
Dimitris Aragiorgis
04:27 pm Revision 8f4a22e3: Fix a bug in LUNetworkAdd concering needed_locks
Fix network client to pass conflicts_check to the opcode.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
04:27 pm ganeti-local Revision 8f4a22e3: Fix a bug in LUNetworkAdd concering needed_locks
Fix network client to pass conflicts_check to the opcode.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
03:01 pm ganeti-local Revision d55b80b0: Add small design for Linux HA integration
This documents the status (or wanted status) of some example ocf modules
I've written for Ganeti. They are far from p...
Guido Trotter
03:01 pm Revision d55b80b0: Add small design for Linux HA integration
This documents the status (or wanted status) of some example ocf modules
I've written for Ganeti. They are far from p...
Guido Trotter
10:43 am ganeti-local Revision 335ba60d: Replace @LIBDIR@ in .in files
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
10:43 am Revision 335ba60d: Replace @LIBDIR@ in .in files
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter

10/23/2012

07:28 pm ganeti-local Revision 68e2ed87: Improve devel/upload command line handling
To people not used to it, it was completely non-obvious why
"./devel/upload" didn't do anything.
Signed-off-by: Iust...
Iustin Pop
07:28 pm Revision 68e2ed87: Improve devel/upload command line handling
To people not used to it, it was completely non-obvious why
"./devel/upload" didn't do anything.
Signed-off-by: Iust...
Iustin Pop
07:09 pm ganeti-local Revision b183c4a8: Improve logging of AssertionErrors
Currently, when we have an assertion error raised from cmdlib, it looks like this:
[cluster] root@node4:~# gnt-ins...
Iustin Pop
07:09 pm Revision b183c4a8: Improve logging of AssertionErrors
Currently, when we have an assertion error raised from cmdlib, it looks like this:
[cluster] root@node4:~# gnt-ins...
Iustin Pop
07:08 pm ganeti-local Revision 1facaf11: tools.prepare_node_join: Fix pep8 errors
Pep8 didn't agree with the indentation.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Tro...
Michael Hanselmann
07:08 pm Revision 1facaf11: tools.prepare_node_join: Fix pep8 errors
Pep8 didn't agree with the indentation.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Tro...
Michael Hanselmann
06:32 pm Revision d12b9f66: Add initial implementation of prepare-node-join
This is a new tool as per the design document “design-ssh-setup”. It
receives a JSON data structure on its standard i...
Michael Hanselmann
06:32 pm ganeti-local Revision d12b9f66: Add initial implementation of prepare-node-join
This is a new tool as per the design document “design-ssh-setup”. It
receives a JSON data structure on its standard i...
Michael Hanselmann
03:59 pm ganeti-local Revision 8a3c9e8a: ssh.GetUserFiles: RSA support, unit tests
This patch changes “ssh.GetUserFiles” to support two different kinds of
SSH keys, RSA and DSA. Before it would always...
Michael Hanselmann
03:59 pm Revision 8a3c9e8a: ssh.GetUserFiles: RSA support, unit tests
This patch changes “ssh.GetUserFiles” to support two different kinds of
SSH keys, RSA and DSA. Before it would always...
Michael Hanselmann
11:32 am ganeti-local Revision 986efb78: Fix typo in walkthrough document
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michele Tartara
11:32 am Revision 986efb78: Fix typo in walkthrough document
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michele Tartara

10/22/2012

06:42 pm ganeti-local Revision 141c8421: Find coverage during configure, issue with Debian package
- Debian Squeeze and up have a package named “python-coverage”, but it
doesn't use the same binary name as upstream...
Michael Hanselmann
06:42 pm Revision 141c8421: Find coverage during configure, issue with Debian package
- Debian Squeeze and up have a package named “python-coverage”, but it
doesn't use the same binary name as upstream...
Michael Hanselmann
06:19 pm Revision 942a9a6a: Remove multiple uses of '.&&.' with conjoin
This is just a bit of cleanup. The (.&&.) operator is internally just:
a .&& b = conjoin [a, b]
so let's replace ...
Iustin Pop
06:19 pm ganeti-local Revision 942a9a6a: Remove multiple uses of '.&&.' with conjoin
This is just a bit of cleanup. The (.&&.) operator is internally just:
a .&& b = conjoin [a, b]
so let's replace ...
Iustin Pop
06:19 pm Revision 41eb900e: Improve message for (==?) operator
After seeing how nice HUnit formats the error message on failed
'assertEqual', I think we can do better with ==?. Cur...
Iustin Pop
06:19 pm ganeti-local Revision 41eb900e: Improve message for (==?) operator
After seeing how nice HUnit formats the error message on failed
'assertEqual', I think we can do better with ==?. Cur...
Iustin Pop
06:19 pm ganeti-local Revision 37519c09: Add a new 'really-all' make target
This is used when one wants to build all binaries, including those
that are used only for testing. A handy shortcut t...
Iustin Pop
06:19 pm Revision 37519c09: Add a new 'really-all' make target
This is used when one wants to build all binaries, including those
that are used only for testing. A handy shortcut t...
Iustin Pop
06:04 pm ganeti-local Revision 559f9895: Use bitarray 0.8 interface
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
04:37 pm ganeti-local Revision 7cb4cb8a: Change version to 2.6.1+grnet1-1
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
03:18 pm ganeti-local Revision b3c70abf: Merge branch 'stable-2.6-grnet' into debian-2.6-grnet
Dimitris Aragiorgis
02:20 pm Revision dddb2bc9: Annotated inequality operator for unit test properties
This includes:
* The operator (/=?), which checks for inequality and prints
an error message if it encounters equ...
Helga Velroyen
02:20 pm ganeti-local Revision dddb2bc9: Annotated inequality operator for unit test properties
This includes:
* The operator (/=?), which checks for inequality and prints
an error message if it encounters equ...
Helga Velroyen
12:31 pm Revision 77ffd663: Fix setting of 'failN1' flag for corner case
This patch includes:
* The 'failN1' flag is now only set if there is strictly less
memory available than required ...
Helga Velroyen
12:31 pm ganeti-local Revision 77ffd663: Fix setting of 'failN1' flag for corner case
This patch includes:
* The 'failN1' flag is now only set if there is strictly less
memory available than required ...
Helga Velroyen
12:29 pm ganeti-local Revision dd77da99: A few unittests improvements
Small simplifications of other unit tests using the (==?)
operator when possible, and typo fixes.
Signed-off-by: Hel...
Helga Velroyen
12:29 pm Revision dd77da99: A few unittests improvements
Small simplifications of other unit tests using the (==?)
operator when possible, and typo fixes.
Signed-off-by: Hel...
Helga Velroyen
« Previous
Next »
 

Also available in: Atom