Hi,all Now I run *glance-manage db_sync* ,it shows *ERROR:error trying to load config /etc/glance/glance-registry.conf:<module 'glance.common.wsgi' from '/usr/local/lib/python2.7/dist-packages/glance-2012.1-py2.7.egg/glance/common/wsgi.py'> has no 'app_factory' **attribute.* * * I checked the version of glance, there seems to be no version named 2012.1 ??? Isn't it 2011.3-0ubuntu4.1 now?Thanks.
Yours Jeff 2011/12/21 jeffrey coho <jeffreycohob...@gmail.com> > Hi,jay, > it still doesnt work.....I have no idea now.Is the Glance server on your > machine working correctly? > Although now there is no error output when I run *glance-control api > start --verbose --debug &,* > but i still don't see glance-api running and no glance-api.log exists.Any > idea?Thanks. > > Yours > jeff > > > > 2011/12/17 Jay Pipes <jaypi...@gmail.com> > >> cc'ing mailing list as this is generally useful and something I myself >> ran into last night when I grabbed the latest devstack and re-ran >> stack.sh... >> >> I found the solution was to remove all the old .pyc files, like so: >> >> cd $GLANCE_SRC_DIR >> find . -type f -name "*.pyc" -exec sudo rm -f {} \; >> >> And then restart Glance servers... >> >> Please let me know if that works for you as well. >> >> Thanks, >> -jay >> >> On Thu, Dec 15, 2011 at 10:39 PM, jeffrey coho >> <jeffreycohob...@gmail.com> wrote: >> > Hi,Jay >> > Thanks.I copied those to my config files,and restarted >> > with glance-control .Anyway,it is still not working..... >> > port 9292 is still not listening.So what is the stable release of Glance >> > now? >> > and how can i get one?(i am using ubuntu11.10) >> > >> > Yours, >> > jeff >> > >> > 2011/12/15 Jay Pipes <jaypi...@gmail.com> >> >> >> >> Yeah, I was worried we would run into these kinds of problems with a >> >> recent commit... >> >> >> >> Basically, do what Hugo suggested. We recently overhauled the >> >> configuration and paste deploy factories in Glance to align with the >> >> common cfg work being done in Nova and Glance. This means that the >> >> glance-api.conf and glance-registry.conf paste deploy sections need to >> >> be updated. >> >> >> >> You can see the changes needed by looking at this diff: >> >> >> >> >> https://review.openstack.org/#patch,sidebyside,2139,1,etc/glance-api.conf >> >> >> >> >> https://review.openstack.org/#patch,sidebyside,2139,1,etc/glance-cache.conf >> >> >> >> >> https://review.openstack.org/#patch,sidebyside,2139,1,etc/glance-registry.conf >> >> >> >> Ping us back if you have issues figuring out the needed changes. >> >> >> >> Thanks! >> >> -jay >> >> >> >> On Thu, Dec 15, 2011 at 8:28 AM, jeffrey coho < >> jeffreycohob...@gmail.com> >> >> wrote: >> >> > Hi,all, >> >> > Glance version i am running is 2012.1-dev. But glance-api can't be >> >> > started(maybe this version is just unstable for now?).Here is some >> >> > details: >> >> > >> >> > #sudo glance-api glance-api.conf --debug -v & >> >> > [1]27173 >> >> > Error trying to load config /etc/glance/glance-api.conf:<module >> >> > 'glance.api.v1' from >> >> > >> >> > >> '/usr/local/lib/python2.7/dist-packages/glance-2012.1-py2.7.egg/glance/api/v1/__init__.pyc'> >> >> > has no 'app_factory' attribute >> >> > >> >> > Any ideas?Thanks very much. >> >> > >> >> > Yours, >> >> > Jeff >> >> > >> >> > _______________________________________________ >> >> > Mailing list: https://launchpad.net/~openstack >> >> > Post to : openstack@lists.launchpad.net >> >> > Unsubscribe : https://launchpad.net/~openstack >> >> > More help : https://help.launchpad.net/ListHelp >> >> > >> > >> > >> > >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp