We enable plugin and services in project-config.
Drop those duplications from devstack/upgrade/settings
Change-Id: I95d83d6b1f2914cbb0373099e128ab462fc3b492
(cherry picked from commit 210ec9d345)
Tox in Fedora 25 uses python 3 by default, and UcsSdk is not compatible with it.
Change-Id: Ib67b771bf2277a858f2a621d652bfc3c9254058e
(cherry picked from commit 8058716018)
When installing virtualbmc, take into account the requirements and
constraints from openstack/requirements.
Change-Id: I61a9279ae5ab12fd0415fdfbc5a696250c0bd09d
(cherry picked from commit f8e6adea83)
If original disk image has ID of 0x00000000 it's overwritten by parted
with a non-zero value. The original ID is stored in pxelinux.cfg/* config
file and the node fails to boot.
Reading the ID was moved to after config drive setup so that the final ID
is returned.
Change-Id: Icbfa3e93bf6252177a0baa5f89bf4565ff331520
Closes-Bug: #1685093
(cherry picked from commit cbc29a9b7b)
Introduces a new validation to ensure the node deallocation
process will only be performed to nodes that have Server
Profile applied in OneView. When the allocation process
fails, the machine will have no Server Profile applied in
OneView and in ironic it will have no reference to any
Server Profile. Under these conditions if the deallocation
process be performed the driver will try to delete a
nonexistent Server Profile in OneView, leaving the node
in error state in ironic.
Change-Id: I83cef7fafac4e22ebf5eb4fe83f6da26ec132c99
Closes-Bug: #1657892
(cherry picked from commit 0b23a041f1)
An issue when it was impossible to update ``node.driver``
to classic if the current driver is one of hardware types.
Change-Id: I348a27a13d3025fe7e8ddfa31992b895a3809730
Closes-Bug: #1668579
(cherry picked from commit 3d02084559)
For grenade job we need to open firewall on provision network IP on
subnode. This needed for grenade job to setup redirect from primary
node to subnode.
Change-Id: I026121121059768aa74389add7eee6e63fdb214d
core_interfaces and standard_interfaces are both static members of BaseDriver
we need to take a copy of them before appending to them.
Change-Id: Ic6edc5e49a25849c7871dbc9e6e1d5a5eb229e57
Closes-Bug: #1672457
(cherry picked from commit 338651eae5)
Proliantutils 2.2.1 and newer require pbr>2, while ironic/stable/ocata
requires pbr<2, which makes those incompatible.
Pin proliantutils version to latest that was not requirng pbr>2.
Change-Id: I4aa964be37a60145bfcbe080fb778aed99df89c0
To support multi-node grenade jobs we need to move enabling of the
ironic devstack plugin out of the ironic grenade settings file
devstack/upgrade/settings. But if we add enabling of the ironic devstack
plugin to project-config it will cause the gate to break as the plugin
will be enabled twice.
This checks to see if the ironic devstack plugin has already been
enabled:
* If it has already been enabled it will not enable it again.
* If it has not yet been enabled it will enable it.
This will allow us to update project-config to enable the ironic
devstack plugin and not break the gate.
After all the changes have landed we will propose a follow-up patch to
remove all this additonal logic and the enabling of the ironic devstack
plugin.
Change-Id: I09ed78ef918eb0359045350e89d42c6df9f3e490
(cherry picked from commit 0be91665b4)
This release note is missing from the generated release notes
because the content was put in the 'upgrades' section; which
doesn't exist. This changes it to be in the 'upgrade' section.
Change-Id: I23cf5fa1a6797579c368fb4033e9be46f612ec1e
(cherry picked from commit 52b38ee672)
We apply specific rules when doing VIF attach, do not duplicate them
in vif_detach just walk over all port and portgroup objects.
This also fixes an issue when VIF was attached to port manually
(set vif_port_id key in port.extra) and it is impossible to detach
such VIF via v1/nodes/<node_ident>/vifs API.
Closes-Bug: #1663660
Change-Id: I70fe87bb4ae15a506fec705d10beaed572c0b45e
This fixes an irmc test and oneview mock that were causing timeouts
in unittests with driver-requirements installed, as they were trying
to establish a connection to oneview/irmc management controller.
Change-Id: I1c01e6744064e3f0b8ed8188fb5d5edf9f544682
Closes-Bug: #1663709
We mock out driver libraries in unit tests if they are not installed,
which leads to a periodic break in unit tests when they are actually
installed in the environment. This is sometimes a real break and
sometimes just a bad test, but at any rate it slows down packagers
and actual users.
Add a new tox target that runs unit tests with these installed,
so that we can put something in CI and stop breaking this.
Partial-Bug: #1626106
Change-Id: I81ce147c8958bb89b316c3c28fc9bce172f93873