Devstack broken by horizon refactor

Bug #943137 reported by Gabriel Hurley
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Critical
Unassigned

Bug Description

The final blueprint for Horizon's E4 timeline was a packaging refactor which moved a lot of files. This completely breaks devstack.

Review for fix available here: https://review.openstack.org/4684

Dean Troyer (dtroyer)
Changed in devstack:
status: New → In Progress
importance: Undecided → Critical
Dean Troyer (dtroyer)
Changed in devstack:
status: In Progress → Fix Committed
Revision history for this message
Matt Joyce (matt-nycresistor) wrote :

Still seeing errors in current merged build. Verified fixes are in.

Verified March 6 15:30 PST

Output follows:

Installed /opt/stack/nova
Processing dependencies for nova==2012.1
Finished processing dependencies for nova==2012.1
+ is_service_enabled horizon
+ services=horizon
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,mysql,rabbit, =~ ,horizon, ]]
+ return 0
+ cd /opt/stack/horizon
+ sudo python setup.py develop
Traceback (most recent call last):
  File "setup.py", line 24, in <module>
    from horizon import version
  File "/opt/stack/horizon/horizon/__init__.py", line 29, in <module>
    from horizon.base import Horizon, Dashboard, Panel, Workflow
  File "/opt/stack/horizon/horizon/base.py", line 38, in <module>
    from horizon.decorators import (require_auth, require_roles,
  File "/opt/stack/horizon/horizon/decorators.py", line 29, in <module>
    from horizon.exceptions import NotAuthorized, NotFound
  File "/opt/stack/horizon/horizon/exceptions.py", line 129, in <module>
    swiftclient.Error,
AttributeError: 'module' object has no attribute 'Error'
++ failed
++ local r=1
++ set +o xtrace

Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

That error has nothing to do with the refactor. It showed up afterwards and is related somehow to the packaging of cloudfiles. If there isn't a separate ticket for it open already there ought to be.

Dean Troyer (dtroyer)
Changed in devstack:
status: Fix Committed → Fix Released
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.