Hello,
You have to remove the ceph lock:
$1 = pool
$2 = volume name
read -r -a vars <<< $(rbd -p $1 lock list $2 | tail -1) rbd -p $1 lock remove $2 "${vars[1]} ${vars[2]}" ${vars[0]}
Best regards,
Romain
________________________________ From: Yule Sun 373056786@qq.com Sent: Friday, September 25, 2020 5:47 AM To: rony.khan@brilliant.com.bd; openstack-discuss@lists.openstack.org Subject: The question about OpenStack instance fail to boot after unexpected compute node shutdown
I saw your message on the website http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005635.htm... . And i have been troubled by the same problem for a long time . I tried to change the parameters resume_guests_state_on_host_boot=True and instance_usage_audit=True in the nova.conf ,but it didn't work . I wonder if you have solved this problem, looking forward your reply, Thank you and best regards.
And my instance error looks like this . [cid:e8770762-d2b2-4630-9ce6-4d357dc92cee]