6020 Commits

Author SHA1 Message Date
Jenkins
849c7ef126 Merge "Move deploy_forces_oob_reboot to deploy drivers" 2016-11-22 12:25:53 +00:00
Jenkins
5a8d3d6594 Merge "Remove deprecated Neutron DHCP provider methods" 2016-11-22 02:25:11 +00:00
Jenkins
2c4998e7b8 Merge "Fix exception handling in iscsi_deploy.continue_deploy" 2016-11-22 00:52:12 +00:00
Vasyl Saienko
a9a1293312 Remove deprecated Neutron DHCP provider methods
This patch removes deprecated methods from Neutron DHCP provider:

 * create_cleaning_ports
 * delete_cleaning_ports

Also drop related methods from deploy_utils in ironic.drivers.modules

 * prepare_cleaning_ports
 * tear_down_cleaning_ports

If you have your own custom ironic DHCP provider that implements
cleaning methods, you may need to update your code to use the
add_cleaning_network() and remove_cleaning_network() network interface
methods.

They were deprecated in I0c26582b6b6e9d32650ff3e2b9a3269c3c2d5454

Change-Id: I758e5b21028a4dfcca9c907c63020d0cfca4e37d
Closes-Bug: #1642512
2016-11-21 23:00:39 +00:00
Jenkins
a331baab0f Merge "Add notification documentation to install guide" 2016-11-21 22:26:17 +00:00
Jenkins
5fba93c5c4 Merge "Update the alembic migration section in the developer FAQ" 2016-11-21 22:26:03 +00:00
Jenkins
9299c6b849 Merge "Fix PXE setup for fresh Ubuntu Xenial" 2016-11-21 22:23:38 +00:00
Jenkins
b283a33530 Merge "Fix the message in the set_raid_config method" 2016-11-21 21:29:32 +00:00
Jenkins
c0308d8034 Merge "Add node (database and objects) fields for all interfaces" 2016-11-21 21:21:25 +00:00
Mario Villaplana
a9804c7ef6 Add notification documentation to install guide
This adds documentation about notifications in ironic to the install
guide.

Related-Bug: #1526408
Change-Id: I29d924633209326d2b141049f8f43a3d552c9ff4
2016-11-21 20:18:31 +00:00
Vladyslav Drok
f7a8a2cfa6 Fix the message in the set_raid_config method
The exception message was displaying the driver object representation
instead of the plain text value of the node's driver field.

Change-Id: I5111e6ad9d3a07e90c7ae7846f4bb825e15c13c6
2016-11-21 19:30:49 +02:00
Jenkins
2b5fdc991a Merge "Add node provision state change notification" 2016-11-21 16:06:48 +00:00
Pavlo Shchelokovskyy
d21564eaba Fix PXE setup for fresh Ubuntu Xenial
Since Ubuntu 15.04 the file 'pxelinux.0' is provided by different
package ('pxelinux') which is not being installed by DevStack.
Extra problem is that this package does not exsit for earlier Ubuntu
versions at all.

More over, while in Trusty 'syslinux' package depends on
'syslinux-common', it only recommends it in Xenial, but we need it
installed as it provides *.c32 modules required for syslinux.

This patch adds 'syslinux-common' and 'pxelinux' to required deb packages
list when distro is 'xenial' or 'jessie' (as this packaging change has
its origin in Debian) by using the distro pinning in the package lists
as supported by DevStack.

Change-Id: I473fc4eb52f28a456c3f6888d5c7b25e8e08be26
Closes-Bug: #1638940
2016-11-21 16:18:14 +02:00
Dmitry Tantsur
9e938f2466 Add node (database and objects) fields for all interfaces
For the driver composition reform we need nodes to record hardware
interfaces they're using. This change adds necessary fields.

The new fields will have a default value of None, which is the expected
value for nodes using classic drivers.

The new fields are not added to notifications yet, as they're not wired in.

Change-Id: Id7697de0276e9b2730ea62f9c562ed6e1d0f8a06
Partial-Bug: #1524745
2016-11-21 14:27:08 +01:00
Jenkins
5fe4687364 Merge "Use function is_valid_mac from oslo.utils" 2016-11-21 13:16:19 +00:00
Pavlo Shchelokovskyy
f03f3feb75 Move deploy_forces_oob_reboot to deploy drivers
Currently this driver option is exported by agent vendor interface which
is about to be removed.

Change-Id: I44e6ce39163d13d1e687bca3953a4bafe1e1be6d
Partial-Bug: #1640533
2016-11-21 11:20:48 +02:00
Vasyl Saienko
ff4c11e71e Add route to Neutron private network
Neutron no longer provide access to private network.
We need to add route manually to have ability to contact
with VM during provisioning.

https://review.openstack.org/#/c/397987/

Closes-Bug: #1642986
Change-Id: If281a1d6bc0fdaf48c4cfb8d923f7b1761f8162c
2016-11-18 18:33:19 +02:00
Yuriy Zveryanskyy
50a2f50ab8 Add node provision state change notification
This patch adds node provision state changes notifications,
event types are:
"baremetal.node.provision_set.{start, end, success, error}"
Developer documentation updated.

Change-Id: I6a5a2da6541596b7d1b7c1bf2795cfc6f86191fb
Partial-Bug: #1606520
2016-11-18 12:25:06 +02:00
Vladyslav Drok
42c7c489f2 Update the alembic migration section in the developer FAQ
After we've introduced a migration that relies on CONF option
in commit 1514b2a2f6, following the instruction steps will lead
to an ImportError. Change direct usage of the alembic command to
calling ironic-dbsync from the virtualenv.

Change-Id: I28e51e45c4e5cdb223795dbb4d720d233cd57808
2016-11-18 10:02:27 +00:00
Jenkins
0d3e2388a2 Merge "Add notification documentation to administrator's guide" 2016-11-17 21:04:19 +00:00
Jenkins
ead8292468 Merge "Timing metrics: iRMC drivers" 2016-11-17 21:02:31 +00:00
Mario Villaplana
cb2971ba27 Add notification documentation to administrator's guide
This moves the description of available notifications in ironic to the
administrator's guide and briefly describes how to configure
notifications. It also documents the message bus topic ironic
notifications are emitted on, since previously that required looking at
code to find out.

Related-Bug: #1526408
Change-Id: I4d5dfe92d2c2646a7cc803fa6ea7ade723aba310
2016-11-17 20:22:27 +00:00
Jenkins
adaaae722c Merge "Revert "Remove ClusteredComputeManager"" 2016-11-17 18:23:24 +00:00
Jenkins
3899f99730 Merge "Enable PXE for systems using petitboot" 2016-11-17 16:41:57 +00:00
Jim Rollenhagen
c5ab2fdd43 Revert "Remove ClusteredComputeManager"
This had not yet passed the 3-month deprecation period, and as such should not be removed yet.

This reverts commit 74349044acc63f408e8ee1fd298d298fad4bab2a.

Change-Id: Ia9c38b4c495ee7c58048ec9c0ca99a017e979edf
2016-11-17 15:48:14 +00:00
Jenkins
7e67ee2f48 Merge "Remove ClusteredComputeManager" 2016-11-17 15:39:14 +00:00
Jenkins
41ffcf81a8 Merge "Followup to 0335e81a8787" 2016-11-17 13:57:58 +00:00
Stephen Finucane
74349044ac Remove ClusteredComputeManager
This is marked for removal in Ocata, and its continued existence
necessitates the need for the 'compute_manager' option in nova.
Simply remove this legacy code.

Change-Id: I93b62372e357db4f7c39992c244b2ec9e594ad9c
Implements: bp ironic-multiple-compute-hosts
Closes-Bug: #1464769
2016-11-17 11:08:27 +00:00
Vladyslav Drok
7d736d1697 Followup to 0335e81a8787
This change fixes issues pointed out in the last patch set of the
referenced change request.

Apart from that, 406 error code is removed from expected error codes,
as currently .*/portgroups.* resources do not return it.

Change-Id: Ib5fccb3a4d1d2c1c7dd1095b86199536db87da4c
2016-11-17 09:47:05 +00:00
Luong Anh Tuan
2c76da5f43 Timing metrics: iRMC drivers
Adds timing metrics for methods in the boot, inspect, management, power
and vendor modules of iRMC drivers.

Change-Id: I743da5510f897fdadf87a51ab28270ee618a8649
Closes-Bug: #1611556
2016-11-17 05:53:38 +00:00
ChangBo Guo(gcb)
d7137982dd Use function is_valid_mac from oslo.utils
Oslo.utils 3.17 provides same function, just use it.

Change-Id: I036cf1113c4e77100e0fa259b74af7e84b07a23c
2016-11-17 05:06:53 +00:00
Jenkins
6ef7e23aa3 Merge "Docs: Document using operators with root device hints" 2016-11-16 16:09:03 +00:00
Jenkins
8b1ffd8435 Merge "Add portgroup to api-ref" 2016-11-16 15:19:54 +00:00
Lucas Alvares Gomes
45b85e580e Docs: Document using operators with root device hints
This patch is adding documentation for operators in root device hints:
In which release they are available, what are the supported operators
and few usage examples.

The patch also adds a link to the documentation in the release note.

Closes-Bug: #1561137
Change-Id: I419ca5b07238a3996bcc0c76560349ad70a93f52
2016-11-16 14:42:38 +00:00
Vasyl Saienko
0335e81a87 Add portgroup to api-ref
This patch updates api-ref documentations to reflect
portgroup changes.

Related-Bug: #1618754
Co-Authored-By: Vladyslav Drok <vdrok@mirantis.com>
Change-Id: Id34344df9d3e68efe891c2be4a0b362be6557202
2016-11-16 12:13:53 +02:00
OpenStack Proposal Bot
e299ef2246 Updated from global requirements
Change-Id: Ie2e6965931186692fd40e41485b353c479a76b4d
2016-11-15 19:50:32 +00:00
Jenkins
e1f4cbdab3 Merge "Timing metrics: OneView drivers" 2016-11-15 18:00:04 +00:00
Jenkins
292b4295d9 Merge "Bring configurations from tempest to ironic_tempest_plugin" 2016-11-15 10:40:52 +00:00
Thiago Paiva
ab6f73f7a0 Bring configurations from tempest to ironic_tempest_plugin
To remove our tests from tempest first we need to bring the configurations that
we need to the tempest plugin.

Closes-Bug: #1614516
Change-Id: Iad6e16c28cf2a35cc6bf040f57224d32c085b7bc
2016-11-14 10:50:04 -05:00
Jenkins
c73b5d0d3c Merge "Update ironic node names for multinode case" 2016-11-14 00:09:09 +00:00
Jenkins
cffaa47343 Merge "Update devstack provision net config for multihost" 2016-11-14 00:09:01 +00:00
Jenkins
54dda420cd Merge "Add unit test for microversion validator" 2016-11-13 14:25:48 +00:00
Jenkins
7c4a127418 Merge "Do not pass ipa-driver-name as kernel parameter" 2016-11-13 14:25:40 +00:00
Jenkins
f6334c0ff5 Merge "Create dummy interfaces for use with hardware types" 2016-11-11 17:13:25 +00:00
Jenkins
106455811b Merge "Simplify base interfaces in ironic.drivers.base" 2016-11-11 17:08:38 +00:00
Pavlo Shchelokovskyy
c0bdda9837 Do not pass ipa-driver-name as kernel parameter
This was used for old vendor-passthru heartbeat only, which is now
deprecated.

Change-Id: I490f7a0acfb075293148545a2253e3e8f5e15111
Depends-On: I2c7989063ab3e4c0bae33f05d6d2ed857a2d9944
Partial-Bug: #1640533
2016-11-11 17:16:20 +02:00
Hugo Nicodemos
bcf137bd09 Timing metrics: OneView drivers
Adds timing metrics for methods in the deploy, management,
inspect, power and vendor modules of OneView drivers.

Change-Id: I072b34685fe36977ba47b1ad33b0a841a32f9e7c
Closes-Bug: 1611557
2016-11-11 14:15:48 +00:00
Jenkins
9e44d6e489 Merge "Add the way to get the deploy ram disks" 2016-11-11 13:48:45 +00:00
Hironori Shiina
2f960c41c0 Add unit test for microversion validator
This patch adds a unit test for allow_portgroups_subcontrollers method,
which checks if portgroups can be used as subcontrollers.

Change-Id: Ibebf3e2534deb0b862719f7ea418eb3e4f0dc69a
2016-11-11 10:36:30 +00:00
Jenkins
9f2bb5deca Merge "Add possibility to remove chassis_uuid from a node" 2016-11-11 09:54:42 +00:00