AttributeError: 'DockerDriver' object has no attribute 'active_migrations'

Bug #1584741 reported by zhangguoqing
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nova-docker
Fix Released
Undecided
zhangguoqing

Bug Description

ERROR:
http://logs.openstack.org/38/317338/1/check/gate-nova-docker-python27/ca75e17/console.html#_2016-05-17_10_57_52_052

2016-05-17 10:57:52.051 |FAIL: novadocker.tests.virt.docker.test_driver.DockerDriverTestCase.test_live_migration_force_complete
2016-05-17 10:57:52.051 | tags: worker-5
2016-05-17 10:57:52.051 | ----------------------------------------------------------------------
2016-05-17 10:57:52.051 | Empty attachments:
2016-05-17 10:57:52.051 | pythonlogging:''
2016-05-17 10:57:52.051 | stderr
2016-05-17 10:57:52.051 | stdout
2016-05-17 10:57:52.051 |
2016-05-17 10:57:52.051 | Traceback (most recent call last):
2016-05-17 10:57:52.052 | File "/home/jenkins/workspace/gate-nova-docker-python27/.tox/py27/src/nova/nova/tests/unit/virt/test_virt_drivers.py", line 58, in wrapped_func
2016-05-17 10:57:52.052 | return f(self, *args, **kwargs)
2016-05-17 10:57:52.052 | File "/home/jenkins/workspace/gate-nova-docker-python27/.tox/py27/src/nova/nova/tests/unit/virt/test_virt_drivers.py", line 671, in test_live_migration_force_complete
2016-05-17 10:57:52.052 | self.connection.active_migrations[instance_ref.uuid] = deque()
2016-05-17 10:57:52.052 | AttributeError: 'DockerDriver' object has no attribute 'active_migrations'
2016-05-17 10:57:52.052 | Ran 143 tests in 7.463s
2016-05-17 10:57:52.052 | FAILED (id=0, failures=2, skips=1)
2016-05-17 10:57:52.052 | error: testr failed (1)
2016-05-17 10:57:52.077 | ERROR: InvocationError: '/home/jenkins/workspace/gate-nova-docker-python27/.tox/py27/bin/python setup.py testr --slowest --testr-args='

Changed in nova-docker:
assignee: nobody → zhangguoqing (474751729-o)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova-docker (master)

Fix proposed to branch: master
Review: https://review.openstack.org/319900

Changed in nova-docker:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova-docker (master)

Reviewed: https://review.openstack.org/319900
Committed: https://git.openstack.org/cgit/openstack/nova-docker/commit/?id=034a4842fc1ebba5912e02cff8cd197ae81eb0c3
Submitter: Jenkins
Branch: master

commit 034a4842fc1ebba5912e02cff8cd197ae81eb0c3
Author: zhangguoqing <zhang.guoqing@99cloud.net>
Date: Mon May 23 12:17:07 2016 +0000

    add active_migrations attribute to DockerDriver

    1. For passing the nova unit tests about the active_migrations attribute.
    2. Fix test_get_dns_entries DNS IPs that changed from nova.
    3. Add conf path to netconf that changed from nova.

    Closes-Bug: #1584741
    Closes-Bug: #1582615

    Change-Id: Iaab7e695055f042b9060f07e31681c66197b8c79

Changed in nova-docker:
status: In Progress → 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.