Activity

From 10/07/2012 to 11/05/2012

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

10/19/2012

07:38 pm ganeti-local Revision b02330cb: Merge branch 'stable-2.6' into stable-grnet
Dimitris Aragiorgis
07:37 pm ganeti-local Revision c8a7c1e5: Merge branch 'stable-2.6-hotplug' into stable-grnet
Conflicts:
lib/cmdlib.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
07:27 pm ganeti-local Revision 24bdf090: Merge branch 'stable-2.6-ippool' into stable-grnet
Dimitris Aragiorgis
06:04 pm Revision 651c1c3e: Corrected some commandlines in walkthrough
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Helga Velroyen
06:04 pm ganeti-local Revision 651c1c3e: Corrected some commandlines in walkthrough
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Helga Velroyen
06:04 pm Revision 98508e7f: BasicTypes.hs: fix docstring for eitherToResult
eitherToResult now converts from `Either a b` to `GenericResult`, not
necessarily from `Either String` only. Also, fi...
Dato Simó
06:04 pm ganeti-local Revision 98508e7f: BasicTypes.hs: fix docstring for eitherToResult
eitherToResult now converts from `Either a b` to `GenericResult`, not
necessarily from `Either String` only. Also, fi...
Dato Simó
05:55 pm ganeti-local Revision 06c9a9d6: Add note about running individual test cases
This was asked a few times offline, so let's document it.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by:...
Iustin Pop
05:55 pm ganeti-local Revision b07afbb3: Add a small QA check in instance renames for tags update
We also need to change the signature for _GetInstanceInfo, since we
don't have access to the instance dictionary in t...
Iustin Pop
05:55 pm Revision b07afbb3: Add a small QA check in instance renames for tags update
We also need to change the signature for _GetInstanceInfo, since we
don't have access to the instance dictionary in t...
Iustin Pop
05:55 pm Revision 06c9a9d6: Add note about running individual test cases
This was asked a few times offline, so let's document it.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by:...
Iustin Pop
05:55 pm ganeti-local Revision 48e175a2: Update blockdev's "info" at instance rename
Currently, we set "info" metadata on block devices at device creation
time, but we never update it, leading to stale ...
Iustin Pop
05:55 pm ganeti-local Revision a1556cfa: LVM: remove old tags when adding new ones
This patch adds a small helper function to clear an LV's tags, and
calls it at SetInfo time. We need this to be able ...
Iustin Pop
05:55 pm ganeti-local Revision e398546b: Add a small bdev helper function
I wanted to write that snippet the third time, which is too much :)
Signed-off-by: Iustin Pop <iustin@google.com>
Re...
Iustin Pop
05:55 pm Revision ded769c1: Add a small note about tab completion and generated files
This can indeed be annoying, so let's document it.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Adeoda...
Iustin Pop
05:55 pm Revision 48e175a2: Update blockdev's "info" at instance rename
Currently, we set "info" metadata on block devices at device creation
time, but we never update it, leading to stale ...
Iustin Pop
05:55 pm Revision a1556cfa: LVM: remove old tags when adding new ones
This patch adds a small helper function to clear an LV's tags, and
calls it at SetInfo time. We need this to be able ...
Iustin Pop
05:55 pm Revision e398546b: Add a small bdev helper function
I wanted to write that snippet the third time, which is too much :)
Signed-off-by: Iustin Pop <iustin@google.com>
Re...
Iustin Pop
05:55 pm ganeti-local Revision ded769c1: Add a small note about tab completion and generated files
This can indeed be annoying, so let's document it.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Adeoda...
Iustin Pop
05:31 pm ganeti-local Revision f4afc16e: Update for SSH design: Cluster name, ignore node daemon
While writing the initial version of this design I misunderstood what
“setup-ssh” does. It doesn't actually start the...
Michael Hanselmann
05:31 pm Revision f4afc16e: Update for SSH design: Cluster name, ignore node daemon
While writing the initial version of this design I misunderstood what
“setup-ssh” does. It doesn't actually start the...
Michael Hanselmann
04:57 pm Revision ba147ff8: Fix disk adoption interaction with ipolicy checks
In Ganeti 2.6, disk adoption is broken due to the ipolicy checks being
done before we read volume size from remote no...
Iustin Pop
04:57 pm ganeti-local Revision ba147ff8: Fix disk adoption interaction with ipolicy checks
In Ganeti 2.6, disk adoption is broken due to the ipolicy checks being
done before we read volume size from remote no...
Iustin Pop
03:38 pm ganeti-local Revision e6d2a198: Merge branch 'stable-2.6' into stable-2.6-ippool-hotplug-esi
Dimitris Aragiorgis
03:38 pm Revision e6d2a198: Merge branch 'stable-2.6' into stable-2.6-ippool-hotplug-esi
Dimitris Aragiorgis
02:43 pm ganeti-local Revision 0232b768: Compare significant fields only for simple SSH keys
For simple SSH keys, that is those without options such as
“command="…"”, only the first two parts need to be compare...
Michael Hanselmann
02:43 pm Revision 0232b768: Compare significant fields only for simple SSH keys
For simple SSH keys, that is those without options such as
“command="…"”, only the first two parts need to be compare...
Michael Hanselmann
10:02 am ganeti-local Revision 9805aa82: Add instance uptime to monitoring info
This can be used to detect a reboot between two checks.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed...
Guido Trotter
10:02 am Revision 9805aa82: Add instance uptime to monitoring info
This can be used to detect a reboot between two checks.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed...
Guido Trotter

10/18/2012

07:58 pm ganeti-local Revision 2f96c43c: test/*.py: Replace '' with ""
There might be more, but at least replace all these low-hanging fruits.
Signed-off-by: Michael Hanselmann <hansmi@go...
Michael Hanselmann
07:58 pm Revision 2f96c43c: test/*.py: Replace '' with ""
There might be more, but at least replace all these low-hanging fruits.
Signed-off-by: Michael Hanselmann <hansmi@go...
Michael Hanselmann
02:38 pm Revision 109e07c2: Add cluster monitoring agent design document
This design addresses the lack of a uniform way to query ganeti nodes
for real time information that can be used by m...
Guido Trotter
02:38 pm ganeti-local Revision 109e07c2: Add cluster monitoring agent design document
This design addresses the lack of a uniform way to query ganeti nodes
for real time information that can be used by m...
Guido Trotter
01:55 pm ganeti-local Revision a8038349: Remove custom OpResult type/monad
Since we now have the GeneralResult as a multi-purpose monad, we can
remove the custom OpResult monad, and just use '...
Iustin Pop
01:55 pm Revision a8038349: Remove custom OpResult type/monad
Since we now have the GeneralResult as a multi-purpose monad, we can
remove the custom OpResult monad, and just use '...
Iustin Pop
01:52 pm ganeti-local Revision a4b247f0: Merge branch 'devel-2.6'
* devel-2.6:
ensure-dirs: Don't accept arguments
ensure-dirs: Fix program name on usage screen
cli: Fix small t...
Michael Hanselmann
01:52 pm Revision a4b247f0: Merge branch 'devel-2.6'
* devel-2.6:
ensure-dirs: Don't accept arguments
ensure-dirs: Fix program name on usage screen
cli: Fix small t...
Michael Hanselmann
01:43 pm Revision fca74633: ensure-dirs: Don't accept arguments
Before they would just be silently ignored.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iusti...
Michael Hanselmann
01:43 pm ganeti-local Revision fca74633: ensure-dirs: Don't accept arguments
Before they would just be silently ignored.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iusti...
Michael Hanselmann
01:43 pm ganeti-local Revision 8d77ac10: ensure-dirs: Fix program name on usage screen
No string replacements are used, so doubling of the percent sign is not
necessary.
Before: Usage: %ensure-dirs [--fu...
Michael Hanselmann
01:43 pm Revision 8d77ac10: ensure-dirs: Fix program name on usage screen
No string replacements are used, so doubling of the percent sign is not
necessary.
Before: Usage: %ensure-dirs [--fu...
Michael Hanselmann
12:14 pm ganeti-local Revision 29fbe62e: Convert man page highlighting to standard RST
Instead of using the sphinx-specific highlight extension, which is not
parsed by Pandoc, let's switch to the standard...
Iustin Pop
12:14 pm Revision 29fbe62e: Convert man page highlighting to standard RST
Instead of using the sphinx-specific highlight extension, which is not
parsed by Pandoc, let's switch to the standard...
Iustin Pop
12:14 pm Revision e1ff0de1: Convert two more 'sh' highlight styles to 'shell-example'
This is straightforward; only one shell example remained, but as we
process the man pages via pandoc and not sphinx, ...
Iustin Pop
12:14 pm ganeti-local Revision e1ff0de1: Convert two more 'sh' highlight styles to 'shell-example'
This is straightforward; only one shell example remained, but as we
process the man pages via pandoc and not sphinx, ...
Iustin Pop
12:11 pm ganeti-local Revision 1bf1ce3f: Small improvements to the move-instance doc
While reading the docs, I saw that this is not converted to the shell
lexer, and that a few other small improvements ...
Iustin Pop
12:11 pm Revision 1bf1ce3f: Small improvements to the move-instance doc
While reading the docs, I saw that this is not converted to the shell
lexer, and that a few other small improvements ...
Iustin Pop
12:11 pm ganeti-local Revision 707cd3d7: Use exitErr instead of explicit error message and exitWith
Furthermore, a few messages have their capitalisation changed (fixed).
Signed-off-by: Helga Velroyen <helgav@google....
Helga Velroyen
12:11 pm Revision 707cd3d7: Use exitErr instead of explicit error message and exitWith
Furthermore, a few messages have their capitalisation changed (fixed).
Signed-off-by: Helga Velroyen <helgav@google....
Helga Velroyen
11:04 am ganeti-local Revision f9a51a21: Fix running of Haskell tests
Commit 21a5e56c forgot to rename a variable used in a conditional (of
course shell didn't complain about unused vars)...
Iustin Pop
11:04 am Revision f9a51a21: Fix running of Haskell tests
Commit 21a5e56c forgot to rename a variable used in a conditional (of
course shell didn't complain about unused vars)...
Iustin Pop

10/17/2012

07:53 pm ganeti-local Revision 93be1ced: Generalise the Result type
Currently, our error monad—Result—has a plain string error type. This
is not good, as we don't have structured errors...
Iustin Pop
07:53 pm Revision 93be1ced: Generalise the Result type
Currently, our error monad—Result—has a plain string error type. This
is not good, as we don't have structured errors...
Iustin Pop
07:45 pm ganeti-local Revision 659d769d: Merge branch 'devel-2.6' into master
* devel-2.6:
htools-excl.test: add test case for exclusion tags in hbal
Instance.hs: rename 'tags' to 'exclTags',...
Dato Simó
07:45 pm Revision 659d769d: Merge branch 'devel-2.6' into master
* devel-2.6:
htools-excl.test: add test case for exclusion tags in hbal
Instance.hs: rename 'tags' to 'exclTags',...
Dato Simó
06:44 pm ganeti-local Revision 90efd920: cli: Fix small typo
s/it/if/
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Dato Simó <dato@google.com>
Reviewed-by:...
Michael Hanselmann
06:44 pm Revision 90efd920: cli: Fix small typo
s/it/if/
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Dato Simó <dato@google.com>
Reviewed-by:...
Michael Hanselmann
06:30 pm Revision b898de8f: Add hbal-excl-tags.data to Makefile.am, missed in 0397694
Signed-off-by: Dato Simó <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Dato Simó
06:30 pm ganeti-local Revision b898de8f: Add hbal-excl-tags.data to Makefile.am, missed in 0397694
Signed-off-by: Dato Simó <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Dato Simó
05:51 pm Revision 312620ad: Better NEWS file for 2.6.1
Better formatting of text, past tense used when appropriate.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
...
Bernardo Dal Seno
05:51 pm ganeti-local Revision 312620ad: Better NEWS file for 2.6.1
Better formatting of text, past tense used when appropriate.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
...
Bernardo Dal Seno
04:13 pm Revision 6b6e335b: Group.hs: add 'allTags'; adjust loaders and test data for it
This commit adds a Group.allTags field to store the tags of node groups,
and teaches each loader backend in HTools to...
Dato Simó
04:13 pm ganeti-local Revision 6b6e335b: Group.hs: add 'allTags'; adjust loaders and test data for it
This commit adds a Group.allTags field to store the tags of node groups,
and teaches each loader backend in HTools to...
Dato Simó
04:13 pm ganeti-local Revision 2f907bad: Instance.hs: rename 'tags' to 'exclTags', provide 'allTags'
The mergeData function in Loader.hs included a step to filter an instance's
tags to include only the exclusion tags (...
Dato Simó
04:13 pm Revision 2f907bad: Instance.hs: rename 'tags' to 'exclTags', provide 'allTags'
The mergeData function in Loader.hs included a step to filter an instance's
tags to include only the exclusion tags (...
Dato Simó
04:13 pm ganeti-local Revision 0397694e: htools-excl.test: add test case for exclusion tags in hbal
In preparation for future modifications in the exclusion tags field, add a
test that verifies that exclusion tags are...
Dato Simó
04:13 pm Revision 0397694e: htools-excl.test: add test case for exclusion tags in hbal
In preparation for future modifications in the exclusion tags field, add a
test that verifies that exclusion tags are...
Dato Simó
03:27 pm ganeti-local Revision 18ccdced: Fix small typo in NEWS file
Sorry, I didn't see this before pushing 5a7cb9d3…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Adeodat...
Iustin Pop
03:27 pm Revision 18ccdced: Fix small typo in NEWS file
Sorry, I didn't see this before pushing 5a7cb9d3…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Adeodat...
Iustin Pop
02:56 pm ganeti-local Revision a7862455: Remove support for PUT in noded
This takes care of a FIXME; 2.6 already uses the new method, so we're
good during upgrades.
Signed-off-by: Iustin Po...
Iustin Pop
02:56 pm Revision a7862455: Remove support for PUT in noded
This takes care of a FIXME; 2.6 already uses the new method, so we're
good during upgrades.
Signed-off-by: Iustin Po...
Iustin Pop
02:12 pm Revision 5a7cb9d3: Ignore empty/comment lines in OS variants file
Per a conversation on ganeti@googlegroups.com:
- gnt-os diagnose ; gnt-os list take in consideration blank lines i...
Iustin Pop
02:12 pm ganeti-local Revision 5a7cb9d3: Ignore empty/comment lines in OS variants file
Per a conversation on ganeti@googlegroups.com:
- gnt-os diagnose ; gnt-os list take in consideration blank lines i...
Iustin Pop
02:12 pm ganeti-local Revision e1c701e7: gnt-job cancel: Confirmation and selection of jobs
New parameters, “--pending”, “--queued” and “--waiting”, are added to
select all jobs in the respective state. If one...
Michael Hanselmann
02:12 pm Revision e1c701e7: gnt-job cancel: Confirmation and selection of jobs
New parameters, “--pending”, “--queued” and “--waiting”, are added to
select all jobs in the respective state. If one...
Michael Hanselmann
01:12 pm ganeti-local Revision a57b2bb7: Update NEWS for file storage paths
Mention that the file is something new and should be written by
cfgupgrade.
Signed-off-by: Michael Hanselmann <hansm...
Michael Hanselmann
01:12 pm Revision a57b2bb7: Update NEWS for file storage paths
Mention that the file is something new and should be written by
cfgupgrade.
Signed-off-by: Michael Hanselmann <hansm...
Michael Hanselmann

10/16/2012

06:13 pm ganeti-local Revision 7bb6e137: Replace custom algorithm in constants unittest
There is no need for the “_IsUniqueSequence” function anymore, it can
easily be replaced by utils.FindDuplicates. Als...
Michael Hanselmann
06:13 pm ganeti-local Revision 2ff01d78: Design for remote command execution via RPC
This is a first design for executing commands via RPC.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewe...
Michael Hanselmann
06:13 pm Revision 7bb6e137: Replace custom algorithm in constants unittest
There is no need for the “_IsUniqueSequence” function anymore, it can
easily be replaced by utils.FindDuplicates. Als...
Michael Hanselmann
06:13 pm Revision 2ff01d78: Design for remote command execution via RPC
This is a first design for executing commands via RPC.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewe...
Michael Hanselmann
06:13 pm ganeti-local Revision 04c998a5: Makefile: Verify version of security.rst document
This document should be kept up-to-date.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin P...
Michael Hanselmann
06:13 pm Revision 04c998a5: Makefile: Verify version of security.rst document
This document should be kept up-to-date.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin P...
Michael Hanselmann
06:05 pm Revision 1eaddbc6: Add new constant for pending job status
This constant contains the job status' “queued”, “waiting” and
“cancelled”.
Signed-off-by: Michael Hanselmann <hansm...
Michael Hanselmann
06:05 pm ganeti-local Revision 1eaddbc6: Add new constant for pending job status
This constant contains the job status' “queued”, “waiting” and
“cancelled”.
Signed-off-by: Michael Hanselmann <hansm...
Michael Hanselmann
05:43 pm ganeti-local Revision 11f53fdb: Merge branch 'devel-2.6'
* devel-2.6:
ensure-dirs: Fix permissions on master socket
Update security document for version 2.6
Update NEWS...
Michael Hanselmann
05:43 pm Revision 11f53fdb: Merge branch 'devel-2.6'
* devel-2.6:
ensure-dirs: Fix permissions on master socket
Update security document for version 2.6
Update NEWS...
Michael Hanselmann
05:38 pm Revision 48e3db76: ensure-dirs: Fix permissions on master socket
A socket shouldn't have its executable bit set.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: I...
Michael Hanselmann
05:38 pm ganeti-local Revision 48e3db76: ensure-dirs: Fix permissions on master socket
A socket shouldn't have its executable bit set.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: I...
Michael Hanselmann
05:38 pm ganeti-local Revision 3397d13e: Update security document for version 2.6
Quite some things were out of date. Some formatting was also updated.
Signed-off-by: Michael Hanselmann <hansmi@goog...
Michael Hanselmann
05:38 pm Revision 3397d13e: Update security document for version 2.6
Quite some things were out of date. Some formatting was also updated.
Signed-off-by: Michael Hanselmann <hansmi@goog...
Michael Hanselmann
04:54 pm Revision 781d828b: Fix OP_RESULT for OP_NETWORK_QUERY
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
04:54 pm ganeti-local Revision 781d828b: Fix OP_RESULT for OP_NETWORK_QUERY
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
03:53 pm Revision d27606cd: Allow passing 'none' for network_type option
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
03:53 pm ganeti-local Revision d27606cd: Allow passing 'none' for network_type option
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
03:14 pm ganeti-local Revision 19e21a6c: Add a very simple test rpc program
This only supports test delay for now, is not built by default (only
on demand), and is also not installed anywhere.
...
Iustin Pop
03:14 pm ganeti-local Revision de2a5704: confd: add the test_delay RPC call
Also add some more haddock structure to the module. The RPC call
itself is rather trivial.
Signed-off-by: Iustin Pop...
Iustin Pop
03:14 pm Revision 4ab40ed5: Add htools program code to hlint call
Currently only the libraries are added, but not the actual main binary
(usually short) code.
Signed-off-by: Iustin P...
Iustin Pop
03:14 pm Revision 19e21a6c: Add a very simple test rpc program
This only supports test delay for now, is not built by default (only
on demand), and is also not installed anywhere.
...
Iustin Pop
03:14 pm Revision de2a5704: confd: add the test_delay RPC call
Also add some more haddock structure to the module. The RPC call
itself is rather trivial.
Signed-off-by: Iustin Pop...
Iustin Pop
03:14 pm ganeti-local Revision 4ab40ed5: Add htools program code to hlint call
Currently only the libraries are added, but not the actual main binary
(usually short) code.
Signed-off-by: Iustin P...
Iustin Pop
02:11 pm ganeti-local Revision f2ee5004: Merge branch 'stable-2.6-ippool' into stable-2.6-ippool-hotplug-esi
Dimitris Aragiorgis
02:11 pm Revision f2ee5004: Merge branch 'stable-2.6-ippool' into stable-2.6-ippool-hotplug-esi
Dimitris Aragiorgis
02:01 pm ganeti-local Revision da1168c5: Fixes to pass unittests (make check)
Conflicts:
doc/rapi.rst
lib/ovf.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
02:01 pm Revision da1168c5: Fixes to pass unittests (make check)
Conflicts:
doc/rapi.rst
lib/ovf.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
01:06 pm ganeti-local Revision f98efa98: Add design for changing node SSH setup
The goal is to remove the dependency on Paramiko.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by:...
Michael Hanselmann
01:06 pm Revision f98efa98: Add design for changing node SSH setup
The goal is to remove the dependency on Paramiko.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by:...
Michael Hanselmann
12:47 pm ganeti-local Revision ff8f0049: confd: fix RpcVersion call
By accident, we sent the node object as call data in this rpc call,
instead the version request (i.e. nothing). This ...
Iustin Pop
12:47 pm Revision ff8f0049: confd: fix RpcVersion call
By accident, we sent the node object as call data in this rpc call,
instead the version request (i.e. nothing). This ...
Iustin Pop
11:59 am ganeti-local Revision 162e70ed: Merge branch 'stable-2.6-hotplug' into stable-2.6-ippool-hotplug-esi
Conflicts:
lib/cmdlib.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
11:59 am Revision 162e70ed: Merge branch 'stable-2.6-hotplug' into stable-2.6-ippool-hotplug-esi
Conflicts:
lib/cmdlib.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
11:57 am Revision 664249e9: Merge branch 'stable-2.6-ippool' into stable-2.6-ippool-hotplug-esi
Dimitris Aragiorgis
11:57 am ganeti-local Revision 664249e9: Merge branch 'stable-2.6-ippool' into stable-2.6-ippool-hotplug-esi
Dimitris Aragiorgis
09:04 am Revision 59a5de9e: Fixes to pass pylint (make lint)
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
09:04 am ganeti-local Revision 59a5de9e: Fixes to pass pylint (make lint)
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
09:00 am ganeti-local Revision 9650d658: Fix _GetPCIInfo() to pass unittests
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
09:00 am Revision 9650d658: Fix _GetPCIInfo() to pass unittests
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
08:56 am ganeti-local Revision 29cf7871: Add HOTPLUG_OPT in gnt-backup import client
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
08:56 am Revision 29cf7871: Add HOTPLUG_OPT in gnt-backup import client
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
08:51 am Revision 143214f6: Export nic.network during gnt-backup export
Modify FinalizeExport() in backend.py to export nic.network as well.
Signed-off-by: Dimitris Aragiorgis <dimara@grne...
Dimitris Aragiorgis
08:51 am ganeti-local Revision 143214f6: Export nic.network during gnt-backup export
Modify FinalizeExport() in backend.py to export nic.network as well.
Signed-off-by: Dimitris Aragiorgis <dimara@grne...
Dimitris Aragiorgis
12:40 am Revision 0048236f: Fix CIDR opcode checks to accept 'none' value
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
12:40 am ganeti-local Revision 0048236f: Fix CIDR opcode checks to accept 'none' value
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
12:28 am Revision 8a50b7c1: Export serial_no and uuid in network queries
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
12:28 am ganeti-local Revision 1111f3e3: Export serial_no of networks/instances in hooks
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
12:28 am ganeti-local Revision 8a50b7c1: Export serial_no and uuid in network queries
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
12:28 am Revision 1111f3e3: Export serial_no of networks/instances in hooks
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
12:28 am Revision 870c9855: Fix locks in network LUs
Acquire corresponding instance locks if conflicts_check is True.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
12:28 am ganeti-local Revision 870c9855: Fix locks in network LUs
Acquire corresponding instance locks if conflicts_check is True.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis

10/15/2012

07:56 pm ganeti-local Revision 01e52493: Cleanup HTools.Types/BasicTypes imports
Before we reorganised the source tree, the 'Result' type was exported
from HTools/Types.hs. This changed during the r...
Iustin Pop
07:56 pm Revision 01e52493: Cleanup HTools.Types/BasicTypes imports
Before we reorganised the source tree, the 'Result' type was exported
from HTools/Types.hs. This changed during the r...
Iustin Pop
05:50 pm ganeti-local Revision a251afa8: ExtStorage support in htools
Signed-off-by: Constantinos Venetsanopoulos <cven@grnet.gr> Constantinos Venetsanopoulos
05:50 pm ganeti-local Revision 26ede877: Add external storage interface related man pages
* ganeti-extstorage-interface man page
* gnt-storage man page
Signed-off-by: Constantinos Venetsanopoulos <cven@grn...
Constantinos Venetsanopoulos
05:50 pm ganeti-local Revision 19930d75: Add the gnt-storage client
Add a new client called 'gnt-storage'.
The client interacts with the ExtStorage interface, similarly to
the way gnt-o...
Constantinos Venetsanopoulos
05:50 pm ganeti-local Revision 3ff5bdfa: Add --allow-arbit-params to 'gnt-instance modify'
The option is added to allow us the passing of arbitrary ext-params
during disk addition (gnt-instance modify --disk ...
Constantinos Venetsanopoulos
05:50 pm ganeti-local Revision 1058522e: Multiple ExtStorage Providers and ext-params
Add support for passing parameters to the ext template (ext-params).
Take advantage of disk-params, that don't seem t...
Constantinos Venetsanopoulos
05:50 pm ganeti-local Revision 8237d5eb: Implement the SetInfo method for ExtStorage
Signed-off-by: Constantinos Venetsanopoulos <cven@grnet.gr> Constantinos Venetsanopoulos
05:16 pm ganeti-local Revision 0f247c10: Minor fixes for ExtStorage inside bdev.py
Signed-off-by: Constantinos Venetsanopoulos <cven@grnet.gr> Constantinos Venetsanopoulos
05:03 pm ganeti-local Revision 4b945e1e: Merge branch 'stable-2.6' into devel-2.6
* stable-2.6:
Update NEWS and bump version to 2.6.1
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
Michael Hanselmann
05:03 pm Revision 4b945e1e: Merge branch 'stable-2.6' into devel-2.6
* stable-2.6:
Update NEWS and bump version to 2.6.1
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
Michael Hanselmann

10/13/2012

06:15 pm ganeti-local Revision f1d0869b: Fixes to pass py-apidoc (make commit-check)
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis

10/12/2012

09:12 pm ganeti-local Revision bba43ba6: Fixes to pass pep8 (make lint)
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
09:12 pm ganeti-local Revision 23b0a9e0: Fixes to pass pylint (make lint)
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
09:12 pm ganeti-local Revision fdaacd25: Fixes to pass unittests (make check)
Signed-off-by: Iustin Pop <iustin@google.com> Iustin Pop
09:09 pm ganeti-local Revision 32279a07: Check for existing networks/groups in Network LUs
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
07:17 pm Revision 27e15be0: Update NEWS and bump version to 2.6.1
This is a small bug-fix only release.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Guido Trot...
Bernardo Dal Seno
07:17 pm ganeti-local Revision 27e15be0: Update NEWS and bump version to 2.6.1
This is a small bug-fix only release.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Guido Trot...
Bernardo Dal Seno
01:37 pm ganeti-local Revision 300e5450: errors: Document arguments to QueryFilterParseError
Also fix one small mistake in the docstring for QuitGanetiException.
Signed-off-by: Michael Hanselmann <hansmi@googl...
Michael Hanselmann
01:37 pm Revision 300e5450: errors: Document arguments to QueryFilterParseError
Also fix one small mistake in the docstring for QuitGanetiException.
Signed-off-by: Michael Hanselmann <hansmi@googl...
Michael Hanselmann
12:37 pm ganeti-local Revision fc07a14e: Fix distcheck after commit 7a962ec
I only ran “make check” and forgot about “distcheck”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
Michael Hanselmann
12:37 pm Revision fc07a14e: Fix distcheck after commit 7a962ec
I only ran “make check” and forgot about “distcheck”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
Michael Hanselmann
11:37 am ganeti-local Revision 97aac894: Add design document for version 2.7
- Move design document for batch instance creation into it
- Sort list of hidden files in index.rst
Signed-off-by: M...
Michael Hanselmann
11:37 am ganeti-local Revision 7a962ecc: Makefile/check-local: Ensure design document exists
This way a missing design document is detected.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: I...
Michael Hanselmann
11:37 am Revision 7a962ecc: Makefile/check-local: Ensure design document exists
This way a missing design document is detected.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: I...
Michael Hanselmann
11:37 am Revision 97aac894: Add design document for version 2.7
- Move design document for batch instance creation into it
- Sort list of hidden files in index.rst
Signed-off-by: M...
Michael Hanselmann

10/11/2012

04:49 pm ganeti-local Revision 479197d5: QA: TestAssignNodesIncludingSplit can be disabled
The test can now be enabled/disabled with the "group-rwops" flag.
Signed-off-by: Bernardo Dal Seno <bdalseno@google....
Bernardo Dal Seno
04:49 pm Revision 479197d5: QA: TestAssignNodesIncludingSplit can be disabled
The test can now be enabled/disabled with the "group-rwops" flag.
Signed-off-by: Bernardo Dal Seno <bdalseno@google....
Bernardo Dal Seno
04:49 pm ganeti-local Revision 6f058bf2: QA: never put a master node offline
Before, it could happen that the master node was chosen to be set offline
in the "instance-remove-drbd-offline" test....
Bernardo Dal Seno
04:49 pm Revision 6f058bf2: QA: never put a master node offline
Before, it could happen that the master node was chosen to be set offline
in the "instance-remove-drbd-offline" test....
Bernardo Dal Seno
04:48 pm ganeti-local Revision e85be22a: Add option to disable iallocator use in QA
By default some QA tests use iallocators. It is now possible to disable
iallocators in QA, so that QA doesn't force h...
Bernardo Dal Seno
04:48 pm Revision e85be22a: Add option to disable iallocator use in QA
By default some QA tests use iallocators. It is now possible to disable
iallocators in QA, so that QA doesn't force h...
Bernardo Dal Seno
04:15 pm ganeti-local Revision 4ab97ef7: 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
04:15 pm ganeti-local Revision 5b27366d: Use network's mac prefix
Modify existing GenerateMAC so that it takes network as an argument.
Substitute _GenerateOneMAC with a decorator _Ge...
Dimitris Aragiorgis
04:15 pm ganeti-local Revision 5a52117f: cfgupgrade for networks
Add networks slot in config data.
Add networks slot in nodegroups.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
04:15 pm ganeti-local Revision 0b95ab93: 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
04:15 pm ganeti-local Revision fca7218a: Pass detailed network info in hooks
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
04:15 pm ganeti-local Revision f71d1807: Change default fields for network listing
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
04:15 pm ganeti-local Revision 269eb7eb: 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
04:00 pm ganeti-local Revision b95d2054: 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
04:00 pm ganeti-local Revision 09b9a917: ss_conf support for networks
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Apollon Oikonomopoulos
04:00 pm ganeti-local Revision a7f860c1: Rapi support for networks
Support:
- GetNetwork(s)
- CreateNetwork
- ConnectNetwork
- DisconnectNetwork
- RemoveNetwork
Signed-off-by: Di...
Dimitris Aragiorgis
04:00 pm ganeti-local Revision ebdc436b: Add gnt-network man page
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Apollon Oikonomopoulos
04:00 pm ganeti-local Revision b246cea8: Basic IP pool management logic
Implement LUs for corresponding opcodes:
* LUNetworkAdd:
- Check for IP validity
- Reserves all necessary IPs
...
Dimitris Aragiorgis
04:00 pm ganeti-local Revision e75d9a84: Implement LUNetworkQuery
Summarily list all existing networks
Supply detailed info for every existing network
- List used/free IPs
- List in...
Apollon Oikonomopoulos
04:00 pm ganeti-local Revision df968b4b: Implement LUNetworkSetParams
Support modifying all network parameters except for network (ip range)
Cannot modify gateway and reserved ips at the ...
Dimitris Aragiorgis
04:00 pm ganeti-local Revision b35374d3: Implement network/nodegroup mappings
LUNetworkConnect() connects a network to a nodegroup and defines
its netparams (mode and link). Specifically:
* Chec...
Dimitris Aragiorgis
04:00 pm ganeti-local Revision 6edb2627: Config methods for reserving/releasing IPs
Use TemporaryReservationManager for IP handling to ensure
config data consistency.
Implement:
- methods for reservi...
Dimitris Aragiorgis
04:00 pm ganeti-local Revision 7cd72916: 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
04:00 pm ganeti-local Revision e01365a8: Modify RemoveInstance() to support networks
Release any IPs held the instance before actually removing.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
04:00 pm ganeti-local Revision 4b8ec2a1: Modify LUInstanceSetParams() to support networks
Keep backwards compatibility just like LUInstanceCreate() and
support network parameter for NIC object.
Add ec_id ar...
Dimitris Aragiorgis
04:00 pm ganeti-local Revision 7e03a8cc: Peripheral changes for networks
Specifically:
* export a new environment variable for the gnt-os-interface
* export a new environment variable for ...
Apollon Oikonomopoulos
04:00 pm ganeti-local Revision b2bbccc6: 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
04:00 pm ganeti-local Revision aebdaa73: IP pool related objects, opcodes and constants
Config objects:
* Introduce L{Network} with
- IPv4 network field (mandatory)
- IPv4 gateway, IPv6 (network/gatew...
Dimitris Aragiorgis
04:00 pm ganeti-local Revision 488e1849: 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
03:34 pm Revision 8bd977e9: Add support for cpu_cap and cpu_weight Xen params
This patch adds support for Xen's CPU scheduler 'cpu_cap' and
'cpu_weight' parameters.
Ganeti default values (cap: 0...
Sébastien Bocahu
03:34 pm ganeti-local Revision 8bd977e9: Add support for cpu_cap and cpu_weight Xen params
This patch adds support for Xen's CPU scheduler 'cpu_cap' and
'cpu_weight' parameters.
Ganeti default values (cap: 0...
Sébastien Bocahu
03:21 pm ganeti-local Revision b0b8337a: Text.hs: update field lists in parseData comments
The comments in parseData had become out of date with the implementations
of load{Group,Node,Inst}. This commit updat...
Dato Simó
03:21 pm Revision b0b8337a: Text.hs: update field lists in parseData comments
The comments in parseData had become out of date with the implementations
of load{Group,Node,Inst}. This commit updat...
Dato Simó
01:53 pm Revision d5cc16d7: Enable conversion of errors constants
These will be needed for the serialisation of errors.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Mic...
Iustin Pop
01:53 pm ganeti-local Revision d5cc16d7: Enable conversion of errors constants
These will be needed for the serialisation of errors.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Mic...
Iustin Pop
01:05 pm Revision 47130d50: LUClusterVerifyGroup: Localize virtual file paths
The check for file consistency didn't properly handle virtual paths
in case of a virtual cluster. This didn't cause a...
Michael Hanselmann
01:05 pm ganeti-local Revision 47130d50: LUClusterVerifyGroup: Localize virtual file paths
The check for file consistency didn't properly handle virtual paths
in case of a virtual cluster. This didn't cause a...
Michael Hanselmann
01:03 pm Revision 18049dad: Cleanup haddock documentation a bit
While grepping for htools imports in the non-htools subdirectory, I
saw that our haddock prologue and title are very ...
Iustin Pop
01:03 pm Revision 4cd79ca8: Cleanup network timeouts and htools imports
This patch removes the last HTools module imports from non-htools code
(the HTools.Types module), but it requires an ...
Iustin Pop
01:03 pm Revision 2d52359b: Cleanup/expand the filter/query tests
This patch cleans up duplicate code in Test.Ganeti.Query.Filter and
then adds a test for names consistency with Pytho...
Iustin Pop
01:03 pm Revision a2ae14e9: Add a helper for query field checks
… and also use it to simplify 'needsLiveData'. Additionally, add an
explicit export list to Ganeti.Query.Types, since...
Iustin Pop
01:03 pm ganeti-local Revision a2ae14e9: Add a helper for query field checks
… and also use it to simplify 'needsLiveData'. Additionally, add an
explicit export list to Ganeti.Query.Types, since...
Iustin Pop
01:03 pm ganeti-local Revision 2d52359b: Cleanup/expand the filter/query tests
This patch cleans up duplicate code in Test.Ganeti.Query.Filter and
then adds a test for names consistency with Pytho...
Iustin Pop
01:03 pm ganeti-local Revision 4cd79ca8: Cleanup network timeouts and htools imports
This patch removes the last HTools module imports from non-htools code
(the HTools.Types module), but it requires an ...
Iustin Pop
01:03 pm ganeti-local Revision 18049dad: Cleanup haddock documentation a bit
While grepping for htools imports in the non-htools subdirectory, I
saw that our haddock prologue and title are very ...
Iustin Pop
01:03 pm Revision 9fbf0098: Enable query socket usage in gnt-node/gnt-group
This switches gnt-node/gnt-group (and their equivalent RAPI resources)
to go over the query socket.
Signed-off-by: I...
Iustin Pop
01:03 pm Revision cd67e337: Add support for classic queries
This patch adds support for classic-style queries (before query2) to
the query socket server. The patch is rather tri...
Iustin Pop
01:03 pm Revision b3d17f52: Add a makeSimpleFilter function
And associated unittests. This will be needed for classic-style
queries.
Signed-off-by: Iustin Pop <iustin@google.co...
Iustin Pop
01:03 pm Revision 5227de56: Fix the node powered field
When initially implementing the node query, I thought the 'powered'
field is a representation of the run-time powered...
Iustin Pop
01:03 pm Revision b04dc242: Simplify a bit queryFields
We don't add a type class for fully-generic handling, but we do
abstract the duplicate part.
Signed-off-by: Iustin P...
Iustin Pop
01:03 pm Revision 90d033ef: Add function for getting a group's merged disk params
… and use it in the Query implementation, removing the last
non-correct query field for Groups.
Signed-off-by: Iusti...
Iustin Pop
01:03 pm Revision 1fc3812c: Switch ordering of names on query to niceSort
This makes the "all" names queries consistent with the Python
results. The change requires updating the unittests, at...
Iustin Pop
01:03 pm Revision a41c337e: Use the new name filtering behaviour in query
We do this not quite generically, which means we have to add
another layer in the call chain, and rename the current ...
Iustin Pop
01:03 pm Revision bc4cdeef: Add functionality for checking validity of names
This replicates in the Haskell Query2 implementation the behaviour of
the Python code: if a "simple" filter is passed...
Iustin Pop
01:03 pm ganeti-local Revision bc4cdeef: Add functionality for checking validity of names
This replicates in the Haskell Query2 implementation the behaviour of
the Python code: if a "simple" filter is passed...
Iustin Pop
01:03 pm ganeti-local Revision a41c337e: Use the new name filtering behaviour in query
We do this not quite generically, which means we have to add
another layer in the call chain, and rename the current ...
Iustin Pop
01:03 pm ganeti-local Revision 1fc3812c: Switch ordering of names on query to niceSort
This makes the "all" names queries consistent with the Python
results. The change requires updating the unittests, at...
Iustin Pop
01:03 pm ganeti-local Revision 90d033ef: Add function for getting a group's merged disk params
… and use it in the Query implementation, removing the last
non-correct query field for Groups.
Signed-off-by: Iusti...
Iustin Pop
01:03 pm ganeti-local Revision b04dc242: Simplify a bit queryFields
We don't add a type class for fully-generic handling, but we do
abstract the duplicate part.
Signed-off-by: Iustin P...
Iustin Pop
01:03 pm ganeti-local Revision 5227de56: Fix the node powered field
When initially implementing the node query, I thought the 'powered'
field is a representation of the run-time powered...
Iustin Pop
01:03 pm ganeti-local Revision b3d17f52: Add a makeSimpleFilter function
And associated unittests. This will be needed for classic-style
queries.
Signed-off-by: Iustin Pop <iustin@google.co...
Iustin Pop
01:03 pm ganeti-local Revision cd67e337: Add support for classic queries
This patch adds support for classic-style queries (before query2) to
the query socket server. The patch is rather tri...
Iustin Pop
01:03 pm ganeti-local Revision 9fbf0098: Enable query socket usage in gnt-node/gnt-group
This switches gnt-node/gnt-group (and their equivalent RAPI resources)
to go over the query socket.
Signed-off-by: I...
Iustin Pop
12:56 pm Revision fe4f6dca: vcluster: Don't virtualize /etc/hosts path
/etc/hosts is a bit special as it's a system-wide file and the virtual
cluster/node root doesn't apply. The modificat...
Michael Hanselmann
12:56 pm ganeti-local Revision fe4f6dca: vcluster: Don't virtualize /etc/hosts path
/etc/hosts is a bit special as it's a system-wide file and the virtual
cluster/node root doesn't apply. The modificat...
Michael Hanselmann
12:56 pm Revision 36683bad: vcluster-setup: Stop hardcoding /etc/hosts
… use a constant instead.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@goog...
Michael Hanselmann
12:56 pm ganeti-local Revision 36683bad: vcluster-setup: Stop hardcoding /etc/hosts
… use a constant instead.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@goog...
Michael Hanselmann
12:56 pm Revision 48967eb0: qa_utils: Stop hardcoding path to /etc/hosts
- Simplified shell command for adding hosts, too
- The exception handling is also improved by re-raising any exceptio...
Michael Hanselmann
12:56 pm ganeti-local Revision 48967eb0: qa_utils: Stop hardcoding path to /etc/hosts
- Simplified shell command for adding hosts, too
- The exception handling is also improved by re-raising any exceptio...
Michael Hanselmann
12:56 pm Revision 72043dac: cli: Stop hardcoding /etc/hosts path
There is a constant for this purpose.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop ...
Michael Hanselmann
12:56 pm ganeti-local Revision 72043dac: cli: Stop hardcoding /etc/hosts path
There is a constant for this purpose.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop ...
Michael Hanselmann
12:56 pm Revision ee045466: Move constant for /etc/hosts to pathutils
Needed for coming patches.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@goo...
Michael Hanselmann
12:56 pm ganeti-local Revision ee045466: Move constant for /etc/hosts to pathutils
Needed for coming patches.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@goo...
Michael Hanselmann
12:55 pm Revision 7ca67731: bash_completion: Fix mistake introduced in merge 6a74f58
This part of the code was duplicated by accident.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by:...
Michael Hanselmann
12:55 pm ganeti-local Revision 7ca67731: bash_completion: Fix mistake introduced in merge 6a74f58
This part of the code was duplicated by accident.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by:...
Michael Hanselmann
12:38 pm Revision 6a74f584: Merge branch 'devel-2.6'
* devel-2.6:
verify-disks: Explicitely state nothing has to be done
Add list of design documents implemented in v...
Michael Hanselmann
12:38 pm ganeti-local Revision 6a74f584: Merge branch 'devel-2.6'
* devel-2.6:
verify-disks: Explicitely state nothing has to be done
Add list of design documents implemented in v...
Michael Hanselmann
12:24 pm Revision c44356fd: Merge branch 'stable-2.6' into devel-2.6
* stable-2.6:
verify-disks: Explicitely state nothing has to be done
Add list of design documents implemented in ...
Michael Hanselmann
12:24 pm ganeti-local Revision c44356fd: Merge branch 'stable-2.6' into devel-2.6
* stable-2.6:
verify-disks: Explicitely state nothing has to be done
Add list of design documents implemented in ...
Michael Hanselmann
12:23 pm Revision 43d51ef2: gnt-job list: Add option to include archived jobs
This provides a convenience option to include archived jobs in the
output list. It's equivalent to using “-o +archive...
Michael Hanselmann
12:23 pm Revision 0422250e: gnt-job: List archived jobs if requested
If requested via a filter or by including the “archived” output,
archived jobs will be loaded and shown. This is sign...
Michael Hanselmann
12:23 pm ganeti-local Revision 0422250e: gnt-job: List archived jobs if requested
If requested via a filter or by including the “archived” output,
archived jobs will be loaded and shown. This is sign...
Michael Hanselmann
12:23 pm ganeti-local Revision 43d51ef2: gnt-job list: Add option to include archived jobs
This provides a convenience option to include archived jobs in the
output list. It's equivalent to using “-o +archive...
Michael Hanselmann
12:23 pm Revision 52aa1efa: query: Report data type for unary operators
All data kinds (used to restrict the data collected) referenced in a
filter can be requested once it's been “compiled...
Michael Hanselmann
12:23 pm Revision 8a3cd185: jqueue: Add new in-memory attribute for archived jobs
This attribute is set to True for jobs which were restored from an
archived file. A new filter will act on this field...
Michael Hanselmann
12:23 pm Revision 4c27b231: jqueue: Correct docstring
The description was not accurate.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <ius...
Michael Hanselmann
12:23 pm ganeti-local Revision 4c27b231: jqueue: Correct docstring
The description was not accurate.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <ius...
Michael Hanselmann
12:23 pm ganeti-local Revision 8a3cd185: jqueue: Add new in-memory attribute for archived jobs
This attribute is set to True for jobs which were restored from an
archived file. A new filter will act on this field...
Michael Hanselmann
12:23 pm ganeti-local Revision 52aa1efa: query: Report data type for unary operators
All data kinds (used to restrict the data collected) referenced in a
filter can be requested once it's been “compiled...
Michael Hanselmann
12:19 pm Revision 9c5b9957: Add htools/ganeti-confd to .gitignore
Sorry, this should have went in b0dcdc10, but I forgot it.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by...
Iustin Pop
12:19 pm ganeti-local Revision 9c5b9957: Add htools/ganeti-confd to .gitignore
Sorry, this should have went in b0dcdc10, but I forgot it.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by...
Iustin Pop
12:15 pm Revision 9b99be28: verify-disks: Explicitely state nothing has to be done
Example output:
$ gnt-cluster verify-disks
Submitted jobs 4327
Waiting for job 4327 ...
No disks need to be activated...
Michael Hanselmann
12:15 pm ganeti-local Revision 9b99be28: verify-disks: Explicitely state nothing has to be done
Example output:
$ gnt-cluster verify-disks
Submitted jobs 4327
Waiting for job 4327 ...
No disks need to be activated...
Michael Hanselmann
12:11 pm Revision 1ca7b773: Add basic unit tests for "gnt-cluster epo"
This patch adds some unit tests for “gnt-cluster epo”. Not everything is
covered, but at least the bug fixed in the p...
Michael Hanselmann
12:11 pm ganeti-local Revision 1ca7b773: Add basic unit tests for "gnt-cluster epo"
This patch adds some unit tests for “gnt-cluster epo”. Not everything is
covered, but at least the bug fixed in the p...
Michael Hanselmann

10/10/2012

07:12 pm Revision 318853ab: Fixup node disk free/total queries
The disk free/total values are optional ones, wrapped in a Maybe, so
we shouldn't directly serialise them. In order t...
Iustin Pop
07:12 pm ganeti-local Revision 318853ab: Fixup node disk free/total queries
The disk free/total values are optional ones, wrapped in a Maybe, so
we shouldn't directly serialise them. In order t...
Iustin Pop
06:28 pm Revision 235a0fa5: (htest) Text.hs: fix typo in comment
Signed-off-by: Dato Simó <dato@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Dato Simó
06:28 pm ganeti-local Revision 235a0fa5: (htest) Text.hs: fix typo in comment
Signed-off-by: Dato Simó <dato@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Dato Simó
03:37 pm Revision 3008f56c: Fix pylint breakage due to unused var in gnt_cluster
The usage of that variable was removed in 45a36f36, but accidentally
the enumerate() was left in.
Signed-off-by: Ius...
Iustin Pop
03:37 pm ganeti-local Revision 3008f56c: Fix pylint breakage due to unused var in gnt_cluster
The usage of that variable was removed in 45a36f36, but accidentally
the enumerate() was left in.
Signed-off-by: Ius...
Iustin Pop
03:03 pm ganeti-local Revision 0ec87781: Fixup hypervisor queries in node query
We need to only query the default (first enabled) hypervisor, not all
hypervisors. For this, we need to add a manual ...
Iustin Pop
03:03 pm Revision 0ec87781: Fixup hypervisor queries in node query
We need to only query the default (first enabled) hypervisor, not all
hypervisors. For this, we need to add a manual ...
Iustin Pop
02:43 pm Revision edb3f937: Fixup node live field names
The String parameter to 'nodeLiveFieldExtract' is the query2 field
name, not the RPC-layer field name. Grrr for not h...
Iustin Pop
02:43 pm ganeti-local Revision edb3f937: Fixup node live field names
The String parameter to 'nodeLiveFieldExtract' is the query2 field
name, not the RPC-layer field name. Grrr for not h...
Iustin Pop
02:43 pm Revision 7ae97c33: Make regex-pcre an optional dependency
This patch makes regex-pcre optional, allowing its disable via a
preprocessor define NO_REGEX_PCRE. This define will ...
Iustin Pop
02:43 pm ganeti-local Revision 7ae97c33: Make regex-pcre an optional dependency
This patch makes regex-pcre optional, allowing its disable via a
preprocessor define NO_REGEX_PCRE. This define will ...
Iustin Pop
02:43 pm ganeti-local Revision 21a5e56c: Improve Haskell configure options and detection
This patch cleans up the Haskell library detection and defaults.
First, it makes the base compiler/libraries requir...
Iustin Pop
02:43 pm Revision 21a5e56c: Improve Haskell configure options and detection
This patch cleans up the Haskell library detection and defaults.
First, it makes the base compiler/libraries requir...
Iustin Pop
02:27 pm Revision 45a36f36: cluster epo: Fix bug where IndexError is raised
Updating the “node_query_list” variable would fail if no arguments were
passed and the “--all” option wasn't specifie...
Michael Hanselmann
02:27 pm ganeti-local Revision 45a36f36: cluster epo: Fix bug where IndexError is raised
Updating the “node_query_list” variable would fail if no arguments were
passed and the “--all” option wasn't specifie...
Michael Hanselmann
02:22 pm Revision 40309ed7: Add list of design documents implemented in version 2.6
Each version should have its dedicated list.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iust...
Michael Hanselmann
02:22 pm ganeti-local Revision 40309ed7: Add list of design documents implemented in version 2.6
Each version should have its dedicated list.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iust...
Michael Hanselmann

10/09/2012

04:58 pm Revision 55837756: Try to auto-enable htools-rapi and split query
We try to automatically enable the htools-rapi and split query (if
confd and htools-rapi are enabled) options. This i...
Iustin Pop
04:58 pm ganeti-local Revision 55837756: Try to auto-enable htools-rapi and split query
We try to automatically enable the htools-rapi and split query (if
confd and htools-rapi are enabled) options. This i...
Iustin Pop
01:46 pm Revision 39d1744a: Fix usage of errors.ResolverError
This exception is documented to have three arguments, but in one case
we raise it with a simple string argument. Let'...
Iustin Pop
01:46 pm ganeti-local Revision 39d1744a: Fix usage of errors.ResolverError
This exception is documented to have three arguments, but in one case
we raise it with a simple string argument. Let'...
Iustin Pop
11:16 am Revision 012f9bc3: Remove unused/deprecated error classes
It seems a few of the error classes are no longer used:
- LVMError, deprecated in 8c5533a5 (before ganeti 1.2.2!)
- ...
Iustin Pop
11:16 am ganeti-local Revision 012f9bc3: Remove unused/deprecated error classes
It seems a few of the error classes are no longer used:
- LVMError, deprecated in 8c5533a5 (before ganeti 1.2.2!)
- ...
Iustin Pop

10/08/2012

06:50 pm Revision 7e2f08ba: Typos and grammar fixes
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Helga Velroyen
06:50 pm ganeti-local Revision 7e2f08ba: Typos and grammar fixes
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Helga Velroyen
04:36 pm ganeti-local Revision 04edfc99: Add an Utils.NiceSort() equivalent
This patch adds a NiceSort equivalent and the corresponding unittest
(partially copied from Python unittest). The dif...
Iustin Pop
04:36 pm Revision 04edfc99: Add an Utils.NiceSort() equivalent
This patch adds a NiceSort equivalent and the corresponding unittest
(partially copied from Python unittest). The dif...
Iustin Pop
02:39 pm ganeti-local Revision b3589802: backend: Use utils.IsBelowDir instead of local code
utils.IsBelowDir is actually tested and doesn't allow writes to
“…/queue*”, like the old code here did.
Signed-off-b...
Michael Hanselmann
02:39 pm Revision b3589802: backend: Use utils.IsBelowDir instead of local code
utils.IsBelowDir is actually tested and doesn't allow writes to
“…/queue*”, like the old code here did.
Signed-off-b...
Michael Hanselmann
02:39 pm Revision 4fdedd09: jstore: Nicer error message on non-numeric file content
An error like “invalid literal for int() with base 10” can be quite
confusing.
Signed-off-by: Michael Hanselmann <ha...
Michael Hanselmann
02:39 pm ganeti-local Revision 4fdedd09: jstore: Nicer error message on non-numeric file content
An error like “invalid literal for int() with base 10” can be quite
confusing.
Signed-off-by: Michael Hanselmann <ha...
Michael Hanselmann
02:20 pm ganeti-local Revision 946e553b: Fixed QA for replace-disks
Bug introduced in commit cc4b14f07: Part of a statement was missing. This
makes pylint-qa fail.
Signed-off-by: Berna...
Bernardo Dal Seno
02:20 pm Revision 946e553b: Fixed QA for replace-disks
Bug introduced in commit cc4b14f07: Part of a statement was missing. This
makes pylint-qa fail.
Signed-off-by: Berna...
Bernardo Dal Seno
02:09 pm Revision 46118ed2: Merge ganeti-master-cleaner back into ganeti-cleaner
As I wrote during/after the review on commit 2958c56, “ganeti-cleaner:
Separate queue cleaning code”, while I appreci...
Iustin Pop
02:09 pm ganeti-local Revision 46118ed2: Merge ganeti-master-cleaner back into ganeti-cleaner
As I wrote during/after the review on commit 2958c56, “ganeti-cleaner:
Separate queue cleaning code”, while I appreci...
Iustin Pop
02:07 pm Revision 416eba57: Improve the confd man page
This was a very very thin man page; this patch expands it a bit, but
it could use more help still.
Signed-off-by: Iu...
Iustin Pop
02:07 pm ganeti-local Revision 416eba57: Improve the confd man page
This was a very very thin man page; this patch expands it a bit, but
it could use more help still.
Signed-off-by: Iu...
Iustin Pop
02:07 pm Revision ecebe9f6: Split the OptComplNumeric into integer/float ones
This allows the command completion to treat them as separate option
types; this is not useful in build-bash-completio...
Iustin Pop
02:07 pm ganeti-local Revision ecebe9f6: Split the OptComplNumeric into integer/float ones
This allows the command completion to treat them as separate option
types; this is not useful in build-bash-completio...
Iustin Pop
02:06 pm Revision f8d01158: Enable bash completion for Haskell daemons too
This requires a few tiny changes to build-bash-completion and to
Makefile rules, but is straightforward.
Signed-off-...
Iustin Pop
02:06 pm ganeti-local Revision f8d01158: Enable bash completion for Haskell daemons too
This requires a few tiny changes to build-bash-completion and to
Makefile rules, but is straightforward.
Signed-off-...
Iustin Pop
02:06 pm Revision 22278fa7: Define the actual arguments that are supported by programs
This defines the arguments supported and then modifies the
--help-completion output to include them too.
Signed-off-...
Iustin Pop
02:06 pm ganeti-local Revision 22278fa7: Define the actual arguments that are supported by programs
This defines the arguments supported and then modifies the
--help-completion output to include them too.
Signed-off-...
Iustin Pop
02:01 pm ganeti-local Revision fad06963: Support the new option types in build-bash-completion
Beside parsing the arguments as well, we also change the serialisation
format for choices/suggests, to make the Pytho...
Iustin Pop
02:01 pm Revision fad06963: Support the new option types in build-bash-completion
Beside parsing the arguments as well, we also change the serialisation
format for choices/suggests, to make the Pytho...
Iustin Pop
02:01 pm ganeti-local Revision a6cdfdcc: Add support for arguments in --help-completion
This extends the current option-only support with support for
arguments too. They are serialised without a without th...
Iustin Pop
02:01 pm Revision a6cdfdcc: Add support for arguments in --help-completion
This extends the current option-only support with support for
arguments too. They are serialised without a without th...
Iustin Pop
12:52 pm Revision dad26941: A few cleanups in Makefile.am
A lot of the lists in Makefile.am were not sorted properly (or at
all); let's sort them for more sanity.
Additionall...
Iustin Pop
12:52 pm ganeti-local Revision dad26941: A few cleanups in Makefile.am
A lot of the lists in Makefile.am were not sorted properly (or at
all); let's sort them for more sanity.
Additionall...
Iustin Pop
12:41 pm ganeti-local Revision db154319: Add missing ipolicy field
This was missing so far…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@googl...
Iustin Pop
12:41 pm Revision db154319: Add missing ipolicy field
This was missing so far…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@googl...
Iustin Pop
12:39 pm Revision 6b84f036: Fixup TAGS generation with newer GHC
Newer GHC refuses to allow "-O" with interactive mode, so let's filter
that out. Furthermore, sometimes you don't hav...
Iustin Pop
12:39 pm ganeti-local Revision 6b84f036: Fixup TAGS generation with newer GHC
Newer GHC refuses to allow "-O" with interactive mode, so let's filter
that out. Furthermore, sometimes you don't hav...
Iustin Pop
12:38 pm Revision a5b270c5: Remove qualified import of Utils.hs into its test module
This is a leftover from the times when we had a single, huge test
module; nowadays it's only an annoyance.
Signed-of...
Iustin Pop
12:38 pm ganeti-local Revision a5b270c5: Remove qualified import of Utils.hs into its test module
This is a leftover from the times when we had a single, huge test
module; nowadays it's only an annoyance.
Signed-of...
Iustin Pop
12:35 pm Revision 26d62e4c: Rename Ganeti/HTools/Utils.hs to Ganeti/Utils.hs
This is, I believe, the last non-htools specific file that still lived
in the htools directory; it's already widely u...
Iustin Pop
12:35 pm ganeti-local Revision 26d62e4c: Rename Ganeti/HTools/Utils.hs to Ganeti/Utils.hs
This is, I believe, the last non-htools specific file that still lived
in the htools directory; it's already widely u...
Iustin Pop
« Previous
Next »
 

Also available in: Atom