Status: New
Owner: ----
New issue 923 by [email protected]: running replace-disks on instance
with new installed secondary node failes
https://code.google.com/p/ganeti/issues/detail?id=923
What software version are you running? Please provide the output of "gnt-
cluster --version", "gnt-cluster version", and "hspace --version".
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
What distribution are you using?
ubuntu 14.04
What steps will reproduce the problem?
if i restore a node which was secondary for some instances and try to
run "gnt-instance replace-disks -a instance1" ganeti say i should run
activate-disks:
root@vserver12:~# gnt-instance replace-disks -a instance1
Thu Aug 21 12:48:47 2014 - INFO: Checking disk/0 on vserver12
Thu Aug 21 12:48:47 2014 - INFO: Checking disk/0 on vserver6
Failure: prerequisites not met for this operation:
error type: wrong_state, error details:
Please run activate-disks on instance instance1 first
but this failes because the restored node does not have the needed lvs for
the instance:
root@vserver12:~# gnt-instance activate-disks instance1
Thu Aug 21 12:48:52 2014 - WARNING: Could not prepare block device disk/0
on node vserver6 (is_primary=False, pass=1): Error while assembling disk:
drbd12: can't set the synchronization parameters: Can't change syncer rate:
exited with exit code 10 - 12: Failure: (127) Device minor not
allocated\nadditional info from kernel:\nunknown minor\n
Thu Aug 21 12:48:53 2014 - WARNING: Could not prepare block device disk/1
on node vserver6 (is_primary=False, pass=1): Error while assembling disk:
drbd13: can't set the synchronization parameters: Can't change syncer rate:
exited with exit code 10 - 13: Failure: (127) Device minor not
allocated\nadditional info from kernel:\nunknown minor\n
Thu Aug 21 12:48:53 2014 - WARNING: Could not prepare block device disk/2
on node vserver6 (is_primary=False, pass=1): Error while assembling disk:
drbd14: can't set the synchronization parameters: Can't change syncer rate:
exited with exit code 10 - 14: Failure: (127) Device minor not
allocated\nadditional info from kernel:\nunknown minor\n
Failure: command execution error:
Cannot activate block devices
i've tried this on an older two node cluster with ganeti 2.10.1 and it
works.
1. i've created a new drbd test instance with --no-start
2. i've manually removed all instance lvs on the secondary node
3. i've started the instance with -f
4. i run the replace-disks -a command
the same steps on the ganeti 2.11.3 cluster do not work like described
above.
--
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