use "ip" commands on tacker devstack script

Bug #1670952 reported by yong sheng gong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Fix Released
Undecided
yong sheng gong

Bug Description

problem:
with report:

http://logs.openstack.org/80/441080/4/check/gate-tacker-dsvm-functional-ubuntu-xenial-nv/bd91e5c/logs/devstacklog.txt.gz
2017-03-08 02:31:34.348 | Deleting networks
2017-03-08 02:32:08.327 | Creating networks
2017-03-08 02:32:34.410 | Assign ip address to BR_MGMT
2017-03-08 02:32:37.178 | exit_trap: cleaning up child processes

so it seems the the 'ifconfig' does not exist on some CI host.
https://github.com/openstack/tacker/blob/master/devstack/lib/tacker#L383
    echo "Assign ip address to BR_MGMT"
    sudo ifconfig ${BR_MGMT} inet 0.0.0.0
    sudo ifconfig ${BR_MGMT} inet ${NETWORK_GATEWAY_MGMT_IP}

solution:
use "ip address" command

Changed in tacker:
milestone: none → pike-1
assignee: nobody → yong sheng gong (gongysh)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tacker (master)

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

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

Reviewed: https://review.openstack.org/442967
Committed: https://git.openstack.org/cgit/openstack/tacker/commit/?id=366e333453de624dcfcfd6739fc4fa87146c57fb
Submitter: Jenkins
Branch: master

commit 366e333453de624dcfcfd6739fc4fa87146c57fb
Author: yong sheng gong <gong.yongsheng@99cloud.net>
Date: Wed Mar 8 14:47:06 2017 +0800

    Use "ip" commands to replace "ifconfig" commands

    It seems the 'ifconfig' does not exist on some CI hosts.
    And neutron related commands are also using ip commands.

    Change-Id: Id549340b8420423c92ee9443b9fd203aacffa89e
    Closes-bug: 1670952

Changed in tacker:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tacker 0.8.0

This issue was fixed in the openstack/tacker 0.8.0 release.

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.