On 06/05/2012 09:37 AM, Pádraig Brady wrote: > On 06/05/2012 08:56 AM, Patrick Petit wrote: >> Hi there, >> >> Trying to install OpenStack on Fedora 16 following instructions at >> http://fedoraproject.org/wiki/Getting_started_with_OpenStack_on_Fedora_17 >> >> Very early in the installation process here is what I get. This is new to me >> as previous installs worked okay at this point. Does it ring a bell ? >> Thanks >> Patrick >> >> $ sudo openstack-db --service glance --init >> Please enter the password for the 'root' MySQL user: >> Verified connectivity to MySQL. >> Creating 'glance' database. >> Asking openstack-glance to sync the database. >> Traceback (most recent call last): >> File "/usr/bin/glance-manage", line 43, in <module> >> from glance.common import cfg >> ImportError: cannot import name cfg >> ERROR 1146 (42S02) at line 1: Table 'glance.migrate_version' doesn't exist >> Final sanity check failed. >> Please file a bug report on bugzilla.redhat.com <http://bugzilla.redhat.com> >> against the openstack-glance package. > > What package is this? > $ rpm -q openstack-glance > > Is this file present? It should be: > /usr/lib/python2.7/site-packages/glance/common/cfg.py
Tying off loose ends... Since glance.common.cfg was removed for folsom I suspected that a folsom version of glance was installed and conflicting with the packaged version. This was confirmed with: $ python -c 'from glance.common import config; print config.__file__' /usr/lib/python2.7/site-packages/glance-2012.2-py2.7.egg/glance/common/config.pyc So this issue is isolated to the OPs machine. cheers, Pádraig. _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp