assess_network_health AttributeError: 'GeneratorContextManager' object has no attribute 'spaces'

Bug #1674425 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-ci-tools
Fix Released
High
Michael Skalka

Bug Description

http://juju-ci.vapour.ws/job/xx-network-health-vipl cannot iterate spaces because the object passed is not a maas, but a GeneratorObject.

Traceback (most recent call last):
  File "/var/lib/jenkins/juju-ci-tools/utility.py", line 426, in logged_exception
    yield
  File "/var/lib/jenkins/juju-ci-tools/deploy_stack.py", line 897, in runtime_context
    yield
  File "/var/lib/jenkins/juju-ci-tools/deploy_stack.py", line 1007, in booted_context
    yield machines
  File "/var/lib/jenkins/juju-ci-tools/assess_network_health.py", line 586, in main
    maas=manager)
  File "/var/lib/jenkins/juju-ci-tools/assess_network_health.py", line 63, in assess_network_health
    setup_spaces(maas, bundle)
  File "/var/lib/jenkins/juju-ci-tools/assess_network_health.py", line 529, in setup_spaces
    existing_spaces = maas.spaces()
AttributeError: 'GeneratorContextManager' object has no attribute 'spaces'

Related branches

Michael Skalka (mskalka)
Changed in juju-ci-tools:
assignee: nobody → Michael Skalka (mskalka)
status: Triaged → 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.