Activity

From 07/10/2010 to 08/08/2010

08/05/2010

08:37 pm Revision fcee765d: Fix bug in bdev when drbd version format is x.x.x.x
This patch fixes a bug reported in [0]. Newer drbd versions can have
another digit beyond the regular major, minor an...
Manuel Franceschini

07/30/2010

10:59 pm Revision 41c44dcf: Bump version to 2.2.0~rc0
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
06:33 pm Revision 40edb0cc: move-instance: Use constants for parameters
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:33 pm Revision cc87d736: Allow instance NIC's IP address to be None
Also add some assertions.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@goog...
Michael Hanselmann
06:33 pm Revision 405241dc: Test instance NIC and disk parameter names
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:33 pm Revision 59525e1f: Add new parameter type “maybe string”
Before strict checking was implemented, NIC IP addresses could be set
to “None”. Commit bd061c35 added more strict ch...
Michael Hanselmann
06:32 pm Revision 71ca6309: cmdlib: Change expected type for source CA on remote import
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: ...
Michael Hanselmann
06:32 pm Revision a59b0dc4: move-instance: Pass OS parameters to new instance
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: ...
Michael Hanselmann
06:21 pm Revision 529a8d17: Update NEWS file for the first release candidate
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
04:43 am Revision aa9f8167: Fix a few job archival issues
This patch fixes two issues with job archival. First, the
LoadJobFromDisk can return 'None' for no-such-job, and we s...
Iustin Pop
02:10 am Revision 78bb78b1: burning: fix handling of empty job sets
If we call burning with only existing instance, then it will fail to
create any of them, and thus in the removal phas...
Iustin Pop
02:09 am Revision 297ddce9: Change semantics of --force-multi for reinstall
Currently, we require both --force and --force-multiple for skipping the
confirmation on instance reinstalls. After o...
Iustin Pop
12:52 am Revision 599ee321: Change handling of non-Ganeti errors in jqueue
Currently, if a job execution raises a Ganeti-specific error (i.e.
subclass of GenericError), then we encode it as (e...
Iustin Pop
12:52 am Revision 4404ffad: Implement gnt-cluster master-ping
This can be used from shell-scripts to quickly check the status of the
master node, before launching a series of jobs...
Iustin Pop

07/29/2010

11:02 pm Revision b8ebd37b: Instance migration: remove error on missing link
Since we don't support upgrades from 1.2.4 without restarting the
instance, the 'not restarted since 1.2.5' check/err...
Iustin Pop
08:50 pm Revision 2c0be3d0: Add check for RAPI paths to start with /2
During a discussion in July 2010 it was decided that we'll stabilize on /2. See
message ID <20100716180012.GA9423@goo...
Michael Hanselmann
04:48 pm Revision a9b144cb: Ensure assertions are evaluated in tests
A lot of assertions are used in Ganeti's code. Some unittests even check
whether AssertionError is raised in some cas...
Michael Hanselmann
04:05 pm Revision fcee9675: RAPI client: The os argument for instance reinstalls is optional
Signed-off-by: David Knowles <dknowles@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
David Knowles
04:05 pm Revision 938bde86: QA: Test instance migration via CLI and RAPI
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:05 pm Revision e0ac6ce6: RAPI client: Support migrating instances
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:05 pm Revision c1cf1fe5: workerpool: Add two additional assertions
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:05 pm Revision b2e8a4d9: workerpool: Change signature of AddTask function to not use *args
By changing it to a normal parameter, which must be a sequence, we can
start using keyword parameters.
Before this p...
Michael Hanselmann
04:05 pm Revision 5823e0d2: RAPI: Support migrating instances
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:05 pm Revision 21c5ad52: workerpool: Move waiting for new tasks for a worker to the pool
This way fewer private variables of the pool are accesssed by the worker.
Signed-off-by: Michael Hanselmann <hansmi@...
Michael Hanselmann
04:05 pm Revision ccedb11b: workerpool: Remove unused worker method
HasRunningTask is never used except for an assertion, where we
don't really need the lock.
Signed-off-by: Michael Ha...
Michael Hanselmann
04:05 pm Revision 2f4e1516: workerpool: Additional check in BaseWorker.ShouldTerminate
Document that it should only be called from within RunTask and
add an assertion for this. This means we can no longer...
Michael Hanselmann
04:05 pm Revision 189d2714: workerpool: Use common function to add tasks
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:02 pm Revision 92c1ea55: Fix install document regarding DRBD usage
This is related to issue 105.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@...
Iustin Pop
04:02 pm Revision b430a54d: Update RAPI documentation for the OS changes
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
07:03 am Revision 57ef88df: Fix a couple of typos in the manpages
Again, thanks to lintian. Iustin Pop

07/28/2010

11:37 pm Revision c28502b1: Rename masterfailover to master-failover
Most (all?) of our commands use dash-separator: replace-disks,
verify-disks, add-tags, etc. “gnt-cluster masterfailov...
Iustin Pop
11:27 pm Revision 130f0966: RAPI: Add os params to instance creation v1
Since the RAPI QA suite doesn't seem to offer easy testing of failed
creations, I didn't add this to the QA. Pointers...
Iustin Pop
11:19 pm Revision 74fa8200: makefile: fix TAGS building
“find .” requires that “-path” arguments start with a dot, otherwise
they are not matches. Additionally, we also incl...
Iustin Pop
11:19 pm Revision 91c622a8: Improve handling of lost jobs
Currently, if the cli.JobExecutor class is being used, and one of the
jobs is being archived before it can check its ...
Iustin Pop
08:16 pm Revision 5a1c22fe: luxi: convert permission errors into exception
This patch adds handling of permission errors so that we don't show
tracebacks when a non-root user runs a gnt-* comm...
Iustin Pop
07:10 pm Revision 6a016df9: cmdlib: Return new name from rename operations
The new name is then displayed by the clients.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Ma...
Michael Hanselmann
06:40 pm Revision 3fe11ba3: gnt-instance rename: Fix bug and rename params
This patch fixes a bug when gnt-instance rename was invoked with
--no-name-check. It renames the internal variables t...
Manuel Franceschini

07/27/2010

09:44 pm Revision 0ca66853: hail: fix error message for failed multi-evac
Currently we show the instance index, but this makes no sense outside
the current running program. Instead, we show t...
Iustin Pop
03:03 am Revision 303bb0ed: NEWS: Add double blank lines before headers
This looks better for text-only viewing… Iustin Pop
03:03 am Revision 84edb64b: Update NEWS file for the 0.2.6 release
Iustin Pop

07/26/2010

05:55 pm Revision 452913ed: QA: add tests for the reserved lvs feature
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
05:55 pm Revision f38ea602: Add modification of the reserved logical volumes
This doesn't allow addition/removal of individual volumes, only
wholesale replace of the entire list. It can be impro...
Iustin Pop
05:54 pm Revision 5a3ab484: Add printing of reserved_lvs in cluster info
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
05:54 pm Revision 999b183c: Introuce a new cluster parameter - reserved_lvs
This parameter, which is a list of regular expression patterns, will
make cluster verify ignore any such LVs. It will...
Iustin Pop
05:50 pm Revision 91492e57: Change the meaning of call_node_start_master
Currently, backend.StartMaster (the function behind this RPC call) will
activate the master IP and then, if the start...
Iustin Pop
05:49 pm Revision 340f4757: masterd: move the IP activation from Exec to Check
Currently, the master IP activation is done in the Exec function. Since
the original masterd process returns after fo...
Iustin Pop
05:45 pm Revision e0e916fe: Move the UsesRPC decorator from cli to rpc
This is needed because not just the cli scripts need this decorator, but
the master daemon too (and it already duplic...
Iustin Pop
05:09 pm Revision f5116c87: watcher: smarter handling of instance records
This patch implements a few changes to the instance handling. First, old
instances which no longer exist on the clust...
Iustin Pop

07/23/2010

08:26 pm Revision 52194140: Update the RAPI node migrate for the 'live' change
This patch adds handling of the new 'mode' parameter to the RAPI server,
while keeping compatibility with the old mod...
Iustin Pop
08:26 pm Revision 1f334d96: Update the RAPI client for the migration mode
See the discussion on the previous patch about this. Basically unless we
want to a add a new 'feature' marking for th...
Iustin Pop
08:26 pm Revision f907fcf2: Fix burnin and live migration
This is breakage from the original 'live' parameter changes.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-...
Iustin Pop
08:26 pm Revision 8c35561f: Rename the OpMigrate* parameter 'live' to 'mode'
This is needed as now the parameter is no longer boolean, but tri-state.
Signed-off-by: Iustin Pop <iustin@google.co...
Iustin Pop
08:26 pm Revision 783a6c0b: Rename migration type to migration mode
This is in preparation for the rename of the opcode 'live' parameter to
'mode'.
Signed-off-by: Iustin Pop <iustin@go...
Iustin Pop
03:19 pm Revision 2ea65c7d: utils: Fix incorrect docstring
Signed-off-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Manuel Franceschini
03:50 am Revision f688711c: hscan: return exit code 2 for RAPI failures
If some clusters failed during RAPI collection, exit with exit code 2 so
that tests can detect this failure.
Iustin Pop
03:32 am Revision b7478ce1: More enhancements to live-test.sh
Iustin Pop

07/22/2010

08:33 pm Revision 089e5e50: Merge branch 'devel-2.1' into master
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
08:21 pm Revision 6e04dc39: Fix issue when changing the disk template to drbd
If we pass the current primary node, the conversion will fail horribly
with LVM creation errors. Instead, we catch an...
Iustin Pop
04:57 pm Revision b8262965: Fix another haddock issue
Iustin Pop
06:03 am Revision 691dcd2a: Remove an obsolete function and add Utils tests
Iustin Pop
03:32 am Revision b880f1d1: Extend the live-test
The (recently-enabled) live test coverage stats found a few low-hanging
fruits in the tests we do…
Iustin Pop
02:27 am Revision 7e9e8245: Use --union for hpc sum
… which fixes the issue noted in the previous commit (almost a brown
paper bag change).
Iustin Pop
01:43 am Revision dc61c50b: Preliminary support for coverage during live-test
While this doesn't work correctly yet (hpc sum seems to only take common
modules, not the sum of modules?), it prepar...
Iustin Pop
01:42 am Revision 2cae47e9: Allow balancing moves to introduce N+1 errors
This patch switches the applyMove function to the extended versions of
Node.addPri and addSec, and passes the overrid...
Iustin Pop
01:42 am Revision 8a3b30ca: Introduce per-metric weights
Currently all metrics have the same weight (we just sum them together).
However, for the hard constraints (N+1 failur...
Iustin Pop
01:42 am Revision 223dbe53: Add some more imports to QC.hs
This is needed so that in the coverage report we list all modules, even
the ones we don't test at all, such that we g...
Iustin Pop
01:42 am Revision c3c7a0c1: Change the meaning of the N+1 fail metric
Currently, this metric tracks the nodes failing the N+1 check. While
this helps (in some cases) to evacuate such node...
Iustin Pop
01:42 am Revision 3e3c9393: Introduce a relaxed add instance mode
In case an instance is living on an offline node, it doesn't make sense
to refuse moving it because that would create...
Iustin Pop

07/21/2010

07:00 pm Revision a3427fe3: Remove a couple of empty design sections
The 2.1 and 2.2 designs contain sections with no actual content, as they
are detailed for each single change. Removin...
Guido Trotter
04:51 pm Revision c9a4a662: Disable 'invalid name' pylint warning for tools/setup-ssh
Signed-off-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Manuel Franceschini
12:34 pm Revision 600535f0: Always set commonName in X509 certificates
Due to the current switch of the RPC client to PycURL, a bug with newer
versions of libcurl surfaced. When the 'Subje...
Manuel Franceschini

07/20/2010

12:34 pm Revision 05cd934d: Adding tool to setup SSH on a remote host
This prepares the remote node to be joined into a cluster
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by...
René Nussbaumer
12:34 pm Revision a40b1fc4: Adding new (optional) dependency to configure.ac
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
12:34 pm Revision 2089573e: Adding constants for setup-ssh
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
12:34 pm Revision 3727671e: Change AddAuthorizedKey to also allow filehandles
This is required to use this function over paramiko
sftp file handles.
Signed-off-by: René Nussbaumer <rn@google.com...
René Nussbaumer

07/19/2010

05:36 pm Revision 2a73861a: Update .gitignore for vcs-version
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
04:49 pm Revision 8306e0e4: RAPI client: Encode empty body to JSON
If the body consists of an empty dict, it should also be encoded.
Signed-off-by: Michael Hanselmann <hansmi@google.c...
Michael Hanselmann
04:24 pm Revision 84a12e40: Introduce git reference/tag tracking for debugging
This patch adds a new vcs-version file that is generated via git (and
can be adapted if VCS is changed) and then embe...
Iustin Pop
02:20 pm Revision fb33aaaf: Remove an obsolete function
printSolution is no longer used, as we print the solution iteratively
now.
Iustin Pop
02:20 pm Revision 2849670b: Remove obsolete Container.maxNameLen
This was only used in one place (hbal), and is obsolete by the change to
the dual name/alias structure.
Iustin Pop
02:20 pm Revision 14c972c7: hbal: print short names in steps list
This was a regression from the name handling changes, as we started
using the original names for the solution list (w...
Iustin Pop
12:13 am Revision 6dfa04fd: Allow '+' in node list fields
When the field list is prefixed with a plus sign, this will extend the
default field list, instead of replacing it en...
Iustin Pop
12:13 am Revision 16f08e82: Update the node list fields
This patch renames the pri/sec to pcnt/scnt, and adds the real primary
and secondary instance lists, the peermap and ...
Iustin Pop
12:13 am Revision 124b7cd7: Cleanup a node's peer map when possible
If the last secondary instance of a peer is deleted (detected by the new
peer memory value being equal to zero), then...
Iustin Pop

07/16/2010

09:31 pm Revision f9acea10: Fix handling of offline options and short names
This needs to be abstracted in a separate function, but in the meantime
we fix the issue in both places.
Signed-off-...
Iustin Pop
06:59 pm Revision 0ad22aab: Fix epydoc warning "Lists must be indented."
Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Luca Bigliardi
06:18 pm Revision 33231500: Convert RPC client to PycURL
Instead of using our custom HTTP client, using PycURL's multi
interface allows us to get rid of the HTTP client threa...
Michael Hanselmann
04:56 pm Revision 7f93570a: Implement lock names for debugging purposes
This patch adds lock names to SharedLocks and LockSets, that can be used
later for displaying the actual locks being ...
Iustin Pop
04:10 pm Revision e0c9743d: Merge branch 'devel-2.1'
* devel-2.1:
Bump up version to release 2.1.6
Update NEWS file for 2.1.6
Conflicts:
NEWS
- merge
configure....
Guido Trotter
03:11 pm Revision a1d8344b: Bump up version to release 2.1.6
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
03:10 pm Revision ae828011: Update NEWS file for 2.1.6
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
03:05 pm Revision 067d927b: Fix pylint complaints introduced in commit e58f87a958c
Due to a small mistake I missed three non-critical pylint complaints for
commit e58f87a958c. They're fixed with this ...
Michael Hanselmann
12:48 pm Revision e3ed5316: LXC: Add cpu_mask hypervisor parameter
Also implement syntax checking.
Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Iustin Pop <iustin@google...
Balazs Lecz
12:47 pm Revision 31155d60: Add ParseCpuMask() utility function
Also adds a generic ParseError exception.
Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Michael Hanselm...
Balazs Lecz
10:46 am Revision e71b9ef4: Add a migration type global hypervisor parameter
Since migration live/non-live is more stable (e.g.) for Xen-PVM versus
Xen-HVM, we introduce a new parameter for what...
Iustin Pop

07/15/2010

07:27 pm Revision e58f87a9: Add test for some aspects of job queue
This new opcode and gnt-debug sub-command test some aspects of the
job queue, including the status of a job. The bug ...
Michael Hanselmann
07:18 pm Revision 9dd6889b: LUVerifyCluster: update _ValidateNode description
Change _ValidateNode description to reflect what the function actually does.
Signed-off-by: Luca Bigliardi <shammash...
Luca Bigliardi
05:38 pm Revision 748e4b5a: KVM hypervisor: Use utils.ShellWriter for network script
This patch converts hv_kvm to use utils.ShellWriter for writing
the network script. It also adds a few unittests (the...
Michael Hanselmann
05:38 pm Revision 858905fb: Move ShellWriter class to utils
Also add unittest.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:37 pm Revision 9dc71d5a: Rename test for utils.IgnoreProcessNotFound
Usually our tests are named “Test…”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Manuel Franc...
Michael Hanselmann
05:37 pm Revision 989a8bee: jqueue: Factorize code waiting for job changes
By splitting the _WaitForJobChangesHelper class into multiple smaller
classes, we gain in several places:
- Simpler ...
Michael Hanselmann

07/13/2010

11:39 pm Revision 54dc4fdb: Merge remote branch 'origin/devel-2.1'
* origin/devel-2.1:
RAPI client: Implement old instance creation request format
rlib2: Use constants for disk and...
Michael Hanselmann
09:55 pm Revision 48436b97: RAPI client: Implement old instance creation request format
Commit 8a47b4478 implemented instance creation in the RAPI client,
but it left out support for the old instance creat...
Michael Hanselmann
05:26 pm Revision 7be048f0: rlib2: Use constants for disk and NIC parameters
These constants were added in commit bd061c35, but the parsing code
was not updated. This also fixes a bug where a NI...
Michael Hanselmann

07/12/2010

06:59 pm Revision 926feaf1: Use reserved documentation IPs and domains
Use RFC 5737 IP addresses and RFC 2606 domain names in all
unittests, docs, qa and docstrings.
Signed-off-by: Manuel...
Manuel Franceschini
05:32 pm Revision 7b4c1cb9: Provide feedback function for all LU methods
By exposing mcpu's _Feedback function (now renamed to “Log”) to LU's,
methods like ExpandNames can also write to the ...
Michael Hanselmann
05:27 pm Revision 2034c70d: jqueue: Setup inotify before checking for any job changes
Since the code waiting for job changes was modified to use inotify,
a race condition between checking for changes the...
Michael Hanselmann
05:27 pm Revision 583163a6: cli.SubmitOpCode: Support custom job reporter
This is necessary to reuse SubmitOpCode while adding processing for
custom message types.
Signed-off-by: Michael Han...
Michael Hanselmann
05:27 pm Revision 8a7f1c61: Add function to format all job log messages
Just calling utils.SafeEncode on the log message failed when it
wasn't of the type ELOG_MESSAGE and not a string. Now...
Michael Hanselmann
05:27 pm Revision e51ca051: baserlib: Fix feedback function
The feedback function is called with only one parameter, a tuple
with the message details.
Signed-off-by: Michael Ha...
Michael Hanselmann
03:58 pm Revision d8bcfe21: Confd IPv6 support
This patch series basically adds a new parameter 'family' to the constructors
of daemon.AsyncUDPSocket and confd.clie...
Manuel Franceschini
« Previous
Next »
 

Also available in: Atom