<div class="gmail_quote">Hi,all</div><div class="gmail_quote"><br><div>   Now I run <b>glance-manage db_sync</b> ,it shows <b>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' </b><b>attribute.</b></div>

<div><b>  </b> I checked the version of glance, there seems to be no version named 2012.1 ??? Isn't it 2011.3-0ubuntu4.1 now?Thanks.</div><div><br></div><div>Yours</div><div>Jeff</div><div><div></div><div class="h5">
<div><br><div class="gmail_quote">
2011/12/21 jeffrey coho <span dir="ltr"><<a href="mailto:jeffreycohobupt@gmail.com" target="_blank">jeffreycohobupt@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,jay,<div>  it still doesnt work.....I have no idea now.Is the Glance server on your machine working correctly?</div><div>Although now there is no error output when I run <b>glance-control api start --verbose --debug &,</b></div>


<div>but i still don't see glance-api running and no glance-api.log exists.Any idea?Thanks.</div><div><br></div><div>Yours </div><div>jeff</div><div><div></div><div><div><br></div><div><br></div><div><br><div class="gmail_quote">

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