Bug 748490 - openstack-nova dependant on openstack-glance
Summary: openstack-nova dependant on openstack-glance
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: openstack-nova
Version: el6
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Mark McLoughlin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-24 15:32 UTC by David Busby
Modified: 2012-08-08 09:17 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-03-08 08:54:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 880964 0 None None None 2012-08-08 09:17:00 UTC

Description David Busby 2011-10-24 15:32:35 UTC
Description of problem:

Current implementation of openstack-nova package requires openstack-glance as associated components,
openstack is supposed to comprise of independent components, somewhere along the line this dependency has been introduce independent of the upstream pacakages, and should be removed.

Version-Release number of selected component (if applicable):

2011.3

Comment 1 Mark McLoughlin 2011-10-24 15:57:39 UTC
Yeah, I think it probably makes sense to remove this dependency

Comment 2 David Busby 2011-10-24 16:38:56 UTC
As discussed in irc, post install 

Traceback (most recent call last):
  File "/usr/bin/nova-manage", line 84, in <module>
    from nova import image
  File "/usr/lib/python2.6/site-packages/nova/image/__init__.py", line 22, in <module>
    from nova.image import glance
  File "/usr/lib/python2.6/site-packages/nova/image/glance.py", line 43, in <module>
    GlanceClient = utils.import_class('glance.client.Client')
  File "/usr/lib/python2.6/site-packages/nova/utils.py", line 66, in import_class
    raise exception.ClassNotFound(class_name=class_str)
nova.exception.ClassNotFound: Class Client could not be found
chmod: cannot access `/var/lib/nova/nova.sqlite': No such file or directory


Confirmed this is due to: nova-manage db sync

Seems to explain the glance requirement, still seems odd. this line is the culprit: GlanceClient = utils.import_class('glance.client.Client')

nova,glance,keystone,swift,volume etc are supposed to be separate from each other, one for upstream to fix it would seem.

Comment 3 David Busby 2011-10-24 16:50:55 UTC
added launchpad link to seealso

Comment 4 Mark McLoughlin 2012-03-08 08:54:37 UTC
Ok, so the root of the problem is that there's no python-glanceclient package. 

https://blueprints.launchpad.net/glance/+spec/separate-client

When it's possible upstream to package the glance client separately, we can package that and have depend nova on it rather than the server


Note You need to log in before you can comment on or make changes to this bug.