Complete Chef log, reproduced this morning from an entirely new
netbooted image:

http://paste.openstack.org/show/27930/

Basically, this is what is happening:

When the glance::api recipe (https://github.com/att-cloud/cookbook-
glance/blob/master/recipes/api.rb) is converging, it installs the Glance
Python packages, per the attributes (https://github.com/att-cloud
/cookbook-glance/blob/master/attributes/default.rb#L87). At the end of
the recipe, images are loaded into Glance using the glance CLI tool:

https://github.com/att-cloud/cookbook-
glance/blob/master/recipes/api.rb#L287

When this executes, the following occurs:

STDERR: Traceback (most recent call last):
  File "/usr/bin/glance", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2711, in 
<module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: python-keystoneclient>=0.1.2,<0.2

As you can see, the system thinks that "/usr/bin/glance" is the CLI
tool, and attempts to load_entry_point(), which parses the requirements
file and attempts to install python-keystoneclient>=0.1.2,<0.2 and fails
to find such a package.

***However***, if immediately after the above chef-client fails, I run:

apt-get upgrade python-keystoneclient -y

the latest version of python-keystoneclient is downloaded from the UCA
PPA precise-updates/folsom and installs. I can then re-run chef-client
again and everything will be fine.

Somewhere the packaging for Glance is either mistakenly trying to
install python-keystoneclient (Folsom doesn't need it, AFAICT) or there
is some dependency weirdness happening.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1089194

Title:
  Oddness in keystoneclient Folsom packaging in relation to Glance

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-keystoneclient/+bug/1089194/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to