Bug 1250166 - openstack-neutron depends on python-oslo-messaging
Summary: openstack-neutron depends on python-oslo-messaging
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: async
: 7.0 (Kilo)
Assignee: Alan Pevec
QA Contact: Ofer Blaut
URL:
Whiteboard:
Depends On:
Blocks: track-osp6-osp7
TreeView+ depends on / blocked
 
Reported: 2015-08-04 15:52 UTC by Lars Kellogg-Stedman
Modified: 2023-02-22 23:02 UTC (History)
5 users (show)

Fixed In Version: openstack-neutron-2015.1.1-2.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-16 14:31:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lars Kellogg-Stedman 2015-08-04 15:52:24 UTC
Description of problem:

The openstack-neutron package requires python-oslo-messaging, but this fact is not reflected in the package dependencies.  Installing openstack-neutron from OSP 7 and trying to run `neutron-db-manage` yields:

Traceback (most recent call last):
  File "/bin/neutron-db-manage", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 238, in main
    CONF.command.func(config, CONF.command.name)
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 72, in do_alembic_command
    getattr(alembic_command, cmd)(config, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/alembic/command.py", line 319, in current
    script.run_env()
  File "/usr/lib/python2.7/site-packages/alembic/script.py", line 382, in run_env
    util.load_python_file(self.dir, env.py)
  File "/usr/lib/python2.7/site-packages/alembic/util.py", line 242, in load_python_file
    module = load_module_py(module_id, path)
  File "/usr/lib/python2.7/site-packages/alembic/compat.py", line 79, in load_module_py
    mod = imp.load_source(module_id, path, fp)
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/alembic_migrations/env.py", line 23, in <module>
    from neutron.db.migration.models import head  # noqa
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/models/head.py", line 24, in <module>
    from neutron.db import agents_db  # noqa
  File "/usr/lib/python2.7/site-packages/neutron/db/agents_db.py", line 20, in <module>
    import oslo_messaging
ImportError: No module named oslo_messaging

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

openstack-neutron-2015.1.0-12.el7ost.noarch

Comment 3 Lars Kellogg-Stedman 2015-09-28 15:43:50 UTC
This appears to be have been fixed by apevec in commit 03f835f1.

Comment 4 Lon Hohberger 2015-10-16 14:31:25 UTC
openstack-neutron-2015.1.1-7.el7ost is presently in RHEL OSP 7.0, so this is resolved.


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