Activity

From 02/16/2010 to 03/17/2010

03/17/2010

07:19 pm ganeti-local Revision f942a838: Add RPC calls to create and remove X509 certificates
Certificates and keys generated using these functions will be used for
inter-cluster instance moves. As per design, t...
Michael Hanselmann
07:19 pm Revision f942a838: Add RPC calls to create and remove X509 certificates
Certificates and keys generated using these functions will be used for
inter-cluster instance moves. As per design, t...
Michael Hanselmann
07:05 pm Revision bc85bc75: Merge remote branch 'origin/devel-2.1'
* origin/devel-2.1:
backend: Two small style fixes
Allow cluster copy file over the replication net
Enhance cli...
Michael Hanselmann
07:05 pm ganeti-local Revision bc85bc75: Merge remote branch 'origin/devel-2.1'
* origin/devel-2.1:
backend: Two small style fixes
Allow cluster copy file over the replication net
Enhance cli...
Michael Hanselmann
06:58 pm ganeti-local Revision 56569f4e: backend: Two small style fixes
- Pass keyword parameter as such
- Replace “not x == y” with “x != y”
Signed-off-by: Michael Hanselmann <hansmi@goog...
Michael Hanselmann
06:58 pm Revision 56569f4e: backend: Two small style fixes
- Pass keyword parameter as such
- Replace “not x == y” with “x != y”
Signed-off-by: Michael Hanselmann <hansmi@goog...
Michael Hanselmann
06:22 pm ganeti-local Revision 74adc100: Allow cluster copy file over the replication net
This patch introduces the option “--use-replication-network” for the
cluster copyfile functionality, which is useful ...
Iustin Pop
06:22 pm Revision 74adc100: Allow cluster copy file over the replication net
This patch introduces the option “--use-replication-network” for the
cluster copyfile functionality, which is useful ...
Iustin Pop
06:22 pm Revision e9e26bb3: Enhance cli.GetOnlineNodes query/filtering
This patch allows GetOnlineNodes to return the secondary IPs instead of
the node names, and to provide filtering of t...
Iustin Pop
06:22 pm ganeti-local Revision e9e26bb3: Enhance cli.GetOnlineNodes query/filtering
This patch allows GetOnlineNodes to return the secondary IPs instead of
the node names, and to provide filtering of t...
Iustin Pop
05:18 pm Revision 68857643: utils: Add functions to sign and verify X509 certs using HMAC
Certificates exchanged via an untrusted third party should be
signed to ensure they haven't been modified.
Signed-of...
Michael Hanselmann
05:18 pm ganeti-local Revision 68857643: utils: Add functions to sign and verify X509 certs using HMAC
Certificates exchanged via an untrusted third party should be
signed to ensure they haven't been modified.
Signed-of...
Michael Hanselmann
05:18 pm ganeti-local Revision 3db3eb2a: Add cluster domain secret
Information exchanged between different clusters via untrusted
third parties (e.g. for remote instance import/export)...
Michael Hanselmann
05:18 pm Revision 3db3eb2a: Add cluster domain secret
Information exchanged between different clusters via untrusted
third parties (e.g. for remote instance import/export)...
Michael Hanselmann
04:11 pm Revision 25a8792c: Instance creation: implement --no-install mode
This is a simple patch that adds the no-install mode for instance
creation, allowing import from foreign source of th...
Iustin Pop
04:11 pm ganeti-local Revision 25a8792c: Instance creation: implement --no-install mode
This is a simple patch that adds the no-install mode for instance
creation, allowing import from foreign source of th...
Iustin Pop
04:10 pm Revision 96b39bcc: Allow OS changes without reinstallation
This patch modifies LUSetInstanceParms to allow OS name changes, without
reinstallation, in case an OS gets renamed o...
Iustin Pop
04:10 pm ganeti-local Revision 96b39bcc: Allow OS changes without reinstallation
This patch modifies LUSetInstanceParms to allow OS name changes, without
reinstallation, in case an OS gets renamed o...
Iustin Pop
04:10 pm ganeti-local Revision 231cd901: cmdlib: Abstract OS checks
This patch moves the node-has-os checks to a separate function.
Signed-off-by: Iustin Pop <iustin@google.com>
Review...
Iustin Pop
04:10 pm Revision 231cd901: cmdlib: Abstract OS checks
This patch moves the node-has-os checks to a separate function.
Signed-off-by: Iustin Pop <iustin@google.com>
Review...
Iustin Pop

03/16/2010

04:14 pm ganeti-local Revision c89e6fdf: Merge remote branch 'origin/devel-2.1'
* origin/devel-2.1:
Improve “gnt-cluster renew-crypto”
Fix behaviour of gnt-node modify -C no
Signed-off-by: Mic...
Michael Hanselmann
04:14 pm Revision c89e6fdf: Merge remote branch 'origin/devel-2.1'
* origin/devel-2.1:
Improve “gnt-cluster renew-crypto”
Fix behaviour of gnt-node modify -C no
Signed-off-by: Mic...
Michael Hanselmann
04:05 pm ganeti-local Revision d512e84b: Improve “gnt-cluster renew-crypto”
- Report exception text immediately instead of just logging it
- Remove leftover assertion from when it still used “g...
Michael Hanselmann
04:05 pm Revision d512e84b: Improve “gnt-cluster renew-crypto”
- Report exception text immediately instead of just logging it
- Remove leftover assertion from when it still used “g...
Michael Hanselmann
03:29 pm ganeti-local Revision 8fe9239e: Fix behaviour of gnt-node modify -C no
The current check on whether we require auto_promote or not is wrong, as
we check whether we will have exactly the co...
Iustin Pop
03:29 pm Revision 8fe9239e: Fix behaviour of gnt-node modify -C no
The current check on whether we require auto_promote or not is wrong, as
we check whether we will have exactly the co...
Iustin Pop

03/15/2010

07:00 pm ganeti-local Revision 084aba47: Merge remote branch 'origin/devel-2.1'
* origin/devel-2.1:
Rightname confd's HMAC key
Rename SSL_CERT_FILE to NODED_CERT_FILE
Clarify the error messag...
Michael Hanselmann
07:00 pm Revision 084aba47: Merge remote branch 'origin/devel-2.1'
* origin/devel-2.1:
Rightname confd's HMAC key
Rename SSL_CERT_FILE to NODED_CERT_FILE
Clarify the error messag...
Michael Hanselmann
06:40 pm ganeti-local Revision 168c1de2: Rename SSL_CERT_FILE to NODED_CERT_FILE
To be consistent with RAPI_CERT_FILE, the rather generic named
“SSL_CERT_FILE” constant is renamed to “NODED_CERT_FIL...
Michael Hanselmann
06:40 pm ganeti-local Revision 6b7d5878: Rightname confd's HMAC key
Currently, the ganeti-confd's HMAC key is called “cluster HMAC key” or
simply “HMAC key” everywhere. With the impleme...
Michael Hanselmann
06:40 pm Revision 168c1de2: Rename SSL_CERT_FILE to NODED_CERT_FILE
To be consistent with RAPI_CERT_FILE, the rather generic named
“SSL_CERT_FILE” constant is renamed to “NODED_CERT_FIL...
Michael Hanselmann
06:40 pm Revision 6b7d5878: Rightname confd's HMAC key
Currently, the ganeti-confd's HMAC key is called “cluster HMAC key” or
simply “HMAC key” everywhere. With the impleme...
Michael Hanselmann
06:18 pm ganeti-local Revision 01b6558a: Clarify the error message for ':' in PV names
As described in issue 93, just saying ':' is not a valid char can be
confusing.
Signed-off-by: Iustin Pop <iustin@go...
Iustin Pop
06:18 pm Revision 01b6558a: Clarify the error message for ':' in PV names
As described in issue 93, just saying ':' is not a valid char can be
confusing.
Signed-off-by: Iustin Pop <iustin@go...
Iustin Pop
05:50 pm Revision b701a5df: Merge remote branch 'origin/devel-2.1'
* origin/devel-2.1:
Implement QA tests for disk template changes
Update instance modify documentation
Implement...
Iustin Pop
05:50 pm ganeti-local Revision b701a5df: Merge remote branch 'origin/devel-2.1'
* origin/devel-2.1:
Implement QA tests for disk template changes
Update instance modify documentation
Implement...
Iustin Pop
05:46 pm Revision 7f69aabb: Implement QA tests for disk template changes
The new test depends on the drbd type tests being enabled, and test
conversion to plain and back to drbd.
Signed-off...
Iustin Pop
05:46 pm ganeti-local Revision 7f69aabb: Implement QA tests for disk template changes
The new test depends on the drbd type tests being enabled, and test
conversion to plain and back to drbd.
Signed-off...
Iustin Pop
05:45 pm ganeti-local Revision bbf74a76: Update instance modify documentation
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
05:45 pm Revision bbf74a76: Update instance modify documentation
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
05:38 pm Revision 2f414c48: Implement conversion from drbd to plain
This is much simpler than the opposite, with fewer possibilities of
failures.
Signed-off-by: Iustin Pop <iustin@goog...
Iustin Pop
05:38 pm ganeti-local Revision 2f414c48: Implement conversion from drbd to plain
This is much simpler than the opposite, with fewer possibilities of
failures.
Signed-off-by: Iustin Pop <iustin@goog...
Iustin Pop
05:38 pm Revision e29e9550: Implement conversion from plain to drbd
This patch adds a new mode to instance modify, the changing of the disk
template. For now only plain to drbd conversi...
Iustin Pop
05:38 pm ganeti-local Revision e29e9550: Implement conversion from plain to drbd
This patch adds a new mode to instance modify, the changing of the disk
template. For now only plain to drbd conversi...
Iustin Pop
05:29 pm ganeti-local Revision 31624382: Abstract check that an instance is down
Multiple LUs require that an instance is not running while they operate
on the instance (reinstall, rename, modify, r...
Iustin Pop
05:29 pm Revision 31624382: Abstract check that an instance is down
Multiple LUs require that an instance is not running while they operate
on the instance (reinstall, rename, modify, r...
Iustin Pop
05:29 pm Revision 701384a9: Abstract node free disk space check
Both create instance and grow disk check the free disk space on nodes
using the same, duplicate code. Since we'll nee...
Iustin Pop
05:29 pm ganeti-local Revision 701384a9: Abstract node free disk space check
Both create instance and grow disk check the free disk space on nodes
using the same, duplicate code. Since we'll nee...
Iustin Pop
05:28 pm ganeti-local Revision 5d55819e: Abstract disk template verification
This is a simple check, but we'll need it in multiple places.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed...
Iustin Pop
05:28 pm Revision 5d55819e: Abstract disk template verification
This is a simple check, but we'll need it in multiple places.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed...
Iustin Pop
05:17 pm Revision 17227cd1: Update documentation for disk adoption
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
05:17 pm ganeti-local Revision 17227cd1: Update documentation for disk adoption
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
05:17 pm ganeti-local Revision 5029db65: Implement disk adoption mode in gnt-instance
This patch modifies the parsing of the “--disk” argument to instance
create to accept “adopt” as a valid key, which b...
Iustin Pop
05:17 pm Revision 5029db65: Implement disk adoption mode in gnt-instance
This patch modifies the parsing of the “--disk” argument to instance
create to accept “adopt” as a valid key, which b...
Iustin Pop
05:17 pm ganeti-local Revision c3589cf8: LUCreateInstance: implement disk adoption mode
This new mode, valid only for the plain template disk, allows creation
of an instance based on existing logical volum...
Iustin Pop
05:17 pm Revision c3589cf8: LUCreateInstance: implement disk adoption mode
This new mode, valid only for the plain template disk, allows creation
of an instance based on existing logical volum...
Iustin Pop
05:16 pm ganeti-local Revision d8aee57e: ConfigWriter: add an LV reservation manager
This patch adds an LV reservation manager to be used for LV names. Since
we now have four such managers, we create a ...
Iustin Pop
05:16 pm Revision df4272e5: LUCreateInstance: Move parameter init earlier
This way, the parameters are available in CheckArguments too.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed...
Iustin Pop
05:16 pm Revision d8aee57e: ConfigWriter: add an LV reservation manager
This patch adds an LV reservation manager to be used for LV names. Since
we now have four such managers, we create a ...
Iustin Pop
05:16 pm ganeti-local Revision df4272e5: LUCreateInstance: Move parameter init earlier
This way, the parameters are available in CheckArguments too.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed...
Iustin Pop
04:55 pm ganeti-local Revision 5fa16422: Fix two issues related to check-man
First, we don't need to check man pages at sed time, because this means
everyone building the package will do - we on...
Iustin Pop
04:55 pm Revision 5fa16422: Fix two issues related to check-man
First, we don't need to check man pages at sed time, because this means
everyone building the package will do - we on...
Iustin Pop
04:39 pm ganeti-local Revision 0babc371: utils.RunCmd: Test case with reset_env set and setting variables
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
04:39 pm Revision 0babc371: utils.RunCmd: Test case with reset_env set and setting variables
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
04:25 pm ganeti-local Revision bb3776b4: Merge remote branch 'origin/devel-2.1'
* origin/devel-2.1: (116 commits)
Implement replacing cluster certs and keys via “gnt-cluster renew-crypto”
cli: ...
Michael Hanselmann
04:25 pm Revision bb3776b4: Merge remote branch 'origin/devel-2.1'
* origin/devel-2.1: (116 commits)
Implement replacing cluster certs and keys via “gnt-cluster renew-crypto”
cli: ...
Michael Hanselmann

03/12/2010

05:45 pm ganeti-local Revision 6d4a1656: Implement replacing cluster certs and keys via “gnt-cluster renew-crypto”
Recent changes to “gnt-cluster verify” made it complain on expiring SSL
certificates. While it was possible to replac...
Michael Hanselmann
05:45 pm Revision 6d4a1656: Implement replacing cluster certs and keys via “gnt-cluster renew-crypto”
Recent changes to “gnt-cluster verify” made it complain on expiring SSL
certificates. While it was possible to replac...
Michael Hanselmann
05:45 pm Revision 7e49b6ce: cli: Add helper function to stop and start whole cluster
Replacing cluster certificates and keys requires all cluster daemons to be
shut down. This might also be handy for th...
Michael Hanselmann
05:45 pm ganeti-local Revision 7e49b6ce: cli: Add helper function to stop and start whole cluster
Replacing cluster certificates and keys requires all cluster daemons to be
shut down. This might also be handy for th...
Michael Hanselmann
05:45 pm ganeti-local Revision 7506a7f1: cfgupgrade: Use new bootstrap function for certs and keys
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:45 pm Revision 7506a7f1: cfgupgrade: Use new bootstrap function for certs and keys
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:44 pm ganeti-local Revision 43575108: bootstrap: Add new function to create cluster certs and keys
The code to generate cluster certificates, keys and secrets is currently
spread over several places. It makes sense t...
Michael Hanselmann
05:44 pm Revision 43575108: bootstrap: Add new function to create cluster certs and keys
The code to generate cluster certificates, keys and secrets is currently
spread over several places. It makes sense t...
Michael Hanselmann
05:44 pm Revision 1d466a4f: utils.CreateBackup: Use human-readable instead of seconds since Epoch
Seconds since the Epoch are not easily readable by a human. Using a
formatted timestamp makes it easier (e.g.
“….back...
Michael Hanselmann
05:44 pm ganeti-local Revision 1d466a4f: utils.CreateBackup: Use human-readable instead of seconds since Epoch
Seconds since the Epoch are not easily readable by a human. Using a
formatted timestamp makes it easier (e.g.
“….back...
Michael Hanselmann
05:44 pm ganeti-local Revision 571b34f8: Add unittest for daemon-util
This test doesn't cover everything, but it's better than nothing.
Signed-off-by: Michael Hanselmann <hansmi@google.c...
Michael Hanselmann
05:44 pm Revision 571b34f8: Add unittest for daemon-util
This test doesn't cover everything, but it's better than nothing.
Signed-off-by: Michael Hanselmann <hansmi@google.c...
Michael Hanselmann
05:44 pm ganeti-local Revision e8c8cf1a: Add support for non-Python unittests
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:44 pm Revision e8c8cf1a: Add support for non-Python unittests
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:44 pm Revision a34d8cc0: daemon-util: Generate daemon path in separate function
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:44 pm ganeti-local Revision a34d8cc0: daemon-util: Generate daemon path in separate function
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:44 pm ganeti-local Revision 49d43244: daemon-util: Use “return” instead of “exit” in all functions
This is important if they're called directly within daemon-util.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
05:44 pm Revision 49d43244: daemon-util: Use “return” instead of “exit” in all functions
This is important if they're called directly within daemon-util.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
05:44 pm ganeti-local Revision 2250afb3: daemon-util: Add function to start and stop all daemons
This is, to some degree, duplicated code from the init script. However,
the init script has to conform to standards o...
Michael Hanselmann
05:44 pm Revision 2250afb3: daemon-util: Add function to start and stop all daemons
This is, to some degree, duplicated code from the init script. However,
the init script has to conform to standards o...
Michael Hanselmann
05:44 pm Revision 5d8acbdd: ganeti.initd: Move all daemon names from init script to daemon-util
The list of daemon names will be used in daemon-util, too.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Rev...
Michael Hanselmann
05:44 pm ganeti-local Revision 5d8acbdd: ganeti.initd: Move all daemon names from init script to daemon-util
The list of daemon names will be used in daemon-util, too.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Rev...
Michael Hanselmann
05:44 pm Revision 10c5c1c3: ganeti.initd: Move code checking daemon exit code to daemon-util
This is again for re-using code.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iust...
Michael Hanselmann
05:44 pm ganeti-local Revision 10c5c1c3: ganeti.initd: Move code checking daemon exit code to daemon-util
This is again for re-using code.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iust...
Michael Hanselmann
05:44 pm ganeti-local Revision d2baa21d: ganeti.initd: Move code checking config to daemon-util
This allows for more code re-use. daemon-util will also be used to start
all daemons.
Signed-off-by: Michael Hanselm...
Michael Hanselmann
05:44 pm Revision d2baa21d: ganeti.initd: Move code checking config to daemon-util
This allows for more code re-use. daemon-util will also be used to start
all daemons.
Signed-off-by: Michael Hanselm...
Michael Hanselmann
05:44 pm Revision 7289c16e: daemon-util: Require dashes in commands
Even though the script uses underscores (_) internally, the external
commands are supposed to be written using dashes...
Michael Hanselmann
05:44 pm ganeti-local Revision 7289c16e: daemon-util: Require dashes in commands
Even though the script uses underscores (_) internally, the external
commands are supposed to be written using dashes...
Michael Hanselmann
05:44 pm ganeti-local Revision dd999b06: Improve ganeti.serializer unittests
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:44 pm Revision dd999b06: Improve ganeti.serializer unittests
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:44 pm ganeti-local Revision 3bd19c66: Add unittests for ganeti.errors
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:44 pm Revision 3bd19c66: Add unittests for ganeti.errors
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:44 pm Revision b98bf262: Verify cluster certificates in LUVerifyCluster
When using pyOpenSSL 0.7 or above, LUClusterVerify will start to show a
warning 30 days before a certificate expires....
Michael Hanselmann
05:44 pm ganeti-local Revision b98bf262: Verify cluster certificates in LUVerifyCluster
When using pyOpenSSL 0.7 or above, LUClusterVerify will start to show a
warning 30 days before a certificate expires....
Michael Hanselmann
05:44 pm Revision 27e46076: utils: Add function to extract X509 cert validity
X509 uses ASN1 GENERALIZEDTIME or UTCTIME to store certificate validity.
pyOpenSSL 0.7 and above allow us to retrieve...
Michael Hanselmann
05:44 pm ganeti-local Revision 27e46076: utils: Add function to extract X509 cert validity
X509 uses ASN1 GENERALIZEDTIME or UTCTIME to store certificate validity.
pyOpenSSL 0.7 and above allow us to retrieve...
Michael Hanselmann
05:44 pm ganeti-local Revision d3100055: Add constant with cluster X509 certificates
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:44 pm Revision d3100055: Add constant with cluster X509 certificates
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
03:32 pm Revision 3ab991a4: Merge branch 'stable-2.1' into devel-2.1
* stable-2.1:
Release version 2.1.1
Update NEWS file for the 2.1.1 release
Validate the os-specific hypervisor ...
Iustin Pop
03:32 pm ganeti-local Revision 3ab991a4: Merge branch 'stable-2.1' into devel-2.1
* stable-2.1:
Release version 2.1.1
Update NEWS file for the 2.1.1 release
Validate the os-specific hypervisor ...
Iustin Pop
01:00 pm Revision aeb5cab5: Release version 2.1.1
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
01:00 pm ganeti-local Revision aeb5cab5: Release version 2.1.1
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
11:33 am ganeti-local Revision 0cf5e7f5: Improve cluster verify with hypervisor errors
In case the hypervisor has issues on one node, currently
backend.VerifyNode will exit via an exception (two exit path...
Iustin Pop
11:33 am Revision 0cf5e7f5: Improve cluster verify with hypervisor errors
In case the hypervisor has issues on one node, currently
backend.VerifyNode will exit via an exception (two exit path...
Iustin Pop

03/11/2010

05:45 pm ganeti-local Revision c63355f2: Fix wrong indentation
Sorry…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
05:45 pm Revision c63355f2: Fix wrong indentation
Sorry…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
05:19 pm ganeti-local Revision fca11dec: Adding qa tests for gnt-os modify
This adds basic qa tests for gnt-os modify
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
René Nussbaumer
05:19 pm Revision fca11dec: Adding qa tests for gnt-os modify
This adds basic qa tests for gnt-os modify
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanse...
René Nussbaumer
05:12 pm ganeti-local Revision 919ca415: Extend JobExecutor to allow custom feedback_fn
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
05:12 pm Revision 14947dbc: Switch burnin to cli.JobExecutor
Burnin has a custom job executor, because of its need to retry some job
series.
While we cannot replace all of it, a...
Iustin Pop
05:12 pm Revision 919ca415: Extend JobExecutor to allow custom feedback_fn
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
05:12 pm ganeti-local Revision 14947dbc: Switch burnin to cli.JobExecutor
Burnin has a custom job executor, because of its need to retry some job
series.
While we cannot replace all of it, a...
Iustin Pop
05:12 pm ganeti-local Revision 5299e61f: cli.JobExecutor: poll jobs in execution order
… rather than submission order. The results are still returned in the
submission order, and for this we needed to tra...
Iustin Pop
05:12 pm Revision 5299e61f: cli.JobExecutor: poll jobs in execution order
… rather than submission order. The results are still returned in the
submission order, and for this we needed to tra...
Iustin Pop
05:09 pm ganeti-local Revision 2de64672: Add a partition function to split a list in two
This is similar to the Haskell function, except that the signature is
reverse to match the 'any' and 'all' Python fun...
Iustin Pop
05:09 pm Revision 2de64672: Add a partition function to split a list in two
This is similar to the Haskell function, except that the signature is
reverse to match the 'any' and 'all' Python fun...
Iustin Pop
05:08 pm ganeti-local Revision 1b334175: Improve burnin's Log function
This makes the Log function able to take multiple args for simplified
message construction, similar to the ToStdout o...
Iustin Pop
05:08 pm Revision 1b334175: Improve burnin's Log function
This makes the Log function able to take multiple args for simplified
message construction, similar to the ToStdout o...
Iustin Pop
05:07 pm Revision 92c1b5d6: Fix cluster verify with simulate-errors
In simulate errors mode, the test "ntime_diff is not None" will be
ignored, and thus a None value will try to be form...
Iustin Pop
05:07 pm ganeti-local Revision 92c1b5d6: Fix cluster verify with simulate-errors
In simulate errors mode, the test "ntime_diff is not None" will be
ignored, and thus a None value will try to be form...
Iustin Pop
01:16 pm ganeti-local Revision 1feb39ec: KVM: remove unused variable
We don't need the pwentry when checking if a username exists, just to be
sure the KeyError is not returned. Remove th...
Guido Trotter
01:16 pm Revision 1feb39ec: KVM: remove unused variable
We don't need the pwentry when checking if a username exists, just to be
sure the KeyError is not returned. Remove th...
Guido Trotter
12:45 pm ganeti-local Revision c655522d: Update NEWS file for the 2.1.1 release
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René N...
Iustin Pop
12:45 pm Revision c655522d: Update NEWS file for the 2.1.1 release
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René N...
Iustin Pop
11:03 am ganeti-local Revision cced4c39: Validate the os-specific hypervisor parameters
This adds a validation similar to the one for cluster-wide hypervisor
paramters.
Signed-off-by: Iustin Pop <iustin@g...
Iustin Pop
11:03 am Revision cced4c39: Validate the os-specific hypervisor parameters
This adds a validation similar to the one for cluster-wide hypervisor
paramters.
Signed-off-by: Iustin Pop <iustin@g...
Iustin Pop

03/10/2010

08:08 pm ganeti-local Revision caf39b8a: Document the security_* hypervisor parameters
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
08:08 pm Revision caf39b8a: Document the security_* hypervisor parameters
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
08:07 pm Revision d19d94db: KVM: add security model and domain parameters
Initially we only support the "user" model (in which the user running
the virtual machine can be specified as an addi...
Guido Trotter
08:07 pm ganeti-local Revision d19d94db: KVM: add security model and domain parameters
Initially we only support the "user" model (in which the user running
the virtual machine can be specified as an addi...
Guido Trotter
08:07 pm Revision 3424767f: KVM security: add global constants
These constants add two new kvm hypervisor parameters, specifying the
security model (user/pool) and the security dom...
Guido Trotter
08:07 pm ganeti-local Revision 3424767f: KVM security: add global constants
These constants add two new kvm hypervisor parameters, specifying the
security model (user/pool) and the security dom...
Guido Trotter
07:10 pm ganeti-local Revision f0476905: Update inter-cluster instance move design with HMAC signatures
This also adds a large piece of pseudo code for explanatory purposes.
Signed-off-by: Michael Hanselmann <hansmi@goog...
Michael Hanselmann
07:10 pm Revision f0476905: Update inter-cluster instance move design with HMAC signatures
This also adds a large piece of pseudo code for explanatory purposes.
Signed-off-by: Michael Hanselmann <hansmi@goog...
Michael Hanselmann
04:30 pm Revision 7b64b9ea: Adding unittests for objects.Cluster.FillHV
This adds tests for the stacking of objects.Cluster.FillHV to verify
that the override is working as expected.
Signe...
René Nussbaumer
04:30 pm ganeti-local Revision 7b64b9ea: Adding unittests for objects.Cluster.FillHV
This adds tests for the stacking of objects.Cluster.FillHV to verify
that the override is working as expected.
Signe...
René Nussbaumer
04:12 pm ganeti-local Revision 73a19fcd: Fix man build error on older distributions
Passing <quote> rather than ' avoids having special characters at the
beginning of the line, which man doesn't like.
...
Guido Trotter
04:12 pm Revision 73a19fcd: Fix man build error on older distributions
Passing <quote> rather than ' avoids having special characters at the
beginning of the line, which man doesn't like.
...
Guido Trotter
04:02 pm ganeti-local Revision 6873a52a: http.auth: Disable pylint warnings
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:02 pm Revision 6873a52a: http.auth: Disable pylint warnings
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
03:56 pm ganeti-local Revision 81196341: Implement verify checks for node/instance names
Since we index the nodes and instances by their name, we should have
checks that the dict key to object.name mapping ...
Iustin Pop
03:56 pm Revision 81196341: Implement verify checks for node/instance names
Since we index the nodes and instances by their name, we should have
checks that the dict key to object.name mapping ...
Iustin Pop
02:15 pm Revision 44db3a6f: Fix a python 2.6.5 compatibility
The upcoming python 2.6.5 release has a change that makes delattr(obj,
attr) fail for slots-enabled objects if the at...
Iustin Pop
02:15 pm ganeti-local Revision 44db3a6f: Fix a python 2.6.5 compatibility
The upcoming python 2.6.5 release has a change that makes delattr(obj,
attr) fail for slots-enabled objects if the at...
Iustin Pop
02:09 pm ganeti-local Revision ac620f3a: Document boot_order syntax for kvm
The gnt-instance manpage only contained the correct syntax for xen-pvm.
Specify what the kvm syntax is, and also warn...
Guido Trotter
02:09 pm ganeti-local Revision 84e0863d: KVM: Remove boot restriction for paravirtual nics
Newer virtio can boot from the network perfectly well, so there's no
point in keeping this restriction in place. This...
Guido Trotter
02:09 pm ganeti-local Revision c6a39fc2: KVM: pass the instance name as the first kvm flag
This makes it the first argument show, for example under "ps".
Signed-off-by: Guido Trotter <ultrotter@google.com>
R...
Guido Trotter
02:09 pm Revision c6a39fc2: KVM: pass the instance name as the first kvm flag
This makes it the first argument show, for example under "ps".
Signed-off-by: Guido Trotter <ultrotter@google.com>
R...
Guido Trotter
02:09 pm Revision 84e0863d: KVM: Remove boot restriction for paravirtual nics
Newer virtio can boot from the network perfectly well, so there's no
point in keeping this restriction in place. This...
Guido Trotter
02:09 pm Revision ac620f3a: Document boot_order syntax for kvm
The gnt-instance manpage only contained the correct syntax for xen-pvm.
Specify what the kvm syntax is, and also warn...
Guido Trotter
12:18 pm ganeti-local Revision ab2e463a: Update documentation for hashed passwords
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
12:18 pm Revision ab2e463a: Update documentation for hashed passwords
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
12:18 pm ganeti-local Revision d44ea6a3: http.server: Improve request logging in debug mode
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
12:18 pm Revision d44ea6a3: http.server: Improve request logging in debug mode
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
12:17 pm ganeti-local Revision a8950eb7: Provide unittests for http.auth
To simplify writing unittests, one data structure class in http.server is
also changed. According to the coverage uti...
Michael Hanselmann
12:17 pm Revision a8950eb7: Provide unittests for http.auth
To simplify writing unittests, one data structure class in http.server is
also changed. According to the coverage uti...
Michael Hanselmann
12:17 pm ganeti-local Revision 23ccba04: http.auth: Fix bug with checking hashed passwords
When username and password were sent for a resource not requiring
authentication, it wouldn't be accepted if the user...
Michael Hanselmann
12:17 pm Revision 23ccba04: http.auth: Fix bug with checking hashed passwords
When username and password were sent for a resource not requiring
authentication, it wouldn't be accepted if the user...
Michael Hanselmann

03/09/2010

07:21 pm ganeti-local Revision e721c742: Clarify cluster nic parameters in install.rst
There were a few outdated options specified there. This patch unifies
the description under only one section, and upd...
Guido Trotter
07:21 pm Revision e721c742: Clarify cluster nic parameters in install.rst
There were a few outdated options specified there. This patch unifies
the description under only one section, and upd...
Guido Trotter
06:07 pm ganeti-local Revision 4c61d894: Add the auto_promote option to cli and gnt-node
This allows one to cleanly set a node offline and promote as needed
other nodes.
Signed-off-by: Iustin Pop <iustin@g...
Iustin Pop
06:07 pm Revision 4c61d894: Add the auto_promote option to cli and gnt-node
This allows one to cleanly set a node offline and promote as needed
other nodes.
Signed-off-by: Iustin Pop <iustin@g...
Iustin Pop
06:07 pm ganeti-local Revision 601908d0: Rework the node modify for mc-demotion
The current code in LUSetNodeParms regarding the demotion from master
candidate role is complicated and duplicates th...
Iustin Pop
06:07 pm Revision 601908d0: Rework the node modify for mc-demotion
The current code in LUSetNodeParms regarding the demotion from master
candidate role is complicated and duplicates th...
Iustin Pop
06:03 pm Revision 89e5ab02: Fix node volumes list for stripped volumes
Currently backend.NodeVolumes() drops everything except the first PV,
thus we get a truncated result. The patch is no...
Iustin Pop
06:03 pm ganeti-local Revision 89e5ab02: Fix node volumes list for stripped volumes
Currently backend.NodeVolumes() drops everything except the first PV,
thus we get a truncated result. The patch is no...
Iustin Pop
04:56 pm ganeti-local Revision 6d7b472a: Fix typo that makes cluster verify to ignore hooks
The return from LUVerifyCluster should be True (or equivalent) for pass,
and False (or equivalent) for fail. The Hook...
Iustin Pop
04:56 pm Revision 6d7b472a: Fix typo that makes cluster verify to ignore hooks
The return from LUVerifyCluster should be True (or equivalent) for pass,
and False (or equivalent) for fail. The Hook...
Iustin Pop
04:40 pm ganeti-local Revision e41f4ba0: Fix iallocator crash when no solutions exist
Commit 5436576 added an un-guarded `head' call, which crashes with
“Prelude.head: empty list” when no results exists ...
Iustin Pop
04:40 pm Revision e41f4ba0: Fix iallocator crash when no solutions exist
Commit 5436576 added an un-guarded `head' call, which crashes with
“Prelude.head: empty list” when no results exists ...
Iustin Pop
03:27 pm Revision 6819dc49: Fix redistribute config and offline nodes
We need to manually filter out offline nodes before using
rpc.call_upload_file and rpc.call_write_ssconf_files, since...
Iustin Pop
03:27 pm ganeti-local Revision 6819dc49: Fix redistribute config and offline nodes
We need to manually filter out offline nodes before using
rpc.call_upload_file and rpc.call_write_ssconf_files, since...
Iustin Pop
02:27 pm ganeti-local Revision c56f51ef: Adding documentation for “gnt-os modify”
This finishes the integration of per-os-hypervisor parameters by updating
the man page.
Signed-off-by: René Nussbaum...
René Nussbaumer
02:27 pm Revision c56f51ef: Adding documentation for “gnt-os modify”
This finishes the integration of per-os-hypervisor parameters by updating
the man page.
Signed-off-by: René Nussbaum...
René Nussbaumer
02:27 pm Revision 429ae766: Add “gnt-os modify” for per-os-hypervisor parameters
Introduce “gnt-os modify” command to make it possible to set the
per-os-hypervisor parameters.
Signed-off-by: René N...
René Nussbaumer
02:27 pm ganeti-local Revision 429ae766: Add “gnt-os modify” for per-os-hypervisor parameters
Introduce “gnt-os modify” command to make it possible to set the
per-os-hypervisor parameters.
Signed-off-by: René N...
René Nussbaumer
02:27 pm ganeti-local Revision 664a9d73: Show per-os-hypervisor parameters in “gnt-cluster info”
Let gnt-cluster info show us the per-os-hypervisor parameters.
Signed-off-by: René Nussbaumer <rn@google.com>
Signed...
René Nussbaumer
02:27 pm Revision 664a9d73: Show per-os-hypervisor parameters in “gnt-cluster info”
Let gnt-cluster info show us the per-os-hypervisor parameters.
Signed-off-by: René Nussbaumer <rn@google.com>
Signed...
René Nussbaumer
02:27 pm ganeti-local Revision 17463d22: Add support for per-os-hypervisor parameters
This patch implements all modifications to support per-os-hypervisor
parameters in the framework.
Signed-off-by: Ren...
René Nussbaumer
02:27 pm Revision 17463d22: Add support for per-os-hypervisor parameters
This patch implements all modifications to support per-os-hypervisor
parameters in the framework.
Signed-off-by: Ren...
René Nussbaumer
02:27 pm ganeti-local Revision f9faf9c3: cli: Add ArgOs for later use in gnt-os
Signed-off-by: René Nussbaumer <rn@google.com>
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Mic...
René Nussbaumer
02:27 pm Revision f9faf9c3: cli: Add ArgOs for later use in gnt-os
Signed-off-by: René Nussbaumer <rn@google.com>
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Mic...
René Nussbaumer

03/08/2010

05:50 pm ganeti-local Revision 760570a8: KVM: Fix unintended qemu-level bridging of nics
Each nic should be connected to its own qemu vlan, to avoid them all
bridging together.
Signed-off-by: Timothy Kuhlm...
Timothy Kuhlman
05:50 pm Revision 760570a8: KVM: Fix unintended qemu-level bridging of nics
Each nic should be connected to its own qemu vlan, to avoid them all
bridging together.
Signed-off-by: Timothy Kuhlm...
Timothy Kuhlman
05:15 pm ganeti-local Revision b4478d34: Support passing in file object in utils.FileLock
This way we can re-use file objects opened in other places. Also add more
unittests.
Signed-off-by: Michael Hanselma...
Michael Hanselmann
05:15 pm Revision b4478d34: Support passing in file object in utils.FileLock
This way we can re-use file objects opened in other places. Also add more
unittests.
Signed-off-by: Michael Hanselma...
Michael Hanselmann
05:15 pm ganeti-local Revision bdefe5dd: Support arguments in utils.RunInSeparateProcess
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
05:15 pm Revision cc4c9b91: Convert utils.FileLock to utils.Retry
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
05:15 pm Revision bdefe5dd: Support arguments in utils.RunInSeparateProcess
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
05:15 pm ganeti-local Revision cc4c9b91: Convert utils.FileLock to utils.Retry
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
03:53 pm ganeti-local Revision 44caf5a8: Validate the hostnames at creation time
This patch adds validation of new names used, i.e. at cluster init time,
node add time, and instance creation.
For i...
Iustin Pop
03:53 pm Revision 44caf5a8: Validate the hostnames at creation time
This patch adds validation of new names used, i.e. at cluster init time,
node add time, and instance creation.
For i...
Iustin Pop
03:53 pm Revision 26288e68: Add a function to validate and normalize hostnames
This differs slightly from the specification, by allowing names to start
with digits, not checking the length of indi...
Iustin Pop
03:53 pm ganeti-local Revision 26288e68: Add a function to validate and normalize hostnames
This differs slightly from the specification, by allowing names to start
with digits, not checking the length of indi...
Iustin Pop
03:53 pm ganeti-local Revision 04a69a18: ListVisibleFiles: require normalized path names
This patch changes ListVisibleFiles to raise ProgrammerError if it's
passed a non-absolute/non-normalized path name, ...
Iustin Pop
03:53 pm Revision 04a69a18: ListVisibleFiles: require normalized path names
This patch changes ListVisibleFiles to raise ProgrammerError if it's
passed a non-absolute/non-normalized path name, ...
Iustin Pop
03:52 pm Revision 0411c011: Switch more code to PathJoin
This should remove most of the remaining constructs which can be
replaced by PathJoin.
Signed-off-by: Iustin Pop <iu...
Iustin Pop
03:52 pm ganeti-local Revision 0411c011: Switch more code to PathJoin
This should remove most of the remaining constructs which can be
replaced by PathJoin.
Signed-off-by: Iustin Pop <iu...
Iustin Pop
03:52 pm Revision e51db2a6: Add caller-validation on Disk.StaticDevPath
Since in objects we don't have access to utils.py, we add a warning that
the result value from objects.Disk.StaticDev...
Iustin Pop
03:52 pm ganeti-local Revision e51db2a6: Add caller-validation on Disk.StaticDevPath
Since in objects we don't have access to utils.py, we add a warning that
the result value from objects.Disk.StaticDev...
Iustin Pop
03:52 pm ganeti-local Revision 30786fc9: hv_kvm: remove hard-coded path constructs
This switches hv_kvm to PathJoin. There are still a few cases of direct
path construction, but those _should_ be safe...
Iustin Pop
03:52 pm Revision 30786fc9: hv_kvm: remove hard-coded path constructs
This switches hv_kvm to PathJoin. There are still a few cases of direct
path construction, but those _should_ be safe...
Iustin Pop
03:51 pm Revision 3b80eb2c: hv_fake: remove hard-coded path constructs
This changes to hv_fake to PathJoin.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <...
Iustin Pop
03:51 pm ganeti-local Revision 3b80eb2c: hv_fake: remove hard-coded path constructs
This changes to hv_fake to PathJoin.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <...
Iustin Pop
03:51 pm ganeti-local Revision 6b0391b3: hv_chroot: remove hard-coded path constructs
This patch abstract the computation of an instance's root directory into
a separate function (that uses PathJoin inst...
Iustin Pop
03:51 pm Revision 6b0391b3: hv_chroot: remove hard-coded path constructs
This patch abstract the computation of an instance's root directory into
a separate function (that uses PathJoin inst...
Iustin Pop
03:49 pm Revision 6136f8f0: Add strict name validation for the LVM backend
Currently we don't enforce name validation for the LVM backend, on the
idea that LVM itself will reject invalid names...
Iustin Pop
03:49 pm ganeti-local Revision 6136f8f0: Add strict name validation for the LVM backend
Currently we don't enforce name validation for the LVM backend, on the
idea that LVM itself will reject invalid names...
Iustin Pop
03:49 pm Revision cb7c0198: Implement disabling of file-based storage
Rationale: the file-based storage backend can add/remove files under a
certain directory. However, the master node is...
Iustin Pop
03:49 pm ganeti-local Revision cb7c0198: Implement disabling of file-based storage
Rationale: the file-based storage backend can add/remove files under a
certain directory. However, the master node is...
Iustin Pop
03:48 pm ganeti-local Revision e02b9114: Replace os.path.sep.join(seq) with utils.PathJoin
This is a no-op change, but at least we concentrate the calls to path
joins into a single function.
A use in utils.F...
Iustin Pop
03:48 pm Revision e02b9114: Replace os.path.sep.join(seq) with utils.PathJoin
This is a no-op change, but at least we concentrate the calls to path
joins into a single function.
A use in utils.F...
Iustin Pop
03:48 pm ganeti-local Revision 81a3406c: Abstract OS log names computation
The various OS operations create log files in a specific directory
(constants.LOG_OS_DIR). The construction of the lo...
Iustin Pop
03:48 pm Revision 81a3406c: Abstract OS log names computation
The various OS operations create log files in a specific directory
(constants.LOG_OS_DIR). The construction of the lo...
Iustin Pop
03:48 pm ganeti-local Revision a9b7e346: Remove superfluous warnings in HooksRunner
For non-existing hooks (the majority of cases probably), logging a
warning every time is not helpful. So we first che...
Iustin Pop
03:48 pm Revision a9b7e346: Remove superfluous warnings in HooksRunner
For non-existing hooks (the majority of cases probably), logging a
warning every time is not helpful. So we first che...
Iustin Pop
03:48 pm Revision c4feafe8: Switch from os.path.join to utils.PathJoin
This passes a full burnin with lots of instances, and should be safe as
we mostly to join a known root (various const...
Iustin Pop
03:48 pm ganeti-local Revision c4feafe8: Switch from os.path.join to utils.PathJoin
This passes a full burnin with lots of instances, and should be safe as
we mostly to join a known root (various const...
Iustin Pop
03:46 pm Revision 4bb678e9: utils: Add a PathJoin function
This will replace os.path.join since it is not safe for directory
traversal issues.
Signed-off-by: Iustin Pop <iusti...
Iustin Pop
03:46 pm ganeti-local Revision 4bb678e9: utils: Add a PathJoin function
This will replace os.path.join since it is not safe for directory
traversal issues.
Signed-off-by: Iustin Pop <iusti...
Iustin Pop
03:46 pm ganeti-local Revision 714ea7ca: Add an extra safety layer to _CleanDirectory
In order to protect from accidental use of _CleanDirectory on a random
directory, we add a list of allowed clean dire...
Iustin Pop
03:46 pm Revision 714ea7ca: Add an extra safety layer to _CleanDirectory
In order to protect from accidental use of _CleanDirectory on a random
directory, we add a list of allowed clean dire...
Iustin Pop

03/02/2010

05:56 pm ganeti-local Revision e8022bef: Avoid absolute path for privileged commands
Using absolute path for a privileged command is a bad idea as this path may vary.
For example /usr/sbin/brctl in Debi...
Vitaly Kuznetsov
05:56 pm Revision e8022bef: Avoid absolute path for privileged commands
Using absolute path for a privileged command is a bad idea as this path may vary.
For example /usr/sbin/brctl in Debi...
Vitaly Kuznetsov
05:55 pm ganeti-local Revision b9a6d720: Merge branch 'stable-2.1' into devel-2.1
* stable-2.1:
Make stable release 2.1.0
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer...
Iustin Pop
05:55 pm Revision b9a6d720: Merge branch 'stable-2.1' into devel-2.1
* stable-2.1:
Make stable release 2.1.0
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer...
Iustin Pop
12:34 pm ganeti-local Revision e0cc34e9: Make stable release 2.1.0
It is about time (rc0 was almost four months ago)…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René N...
Iustin Pop
12:34 pm Revision e0cc34e9: Make stable release 2.1.0
It is about time (rc0 was almost four months ago)…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René N...
Iustin Pop

02/26/2010

07:42 pm ganeti-local Revision 001b3825: watcher: Acquire lock early and give more friendly message
By opening the lock file early, other programs can lock the
state file to prevent ganeti-watcher from restarting daem...
Michael Hanselmann
07:42 pm Revision 001b3825: watcher: Acquire lock early and give more friendly message
By opening the lock file early, other programs can lock the
state file to prevent ganeti-watcher from restarting daem...
Michael Hanselmann
04:35 pm Revision 553bd93f: Make SSH_CONFIG_DIR customizable
This patch adds ability to customize ssh config directory with --with-ssh-config-dir
(instead of hardcoded /etc/ssh v...
Vitaly Kuznetsov
04:35 pm ganeti-local Revision 553bd93f: Make SSH_CONFIG_DIR customizable
This patch adds ability to customize ssh config directory with --with-ssh-config-dir
(instead of hardcoded /etc/ssh v...
Vitaly Kuznetsov
04:23 pm Revision 467c1078: Merge branch 'stable-2.1' into devel-2.1
* stable-2.1:
Add NLD constants to Ganeti
Fix two potentially endless loops in http library
Fix bug in LUQueryC...
Guido Trotter
04:23 pm ganeti-local Revision 467c1078: Merge branch 'stable-2.1' into devel-2.1
* stable-2.1:
Add NLD constants to Ganeti
Fix two potentially endless loops in http library
Fix bug in LUQueryC...
Guido Trotter
04:00 pm ganeti-local Revision 4d32feba: Add NLD constants to Ganeti
This avoids the need for them to be injected in the nbma repository.
Signed-off-by: Guido Trotter <ultrotter@google....
Guido Trotter
04:00 pm Revision 4d32feba: Add NLD constants to Ganeti
This avoids the need for them to be injected in the nbma repository.
Signed-off-by: Guido Trotter <ultrotter@google....
Guido Trotter
03:43 pm Revision 3f1cf151: Make pylint happy
I was using a too old version which doesn't got all those. This
patch is fixing the new lint errors.
Signed-off-by: ...
René Nussbaumer
03:43 pm ganeti-local Revision 3f1cf151: Make pylint happy
I was using a too old version which doesn't got all those. This
patch is fixing the new lint errors.
Signed-off-by: ...
René Nussbaumer
03:42 pm Revision be811997: Fix a haddock comment issue
For some versions of haddock, this can create problems. Iustin Pop
03:42 pm ganeti-local Revision be811997: Fix a haddock comment issue
For some versions of haddock, this can create problems. Iustin Pop
03:37 pm ganeti-local Revision 7b8f3fcd: Merge remote branch 'origin/devel-2.0' into devel-2.1
* origin/devel-2.0:
Fix two potentially endless loops in http library
Update NEWS file and bump version to 2.0.6
...
Michael Hanselmann
03:37 pm Revision 7b8f3fcd: Merge remote branch 'origin/devel-2.0' into devel-2.1
* origin/devel-2.0:
Fix two potentially endless loops in http library
Update NEWS file and bump version to 2.0.6
...
Michael Hanselmann
03:36 pm ganeti-local Revision 40a09ee1: Fix two potentially endless loops in http library
The first can be problematic if poll(2) returns POLLHUP|POLLERR on a
socket. Before it would be only be respected for...
Michael Hanselmann
03:36 pm Revision 40a09ee1: Fix two potentially endless loops in http library
The first can be problematic if poll(2) returns POLLHUP|POLLERR on a
socket. Before it would be only be respected for...
Michael Hanselmann
03:20 pm Revision 2826b361: Move watcher's EnsureDaemon function to utils
This is going to be used from the nbma repository, to ensure that the
nld daemon is running.
Signed-off-by: Guido Tr...
Guido Trotter
03:20 pm ganeti-local Revision 2826b361: Move watcher's EnsureDaemon function to utils
This is going to be used from the nbma repository, to ensure that the
nld daemon is running.
Signed-off-by: Guido Tr...
Guido Trotter
02:41 pm ganeti-local Revision 72ca1dcb: Add multi-key support to the serializer
Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Balazs Lecz
02:41 pm ganeti-local Revision 1f7d3f7d: Adding tool for automated cluster-merger
This is the implementation of docs/design-cluster-merger.rst. It allows
the automatic merging of one or more clusters...
René Nussbaumer
02:41 pm Revision 72ca1dcb: Add multi-key support to the serializer
Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Balazs Lecz
02:41 pm Revision 1f7d3f7d: Adding tool for automated cluster-merger
This is the implementation of docs/design-cluster-merger.rst. It allows
the automatic merging of one or more clusters...
René Nussbaumer
02:39 pm ganeti-local Revision 0be13136: Fix two potentially endless loops in http library
The first can be problematic if poll(2) returns POLLHUP|POLLERR on a
socket. Before it would be only be respected for...
Michael Hanselmann
02:39 pm Revision 0be13136: Fix two potentially endless loops in http library
The first can be problematic if poll(2) returns POLLHUP|POLLERR on a
socket. Before it would be only be respected for...
Michael Hanselmann
02:38 pm ganeti-local Revision cac599f1: Fix bug in LUQueryConfigValues
LUQueryConfigValues supports multiple output fields. If the client asked
for the watcher pause status, it would not g...
Michael Hanselmann
02:38 pm Revision cac599f1: Fix bug in LUQueryConfigValues
LUQueryConfigValues supports multiple output fields. If the client asked
for the watcher pause status, it would not g...
Michael Hanselmann
02:24 pm ganeti-local Revision 9e289e36: Add watcher hooks
These hooks are run on all nodes, after the "base" daemons are started.
Signed-off-by: Guido Trotter <ultrotter@goog...
Guido Trotter
02:24 pm Revision 9e289e36: Add watcher hooks
These hooks are run on all nodes, after the "base" daemons are started.
Signed-off-by: Guido Trotter <ultrotter@goog...
Guido Trotter
02:24 pm ganeti-local Revision f1115454: Abstract starting the node daemons
We're using a separate function for this, as we're going to add some
functionality to this feature.
Signed-off-by: G...
Guido Trotter
02:24 pm Revision f1115454: Abstract starting the node daemons
We're using a separate function for this, as we're going to add some
functionality to this feature.
Signed-off-by: G...
Guido Trotter
02:23 pm ganeti-local Revision 46cf6260: ganeti-watcher: remove unused Indent function
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
02:23 pm Revision 46cf6260: ganeti-watcher: remove unused Indent function
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter

02/25/2010

03:47 pm Revision a46f34d7: Abstract instance running states into a list
This removes some manual checks from a few places in the code with a
single list defined once.
Iustin Pop
03:47 pm ganeti-local Revision a46f34d7: Abstract instance running states into a list
This removes some manual checks from a few places in the code with a
single list defined once.
Iustin Pop
03:39 pm Revision 5182e970: A number of small fixes from hlint
Iustin Pop
03:39 pm ganeti-local Revision 5182e970: A number of small fixes from hlint
Iustin Pop
03:16 pm ganeti-local Revision 30bb62ea: Fix typo in LUVerifyCluster when checking node time
The first argument to _ErrorIf should always be True in this case.
Signed-off-by: Michael Hanselmann <hansmi@google....
Michael Hanselmann
03:16 pm Revision 30bb62ea: Fix typo in LUVerifyCluster when checking node time
The first argument to _ErrorIf should always be True in this case.
Signed-off-by: Michael Hanselmann <hansmi@google....
Michael Hanselmann
02:49 pm ganeti-local Revision edb198a0: Add a lint target that uses hlint
Iustin Pop
02:49 pm Revision edb198a0: Add a lint target that uses hlint
Iustin Pop
02:35 pm Revision c939b58e: Fix unused-do-binds for ghc 6.12
GHC 6.12 has some new warnings, which are valid in most cases except
(IMHO) printf usage.
Iustin Pop
02:35 pm ganeti-local Revision c939b58e: Fix unused-do-binds for ghc 6.12
GHC 6.12 has some new warnings, which are valid in most cases except
(IMHO) printf usage.
Iustin Pop
02:34 pm Revision 0903280b: Fix unused imports for ghc 6.12
GHC 6.12 has become more picky about unused imports, so we need to
remove/tighten some of them.
Iustin Pop
02:34 pm ganeti-local Revision 0903280b: Fix unused imports for ghc 6.12
GHC 6.12 has become more picky about unused imports, so we need to
remove/tighten some of them.
Iustin Pop

02/24/2010

05:21 pm Revision ee0cb5b7: Allow overriding the ghc compiler used
… via a GHC make variable. Iustin Pop
05:21 pm ganeti-local Revision ee0cb5b7: Allow overriding the ghc compiler used
… via a GHC make variable. Iustin Pop

02/23/2010

07:11 pm ganeti-local Revision 27e336af: Add make target to generate unittest coverage report
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
07:11 pm Revision 27e336af: Add make target to generate unittest coverage report
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
07:11 pm Revision 371f046c: Fix bug in LUExportInstance
If remove_instance isn't passed to the Opcode, it'll be None. When
generating the hooks environment, the error “int(...
Michael Hanselmann
07:11 pm ganeti-local Revision 371f046c: Fix bug in LUExportInstance
If remove_instance isn't passed to the Opcode, it'll be None. When
generating the hooks environment, the error “int(...
Michael Hanselmann
07:10 pm Revision ba9349b8: hscan: implement LUXI backend scanning
This allows hscan to work also with NO_CURL (but only for the local
machine, of course).
Iustin Pop
07:10 pm ganeti-local Revision ba9349b8: hscan: implement LUXI backend scanning
This allows hscan to work also with NO_CURL (but only for the local
machine, of course).
Iustin Pop
06:31 pm ganeti-local Revision c32b908e: Add unittests for ganeti.opcodes
According to “coverage”, this covers 99% of the code.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
Michael Hanselmann
06:31 pm ganeti-local Revision a9105b24: Catch disk activation errors in watcher
If activating disks fails for some reason, the watcher didn't
catch the exception. With this patch it's caught and lo...
Michael Hanselmann
06:31 pm Revision a9105b24: Catch disk activation errors in watcher
If activating disks fails for some reason, the watcher didn't
catch the exception. With this patch it's caught and lo...
Michael Hanselmann
06:31 pm Revision c32b908e: Add unittests for ganeti.opcodes
According to “coverage”, this covers 99% of the code.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
Michael Hanselmann
02:53 pm Revision 5ab2b771: Loader: abort for unknown to-be-excluded instances
Iustin Pop
02:53 pm ganeti-local Revision 5ab2b771: Loader: abort for unknown to-be-excluded instances
Iustin Pop
02:41 pm Revision fcbf0da4: Enable hbal to use the new command line option
Iustin Pop
02:41 pm ganeti-local Revision fcbf0da4: Enable hbal to use the new command line option
Iustin Pop
02:13 pm ganeti-local Revision c424cdc8: balance function: use the movable flag directly
Instead of deciding based on secondary node, use the new flag. Iustin Pop
02:13 pm Revision c424cdc8: balance function: use the movable flag directly
Instead of deciding based on secondary node, use the new flag. Iustin Pop
02:09 pm Revision 39f979b8: Update the loader pipeline to set the movable flag
This updates the movable flag on instances if they have only one node
(we don't rely on OpMoveInstance) or if they ar...
Iustin Pop
02:09 pm ganeti-local Revision 39f979b8: Update the loader pipeline to set the movable flag
This updates the movable flag on instances if they have only one node
(we don't rely on OpMoveInstance) or if they ar...
Iustin Pop
01:56 pm Revision a182df55: Add a 'movable' flag on instances
This will be used instead of checking for no secondary and for
simplifying 'do not touch' instances.
Iustin Pop
01:56 pm ganeti-local Revision a182df55: Add a 'movable' flag on instances
This will be used instead of checking for no secondary and for
simplifying 'do not touch' instances.
Iustin Pop
11:40 am Revision 10f396e1: Add an option for excluding instances from moves
Iustin Pop
11:40 am ganeti-local Revision 10f396e1: Add an option for excluding instances from moves
Iustin Pop

02/22/2010

06:05 pm ganeti-local Revision 4eea1739: Disable warning for not calling ProcessEvent init
This class doesn't need its constructor to be called.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-b...
Guido Trotter
06:05 pm Revision 4eea1739: Disable warning for not calling ProcessEvent init
This class doesn't need its constructor to be called.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-b...
Guido Trotter
06:02 pm ganeti-local Revision 6bb65e3a: Implement utils.RunParts and use it for hooks
This function is a generic pythonic version of runparts. We currently
use it in the backend HooksRunner, but we'll us...
Guido Trotter
06:02 pm Revision 6bb65e3a: Implement utils.RunParts and use it for hooks
This function is a generic pythonic version of runparts. We currently
use it in the backend HooksRunner, but we'll us...
Guido Trotter
06:02 pm ganeti-local Revision 8b4fe938: Change backend hooks runner to use RunCmd
And save lots of lines of code, in the process
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Mich...
Guido Trotter
06:02 pm Revision 8b4fe938: Change backend hooks runner to use RunCmd
And save lots of lines of code, in the process
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Mich...
Guido Trotter
06:01 pm Revision bf4daac9: Add reset_env option to RunCmd
This allows to run a command with only the passed in environment, rather
than just updating the default one with it.
...
Guido Trotter
06:01 pm ganeti-local Revision bf4daac9: Add reset_env option to RunCmd
This allows to run a command with only the passed in environment, rather
than just updating the default one with it.
...
Guido Trotter
05:56 pm ganeti-local Revision 4403ff8d: Make it possible to pass custom private key path to SshRunner.Run
Signed-off-by: René Nussbaumer <rn@google.com>
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Mic...
René Nussbaumer
05:56 pm Revision 4403ff8d: Make it possible to pass custom private key path to SshRunner.Run
Signed-off-by: René Nussbaumer <rn@google.com>
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Mic...
René Nussbaumer
05:42 pm Revision f4484122: Show message when job is waiting in queue or for locks
Jobs submitted via the standard command line utilities didn't give any
indication that anything is happening while th...
Michael Hanselmann
05:42 pm ganeti-local Revision f4484122: Show message when job is waiting in queue or for locks
Jobs submitted via the standard command line utilities didn't give any
indication that anything is happening while th...
Michael Hanselmann
05:42 pm Revision cb462b06: Handle EAGAIN in LUXI client
If too many clients try to connect to the master at the same time, some of
them might fail if the master doesn't acce...
Michael Hanselmann
05:42 pm ganeti-local Revision cb462b06: Handle EAGAIN in LUXI client
If too many clients try to connect to the master at the same time, some of
them might fail if the master doesn't acce...
Michael Hanselmann
04:19 pm ganeti-local Revision 7ef4d039: Update NEWS file for the 0.2.4 release
Iustin Pop
04:19 pm Revision d06d0636: Update the hail man page
This adds a short note for the new iallocator mode.
Signed-off-by: Iustin Pop <iustin@google.com>
Iustin Pop
04:19 pm Revision 54365762: Implement IAllocator node evacuate request
This patch adds the new request loading/execution (trivial), but the
actual response formatting becomes more difficul...
Iustin Pop
04:19 pm Revision 12b0511d: Add a tryEvac function
This will be used by the node evacuate IAllocator request type.
Signed-off-by: Iustin Pop <iustin@google.com>
Iustin Pop
04:19 pm ganeti-local Revision 12b0511d: Add a tryEvac function
This will be used by the node evacuate IAllocator request type.
Signed-off-by: Iustin Pop <iustin@google.com>
Iustin Pop
04:19 pm ganeti-local Revision 54365762: Implement IAllocator node evacuate request
This patch adds the new request loading/execution (trivial), but the
actual response formatting becomes more difficul...
Iustin Pop
04:19 pm ganeti-local Revision d06d0636: Update the hail man page
This adds a short note for the new iallocator mode.
Signed-off-by: Iustin Pop <iustin@google.com>
Iustin Pop
04:19 pm Revision 7ef4d039: Update NEWS file for the 0.2.4 release
Iustin Pop
04:19 pm Revision 1fe81531: Move a type declaration to Node.hs
We'll need AllocElement in both Cluster and IAlloc in the future, so we
move it to Node.hs which is imported by both....
Iustin Pop
04:19 pm Revision 23f9ab76: Change an internal type from Maybe to list
In preparation for multiple responses, we change from Maybe to List
(both used in the container sense).
This allows ...
Iustin Pop
04:19 pm Revision 20c891d0: IAllocator: move some keys into per-request data
Since not all structures will have these keys in the future, we move
them into per-structure keys.
Signed-off-by: Iu...
Iustin Pop
04:19 pm ganeti-local Revision 1fe81531: Move a type declaration to Node.hs
We'll need AllocElement in both Cluster and IAlloc in the future, so we
move it to Node.hs which is imported by both....
Iustin Pop
04:19 pm ganeti-local Revision 23f9ab76: Change an internal type from Maybe to list
In preparation for multiple responses, we change from Maybe to List
(both used in the container sense).
This allows ...
Iustin Pop
04:19 pm ganeti-local Revision 20c891d0: IAllocator: move some keys into per-request data
Since not all structures will have these keys in the future, we move
them into per-structure keys.
Signed-off-by: Iu...
Iustin Pop
04:19 pm Revision d1296fd9: Document the evac mode
Signed-off-by: Iustin Pop <iustin@google.com> Iustin Pop
04:19 pm ganeti-local Revision d1296fd9: Document the evac mode
Signed-off-by: Iustin Pop <iustin@google.com> Iustin Pop
03:50 pm Revision 2e28ac32: Implement evacuation mode in hbal
This mode restricts the list of instances to be moved to the instances
living on the offline (and drained) nodes.
Si...
Iustin Pop
03:50 pm ganeti-local Revision 2e28ac32: Implement evacuation mode in hbal
This mode restricts the list of instances to be moved to the instances
living on the offline (and drained) nodes.
Si...
Iustin Pop
03:50 pm Revision f0f21ec4: Add an evac mode CLI option
Signed-off-by: Iustin Pop <iustin@google.com> Iustin Pop
03:50 pm ganeti-local Revision f0f21ec4: Add an evac mode CLI option
Signed-off-by: Iustin Pop <iustin@google.com> Iustin Pop
03:50 pm Revision df18fdfe: Reorder options in CLI.hs
This should be no code change, just reordering of the options.
Signed-off-by: Iustin Pop <iustin@google.com>
Iustin Pop
03:50 pm ganeti-local Revision df18fdfe: Reorder options in CLI.hs
This should be no code change, just reordering of the options.
Signed-off-by: Iustin Pop <iustin@google.com>
Iustin Pop
02:50 pm ganeti-local Revision 632fb7ec: Update the IAllocator documentation
This should be rewritten from a 'change document' (e.g. "Ganeti only
supports...") to a 'current implementation docum...
Iustin Pop
02:50 pm Revision 632fb7ec: Update the IAllocator documentation
This should be rewritten from a 'change document' (e.g. "Ganeti only
supports...") to a 'current implementation docum...
Iustin Pop
02:50 pm ganeti-local Revision f8c9fa5c: Switch gnt-node evacuate to the new opcode
This switches gnt-node to the new opcode, and in the process also
enables multi-node arguments for it.
Signed-off-by...
Iustin Pop
02:50 pm Revision f8c9fa5c: Switch gnt-node evacuate to the new opcode
This switches gnt-node to the new opcode, and in the process also
enables multi-node arguments for it.
Signed-off-by...
Iustin Pop
02:50 pm ganeti-local Revision f7e7689f: Add LUNodeEvacuationStrategy
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
02:50 pm Revision f7e7689f: Add LUNodeEvacuationStrategy
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
02:50 pm ganeti-local Revision d6aaa598: Add a new opcode for node evacuation
We add this as a new opcode since we don't want to alter the behaviour
of current opcodes/lus.
Signed-off-by: Iustin...
Iustin Pop
02:50 pm Revision d6aaa598: Add a new opcode for node evacuation
We add this as a new opcode since we don't want to alter the behaviour
of current opcodes/lus.
Signed-off-by: Iustin...
Iustin Pop
02:50 pm Revision 823a72bc: Implement support for mevac in OpTestAllocator
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
02:50 pm ganeti-local Revision 823a72bc: Implement support for mevac in OpTestAllocator
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
02:50 pm ganeti-local Revision 7f60a422: Implement IAllocator multi-evacuate mode
This is a new mode that request a solution for the evacuation of
multiple nodes. The external script will be fed a li...
Iustin Pop
02:50 pm Revision 7f60a422: Implement IAllocator multi-evacuate mode
This is a new mode that request a solution for the evacuation of
multiple nodes. The external script will be fed a li...
Iustin Pop
02:50 pm ganeti-local Revision 680f0a89: Accept both 'nodes' and 'result from iallocator
This patch switches the default result key from 'nodes' to 'result'. The
old name is still accepted for backwards-com...
Iustin Pop
02:50 pm Revision 680f0a89: Accept both 'nodes' and 'result from iallocator
This patch switches the default result key from 'nodes' to 'result'. The
old name is still accepted for backwards-com...
Iustin Pop
02:50 pm ganeti-local Revision 8d3f86a0: Change internal API for the IAllocator class
Currently the 'name' parameter in the constructor is required (as a
non-keyword argument). Since the (to follow) node...
Iustin Pop
02:50 pm Revision 8d3f86a0: Change internal API for the IAllocator class
Currently the 'name' parameter in the constructor is required (as a
non-keyword argument). Since the (to follow) node...
Iustin Pop
02:50 pm Revision 9757cc90: Remove redundant code in IAllocator class
This moves the setting of the request member on the in_data, of the
request type, and of the branching basef on reque...
Iustin Pop
02:50 pm ganeti-local Revision 9757cc90: Remove redundant code in IAllocator class
This moves the setting of the request member on the in_data, of the
request type, and of the branching basef on reque...
Iustin Pop
02:30 pm ganeti-local Revision e0bb431e: Fix lint error in StartDaemon and rename child function
This patch fixes the following pylint error:
W0212:257:StartDaemon: Access to a protected member _exit of a client
cl...
Michael Hanselmann
02:30 pm Revision e0bb431e: Fix lint error in StartDaemon and rename child function
This patch fixes the following pylint error:
W0212:257:StartDaemon: Access to a protected member _exit of a client
cl...
Michael Hanselmann
01:46 pm ganeti-local Revision c1dd99d4: Add utility function to start daemon
The currently available functions in this direction (utils.RunCmd and
utils.Daemonize) both can not be used to start ...
Michael Hanselmann
01:46 pm Revision c1dd99d4: Add utility function to start daemon
The currently available functions in this direction (utils.RunCmd and
utils.Daemonize) both can not be used to start ...
Michael Hanselmann

02/19/2010

05:58 pm ganeti-local Revision 5627f375: bootstrap: Wait for node daemon when adding new node
Until now this was only done for the master node, though
the problem originally fixed in 8f215968 also occurs for
oth...
Michael Hanselmann
05:58 pm Revision 5627f375: bootstrap: Wait for node daemon when adding new node
Until now this was only done for the master node, though
the problem originally fixed in 8f215968 also occurs for
oth...
Michael Hanselmann
04:54 pm ganeti-local Revision bdd5e420: Use OpenSSL module instead of binary to generate certs
This saves us one dependency and saves us from complicated handling of
external files if we need key and certificate ...
Michael Hanselmann
04:54 pm Revision bdd5e420: Use OpenSSL module instead of binary to generate certs
This saves us one dependency and saves us from complicated handling of
external files if we need key and certificate ...
Michael Hanselmann
04:53 pm ganeti-local Revision 92b61ec7: utils.SignalHandler: Add support for handler function
This is useful if something else needs to be notified on signal arrival.
Signed-off-by: Michael Hanselmann <hansmi@g...
Michael Hanselmann
04:53 pm Revision 92b61ec7: utils.SignalHandler: Add support for handler function
This is useful if something else needs to be notified on signal arrival.
Signed-off-by: Michael Hanselmann <hansmi@g...
Michael Hanselmann
04:53 pm Revision 287a1740: utils: Add function to set O_NONBLOCK on file descriptor
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:53 pm ganeti-local Revision 287a1740: utils: Add function to set O_NONBLOCK on file descriptor
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:53 pm ganeti-local Revision 73027ed2: utils: Add function to set FD_CLOEXEC on file descriptor
This will be used by another patch adding a utility function to start a daemon.
Signed-off-by: Michael Hanselmann <h...
Michael Hanselmann
04:53 pm Revision 73027ed2: utils: Add function to set FD_CLOEXEC on file descriptor
This will be used by another patch adding a utility function to start a daemon.
Signed-off-by: Michael Hanselmann <h...
Michael Hanselmann
04:53 pm ganeti-local Revision edcb5d9e: utils: Add function to retry call on EINTR
There are quite a few places where we have to (or should) retry function calls
on EINTR. This utility function simpli...
Michael Hanselmann
04:53 pm Revision edcb5d9e: utils: Add function to retry call on EINTR
There are quite a few places where we have to (or should) retry function calls
on EINTR. This utility function simpli...
Michael Hanselmann

02/18/2010

02:40 pm ganeti-local Revision 69ca2f0b: Merge branch 'devel-2.1'
* devel-2.1:
Reset tempfile module after fork where useful
Move RunInSeparateProcess to ganeti.utils
Add functi...
Michael Hanselmann
02:40 pm Revision 69ca2f0b: Merge branch 'devel-2.1'
* devel-2.1:
Reset tempfile module after fork where useful
Move RunInSeparateProcess to ganeti.utils
Add functi...
Michael Hanselmann
02:22 pm ganeti-local Revision 288d9e01: Merge branch 'stable-2.1' into devel-2.1
* stable-2.1:
Fix ssh host key checking with no-key-check
Michael Hanselmann
02:22 pm Revision 288d9e01: Merge branch 'stable-2.1' into devel-2.1
* stable-2.1:
Fix ssh host key checking with no-key-check
Michael Hanselmann
02:21 pm ganeti-local Revision 82869978: Reset tempfile module after fork where useful
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
02:21 pm Revision 82869978: Reset tempfile module after fork where useful
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
02:21 pm Revision eb58f7bd: Move RunInSeparateProcess to ganeti.utils
This function could be useful in other places and this
way we can easily unittest it.
Signed-off-by: Michael Hanselm...
Michael Hanselmann
02:21 pm ganeti-local Revision eb58f7bd: Move RunInSeparateProcess to ganeti.utils
This function could be useful in other places and this
way we can easily unittest it.
Signed-off-by: Michael Hanselm...
Michael Hanselmann
02:21 pm ganeti-local Revision 055f822b: Add function to reset tempfile module after fork
On fork, the tempfile module's pseudo random generator is
not reset. If several processes (e.g. two children or paren...
Michael Hanselmann
02:21 pm Revision 055f822b: Add function to reset tempfile module after fork
On fork, the tempfile module's pseudo random generator is
not reset. If several processes (e.g. two children or paren...
Michael Hanselmann
12:27 pm ganeti-local Revision e66d9f1a: Fix ssh host key checking with no-key-check
In case we add a node with “--no-ssh-key-check”, this should override
any default yes/ask values in the system-wide (...
Iustin Pop
12:27 pm Revision e66d9f1a: Fix ssh host key checking with no-key-check
In case we add a node with “--no-ssh-key-check”, this should override
any default yes/ask values in the system-wide (...
Iustin Pop

02/17/2010

08:08 pm ganeti-local Revision 61dabca4: Simplify a bit _GetWantedNodes
This should have been done in the _ExpandNodeName patch.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: ...
Iustin Pop
08:08 pm Revision 61dabca4: Simplify a bit _GetWantedNodes
This should have been done in the _ExpandNodeName patch.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: ...
Iustin Pop
06:41 pm Revision 083a91c9: Fix a wrong docstring
There's no such thing as OpProgrammerError (I found this as I wrote it
in code in another place, and pylint complaine...
Iustin Pop
06:41 pm ganeti-local Revision 083a91c9: Fix a wrong docstring
There's no such thing as OpProgrammerError (I found this as I wrote it
in code in another place, and pylint complaine...
Iustin Pop
04:33 pm Revision 7b651654: ganeti-noded: Fix bug when export didn't succeed for all disks
snap_disks can contain boolean values. They weren't handled correctly.
The error message was “Error while executing b...
Michael Hanselmann
04:33 pm ganeti-local Revision 7b651654: ganeti-noded: Fix bug when export didn't succeed for all disks
snap_disks can contain boolean values. They weren't handled correctly.
The error message was “Error while executing b...
Michael Hanselmann
03:07 pm ganeti-local Revision cf26a87a: Remove boiler-plate code about node/instance names
Currently we have lots of duplication of the error-checking (and proper
exception raising) around node/instance name ...
Iustin Pop
03:07 pm Revision cf26a87a: Remove boiler-plate code about node/instance names
Currently we have lots of duplication of the error-checking (and proper
exception raising) around node/instance name ...
Iustin Pop
« Previous
Next »
 

Also available in: Atom