[virtual-box] nmcli commands fail with network-manager version 1.2.0-0ubuntu0.16.04.3

Bug #1617453 reported by John Petrini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Maksim Malchuk
Mitaka
Fix Committed
High
Maksim Malchuk

Bug Description

The following error occurs when running the virtualbox script with network-manager version 1.2.0-0ubuntu0.16.04.3

Checking local DNS configuration... Error: Object 'nm' is unknown, try 'nmcli help'.

Workaround:

In functions/product.sh edit the following lines to look like the following:

      if [ -n "`LANG=C nmcli d | grep \"running\s\+connected\"`" ]; then
        nameserver="$(nmcli device show | grep 'IP[46].DNS' | sed -e 's/IP[46]\.DNS\[[0-9]\+\]:\s\+/nameserver /'| grep -v 'nameserver\s\s*127.' | head -3)"
      fi

Changed in fuel:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
milestone: none → 10.0
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Maksim Malchuk (mmalchuk)
tags: added: team-bugfix vbox-scripts
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-virtualbox (master)

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

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-virtualbox (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/363714

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

Reviewed: https://review.openstack.org/363708
Committed: https://git.openstack.org/cgit/openstack/fuel-virtualbox/commit/?id=16c48fc045646140a487efb357b5180ed0e58d3f
Submitter: Jenkins
Branch: master

commit 16c48fc045646140a487efb357b5180ed0e58d3f
Author: Maksim Malchuk <email address hidden>
Date: Wed Aug 31 17:18:21 2016 +0300

    Correctly support all NetworkManager versions

    This change adds support of the all versions of the nmcli command.

    Change-Id: Icc5f93d052c451116b23c2922fe18e23e3f72746
    Closes-Bug: #1617453
    Signed-off-by: Maksim Malchuk <email address hidden>

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-virtualbox (stable/mitaka)

Reviewed: https://review.openstack.org/363714
Committed: https://git.openstack.org/cgit/openstack/fuel-virtualbox/commit/?id=11e8dbddb25bd9b4ba77c2413f14b88c80b03531
Submitter: Jenkins
Branch: stable/mitaka

commit 11e8dbddb25bd9b4ba77c2413f14b88c80b03531
Author: Maksim Malchuk <email address hidden>
Date: Wed Aug 31 17:18:21 2016 +0300

    Correctly support all NetworkManager versions

    This change adds support of the all versions of the nmcli command.

    Change-Id: Icc5f93d052c451116b23c2922fe18e23e3f72746
    Closes-Bug: #1617453
    Signed-off-by: Maksim Malchuk <email address hidden>

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.