[nova] Rescue booting on wrong disk
Arnaud Morin
arnaud.morin at gmail.com
Tue Feb 9 11:21:10 UTC 2021
Hey all,
>From time to time we are facing an issue when puting instance in rescue
with the same image as the one the instance was booted.
E.G.
I booted an instance using Debian 10, disk are:
debian at testarnaud:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sr0 11:0 1 486K 0 rom
vda 254:0 0 10G 0 disk
└─vda1 254:1 0 10G 0 part /
debian at testarnaud:~$ cat /etc/fstab
# /etc/fstab: static file system information.
UUID=5605171d-d590-46d5-85e2-60096b533a18 / ext4
errors=remount-ro 0 1
I rescued the instance:
$ openstack server rescue --image bc73a901-6366-4a69-8ddc-00479b4d647f testarnaud
Then, back in the instance:
debian at testarnaud:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sr0 11:0 1 486K 0 rom
vda 254:0 0 2G 0 disk
└─vda1 254:1 0 2G 0 part
vdb 254:16 0 10G 0 disk
└─vdb1 254:17 0 10G 0 part /
Instance booted on /dev/vdb1 instead of /dev/vda1
Is there anything we can configure on nova side to avoid this
situation?
Thanks
--
Arnaud Morin
More information about the openstack-discuss
mailing list