Ask Your Question

/usr/bin/nova-rootwrap: Unauthorized command: blockdev --getsize64 cinder1.img (no filter matched)

asked 2014-12-17 08:42:12 -0500

anonymous user


Hello Experts,

I am getting below error on service start in nova compute node. I am trying to configure an existing KVM host as a nova compute node. LVM host has two directory based storage pools which has few guest images. After nova service configuration, nova service is getting failed to start and throwing below error. Please help.

/usr/bin/nova-rootwrap: Unauthorized command: blockdev --getsize64 cinder1.img (no filter matched)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-12-18 05:23:05 -0500

sumit.kau gravatar image

Thanks Eric for comments. Yes that filter file was there with command. Anyway I have fixed this issue in different way. I tested each vm image and found, only for two images nova throwing error. Actual problem was image size. Except these two images, all other images are of size 1024(MB)* n. However affected images size was like 7.6gb. I was using those images as an additional storage in guests. So i deleted and created new image disk with "1024(MB) * n" calculation.

But i am still not sure how nova filter works for image size calculation. If someone could share detailed information on this that will be big help. :)

edit flag offensive delete link more

answered 2014-12-17 18:55:40 -0500

Eric Xie gravatar image

Please check the nova rootwrap filters if blockdev --getsize64 support. 1. Check /etc/nova/nova-rootwrap.conf to find the filter file. Like /usr/share/nova/rootwrap/compute.filters 2. Check the filter file if has the command. Wish help~

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-12-17 08:42:12 -0500

Seen: 801 times

Last updated: Dec 18 '14