Description of problem: Tried to run commands sudo openstack-demo-install nova-manage db sync and the error occured Version-Release number of selected component: openstack-nova-common-2012.1.3-2.fc17 Additional info: libreport version: 2.0.18 abrt_version: 2.0.18 cmdline: /usr/bin/python /usr/bin/nova-manage db sync kernel: 3.6.8-2.fc17.x86_64 backtrace: :nova-manage:79:<module>:ImportError: No module named compat : :Traceback (most recent call last): : File "/usr/bin/nova-manage", line 79, in <module> : from nova.compat import flagfile :ImportError: No module named compat : :Local variables in innermost frame: :ast: <module 'ast' from '/usr/lib64/python2.7/ast.pyc'> :__builtins__: <module '__builtin__' (built-in)> :errno: <module 'errno' (built-in)> :__file__: '/usr/bin/nova-manage' :netaddr: <module 'netaddr' from '/usr/lib/python2.7/site-packages/netaddr/__init__.pyc'> :gettext: <module 'gettext' from '/usr/lib64/python2.7/gettext.pyc'> :__package__: None :sys: <module 'sys' (built-in)> :optparse: <module 'optparse' from '/usr/lib64/python2.7/optparse.pyc'> :json: <module 'json' from '/usr/lib64/python2.7/json/__init__.pyc'> :POSSIBLE_TOPDIR: '/usr' :__name__: '__main__' :os: <module 'os' from '/usr/lib64/python2.7/os.pyc'> :__doc__: '\n CLI interface for nova management.\n' :math: <module 'math' from '/usr/lib64/python2.7/lib-dynload/math.so'> :StringIO: <module 'StringIO' from '/usr/lib64/python2.7/StringIO.pyc'>
Created attachment 662513 [details] File: executable
Created attachment 662514 [details] File: environ
Created attachment 662515 [details] File: smolt_data
Created attachment 662516 [details] File: core_backtrace
It seems that you have another version of nova installed on your system? Can you give the output from: rpm -qf /usr/lib/python2.7/site-packages/nova/compat/__init__.py and double check the output from rpm -V python-nova Also note that openstack-demo-install is not supported from sudo at present apparently. That's logged as a different bug.
Output od first rpm command is python-nova-2012.1.3-1.fc17.noarch The second one doesn't print anything. Looks like I really have two versions. Probably because I tried to run DevStack previously (but it didn't work, so I tried directly OpenStack). So this might be a NOTABUG
I suspected you ran devstack. devstack is really only good for a throw away VM at present. If you have a lot invested in this system, then here are details on what devstack does to help with manual clean up https://www.berrange.com/posts/2012/11/20/what-devstack-does-to-your-host-when-setting-up-openstack-on-fedora-17/ Marking not a bug for now