keystonemiddleware / ImportError: cannot import name opts

Bug #1591579 reported by Emilien Macchi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Invalid
Undecided
Unassigned

Bug Description

Deploying latest keystonemiddleware from trunk and latest sahara, sahara api fails to start:

Jun 11 06:31:33 centos-7-ovh-gra1-1596732 systemd[1]: openstack-sahara-api.service failed.
Jun 11 06:31:33 centos-7-ovh-gra1-1596732 sahara-engine[23361]: Traceback (most recent call last):
Jun 11 06:31:33 centos-7-ovh-gra1-1596732 sahara-engine[23361]: File "/usr/bin/sahara-engine", line 6, in <module>
Jun 11 06:31:33 centos-7-ovh-gra1-1596732 sahara-engine[23361]: from sahara.cli.sahara_engine import main
Jun 11 06:31:33 centos-7-ovh-gra1-1596732 sahara-engine[23361]: File "/usr/lib/python2.7/site-packages/sahara/cli/sahara_engine.py", line 40, in <module>
Jun 11 06:31:33 centos-7-ovh-gra1-1596732 sahara-engine[23361]: import sahara.main as server
Jun 11 06:31:33 centos-7-ovh-gra1-1596732 sahara-engine[23361]: File "/usr/lib/python2.7/site-packages/sahara/main.py", line 27, in <module>
Jun 11 06:31:33 centos-7-ovh-gra1-1596732 sahara-engine[23361]: from sahara import config
Jun 11 06:31:33 centos-7-ovh-gra1-1596732 sahara-engine[23361]: File "/usr/lib/python2.7/site-packages/sahara/config.py", line 19, in <module>
Jun 11 06:31:33 centos-7-ovh-gra1-1596732 sahara-engine[23361]: from keystonemiddleware import opts # noqa
Jun 11 06:31:33 centos-7-ovh-gra1-1596732 sahara-engine[23361]: File "/usr/lib/python2.7/site-packages/keystonemiddleware/opts.py", line 23, in <module>
Jun 11 06:31:33 centos-7-ovh-gra1-1596732 sahara-engine[23361]: from keystonemiddleware.auth_token import _auth
Jun 11 06:31:33 centos-7-ovh-gra1-1596732 sahara-engine[23361]: File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 235, in <module>
Jun 11 06:31:33 centos-7-ovh-gra1-1596732 sahara-engine[23361]: from keystonemiddleware import opts
Jun 11 06:31:33 centos-7-ovh-gra1-1596732 sahara-engine[23361]: ImportError: cannot import name opts

Revision history for this message
Emilien Macchi (emilienm) wrote :
Changed in sahara:
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to sahara (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/329453

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on sahara (master)

Change abandoned by Vitaly Gridnev (<email address hidden>) on branch: master
Review: https://review.openstack.org/329453

Revision history for this message
Vitalii Gridnev (vgridnev) wrote :

Seems like issue should be fixed by https://bugs.launchpad.net/keystonemiddleware/+bug/1591913 , is it right?

Changed in sahara:
status: Confirmed → Incomplete
Changed in sahara:
status: Incomplete → Invalid
importance: Critical → Undecided
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.