r/openstack • • Jul 04 '25

Instance shutdown and not working after starting it

I am using kolla Ansible with ceph rdp when i create instance it works as expected but it shuts down after an hour and when i start it i got this error

[ 46.097926] I/O error, dev vda, sector 2101264 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[ 46.100538] Buffer I/O error on dev vda1, logical block 258, lost async page write
[ 46.232021] I/O error, dev vda, sector 2099200 op 0x1:(WRITE) flags 0x800 phys_seg 2 prio class 0
[ 46.233821] Buffer I/O error on dev vda1, logical block 0, lost async page write
[ 46.235349] Buffer I/O error on dev vda1, logical block 1, lost async page write
[ 46.873201] JBD2: journal recovery failed
[ 46.874279] EXT4-fs (vda1): error loading journal
mount: mounting /dev/vda1 on /root failed: Input/output error
Warning: fsck not present, so skipping root file system
EXT4-fs (vda1): INFO: recovery required on readonly filesystem
No init found. Try passing init= bootarg.
(initramfs)

3 Upvotes

8 comments sorted by

1

u/CodeJsK Jul 04 '25

Hi, I had same issue when restart compute host Make sure the account for ceph having below mon commad in allow list: caps mon: allow r, allow command "osd blocklist"

https://access.redhat.com/solutions/3391211

It's blacklist or blocklist depend on ceph version, try both if which working for you.

2

u/dentistSebaka Jul 04 '25

Do i need to do this for glance or for cinder and cinder-backup also

1

u/CodeJsK Jul 05 '25

I not very sure, but I just add this to glance, cinder, backup, reboot the host and vm can be start again

1

u/dentistSebaka Jul 05 '25

Ok thank you

Also do you know how i can know the reason why a VM shuts down instantly after boot

1

u/CodeJsK Jul 06 '25

I never seen this behavior before You should look into nova log if can find anything there

1

u/dentistSebaka Jul 06 '25

Which nova-<> logs

→ More replies (1)

2

u/clx8989 Jul 04 '25

The instance’s rbd volume might have remained locked on ceph if it has crashed. Check in ceph pool the volume with

rbd lock ls <volume name>

and if it says it is locked then use

rbd lock rm …

Sorry for formatting, but the rddit’s iphone client does not shiw me the formatting toolbar.