- 06 Jan, 2012 1 commit
-
-
Guido Trotter authored
This of course was working for all the rcs, but broke with 1.0 itself. In addition: - split between running kvm --version and parsing its output - unittest parsing for various known --help outputs - updated NEWS file - happy 2012 wishes - the hope to finish this patch before it's time to say happy easter :) Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 21 Dec, 2011 4 commits
-
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Change a few lines to match rest of code. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
No need to look up the key twice. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Serializing to JSON using “simplejson” is significantly slower when indentation and/or sorting of dictionary keys is used. In simplejson 1.x the difference isn't that big, but with simplejson 2.x the difference can be up to a factor of 7.5. The reason is that the latter no longer uses C functions when sorting or indentation is used. With this patch we revert everything to simplejson's defaults, which should provide us with the best performance available. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 08 Dec, 2011 3 commits
-
-
Guido Trotter authored
This can be used to resize their memory (for now only manually, as ganeti doesn't do the job yet) Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
Currently qmp fails at connect() time if there are socket errors. (eg. if the instance was started without qmp). Add some better checking. Also in the only place where we use it avoid hiding the error connecting to the socket as a failure to read the password file. In addition one variable is renamed because its name now conflicts with the newly imported stat module. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 22 Nov, 2011 1 commit
-
-
Guido Trotter authored
Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 20 Oct, 2011 1 commit
-
-
Guido Trotter authored
These lists will be used to declare some of the files not necessarily needed on all nodes. The files selected are files without which the various hypervisors can still work, but that when they are present should be synchronized across the cluster (or node group). Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 18 Oct, 2011 3 commits
-
-
Guido Trotter authored
This reverts commit bfe86c76 . This commit will be readded on master. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
This reverts commit b6267745 . This commit will be readded on master. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
This reverts commit 3e40b587 . This commit will be readded on master. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- 29 Sep, 2011 2 commits
-
-
Andrea Spadaccini authored
* hypervisor/hv_kvm.py - parse the memory transfer status * cmdlib.py - represent memory transfer info, if available Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Andrea Spadaccini authored
To add status reporting for the KVM migration, the instance_migrate RPC must be non-blocking. Moreover, there must be a way to represent the migration status and a way to fetch it. * constants.py: - add constants representing the migration statuses * objects.py: - add the MigrationStatus object * hypervisor/hv_base.py - change the FinalizeMigration method name to FinalizeMigrationDst - add the FinalizeMigrationSource method - add the GetMigrationStatus method * hypervisor/hv_kvm.py - change the implementation of MigrateInstance to be non-blocking (i.e. do not poll the status of the migration) - implement the new methods defined in BaseHypervisor * backend.py, server/noded.py, rpc.py - add methods to call the new hypervisor methods - fix documentation of the existing methods to reflect the changes * cmdlib.py - adapt the logic of TLMigrateInstance._ExecMigration to reflect the changes Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- 28 Sep, 2011 1 commit
-
-
Andrea Spadaccini authored
* hv_kvm.py, hv_xen.py - return the hypervisor version (if available) from GetNodeInfo * cmdlib.py - if hypervisor version is available during the migration, and the versions differ, warn the user Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- 23 Sep, 2011 1 commit
-
-
Andrea Spadaccini authored
CPU pinning requires the KVM hypervisor to start in the paused state, in order to retrieve information, and immediately unpauses it. This does not play well with live migration, as the unpausing was done before the migration started and so the receiving kvm process left the migrated instance in the stopped status. This patch fixes this behavior, by not launching the KVM process in stopped state while on the receiving side of a migration. Also, the stopping is now done outside _ExecuteCpuAffinity. Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Tsachy Shacham <tsachy@google.com>
-
- 20 Sep, 2011 4 commits
-
-
Andrea Spadaccini authored
Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Andrea Spadaccini authored
Added support for TLS-protected SPICE connections: client/gnt_cluster.py, cli.py: * added three new parameters to renew-crypto (--new-spice-certificate, --spice-certificate, --spice-ca-certificate) and their validation. utils/x509.py: * changed GenerateSelfSignedSslCert so that now also returns the generated key and certificate; * added missing return value in the docstring of GenerateSelfSignedX509Cert. lib/bootstrap.py: * changed the signatures of the relevant functions and implemented certificates generation/writing. tools/cfupgrade: * changed GenerateClusterCrypto invocation to reflect the new signature; * added SPICE certificate names. lib/errors.py: * added the X509CertError class. lib/hypervisor/hv_kvm.py: * silenced pylint warning R0915 Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Andrea Spadaccini authored
Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Andrea Spadaccini authored
- hv_kvm.py: silence F0401, that is raised if pylint does not find the affinity module - rlib2.py: change disable-msg to disable Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- 16 Sep, 2011 1 commit
-
-
Tsachy Shacham authored
Signed-off-by:
Tsachy Shacham <tsachy@google.com> Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
- 15 Sep, 2011 2 commits
-
-
Tsachy Shacham authored
Signed-off-by:
Tsachy Shacham <tsachy@google.com> Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Tsachy Shacham authored
Signed-off-by:
Tsachy Shacham <tsachy@google.com> Signed-off-by:
Iustin Pop <iustin@google.com> [iustin@google.com: fixed some small code and style issues] Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 13 Sep, 2011 2 commits
-
-
Andrea Spadaccini authored
Add the following SPICE audio/image compression and video streaming detection hypervisor options: * spice_image_compression * spice_jpeg_wan_compression * spice_zlib_glz_wan_compression * spice_streaming_video * spice_playback_compression Also add the related documentation and silence pylint R0914 warning about too many local variables in hv_kvm._GenerateKVMRuntime. Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Andrea Spadaccini authored
Also update related unit tests. Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- 07 Sep, 2011 2 commits
-
-
Andrea Spadaccini authored
Enable by default the QXL paravirtualized graphic card if SPICE is enabled. The QXL driver is VESA compatible, so it degrades gracefully if the guest OS does not have QXL drivers. Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Andrea Spadaccini authored
Use a loop to check if the user specified any SPICE option and SPICE support is disabled. Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- 03 Sep, 2011 2 commits
-
-
Andrea Spadaccini authored
Added an optional parameter called spice_password_file that allows the user to protect the SPICE login with the password contained in the specified file. Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Andrea Spadaccini authored
Basic implementation of the QMP connection and related tests. Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- 25 Aug, 2011 2 commits
-
-
Michael Hanselmann authored
Identified using the “pep8” utility. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Tsachy Shacham authored
Signed-off-by:
Tsachy Shacham <tsachy@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- 15 Aug, 2011 2 commits
-
-
Andrea Spadaccini authored
If the user specified a network interface with no IPs, he would receive an unhelpful "list index out of range" error. Fixed that. Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Andrea Spadaccini authored
I noticed a path in the code that would use spice_ip_version even if it was not initialized. This patch fixes it. Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 12 Aug, 2011 1 commit
-
-
Andrea Spadaccini authored
Implemented the following parameters: - spice_bind - spice_ip_version Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- 09 Aug, 2011 2 commits
-
-
Andrea Spadaccini authored
Fixed an epydoc compilation error that I introduced with last commit. Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Andrea Spadaccini authored
Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- 08 Aug, 2011 1 commit
-
-
Andrea Spadaccini authored
I originally made this change because I needed the OPT_NET_PORT_CHECK, and I am committing it even if I don't need anymore OPT_NET_PORT_CHECK because IMO it improves the consistency of the name of the wrappers. Also, I changed the code of the check to use inequality operators chaining. Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- 29 Jul, 2011 1 commit
-
-
Stephen Shirley authored
During instance installations, you do not want the instance to reboot and start again with the same parameters, as that will most likely re-start the install process. Therefore, when the instance requests a reboot it should instead shutdown. This flag allows this to be controlled. Signed-off-by:
Stephen Shirley <diamond@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- 25 Jul, 2011 1 commit
-
-
Iustin Pop authored
s/'/"/ in (hopefully) the right places. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-