deb-ironic/ironic
Dmitry Tantsur da07c91dc3 Fix updating port MAC address for active nodes
Current update fails with HTTP 500 when trying to update a bound Neutron
port. Remove the binding before update and restore it during update.

For nodes in "active" state (or with instance_uuid assigned) only allow
such update in maintenance mode. This is not a breaking change, as previously
it did not work at all.

The cherry-pick has a small modification:
changed neutron.get_client to _build_client as get_client appeared in Newton.

Change-Id: I356fc0eb3702eb16b7f8e675ea416473c65af7e3
Closes-Bug: #1611744
(cherry picked from commit f4ff926ab1)
2016-10-11 11:07:45 +00:00
..
api Merge "Append 'Openstack-Request-Id' header to the response" 2016-03-22 19:57:35 +00:00
cmd Remove downgrade support from migrations 2016-02-08 15:31:15 +00:00
common Fix: Duplicated driver causes conductor to fail 2016-09-06 16:07:00 +00:00
conductor Fix updating port MAC address for active nodes 2016-10-11 11:07:45 +00:00
db Add db api layer for CRUD operations on node tags 2016-02-26 10:27:11 +08:00
dhcp Fix updating port MAC address for active nodes 2016-10-11 11:07:45 +00:00
drivers Merge "Add validation of 'ilo_deploy_iso' in deploy.validate()" into stable/mitaka 2016-09-22 16:34:08 +00:00
locale Imported Translations from Zanata 2016-01-27 06:38:00 +00:00
nova Enable flake8 checking of ironic/nova/* 2015-06-12 11:48:20 -07:00
objects Extend the Conductor RPC object 2016-03-18 13:18:55 +00:00
tests Fix updating port MAC address for active nodes 2016-10-11 11:07:45 +00:00
__init__.py Move eventlent monkeypatch out of cmd/ 2014-02-08 00:11:56 -08:00
netconf.py Enable translation for config option help messages 2015-07-06 10:57:53 -07:00
version.py Correct version.py and update current version string 2014-03-21 13:50:05 -07:00