- Sep 20, 2010
-
-
Michael Hanselmann authored
Update NEWS, but not yet configure.ac. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Sep 15, 2010
-
-
Michael Hanselmann authored
The parameter “name” is be None for cluster tags. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Otherwise parameter verification in the master daemon fails. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Sep 13, 2010
-
-
Vitaly Kuznetsov authored
This was introduced in efaa9b06. in OSCoreEnv: inst_os.name is pure operating system name (without variant) as variant is stripped in OSFromDisk(). So we always get variant = inst_os.supported_variants[0] (first variant in variants list). Adding argument os_name with full name (including variant) solves this problem. Signed-off-by:
Vitaly Kuznetsov <vitty@altlinux.ru> Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Iustin Pop <iustin@google.com> [modified by iustin to handle the call to OSCoreEnv from ValidateOS too] Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Sep 10, 2010
-
-
Michael Hanselmann authored
My bad for not seeing this before: R0201:614:HttpBase.GetSslCiphers: Method could be a function Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Users of this class, such as the RAPI server, might want to override or adjust the default SSL cipher defined in a constant. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Sep 09, 2010
-
-
René Nussbaumer authored
Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Sep 02, 2010
-
-
Michael Hanselmann authored
Note to self: even patches removing one line can break everything. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Manuel Franceschini <livewire@google.com>
-
Michael Hanselmann authored
I'ts declared twice, once in opcodes.OpCode and here, and this one is redundant. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
Since the RAPI certificate is not necessarily self-signed, and we currently don't have any configuration variable for the real CA file, we disable for now the CA checks. This fixes the 'restart RAPI every 5 minutes' problem with non-self-signed certs. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Sep 01, 2010
-
-
Manuel Franceschini authored
This patch fixes a bug, which caused the primary and secondary destination nodes to be revered on the destination cluster after an instance move. Signed-off-by:
Manuel Franceschini <livewire@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Aug 23, 2010
-
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
When removing the field in commit 9bdab621, I forgot to remove some parts. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Update NEWS and version number. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
Due to what seems like a bug (or inconsistency) in paramiko, files opened with a+ over SFTP need a seek() in order for the user to be able to read data from them. We implement this, and rely on the fact that we do iterate over all lines before writing and that the file is opened in append mode (which at least on Linux should work correctly). Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
Currently, setup-ssh only uses one disk-based key. This means that any setup where we use keys from ssh-agent (which do not necessarily exist on disk) will break when moving from the old method to setup-ssh. This patch moves the SSH key handling to separate functions, and uses both the disk key (first) and the agent keys for login. The patch also fixes the root_logger setup level (I tried to hard to reduce noise and broke the debug level, sorry). Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Aug 20, 2010
-
-
Iustin Pop authored
This patch changes the setup-ssh workflow to try key authentication first, and then fall-back to password authentication. The password is also read lazily, with no prompts if we can authenticate via keys. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
There is not enough logged by default on stderr, and way too much information in the log file. Since we don't want to debug paramiko itself, we filter only warnings and above. Otherwise, we make WARNINGS the default level, with verbose meaning INFO and debug, well, DEBUG. Additionally, a message is improved. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Manuel Franceschini <livewire@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Iustin Pop authored
Then reuse it. With certain setups, this could be slow when pre-seeding an entire cluster. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Iustin Pop authored
This took a bit of interesting debugging, but the issue seems to be that on older python/logging/paramiko (I'm not sure which is at fault here), the other threads are finishing later than the main thread, so the logging module closes the logging file (but doesn't unregister it) before the paramiko thread(s) get a change to finish their logging. Tested on both old versions (Dapper) and new versions (Lucid) of these three pieces of the puzzle. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
This was requested in issue 118. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Manuel Franceschini authored
Signed-off-by:
Manuel Franceschini <livewire@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Aug 19, 2010
-
-
Iustin Pop authored
Based on manual inspection (that the command only does a submit of some jobs/opcodes), we re-add the dry-run option on a subset of the existing commands. A few more commands could use dry-run, but the code doesn't deal nicely with no results, so fixing those is left for later patches. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
Currently cli.py unconditionally adds the dry-run option. This patch disables this, and exports dry-run as a normal option. The other alternative I tried to implement (adding a new fake option for disabling the auto-add per individual command) would require changes in more places, as the list of options is no longer a homogeneous list. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
These commands use or display the result from the LU, so in case of dry-run, they will crash or display just 'None'. At least checking that the result is 'true' (in the boolean sense) will make them work better. As for gnt-os modify, it didn't pass the 'opts' parameter properly to SubmitOpCode, so the dry-run option was silently ignored. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
With the job queue changes for Ganeti 2.2, watched and queried jobs are loaded directly from disk, rendering the in-memory “lock_status” field useless. Writing it to disk would be possible, but has a huge cost at runtime (when tested, processing 1'000 opcodes involved 4'000 additional writes to job files, even with replication turned off). Using an additional in-memory dictionary to just manage this field turned out to be a complicated task due to the necessary locking. The plan is to introduce a more generic lock debugging mechanism in the near future. Hence the decision is to remove this field now instead of spending a lot of time to make it working again. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
* devel-2.1: Don't ignore secondary node silently Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
Currently on non-mirrored disk templates the secondary node is ignored silently. This patch adds a check for this case, and warns the user should this be happening. This solves issue 113. The patch also moves a prereq check to an argument check. This is ok because the iallocator framework already checks it has a secondary node, when it needs one. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
etags has cannot properly identify the scripts/gnt-* files as Python, so we statically force the language to Python. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Aug 18, 2010
-
-
Guido Trotter authored
* devel-2.1: Fix --master-netdev arg name in gnt-cluster(8) Restore 'tablet mouse on vnc' behavior Document the usb_mouse hv parameter Revert "Add -usbdevice tablet to KVM when using vnc" Conflicts: man/gnt-instance.sgml - merge Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
- Inconsistencies - Missing types Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Test multiple opcodes, also with failure. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
When an opcode fails, the job queue would leave following opcodes as “queued”, which can be quite confusing. With this patch, they're all marked as failed and assertions are added to check this. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
This is a simplified version of a patch I sent earlier to make sure the job file is only written once with a finalized status. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Aug 17, 2010
-
-
Michael Hanselmann authored
We can also check when the lock status is updated. This will improve job cancelling. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-