- Sep 30, 2010
-
-
Iustin Pop authored
Committ 3fe11ba3 broke the instance rename as we don't use the FQDN anymore. This fixes it. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
This was forgotten in commit 52194140. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
The OS list and variants as returned from LUDiagnoseOS is not sorted, and gnt-instance reinstall doesn't sort it either. This means that it the menu that users are present with is inconsistent across clusters, and that is confusing. To make this consistent across all users of the LU, we sort the names in the LU itself. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
This patch changes the behaviour of OpDiagnoseOS with regards to the 'valid' field to be similar to the one for the hidden/blacklisted fields: unless this field is requested, invalid OSes are filtered out. The rationale is that, except for the gnt-os info/diagnose, all other users of this opcode are requesting the valid field just to filter out invalid OSes, and not for any other use. Thus, changing this behaviour makes these callers simpler. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
These are useful for more in-depth checking of some kinds of arguments. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Iustin Pop authored
This changes the behaviour of LUDiagnoseOS significantly. The addition of hidden/blacklisted OSes would mean that each user-facing client would have to filter intentionally such OSes from display, which is not a good choice. Rather, the patch makes LUDiagnoseOS not return any hidden or blacklisted OSes unless the hidden or respectively the blacklisted status is requested. While unconventional, this makes `gnt-instance reinstall --select-os` work as intended without any changes; similar for gnt-os list. gnt-os diagnose/gnt-os info are changed to query for, and display the new fields. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
The new variables are: - a list of hidden OSes, that should not be displayed to the users in interactive selection (e.g. reinstall); however, if they are selected, they can be used - a list of OSes that should be hidden and blocked from install-time selection The filtering will apply at pure OS name level, not OS+variant level. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
Currently, the computation of the 'pure' name or the variant is hardcoded and spread around the functions that need it. This is not nice, and in the future we'd spread it even more with more usage of variants/pure os names. This patch abstracts these functions into the OS class, and then replaces the hardcoded uses with the new functions. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
These were not implemented. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
This also bumps up the rest of the headings. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Sep 22, 2010
-
-
Michael Hanselmann authored
* stable-2.2: NEWS: Add 2.2.0~rc2 release date Bump version to 2.2.0~rc2 Remove two old aliases Fix migration on new KVMs Prepare 2.2.0~rc2 release Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
* devel-2.1: Fix mac checker regex Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
This was forgotten when preparing the release. Signed-off-by:
Michael Hanselmann <hansmi@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>
-
Iustin Pop authored
Currently, the mac checker regex could match a corner case of 11:22:33:44:55:66: (one extra colon at the end). We fix this, and we also move the regex compilation outside of this function, at module level. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Sep 21, 2010
-
-
Iustin Pop authored
These were deprecated since Ganeti 2.0, it's time to remove them. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Sep 20, 2010
-
-
Vitaly Kuznetsov authored
New KVMs (0.12.1.2-el6 and 0.13.5 tested) exit immediately after unsuccessful network connection when they are in "-incoming" mode. The simple check netutils.TcpPing causes remote kvm to exit so the migration will always fail. This check is also redundant by the way as if the network port is closed migration will fail with guarantee. This commit removes this check. Signed-off-by:
Vitaly Kuznetsov <vitty@altlinux.ru> Signed-off-by:
Iustin Pop <iustin@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
They'll be used for job priorities. Also add an empty line to gnt-os where it's missing. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
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 16, 2010
-
-
Michael Hanselmann authored
This ensures tag operations work via RAPI. Also print requested URI to stdout for debugging. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
If no function to verify the result was specified, qa_rapi._DoTests wouldn't return the result. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
* stable-2.2: cmdlib: Fix type of “name” parameter for tag operations rlib2: Set tag operation param “name” to None for cluster tags Fix OS_VARIANT variable setting Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
Currently, opcodes like NODE_EVAC_STRATEGY look bad: 89684 error NODE_EVAC_STRATEGY([u'node3']) With this patch, we try to render list arguments a little bit better: 89684 error NODE_EVAC_STRATEGY(node3) Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
* devel-2.1: Fix case of MAC special-values (no conflicts, took LGTM from original commit) Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
This fixes Debian bug #596347. An alternative would be to also allow the uppercase form, but it's not nice I think. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@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
-
-
Michael Hanselmann authored
This is no longer needed with the new lock monitor. One callback is kept to check for cancelled jobs. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
This reverts commit 4008c8ed. While it worked in my initial tests, I've now found cases where this doesn't work properly as it is. More work is needed and will be done as part of the Ganeti 2.3 job queue changes. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
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
* stable-2.2: Fix pylint warning in http/__init__.py Allow SSL ciphers to be overridden in HTTP server If we had any errors in setup in one of the hosts, exit with non-zero Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
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>
-
Michael Hanselmann authored
After an unclean restart of ganeti-masterd, jobs in the “waitlock” status can be safely restarted. They hadn't modified the cluster yet. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
This makes the __init__ function a lot smaller while not changing functionality. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-