Activity

From 03/01/2010 to 03/30/2010

03/30/2010

05:21 pm Revision 33664046: Send "501 Not Implemented" back when method not found
Before this was "400 Bad Request" and thus it didn't reflect
the reality.
Signed-off-by: René Nussbaumer <rn@google....
René Nussbaumer

03/26/2010

03:56 pm Revision e6ce18ac: Adding QA RAPI tests for activate-disks and deactivate-disks calls
* This also adds support for authenticated RAPI calls
* Other HTTP methods than GET/POST
Signed-off-by: René Nussbau...
René Nussbaumer

03/25/2010

02:47 pm Revision b39bf4bb: SerializableConfigParser: Make Loads class indep
Currently SerializableConfigParser.Loads is a static method that returns
a SerializableConfigParser. With this patch ...
Guido Trotter

03/23/2010

06:14 pm Revision 71834b2a: Unbreak command line job submission
A change introduced in 5299e61f modified the contents of
JobExecutor.jobs, missing a place where this tuple was decon...
Guido Trotter
01:04 pm Revision 91e2d9ec: Write grow support for file storage
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
01:04 pm Revision 2c42c5df: Allow file storage to be grown
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
12:21 pm Revision 4f7a6a10: Distribute list of enabled hypervisors in ssconf
This can be used by nodes to know which hypervisors they are supposed to
support.
Signed-off-by: Iustin Pop <iustin@...
Iustin Pop
12:21 pm Revision bbcf7ad0: Extend the hypervisor API with name-only shutdown
Currently the ShutdownInstance method of the hypervisors takes a full
instance object. However, when doing instance s...
Iustin Pop
12:21 pm Revision 10e689d4: Watcher: do not warn for missing hooks dir
If the hooks dir does not exist, do not warn needlessly. This is similar
to commit a9b7e346 (for backend.py).
Signed...
Iustin Pop
12:21 pm Revision 55c85950: Watcher: fix some doc typos
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
11:56 am Revision 24f40363: Merge branch 'devel-2.1'
* devel-2.1:
ganeti-confd: Call pyinotify flags correctly
Fix burnin error when trying to grow a file volume
So...
Guido Trotter
11:31 am Revision 675bf1b7: ganeti-confd: Call pyinotify flags correctly
The "apparently pylint was right" commit.
Although the pyinotify constants work on old distributions, they fail on
n...
Guido Trotter
11:31 am Revision 728489a3: Fix burnin error when trying to grow a file volume
Abstract the growable disk types in a ganeti constants, and only run
disk grow, from burnin, on them.
Signed-off-by:...
Guido Trotter
10:35 am Revision ed904904: Fix backend.VerifyNode behaviour for VG problems
In case LVM is broken, backend.GetVolumeList will raise an RPC exception
(as expected since it's a function exposed o...
Iustin Pop
10:35 am Revision 3a488770: Some epydoc fixes
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
10:35 am Revision 02c521e4: A rewrite of LUClusterVerify
Per issue 90, current cluster verify is very very brittle. It's one of
the oldest pieces of code, with only additions...
Iustin Pop
10:35 am Revision e7b61bb0: Introduce a bool CLI option type
This option type enforces its value to either True or False, relieving
the scripts from manually parsing the values i...
Iustin Pop
10:33 am Revision 2263aec2: Adding missing documentation to make the docs better
Also fixed a typo I noticed.
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer

03/22/2010

08:06 pm Revision cdeefd9b: Remove race condition in FileStorage.Create
Rather than checking that the file doesn't exist, and then creating it,
we create it with O_CREAT | O_EXCL, making su...
Guido Trotter
08:06 pm Revision 263b8de6: KVM: Check instances for actual liveness
Currently if we find a live process with the pid we saved we assume kvm
is alive. What could happen, though, is that ...
Guido Trotter
08:06 pm Revision 4fbb3c60: KVM: improve GetInstanceInfo docstring
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
08:06 pm Revision 284c69f0: Revert "Only override any and all if not defined"
This reverts commit bd5617020a50bcd08269330638d64078c1b30b71.
Turns out our and python's any/all are not compatible....
Guido Trotter
05:25 pm Revision 0a37de5f: Adding RAPI call to deactivate-disks for an instance
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
05:25 pm Revision 2197b66f: Adding RAPI call for activate-disks on an instance
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer

03/18/2010

05:28 pm Revision d8f5a37d: Add a hint to masterd for inconsistent clusters
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
04:29 pm Revision 9d099698: SimpleConfigReader: add docstrings
All non-oneliner functions, after this patch, have their docstring.
Signed-off-by: Guido Trotter <ultrotter@google.c...
Guido Trotter
03:56 pm Revision 791f317d: Merge branch 'devel-2.1'
* devel-2.1:
burnin: implement basic confd testing
AsyncUDPSocket.process_next_packet
WaitForSocketCondition: r...
Guido Trotter
01:39 pm Revision 8496d93c: ConfdClient: add synchronous features
By sending requests with async=False, and receiving replies with
ReceiveReply we can more easily use confd from a syn...
Guido Trotter
01:39 pm Revision d63997b3: Replace @keyword with @param in confd client
@keyword was used inappropriately.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselma...
Guido Trotter
01:39 pm Revision 04cdf663: ConfdCountingCallback
This new confd callback counts received replies for the registered
queries.
Signed-off-by: Guido Trotter <ultrotter@...
Guido Trotter
01:39 pm Revision a619a1dd: burnin: implement basic confd testing
Just a few queries are checked, but this should give us confidence that
at least the basic confd framework is working...
Guido Trotter
01:39 pm Revision dfdc4060: WaitForSocketCondition: rename, handle EINTR
- Rename WaitForSocketCondition to SingleWaitForFdCondition
- Avoid potentially infinite loop, if we continue to ge...
Guido Trotter
01:39 pm Revision 6ddf5c8f: AsyncUDPSocket.process_next_packet
This function allows receiving socket data synchronously.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Review...
Guido Trotter
01:39 pm Revision dcd511c8: move http.WaitForSocketCondition to utils
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
01:38 pm Revision 8216580d: AsyncUDPSocket: abstract do_read function
This basically implements read handling, without catching all
exceptions. When using the socket in synchronous mode, ...
Guido Trotter
01:38 pm Revision be0636e3: Burnin: don't add/remove routed nics
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
01:38 pm Revision bd561702: Only override any and all if not defined
If any or all are already defined (because we're using a new version of
python) just link them inside "utils" rather ...
Guido Trotter

03/17/2010

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
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 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
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 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: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 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 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 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 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 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 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 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: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: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 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 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: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 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 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 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
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
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
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 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 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 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 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 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 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
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 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 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 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 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 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: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 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 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: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
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 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
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 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 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 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 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 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 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
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 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
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 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 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 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 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 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 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
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 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 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 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 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 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 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 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 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: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 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 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 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 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
« Previous
Next »
 

Also available in: Atom