Status: New
Owner: ----

New issue 901 by [email protected]: gnt-instance migrate failes if spice_password_file is set (and vm hasn't been rebooted since spice_bind was added)
http://code.google.com/p/ganeti/issues/detail?id=901

What software version are you running? Please provide the output of "gnt-
cluster --version", "gnt-cluster version", and "hspace --version".

What distribution are you using?
# gnt-cluster --version
gnt-cluster (ganeti v2.11.3) 2.11.3
# gnt-cluster version
Software version: 2.11.3
Internode protocol: 2110000
Configuration format: 2110000
OS api version: 20
Export interface: 0
VCS version: (ganeti) version v2.11.3
# hspace --version
hspace (ganeti) version v2.11.3
compiled with ghc 7.4
running on linux x86_64
# cat /etc/debian_version
7.6
# apt-cache policy ganeti
ganeti:
  Installed: 2.11.3-2~bpo70+1
  Candidate: 2.11.3-2~bpo70+1
  Package pin: 2.11.3-2~bpo70+1
  Version table:
 *** 2.11.3-2~bpo70+1 990
100 http://debian.xxxxxxxx.de/debian/ wheezy-backports/main amd64 Packages
        100 /var/lib/dpkg/status
     2.10.5-1~bpo70+1 990
100 http://debian.xxxxxxxx.de/debian/ wheezy-backports/main amd64 Packages
     2.9.5-1~bpo70+1 990
100 http://debian.xxxxxxxx.de/debian/ wheezy-backports/main amd64 Packages


What steps will reproduce the problem?
1a. gnt-cluster modify -H kvm:spice_bind=0.0.0.0,spice_password_file=/etc/ganeti/auth/default 1b. gnt-instance modify -H spice_bind=0.0.0.0,spice_password_file=/etc/ganeti/auth/default web1
2.  gnt-instance migrate -f web1

What is the expected output? What do you see instead?
  Sun Jul 27 10:58:14 2014 Migrating instance zzzz.yyyyyy.xxxxxxxxx.de
Sun Jul 27 10:58:14 2014 * checking disk consistency between source and target Sun Jul 27 10:58:17 2014 * switching node node2.yyyyyy.xxxxxxxxx.de to secondary mode
  Sun Jul 27 10:58:17 2014 * changing into standalone mode
  Sun Jul 27 10:58:22 2014 * changing disks into dual-master mode
  Sun Jul 27 10:58:28 2014 * wait until resync is done
Sun Jul 27 10:58:31 2014 * preparing node2.yyyyyy.xxxxxxxxx.de to accept the instance
- Sun Jul 27 10:58:32 2014 Pre-migration failed, aborting
- Sun Jul 27 10:58:33 2014 * switching node node2.yyyyyy.xxxxxxxxx.de to secondary mode
- Sun Jul 27 10:58:34 2014 * changing into standalone mode
- Sun Jul 27 10:58:36 2014 * changing disks into single-master mode
- Sun Jul 27 10:58:39 2014 * wait until resync is done
- Failure: command execution error:
- Could not pre-migrate instance zzzz.yyyyyy.xxxxxxxxx.de: Failed to accept instance: kvm: error executing the set_password command: Device 'spice' has not been activated (DeviceNotActive):

Please provide any additional information below.
As the VM is migrated over the new node tries to read the password file and then fails because spice hasn't been loaded


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to