6710 Commits

Author SHA1 Message Date
Jenkins
28c48ea68f Merge "Add base cinder common interface" 2017-04-05 16:58:39 +00:00
Jenkins
4444a7c456 Merge "Remove deprecated method build_instance_info_for_deploy()" 2017-04-05 16:58:30 +00:00
Jenkins
c074da7cf0 Merge "Node should reflect what was saved" 2017-04-05 16:34:08 +00:00
Jenkins
f9ccfd98cf Merge "Fix access to CONF in dhcp_options_for_instance" 2017-04-05 15:28:27 +00:00
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
kesper
aa3ebd6da5 Add string comparison for 'IRONIC_DEPLOY_DRIVER'
For ilo drivers, IRONIC_DEPLOY_DRIVER check need to be change.
It was integer comparison supposed to be string comparison.

Closes-Bug:1679944

Change-Id: I3ad04ff36ebe0b4ab3f4a2050f91044dc32a2631
2017-04-05 05:12:46 -04: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
Ruby Loo
62c6377adf Node should reflect what was saved
After a node is saved to the database, we weren't updating the
Node object to reflect what was saved. This caused a problem
where the node's update_at field was incorrect. It was fixed
in 065326c0f55a73c99706148f7bfbbec87ea863bc by explicitly
setting node.update_at. However, that doesn't address other
node fields that may be out of sync.

The more correct fix would be to do a similar thing that (most
of) the other Objects do, which is for the node to update itself
via ._from_db_object().

Doing this revealed several incorrect tests and code in the conductor
and agent where changes to the node's dictionaries were incorrectly
being set and thus, not being saved. Those are fixed in this patch.

Change-Id: Ia84cd60c1a4eabcc1ad0a756124c338fa9f644c8
Closes-Bug: #1679297
Related-Bug: #1281638
2017-04-04 09:19:31 -04: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
Joanna Taryma
459fe314fa Add base cinder common interface
Addition of common cinder related code that a storage interface
driver will be able to leverage for interacting with cinder.

Co-Authored-By: Joanna Taryma <joanna.taryma@intel.com>
Partial-Bug: #1559691
Change-Id: I4aed895e52fcefb61dd0751e8bc9b39a26706276
2017-04-03 09:37:50 -07: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
Shivanand Tendulker
d6ccfb0e9e Remove deprecated method build_instance_info_for_deploy()
The method build_instance_info_for_deploy in
ironic.drivers.modules.agent was deprecated in the Ocata cycle
(7.0.0). It is no longer supported. The method
build_instance_info_for_deploy() from
ironic.drivers.modules.deploy_utils should be used instead.

Change-Id: I88dfb0b84709ca3545bb4d4384bfad58ec2eb0a0
Closes-Bug: #1678902
2017-04-03 07:50:57 -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