Bug 1250166

Summary: openstack-neutron depends on python-oslo-messaging
Product: Red Hat OpenStack Reporter: Lars Kellogg-Stedman <lars>
Component: openstack-neutronAssignee: Alan Pevec <apevec>
Status: CLOSED CURRENTRELEASE QA Contact: Ofer Blaut <oblaut>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.0 (Kilo)CC: chrisw, lpeer, nyechiel, sclewis, yeylon
Target Milestone: asyncKeywords: Triaged, ZStream
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-2015.1.1-2.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-16 14:31:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1249564    

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.