fullstack fails to get vm Mac

Bug #1793450 reported by wang jian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DragonFlow
New
Undecided
Unassigned

Bug Description

values() does not return a list in Python3 and we use the following codes to get Mac address from a VM in full stack. This does not work in Python3

self.server.addresses.values()[0][0][
                'OS-EXT-IPS-MAC:mac_addr'

wang jian (wangjian011)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to dragonflow (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to dragonflow (master)

Reviewed: https://review.openstack.org/603999
Committed: https://git.openstack.org/cgit/openstack/dragonflow/commit/?id=e304ca37710e8b382954d1594e7bae52df9f414f
Submitter: Zuul
Branch: master

commit e304ca37710e8b382954d1594e7bae52df9f414f
Author: wangjian <email address hidden>
Date: Thu Sep 20 14:48:16 2018 +0800

    failed to get vm mac

    values() does not return a list Python3

    Close-Bug: #1793450
    Change-Id: I420210fa969a6a5c8805728fc17ee760e37a08af

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.