6702 Commits

Author SHA1 Message Date
Vasyl Saienko
316151ea5f Fix access to CONF in dhcp_options_for_instance
Use direct  CONF declaration.

Change-Id: Icc07a31a2d49f357821654d3c54098428afd8a90
2017-04-05 15:02:01 +03:00
Jenkins
d78b971654 Merge "Fix base object serialization checks" 2017-04-04 23:06:55 +00:00
Jenkins
9e3aebfb6f Merge "Revert "[Devstack] Rework VMs connection logic"" 2017-04-04 23:04:18 +00:00
Julia Kreger
d756d064c5 Revert "[Devstack] Rework VMs connection logic"
This reverts commit 4ec88c9b8acb1229c30bb39cb5b92bb3131da6d2.

The commit changed the port creation logic with the change
of the variable creation/handling such that the ports are only
created in devstack scenarios, thus breaking third party CI
running on baremetal.

Change-Id: I6cd163e7cbe2b075f91f16d6a7965b674ce8e2a4
2017-04-04 19:16:26 +00:00
Jim Rollenhagen
25bfdcdd1f Fix base object serialization checks
We're missing unicode and long types in python 2 and bytes in python 3
here. These don't need to be serialized but will currently emit a
warning log when we hit this path. Add these types (via six so we're
compatible).

Change-Id: Ifb0fba3a82d7b24c25893ba258c74a66630617d9
2017-04-04 13:39:46 -04:00
Jenkins
a8abc54c1b Merge "Add assertion of name to test_list_portgroups test" 2017-04-04 14:12:59 +00:00
Jenkins
7ad3f9de8b Merge "Updates to RPC and object version pinning" 2017-04-04 10:21:02 +00:00
Jenkins
7a9af981a9 Merge "Updated from global requirements" 2017-04-04 09:29:13 +00:00
Jenkins
65eaf280a5 Merge "Call clean_up_instance() during node teardown for Agent deploy" 2017-04-04 05:46:32 +00:00
OpenStack Proposal Bot
c5da4ae0c9 Updated from global requirements
Change-Id: I21c6d178d440e0da4817bb28849cf0f3ffa00a3c
2017-04-03 21:51:38 +00:00
Ruby Loo
4f10391494 Updates to RPC and object version pinning
Adds a warning to pin_release_version config to indicate that it
isn't being used yet since the rolling upgrades work isn't complete.

Also includes updates as a followup to
9bc06783ecaff5eef58535904abc12ea15982329, including adding a
release mapping for ironic version 8.0.

Change-Id: I2145f76a6802e8116b9ee2c1e23a88322b1bdeac
2017-04-03 11:40:42 -04:00
Jim Rollenhagen
9186f7f192 Add release note for messaging alias removal
These were removed in 330ba8c502880a16db4d2673ab36358f559711ec but was
missing a release note. Add one in.

Change-Id: I34521c459805c8d4bce6830c0b31bd252df714fb
2017-04-03 11:05:44 -04:00
Jenkins
73c29a4c66 Merge "Remove deprecated, untested ipminative driver" 2017-04-03 10:25:15 +00:00
Jenkins
41bd6f28d6 Merge "[Devstack] Rework VMs connection logic" 2017-04-03 10:22:32 +00:00
Jay Faulkner
96eafdc866 Remove deprecated, untested ipminative driver
The ipminative driver was marked as unsupported on September 28, 2016,
and an email was sent to the list on March 9th, 2017 asking for
volunteers to run third-party CI to save the driver from deprecation.

Additionally, many ironic contributors who also deploy ironic have
reported instability while using this driver. For these reasons it's
being removed from the main ironic tree. If there are any users still
interested in this driver, they are invited to host it elsewhere.

Change-Id: I9bc9f4cbd916f040a636b967ec5556197ad3d8a8
Closes-bug: #1671532
2017-03-30 10:34:21 -07:00
Jenkins
fe47326a1f Merge "Docs: bump tempest microversion caps after branching" 2017-03-30 17:26:12 +00:00
Jenkins
76d21c710a Merge "Remove unnecessary setUp function in testcase" 2017-03-30 16:25:56 +00:00
Sam Betts
4ec88c9b8a [Devstack] Rework VMs connection logic
Devstack currently plugs the simulated baremetal VMs into OVS using the
libvirt bridge driver, this caused a problem because libvirt unplugs the
VM from the network when it is turned off. To fix this an extra bridge
was added between the VM and OVS to allow the OVS port to persist even
when the VM was turned off. This patch replaces how the devstack
simulated baremetal VMs are plugged into OVS with a manually created tap
interface, this removes the need for an extra bridge, because manually
created tap interfaces aren't unplugged when the VM is turned off.

Allow to connect several interfaces to a node by setting
IRONIC_VM_INTERFACE_COUNT devstack variable.

Co-Authored-By: Vasyl Saienko <vsaienko@mirantis.com>

Change-Id: Iafd470445d59f0e2009e65ddaf65a6c603a1e1c1
2017-03-30 14:05:17 +00:00
Jenkins
fb76658318 Merge "Skip PortNotFound when unbinding port" 2017-03-30 13:29:23 +00:00
Jim Rollenhagen
75f3b3a5ec Docs: bump tempest microversion caps after branching
These should remain uncapped on master, so we should update the caps
after branching, and only on the stable branch.

Change-Id: Ia35f4f6250accee201a3ea2e2ba49772f672142a
2017-03-30 08:55:15 -04:00
Kyrylo Romanenko
0594b85ea4 Add assertion of name to test_list_portgroups test
Change-Id: Ic745433cd425c874b14ab99a4e326cf41a1d15cf
2017-03-30 15:38:55 +03:00
Jenkins
9c1419ec0d Merge "Convert BaseDriver.*_interfaces to tuples" 2017-03-30 11:32:24 +00:00
Jenkins
70fd2e36b7 Merge "Skip VIF tests for standalone ironic" 2017-03-30 11:32:15 +00:00
Jenkins
d09bf88a2b Merge "Remove extra blank space in ClientSide error msg" 2017-03-30 11:22:33 +00:00
Vasyl Saienko
940c87d6c4 Skip PortNotFound when unbinding port
There might be cases when user deleted port before doing vif_detach.
With this patch info message will be shown in the logs for such cases.

Change-Id: Ic3c5073130a4839f27692db1862100bdd7dfca1e
2017-03-30 12:17:54 +03:00
XieYingYun
95408132be Remove unnecessary setUp function in testcase
Change-Id: Ia089ef601d0cca7ac7f173acbdacca162e0ddc69
2017-03-30 15:39:55 +08:00
Jenkins
22e8bb2b4d Merge "Updated from global requirements" 2017-03-29 21:29:36 +00:00
Jenkins
c7f4976d21 Merge "Allow to attach/detach VIFs to active ironic nodes" 2017-03-29 20:28:32 +00:00
Ruby Loo
e0d128b9ab Remove extra blank space in ClientSide error msg
This removes the extra blank space in the error message
'Adding a new attribute (%s)s to the root of  the resource
is not allowed'.

Change-Id: I642ec65b3f52d83b01777d71684c37edad4a3553
2017-03-29 20:25:20 +00:00
OpenStack Proposal Bot
1d77f1a9ea Updated from global requirements
Change-Id: Ie82d8d88f416933bcdd964dcfd2ed63e31d7eb03
2017-03-29 18:42:24 +00:00
Jenkins
a84c2e0d8e Merge "Add RPC and object version pinning" 2017-03-29 17:33:17 +00:00
Jenkins
a5c68120d3 Merge "Copy and append to static lists" 2017-03-29 12:02:42 +00:00
John L. Villalovos
200ed9244d Convert BaseDriver.*_interfaces to tuples
Use tuples instead of lists as it will be more difficult for developers
to accidentally overwrite/modify the variables.

This was inspired by commit 338651eae5b7c416f04970b9d60f09dc2dab8adb
which was fixing an issue where the base class variables were being
modified accidentally.

Change-Id: Ib7d67580ca377fabeb958c68a4d0d9bd2e2fd33a
2017-03-28 21:21:19 -07:00
Jenkins
45f59d45b9 Merge "Remove translation of log messages from ironic/conductor" 2017-03-29 03:03:56 +00:00
Jenkins
c1909f7345 Merge "devstack: install python-dracclient if DRAC enabled" 2017-03-29 00:08:52 +00:00
Jenkins
fca037e65c Merge "Don't pass sqlite_db in db_options.set_defaults()" 2017-03-28 23:46:24 +00:00
Jenkins
118abc7d16 Merge "[doc] Update examples in devstack section" 2017-03-28 19:55:45 +00:00
Ruby Loo
a548b5c0da [doc] Update examples in devstack section
This updates some of the example commands and output tables
(missing columns) in the documentation for using devstack
with ironic.

Change-Id: I30c1fd47f96ad13f544f5ed2d6b3aa040e27414d
2017-03-28 15:08:41 -04:00
Jenkins
14b62d246f Merge "Document PXE with Spanning Tree in troubleshooting FAQ" 2017-03-28 19:02:46 +00:00
Miles Gould
0adb6dd1b9 devstack: install python-dracclient if DRAC enabled
Change-Id: Ic1b132e25c13e0171ac1d5edf109a5412d76e56f
2017-03-28 17:16:19 +01:00
Shivanand Tendulker
ef9300cb59 Call clean_up_instance() during node teardown for Agent deploy
Agent based deploy do not call boot.clean_up_instance() during node
teardown. This is required so that instance clean up can happen as
part of node teardown.

Change-Id: I6077b69f17ce462b6aae1b16fdb40158cf111c5e
Closes-Bug: #1676321
2017-03-28 09:18:36 -04:00
Vasyl Saienko
d31d984871 Don't pass sqlite_db in db_options.set_defaults()
The option sqlite_db was deprecated and removed by
Id269d921e40edf95eb977b011f1753f633b79d18

As we passed it as positional argument, another max_pool_size
var was set automatically.
This patch removes dropped sqlite_db option.

Change-Id: Icdd89453ec3ebecd8375a5f2efd1a0d4bf6b4064
Closes-Bug: #1676809
2017-03-28 14:42:29 +03:00
Derek Higgins
338651eae5 Copy and append to static lists
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
2017-03-27 16:50:28 +00:00
Jenkins
8aec5fb6a5 Merge "Fix docstrings for creating methods in baremetal api tests" 2017-03-24 15:13:46 +00:00
Vasyl Saienko
beb186721f Define minimum required API ver for portgroups
This patch defines min_microversion for API portgroup tests to
skip them when this API version is not supported/available.
For example on stable/mitaka branches.

Change-Id: I8895e1e6a819b5b3821fdfc10e1cff8626c9eb29
2017-03-24 10:41:47 +00:00
Jenkins
4278269b71 Merge "Updated from global requirements" 2017-03-24 03:42:14 +00:00
Grzegorz Grasza
9bc06783ec Add RPC and object version pinning
To support rolling upgrades, capping of RPC communication and Ironic
objects is required. Old RPC services and objects may still be running
while an upgrade is in progress. This makes sure that these old
services are called and all objects are used in a supported RPC and
objects version.

This patch adds the configuration option "pin_release_version". Setting
this option caps (downgrades) the internal RPC communication to the
specified version to enable communication with older services. When
doing a rolling upgrade from version X to Y, set this to X. It defaults
to using the newest (current) possible RPC behavior and object versions.

Change-Id: Ie2342d4051f85392a8b10d39ebffc287da57bf2b
Partial-Bug: #1526283
Co-Authored-By: Szymon Borkowski <szymon.borkowski@intel.com>
Co-Authored-By: Ruby Loo <ruby.loo@intel.com>
2017-03-24 02:05:02 +00:00
Jenkins
d10b102ba7 Merge "Remove log translation function calls from ironic.db" 2017-03-23 23:46:27 +00:00
OpenStack Proposal Bot
b613a3ccce Updated from global requirements
Change-Id: I244a1d6f66d61a8185ff930f0ccf73fdcaaf105a
2017-03-23 22:49:30 +00:00
Jenkins
491fb3374d Merge "Updates documentation to install PySqlite3" 2017-03-23 21:55:36 +00:00