Activity
From 04/12/2010 to 05/11/2010
05/11/2010
- 09:25 pm Revision 5e26633b: Merge branch 'devel-2.1'
- * devel-2.1: (29 commits)
RAPI client: Improve SSL error reporting
RAPI client: Don't check node role in client
... - 08:28 pm Revision 857705e8: RAPI client: Improve SSL error reporting
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 08:27 pm Revision 1068639f: RAPI client: Don't check node role in client
- Only the server knows which node roles can be set via RAPI.
Constants are provided for convenience.
Signed-off-by: M... - 08:27 pm Revision bfc2002f: RAPI client: Update ReplaceInstanceDisks
- - The RAPI client shouldn't check the replacement mode as only
the server knows which ones are valid (constants are... - 08:27 pm Revision fde28316: RAPI client: Fix behaviour of “allocatable” storage flag
- When modifying a storage unit, the “allocatable” flag should default
to “no modification”. This replicates the behavi... - 08:27 pm Revision 10f5ab6c: RAPI client: Encode boolean and None query values
- Boolean values must be passed as 0 or 1. None should be an empty
value ("").
Signed-off-by: Michael Hanselmann <hans... - 08:27 pm Revision 75f53ffe: RAPI client: No longer check storage type locally
- Only the RAPI server (actually masterd) knows which storage types
are valid. The exception can no longer be raised as... - 08:27 pm Revision a198b2d9: RAPI client: Add constant for RAPI version
- This reverts a60e3cb0a partially by moving the RAPI version into a constant.
Signed-off-by: Michael Hanselmann <hans... - 06:04 pm Revision 2771835c: RAPI QA: Use RAPI client
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:04 pm Revision 20b509de: Add RAPI client utility module with RAPI PollJob function
- The RAPI client module shouldn't depend on any Ganeti module, yet it's
useful to have some Ganeti-specific code, like... - 06:04 pm Revision dfc8ad25: RAPI client: Don't assume job IDs to be numeric
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: David Knowles <dknowles@google.com> - 06:04 pm Revision 502f5236: QA: Restore RAPI cert after “gnt-cluster renew-crypto”
- The RAPI tests will depend on the certificate.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iu... - 06:04 pm Revision 49d50e52: QA: Add function create temporary backup file
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:59 pm Revision 8a019a03: RAPI client: Include HTTP error code in GanetiApiError exception
- Having the HTTP error code allows users of the class to act differently based
on the error code.
Signed-off-by: Mich... - 05:58 pm Revision de4f53e6: Support different HTTP error codes in RAPI client unittest mock
- This allows testing error conditions (e.g. if a job wasn't found).
Signed-off-by: Michael Hanselmann <hansmi@google.... - 05:56 pm Revision 09127904: RAPI client: Fix error message for unsupported methods in unittest
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: David Knowles <dknowles@google.com> - 05:31 pm Revision d9b67f70: RAPI client: Allow waiting for job changes
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:31 pm Revision 793a8f7c: RAPI: Allow waiting for job changes
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:31 pm Revision cf9ada49: RAPI client: Rename “DeleteJob” to “CancelJob”
- Jobs can't be deleted, but cancelled (even though the HTTP method
“DELETE” is used).
Signed-off-by: Michael Hanselma... - 05:31 pm Revision cfc03c54: RAPI client: Various code style changes
- - Replace hardcoded values with constants
- Code formatting
- Exception messages without periods and fixed string for... - 05:31 pm Revision 752df8bb: RAPI client: Add missing unittest for RepairNodeStorageUnits
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: David Knowles <dknowles@google.com> - 05:30 pm Revision 768747ed: RAPI client: Always pass _SendRequest args as positional
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: David Knowles <dknowles@google.com> - 05:29 pm Revision ccd6b542: RAPI client: Simplify URL construction
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: David Knowles <dknowles@google.com> - 05:29 pm Revision d3844674: RAPI client: Instantiate JSON encoder only once
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: David Knowles <dknowles@google.com> - 05:29 pm Revision cd577680: RAPI client: Always return job ID
- Even removing tags returns a job ID.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: David Knowle... - 05:27 pm Revision a60e3cb0: RAPI client: Hardcode version in URLs
- If the version changes, the API is likely to change as well. Not
having to ask for the version first makes the code s... - 05:27 pm Revision 9279e986: Remove httplib2 dependency from ganeti.rapi.client
- - It's possible to implement all functionality in ganeti.rapi.client
using Python's standard modules httplib and ur... - 02:01 pm Revision b774bb10: utils.ReadFile: Add parameter to read only one line
- Reading only one line is useful for reading passwords from files. This
also adds unittests for utils.ReadFile.
Signe... - 11:48 am Revision 95f84636: Fix tiny typo in cluster verify
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
05/10/2010
- 07:21 pm Revision dcaabc4f: Fix import/export
- 63bcea2a5 added file checks for import/export, but unfortunately they
were broken.
Signed-off-by: Michael Hanselmann... - 05:17 pm Revision 4e338533: cli: Make PollJob generic to support other protocols
- By separating the LUXI-specific code and stdio-related code
into separate classes, we can make cli.PollJob protocol-
... - 12:44 pm Revision 01144827: Merge branch 'devel-2.1'
- * devel-2.1: (22 commits)
NEWS: fix empty lines
Fix a unittest name and docstring
Force ssh to allocate a tty
... - 12:23 pm Revision 05489142: Fix a unittest name and docstring
- The docstring has been copied by the name, but the name reports a
misspell of the function it is actually testing.
S... - 12:23 pm Revision 507fd05a: NEWS: fix empty lines
- Make sure there are exactly two empty lines between different versions
(rather than 1 or 3).
Signed-off-by: Guido Tr... - 12:15 pm Revision f724a702: Force ssh to allocate a tty
- This is required to avoid the
"Pseudo-terminal will not be allocated because stdin is not a terminal."
ssh error mess... - 12:05 pm Revision 99729b66: Fix a unittest docstring
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com> - 11:56 am Revision 40bc67e1: Retry{Again,Timeout}: explain reraising
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 11:56 am Revision 5ef5ea45: IsProcessAlive: retry stat() a few times
- On multiprocessor dom0 stat() on /proc can sometimes return EINVAL.
Before giving up, we try a few times to get a con... - 11:56 am Revision 506be7c5: utils.Retry: pass up timeout arguments
- If Retry has to fail with RetryTimeout, it might be useful to pass the
Retry argument to RetryTimeout, to help debugg... - 11:56 am Revision 45cc4913: Add a few Retry unittests
- Check that Retry actually times out, and actually retries.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Revie...
05/07/2010
- 05:25 pm Revision 036c7f68: Merge branch 'stable-2.1' into devel-2.1
- * stable-2.1:
Bump version for 2.1.2.1 release
Update NEWS for Ganeti 2.1.2.1
KVM: only export instance tags if... - 05:05 pm Revision 462c9bcf: Bump version for 2.1.2.1 release
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:05 pm Revision 23f983f4: Update NEWS for Ganeti 2.1.2.1
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:14 pm Revision 1cc831ea: KVM: only export instance tags if present
- Currently non-tagged instances fail starting with a TypeError.
Signed-off-by: Guido Trotter <ultrotter@google.com>
R... - 02:34 pm Revision 5bae14d9: ssh.GetUserFiles: move to EnsureDirs
- We also create a generic SECURE_DIR_MODE constant, rather than
hardcoding 0700 in the code.
Signed-off-by: Guido Tro... - 02:34 pm Revision 98c98ab9: Hypervisors: use utils.EnsureDirs
- Swap a few os.mkdir calls with utils.EnsureDirs
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Bal... - 02:34 pm Revision 0a865080: backend: remove a couple of useless mkdir calls
- Those directories must exist for the node daemon to run (it's in the
node daemon's list of ensured directories) and t... - 02:34 pm Revision 5a062513: daemon.GenericMain: fix docstring
- The docstring reports a wrong type for the "dirs" argument. Fixing.
Signed-off-by: Guido Trotter <ultrotter@google.c... - 02:34 pm Revision c33549ef: jstore: use EnsureDirs, and add more constants
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com> - 11:35 am Revision ace6cbe8: Bump version for 2.1.2 release
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
05/06/2010
- 12:57 pm Revision ba538816: Update NEWS file for 2.1.2
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido ...
05/05/2010
- 03:31 pm Revision bdc93557: Add dates to the NEWS file
- Just for easier history digging…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter... - 01:20 pm Revision 8cb70e56: RAPI QA: Test instance creation/removal via RAPI
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:20 pm Revision 94e63ca1: RAPI QA: Support for request body
- - Add support for sending JSON-encoded body to RAPI daemon
(required to test more complex resources)
- Expand names...
05/04/2010
- 08:13 pm Revision f2f88abf: Small fixes for RAPI client
- - Always check SSL certificate for validity
- Actually JSON-encode HTTP content
Signed-off-by: David Knowles <dknowl... - 03:39 pm Revision 63bcea2a: backend: Check paths and always write CA file for import/export daemon
- Once the import/export daemon uses separate users, the node daemon file (which
is used for intra-cluster transfers) m... - 03:38 pm Revision 3718bf6d: Add optional “salt” argument to utils.{,Verify}Sha1Hmac
- We're using salted hashes all over the place.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Gui... - 03:38 pm Revision 615aaaba: Use utility functions for HMAC
- HMAC will be used in more places. Centralizing some parts can't hurt.
Signed-off-by: Michael Hanselmann <hansmi@goog... - 03:38 pm Revision 387794f8: LUExportInstance: Move exporting code to helper class
- This will simplify the implementation of intra-cluster instance
exports and reduces the number of local variables in
... - 03:37 pm Revision c1e7897d: Merge branch 'devel-2.1'
- * devel-2.1:
cfgupgrade: allow working with relative paths
Cleanup /etc/hosts during node removal
verify cluste... - 02:42 pm Revision e2436511: Fix hspace's KM metrics
- We returned the KM_POOL_* metrics as the final state, not as the delta
between the final and the initial state.
05/03/2010
- 06:27 pm Revision 0cddd44d: cfgupgrade: allow working with relative paths
- Since utils.WriteFile requires an absolute path, cfgupgrade needs to
normalize the directory it is given.
Signed-off... - 06:27 pm Revision 745c878a: qa: enable early release during parallel burnin
- With this, the burnin sequence on big clusters should be (much?) faster.
The patch also fixes the parallel setting (b... - 06:27 pm Revision cf29cfb6: Change the migration message
- Let's remove the experimental message (the Ganeti side is stable
nowadays) and replace it with a warning about possib... - 06:27 pm Revision 7672a621: Cleanup /etc/hosts during node removal
- It seems that commit d8470559 dropped the cleanup of /etc/hosts when a
node is removed from the cluster. I don't know... - 06:27 pm Revision 58385fad: verify cluster: check /etc/hosts consistency
- If we are told to modify /etc/hosts, then verify its consistency during
cluster verify.
Signed-off-by: Iustin Pop <i... - 06:14 pm Revision 71d23b33: Fix pylint 0.20.0 warnings
- These seem to be wrong, possibly a regression in pylint.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: ...
04/29/2010
- 04:30 pm Revision 24d70417: Move cmdlib._VerifyCertificate to utils
- This function will also be useful for inter-cluster instance
moves for verifying certificates.
Signed-off-by: Michae...
04/28/2010
- 02:57 pm Revision 87e510fd: KVM: make tags available in KVM_NET_SCRIPT
- Make instance tags available as a space-separated list during the execution of
the network setup script. This allows ... - 02:57 pm Revision 1c69ad80: Remove "ssconf.CheckMasterCandidate"
- This function is not used anymore, so there's no point in keeping it
around.
This reverts commit 3f71b464ad5cdd1f1b5...
04/27/2010
- 05:22 pm Revision 9d198e6f: Improve import/export daemon tests
- - Progress messages
- Log output on errors
- Listen timeout tests
Signed-off-by: Michael Hanselmann <hansmi@google.c... - 05:22 pm Revision 043f2292: Retry connection in import-export daemon
- Until now, exactly one attempt was made to establish a connection.
If it failed, the whole import/export for the disk... - 05:22 pm Revision 29da446a: Use new class for wakeup file descriptor in import/export daemon
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 05:22 pm Revision b9768937: Add wrapper class for signal.set_wrapper_fd
- Managing file descriptors is always a bit tricky. Having this in a separate
class is better.
Signed-off-by: Michael ... - 05:22 pm Revision 4ca693ca: Move some code into separate class in import/export daemon
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
04/26/2010
- 06:02 pm Revision b1ddaad9: Update NEWS file for the 0.2.5 release
- 02:30 pm Revision 1077f25c: Merge branch 'devel-2.1'
- * devel-2.1:
masterd: Log PID, UID and GID of connected client
qa: Use qa_utils.UploadFile to upload rapi_users f...
04/23/2010
- 06:07 pm Revision f93f2016: masterd: Log PID, UID and GID of connected client
- This can be very useful if client programs run as non-root.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Re... - 06:07 pm Revision a62d1901: qa: Use qa_utils.UploadFile to upload rapi_users file
- Just using “echo” would use whatever umask is set in the shell,
in addition to potentially showing the password in th... - 05:50 pm Revision 47f8a2d2: Remove two unused RPC functions
- Both of these functions, “snapshot_export” and “instance_os_import”,
have been replaced by the instance import/export... - 05:50 pm Revision b60ea3ff: cmdlib: Convert instance import to new style
- Use instance data transfer utility to import instances.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Review... - 05:50 pm Revision 4fcb1b59: cmdlib: Convert instance export to new style
- With this change, exports of several disks will occur in parallel. Error
handling has also been improved.
Signed-off... - 05:50 pm Revision 5d97d6dd: cmdlib: Add utility to transfer instance data within the cluster
- This is yet another wrapper around the instance import/export utility
classes, providing an even simpler API for inst... - 05:50 pm Revision 033a1d00: cmdlib: Add utility for instance data import/export
- Interpreting the backend's import/export daemon status is a bit tricky.
This utility code keeps track of multiple tra... - 01:12 pm Revision 747c9ca9: devel/upload: add --no-debug option
- When this option is used the /etc/defaults/ganeti file, which sets all
the daemons in debug mode, is not copied.
Sig...
04/22/2010
- 07:12 pm Revision 6b92f2af: Merge branch 'devel-2.1'
- * devel-2.1:
Add a basic unittest for uidpool.RequestUnusedUid
Factorize LUExportInstance
Use ints instead of s... - 06:16 pm Revision 17f25f78: Add a basic unittest for uidpool.RequestUnusedUid
- Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:55 pm Revision e311ed53: Factorize LUExportInstance
- Apart from moving parts of the code to separate functions, error handling
is also improved by making sure snapshots a... - 04:20 pm Revision c7e4b037: Use ints instead of strings to represent user-ids
- Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 03:16 pm Revision 37549316: Complete what was begun in commit ef40fbfb4
- The X509 certificate RPC functions were also renamed, but I
forgot to rename them in rpc.py. Fortunately they aren't ... - 03:09 pm Revision 53a8da8e: QA: fix reimporting instance with different name
- Since the original instance still exists, we need to use a different MAC
for its NIC.
Signed-off-by: Iustin Pop <ius... - 02:35 pm Revision f81c4737: Add RPC call to send SIGTERM to import/export daemon
- This will be used to stop the daemon without doing complete cleanup (yet).
Signed-off-by: Michael Hanselmann <hansmi... - 02:35 pm Revision ef40fbfb: Rename import/export RPC calls to match others
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:32 pm Revision 14b3f969: Fix broken commit 9e302a8
- Commit 9e302a8 split the StopInstance function in two without properly
duplicating the local variables.
Signed-off-b... - 02:32 pm Revision 2892a4c9: ssh: make quiet configurable
- Currently both CopyFileToNode and BuildCmd hardcode "-q" in the options.
This patch moves this setting as a configura... - 12:35 pm Revision a91143f1: Merge branch 'devel-2.1'
- * devel-2.1:
SSH: do not check IPs
Add separate module for backported language functionality
Add make commit-ch... - 12:11 pm Revision b427788e: SSH: do not check IPs
- Since we use the cluster name for the SSH known_hosts file, ssh will
always detect a changed IP (since we never conne...
04/21/2010
- 08:48 pm Revision cea881e5: Add separate module for backported language functionality
- utils.py, where they were before, is already huge.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by... - 08:24 pm Revision b341b9ca: Add make commit-check target
- distcheck, lint and apidoc. Take three pay only one.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by... - 08:22 pm Revision 9e302a8c: hv_chroot: move unmount to CleanupInstance()
- This allows cleanup to be done properly if the "instance" wasn't running
at all (based on the CleanupInstance framewo... - 08:22 pm Revision 96d1a0c5: LUSetClusterParams: initialize needed parameters
- … since the opcode doesn't auto-initialize to None.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balaz... - 08:22 pm Revision aac0352d: burnin: skip migration based on hypervisor support
- The patch adds selection of hypervisor in burnin (on multi-hypervisor
clusters, we always used the default) and optio... - 08:22 pm Revision d271c6fd: Add a hypervisor constant for migration support
- This variable can be used by other tools to determine in a generic way
whether a given hypervisor supports migration ... - 08:01 pm Revision 74a4c11b: Fix indentation error
- Commit 9cf4321fc39ec36359d9c90b22b36d33b6adc2f4 indented some lines by
4 spaces rather than 2, and was git-amed witho... - 07:26 pm Revision fde0203b: utils: Add function for partial application of function arguments
- The function's code was mostly copied from Python's documentation
and it's equivalent to “functools.partial” in Pytho... - 05:48 pm Revision d4f119bd: gnt-instance info: sort the hv parameters
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:48 pm Revision 5b062a58: Add -usbdevice tablet to KVM when using vnc
- When using VNC, it is recommended to use a tablet-style
input device instead of a mouse. This allows most VNC viewers... - 05:48 pm Revision 9cf4321f: Only use boot=on on non-ide disks only (KVM)
- boot=on implies that KVM boots using extboot. This is only required
to boot non-IDE disks and has the side-effect tha... - 05:48 pm Revision aa0b600b: KVM: fix a bug in _TryReadUidFile
- If the uid pool is not in use _TryReadUidFile will try to return "uid"
even if it hasn't tried to read it at all.
Si... - 04:57 pm Revision debed9ae: utils: Add function to read locked PID file
- This is useful in combination with utils.StartDaemon and will be used for
reading the import/export daemon's PID file... - 04:56 pm Revision dc101ecc: Add ganeti.masterd module
- This will be used to keep masterd-specific code.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: ... - 03:45 pm Revision 693843f9: Fix cfgupgrade's use of GenerateSelfSignedSslCert
- In master, the function GenerateSelfSignedSslCert has been moved to
utils.
Signed-off-by: Iustin Pop <iustin@google.... - 10:23 am Revision cab667cc: Fix RAPI client methods return values
- Ensure that all RAPI client methods that should return job ids actually
return job ids.
Signed-off-by: David Knowles...
04/20/2010
- 07:26 pm Revision f39cd91d: Merge branch 'devel-2.1'
- Conflicts:
doc/security.rst
trivial
lib/cli.py
trivial
Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewe... - 06:45 pm Revision 4e9dcb8a: security.rst: add a KVM security section
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:45 pm Revision 76431533: KVM: implement the HT_SM_POOL security model
- In order not to complicate to much the _ExecuteKVMRuntime function with
nested try/except/finally/else constructs we ... - 06:45 pm Revision 7548396c: KVM: add an instance uid file concept
- If this file exists, for an instance, we release the uid contained
inside back to the uid pool, at instance shutdown.... - 06:45 pm Revision ff20190d: ReleaseUid: accept an integer as uid
- We can't guarantee to keep the LockedObject around, when ReleaseUid is
called (because that might happen, for example... - 06:45 pm Revision 14850c5e: LockedUid: add GetUid() method
- uidpool users that get passed a LockedUid by the uidpool need to know
which one the uid is. Since it's not nice to ma... - 06:45 pm Revision 8904b35c: KVM: move post-shutdown cleanup operations
- Currently putting the cleanup just after the actual shutdown ensures
that it never gets called, due to how the retry/... - 06:45 pm Revision 9d91c6ab: _PrintGroupedParams: sort before printing
- It's a lot easier, when looking at the output, if you can search the
parameter you're looking for alphabetically.
Si... - 01:24 pm Revision f28ec899: Add CleanupInstance hypervisor call
- Currently some hypervisors (namely kvm) need to do some cleanup after
making sure an instance is stopped. With the mo... - 12:38 pm Revision d8aab233: Using the added stop-all functionality from daemon-utils in cluster-merge
- Additionally also move to the RunWhileStopped method for the configuration merger.
Signed-off-by: René Nussbaumer <r... - 12:25 pm Revision cab91cb2: Complete check-man changes from 5fa16422
- Commit 5fa16422 removed the checks at sed time, but only for %.7. We
need to do it for %.8 too.
Signed-off-by: Iusti... - 12:25 pm Revision 9f3ac970: Fix changing the list of enabled hypervisors
- When enabling a new hypervisor, we must ensure that we have its
parameters in the cluster (global) hvparams dictionar... - 12:25 pm Revision ffd91011: Fix a typo commited→committed in gnt-instance.sgml
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 12:11 pm Revision bb579a7d: Fix heading to the one of epydoc
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
04/19/2010
- 06:00 pm Revision f65a637a: Fix gnt-node powercycle documentation
- Fix options description in the documentation for gnt-node powercycle.
Signed-off-by: Luca Bigliardi <shammash@google... - 03:32 pm Revision d3b790bb: Fix a couple of pydoc syntax problems
- Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:38 pm Revision 41b10cf6: uidpool: test the separator= argument
- Also, fix the string quoting style.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Balazs Lecz <le... - 01:15 pm Revision 2f16ea8f: Makefile.am: sort lists, clean *.py[co] from all directories
- *.py[co] were not removed from lib/confd. Removing *.py[co]
from all directories listed in $DIRS can't hurt.
Signed-...
04/16/2010
- 05:13 pm Revision 1513e2dd: Readd node: allow changed primary IP
- The primary IP is not used for DRBD disks, only for the job queue and
internal commands. As such, it's trivial (with ... - 04:24 pm Revision 1651d116: Add RPC calls to import and export instance data
- These RPC calls can be used to start, monitor and stop the instance data
import/export daemon.
Signed-off-by: Michae... - 04:24 pm Revision 2d76b580: Add daemon for instance import and export
- This backend daemon for instance import and export will be used to
transfer instance data to other machines. It is im... - 04:11 pm Revision 89100352: Update gnt-cluster manpage with uid-pool options
- Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 04:11 pm Revision 5833b7e6: Add ExecuteWithUnusedUid() to uidpool.py
- Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 04:11 pm Revision 649bcdd8: Manage the assignment of uids from the uid pool
- Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 04:11 pm Revision 93be53da: Add basic unittests for uid_pool
- Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 04:11 pm Revision 0fbae49a: Add uid_pool to ssconf
- Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 04:10 pm Revision 39b0f0c2: Add --uid-pool option to gnt-cluster init
- Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 04:10 pm Revision 852bbc95: Add printing of uid_pool to gnt-cluster info
- Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 04:10 pm Revision fdad8c4d: Add --add-uids/--remove-uids to gnt-cluster modify
- Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 04:10 pm Revision 1338f2b4: Add --uid-pool option to gnt-cluster modify
- Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 04:10 pm Revision 6d127406: Add lib/uidpool.py module
- Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 04:10 pm Revision 4437d889: Add uid_pool cluster parameter
- Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 04:10 pm Revision 0d0229b5: Add user-id pool design doc
- Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 03:34 pm Revision 409e8ec2: Merge branch 'devel-2.1'
- * devel-2.1:
backend: Consolidate code opening real block device
Signed-off-by: Michael Hanselmann <hansmi@google.... - 03:33 pm Revision f2e07bb4: backend: Consolidate code opening real block device
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:06 pm Revision af2ae1c0: Merge branch 'devel-2.1'
- * devel-2.1:
utils: Add class to split string stream into lines
Fix cluster behaviour with disabled file storage
...
04/15/2010
- 06:24 pm Revision 339be5a8: utils: Add class to split string stream into lines
- This will be used by the new import/export daemon to split
output by its child processes into lines.
Signed-off-by: ... - 05:37 pm Revision 0e3baaf3: Fix cluster behaviour with disabled file storage
- There are a few issues with disabled file storage:
- cluster initialization is broken by default, as it uses the 'no'... - 05:37 pm Revision 454723b5: Update docstrings in tools/ and enable epydoc
- This patch updates the docstrings in tools/ (mostly in lvmstrap, which
is very very old code-base) and then enabled t... - 05:37 pm Revision b5672ea0: Forward-port the ganeti 2.0 cfgupgrade
- 2.1's cfgupgrade doesn't support upgrading from 1.2, only from 2.0.
However, it's trivial to forward-port the 2.0 cfg... - 05:36 pm Revision ea5fd476: Add a new tool: sanitize-config
- This can be used for two purposes:
- safety copy of the config file, with just the secrets changed
- cleanup of the ... - 05:36 pm Revision aeefe835: Fix cfgupgrade with non-default DATA_DIR
- Commit 43575108 added bootstrap.GenerateclusterCrypto and commit
7506a7f1 changed cfgupgrade to use it. However, this... - 05:25 pm Revision 1928a56b: Update hspace man page
- 05:17 pm Revision bd3286e9: hspace: show more metrics
- This patch adds the metrics of used/allocable/unallocable resources.
- 05:16 pm Revision e87a419f: Fix Node hiCpu computation
- In case we're not enabling limits, let's restrict this to -1, instead of
-1 times the number of pcpus. - 12:50 pm Revision 9b8fac3d: Add a new function to compute allocation deltas
- Given two cluster states, the new function can answer the following
questions:
- how much resources currently alloca... - 12:27 pm Revision 86ecce4a: Introduce total vcpu tracking in CStats
- We add a new field that tracks the available virtual cpus (expressed as
node cpus times the vcpu ratio). - 12:08 pm Revision 88394aa7: Improving the RAPI documentation
- * Be more clear about when POST and PUT should be used
* Be more verbose on parameters
* Describe allowed parameter v...
04/14/2010
- 03:44 pm Revision bfefb674: Merge branch 'master' into next
- * master:
Fix iallocator crash when no solutions exist
Fix IAllocator multi-evacuate message
04/13/2010
- 02:21 pm Revision 691e9563: Mark cluster-merge as executable
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
04/12/2010
- 05:53 pm Revision 725ec2f1: QA: Make the rapi credential handling less involving
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 05:15 pm Revision 30198f04: Merge remote branch 'devel-2.1'
- * devel-2.1:
Update import documentation for the recent changes
Add a identify-defaults options for import
Fix ... - 04:57 pm Revision 33ea43b6: Update import documentation for the recent changes
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 04:57 pm Revision e588764d: Add a identify-defaults options for import
- When importing an instance, all the saved valued will be used as
explicitly specified values, overriding the cluster ... - 04:57 pm Revision b6cd72b2: Fix create/import verification of hvparams
- Currently the instance creation checks the cluster hv defaults + the new
parameters for validity, ignoring the os-spe... - 04:57 pm Revision d63479b5: objects.Cluster: add method to get hv defaults
- Currently the FillHV method is the one that does the cluster hvparams +
os hvparams merger. However, in some cases we... - 04:57 pm Revision 0af0f641: Reuse NIC information from export
- If the user doesn't pass any nics in import, do not use a default
one-nic, but instead read the nics from the export ... - 04:57 pm Revision cc0d88e9: Reuse backend parameters from export
- Similar to the previous patches, if we're missing some parameters and
the export has them (either in the new style or... - 04:57 pm Revision 9b12ed0f: Reuse disk information from export
- If the user doesn't pass the disk information on import, automatically
reuse the number and size of disks. This loses... - 04:56 pm Revision 9f88b0e8: Reuse hypervisor parameters in import
- If available, we reuse the parameters from the export info.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-b... - 04:56 pm Revision f276c4b5: Read disk template from export info
- This patch changes the instance import to read the disk template
automatically from the export info, if the opcode do... - 04:56 pm Revision c1c31426: CreateInstance: separate the reading of the export
- We move the reading of the export to a separate function, to simplify
CheckPrepreq and also read it earlier. This wil... - 04:56 pm Revision 22f50b1d: Move code from ExpandNames to CheckPrereq
- This is needed since only in CheckPrereq we have the nodes locked, and
future import enhancements will need to have a... - 04:56 pm Revision 417eabe2: CreateInstance: Move some code to CheckArguments
- ExpandNames holds too much non-locking code (first LU to be converted to
ExpandNames, and we didn't have CheckArgumen... - 04:56 pm Revision 3c8954ad: Export more instance parameters in instance export
- Currently the backend parameters are not exported automatically, but
only a few directly in the '[instance]' section.... - 04:56 pm Revision 6801eb5c: Export the nicparams too during instance export
- The patch tries to export all params (based on the dict defined in
constants), using None for missing keys.
Signed-o... - 04:56 pm Revision 2a518543: Handle errors better for wrong nic_count in export
- This fixes an old 'FIXME' entry.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hans... - 03:53 pm Revision 06fcbaf1: QA: Make sure RAPI credentials are setup on cluster init
- This patch makes sure that the Ganeti RAPI credentials are setup,
if any, on cluster init time.
Signed-off-by: René ... - 12:36 pm Revision e7a25b08: Merge branch 'devel-2.1'
- * devel-2.1:
burnin: only remove instances we actually added
burnin.ExecOrQueue: add post-process function
burn...
Also available in: Atom