Comment 16 for bug 1248923

Revision history for this message
Hugh Saunders (hughsaunders) wrote :

Another problem with nova-common getting installed is that it installs a nova-rootwrap script that tries to import rootwrap from the pre-oslo location. This causes nova-api to loop on startup.

stack@devstack:~$ sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-save -c
Traceback (most recent call last):
  File "/usr/bin/nova-rootwrap", line 59, in <module>
    from nova.rootwrap import wrapper
ImportError: No module named rootwrap

stack@devstack:~$ dpkg -S /usr/bin/nova-rootwrap
nova-common: /usr/bin/nova-rootwrap

stack@devstack:~$ sudo /usr/local/bin/nova-rootwrap /etc/nova/rootwrap.conf iptables-save -c
# Generated by iptables-save v1.4.12 on Thu Nov 14 17:22:50 2013
*nat
:PREROUTING ACCEPT [17:872]
<snip>