Hi!
Might be a dumb question, but I am unable to re-create the disk on my secondary.
This is a two-nodes cluster and I had to recreate from scratch the volume group on the secondary.
I tried to run "replace-disks" both with automatic and forcing the secondary, but these are the output:
====================================
# gnt-instance replace-disks -s fw-melano
Fri Oct 18 19:33:18 2013 Replacing disk(s) 0 for instance
'
fw-melano.wiran.net'
Fri Oct 18 19:33:18 2013 Current primary node: lugspa0638.XX.XX
Fri Oct 18 19:33:18 2013 Current seconary node: lugspb0638.XX.XX
Fri Oct 18 19:33:18 2013 STEP 1/6 Check device existence
Fri Oct 18 19:33:18 2013 - INFO: Checking disk/0 on lugspa0638.XX.XX
Fri Oct 18 19:33:19 2013 - INFO: Checking disk/0 on lugspb0638.XX.XX
Failure: command execution error:
Can't find disk/0 on node
lugspb0638.moresi.com: disk not found
====================================
# gnt-instance replace-disks --auto fw-melano
Fri Oct 18 19:34:01 2013 - INFO: Checking disk/0 on lugspa0638.XX.XX
Fri Oct 18 19:34:02 2013 - INFO: Checking disk/0 on lugspb0638.XX.XX
Failure: prerequisites not met for this operation:
error type: wrong_state, error details:
Please run activate-disks on instance
fw-melano.wiran.net first
====================================
The log on the secondary:
====================================
2013-10-18 19:34:33,790: ganeti-noded pid=18330 INFO RunCmd lvs
--noheadings --separator=, --units=k --nosuffix
-olv_attr,lv_kernel_major,lv_kernel_minor,vg_extent_size,stripes
/dev/virtvg/91e9815c-c83d-4888-b2f6-55dddf301226.disk0_meta
2013-10-18 19:34:33,815: ganeti-noded pid=18330 ERROR Can't find LV
/dev/virtvg/91e9815c-c83d-4888-b2f6-55dddf301226.disk0_meta: exited with
exit code 5, One or more specified logical volume(s) not found.
====================================
Well, it's obvious that the lv is not found ... I deleted the entire vg :)
Ganeti version: 2.8.0
Could you give me a suggestion please?
Thanks,
Gippa