5902 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
729dcf6737 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I97f631af274df656871cd5cda4fbf54af395d0f9
2016-10-25 06:34:48 +00:00
Jenkins
02e3348fbb Merge "Use function import_versioned_module from oslo.utils" 2016-10-21 13:41:34 +00:00
Jenkins
4cac809a01 Merge "Remove "dhcp" command from the iPXE template" 2016-10-21 13:19:49 +00:00
ChangBo Guo(gcb)
a23454daba Use function import_versioned_module from oslo.utils
oslo.utils 3.17 provides similar function, just use it.

Change-Id: I2739649c7443d2de9338489d6607b1fb1b092e95
2016-10-21 14:52:18 +08:00
OpenStack Proposal Bot
c2c2154dbe Updated from global requirements
Change-Id: I07045cde2f3159b8d4a338db6904849e8624223a
2016-10-21 00:43:07 +00:00
Jenkins
5a3c2fcced Merge "IPMI command should depend on console type" 2016-10-20 21:16:06 +00:00
Dmitry Tantsur
42b2c60ce2 Remove "dhcp" command from the iPXE template
At this point we already have DHCP on the right NIC to be able to download
this iPXE script. The "dhcp" may actually break the boot, as it runs DHCP
on the first available interface, not the PXE booting one.

Change-Id: I97dc897da49ceb8e03476ddacd5bc92dd40aa4b2
Closes-Bug: #1635191
2016-10-20 18:02:46 +02:00
Jenkins
9eb148ad37 Merge "Remove ..agent.build_instance_info_for_deploy() in Pike" 2016-10-20 13:04:24 +00:00
Jenkins
c101fce33a Merge "Always return chassis UUID in node's API representation" 2016-10-20 12:52:21 +00:00
Jenkins
41e1313269 Merge "Refactor _test_build_pxe_config_options tests" 2016-10-19 21:27:05 +00:00
Andrey Shestakov
0acbf378bb IPMI command should depend on console type
This change implements _get_impi_cmd method for
IPMI consoles. Depends on type of console,
ipmi command should contain different arguments.

Change-Id: I55e712a1a91aed3d533f636e519f0bae1f9be2d4
Closes-bug: #1611285
2016-10-19 16:53:56 +03:00
Yuriy Zveryanskyy
d5e24cf6f8 Trivial fix of notifications doc
Fix "properties" field in the examples and add small note.

Change-Id: Id63e8d95fc7f2ba1cf956eff657b3a2d902d9f93
2016-10-19 11:11:47 +03:00
Jenkins
122b6cb446 Merge "Adding Timing metrics for DRAC drivers." 2016-10-18 19:52:21 +00:00
Jenkins
413361df2d Merge "Add entry_point for oslo policy scripts" 2016-10-18 19:33:06 +00:00
Jenkins
5f015dc4dd Merge "Skip create_ovs_taps() for multitenancy case" 2016-10-18 14:23:04 +00:00
Ruby Loo
8407c27366 Remove ..agent.build_instance_info_for_deploy() in Pike
This is a followup to I0ce425325ad01455c72a96e013114509bbd74a66.
Our deprecation/removal policy is to deprecate for at least 3 months
and one cycle boundary, so we cannot delete build_instance_info_for_deploy()
from ironic.drivers.modules.agent until Pike.

This adds a release note about the deprecation.

Change-Id: Ib4cf73a46c1a947bea65d6a54c77e955102b68f9
2016-10-18 09:55:02 -04:00
Jenkins
ad681802e6 Merge "Trivial: fix typo in docstring" 2016-10-18 10:53:13 +00:00
Jenkins
983e8493b8 Merge "Updated from global requirements" 2016-10-18 10:36:37 +00:00
Jenkins
d351ebbe33 Merge "Fixes parameters validation in SSH power manager." 2016-10-18 10:36:29 +00:00
Vasyl Saienko
6cc31f7d78 Trivial: fix typo in docstring
This patch adds missed space between words in docstring of
_set_and_wait() in ironic/drivers/modules/ipmitool.py

Change-Id: I89efe6007d060459021933c85ba18da08670bbbc
2016-10-18 11:40:21 +03:00
Naohiro Tamura
c073fb714d Add a missing error check in ipmitool driver's reboot
This patch adds a missing error check into ipmitool power driver's
reboot so that the reboot can fail properly if power off failed.

Change-Id: Icd061fe51555be3200b154c5e43e0f082864c93f
Closes-bug: #1633992
2016-10-18 16:06:39 +09:00
Annie Lezil
f91d83a56e Adding Timing metrics for DRAC drivers.
This change adds timing metrics for method in the bios, deploy, inspect, management,
power, raid, vendor_passthru modules

Change-Id: Ib301f203badecf4834dae5bba35175d13c4545cf
Closes-Bug: #1611555
2016-10-17 20:53:23 +00:00
Ruby Loo
128c025fc1 Remove 'agent_last_heartbeat' from node.driver_internal_info
node.driver_internal_info['agent_last_heartbeat'] was not being used by
ironic, and Ic198f6a952ed135099bcc525ef548a4aea005056 removed the code
that sets that value.

However, for existing nodes, driver_internal_info['agent_last_heartbeat']
may already exist, so we need to delete it. This patch does that.

In addition, a LOG line was moved (and a nit addressed) to make the code
a bit easier to read.

This is a followup to Ic198f6a952ed135099bcc525ef548a4aea005056.

Change-Id: I194d22c0e605b187823ceebae94d3ef895fb91f5
Related-Bug: #1602410
2016-10-17 15:37:50 -04:00
Jenkins
e05e060964 Merge "Add power state change notifications" 2016-10-17 18:01:02 +00:00
Jenkins
914f19ecfc Merge "Move build_instance_info_for_deploy to deploy_utils" 2016-10-17 17:43:41 +00:00
Jenkins
165affbbfd Merge "Remove unnecessary '.' before ':' in ironic rst" 2016-10-17 16:14:37 +00:00
Jenkins
022f624cfc Merge "Clean up provision ports when reattempting deploy" 2016-10-17 16:13:09 +00:00
Mario Villaplana
ff32b51bbf Add power state change notifications
This adds optional notifications emitted when ironic changes a node's power
state or when ironic detects a change in a node's power state.

These notifications can be consumed by any external service listening to the
message bus to perform functions like tracking node power state changes over
time or automatically responding to anomalous power states.

The event_types of the new notifications are:

* baremetal.node.power_set.{start,end,error}
* baremetal.node.power_state_corrected.success

This also adds a new NodePayload class for notification payloads related
to nodes.

Change-Id: I82702e7f959d666bb02b59d1fc53ab50b519cb74
Closes-Bug: 1526408
2016-10-17 15:39:18 +00:00
Vasyl Saienko
57821e73b0 Skip create_ovs_taps() for multitenancy case
With multitenancy case there is no need to create a hacky
connection between brbm and br-int. This patch ensure that
we do not call devstack create_ovs_taps() with multitenancy
case.

Change-Id: I1326a3f83d596655d577c48f642ac3ba8a8b6ee2
2016-10-17 10:11:03 +03:00
OctopusZhang
a85d6a3007 Remove unnecessary '.' before ':' in ironic rst
Change-Id: I6c3028ca88ca18406cc8f9f4739fd92360e72f9d
2016-10-17 14:43:25 +08:00
OpenStack Proposal Bot
aa2e5d4ce1 Updated from global requirements
Change-Id: I1ddac45be74e7166e726c0f1872449fcabe78c8a
2016-10-17 04:05:58 +00:00
Jenkins
a82d657635 Merge "Replace parse_root_device_hints with the ironic-lib version one" 2016-10-17 01:28:37 +00:00
Jenkins
2e52f4b95a Merge "Imported Translations from Zanata" 2016-10-16 16:30:09 +00:00
Jenkins
c0bbf75306 Merge "Fix API docs to include API version history" 2016-10-16 16:30:00 +00:00
Jenkins
47df7d2cdf Merge "Change 'decom' to clean/cleaning" 2016-10-16 16:29:52 +00:00
OpenStack Proposal Bot
7972932fa1 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I6874623c1e1a723392b2c72f473aefd78990dc5f
2016-10-15 06:45:27 +00:00
Jenkins
36db05e239 Merge "Update configure_tenant_networks" 2016-10-14 18:58:41 +00:00
Jenkins
7242928de9 Merge "Remove "agent_last_heartbeat" internal field from agent drivers" 2016-10-14 18:57:15 +00:00
Jenkins
993bb29156 Merge "fix a typo in document" 2016-10-14 18:56:04 +00:00
Lucas Alvares Gomes
2383d8d014 Replace parse_root_device_hints with the ironic-lib version one
This patch is replacing the parse_root_device_hints() method from
deploy_utils.py with the ironic-lib version.

The parse_root_device_hints() method is only being used to verify the
syntax of the root device hints, finding/matching a disk with the hints
is performed by IPA.

The ironic-lib version also does add support for using operators such as
(>=, >, <, etc...) to finding a suitable disk device.

Closes-Bug: #1561137
Depends-On: Id93dd0360137df600f5a656348279e56c6b84bf9
Change-Id: I4516d9f1f1733be26ae603b70c1e59ccf19e0448
2016-10-14 12:05:25 -03:00
Ricardo Araújo Santos
50c7fdc45c Fixes parameters validation in SSH power manager.
Parameters validation was not in conformity with the docs, and it
was not possible to pass a SSH key with a passphrase. This patch
fixes the validation allowing the user to pass both parameters,
and adds tests for this validation.

Change-Id: I1ba1eb8393c7921f4cab154b69b856418af32173
Closes-Bug: #1607527
2016-10-14 09:37:06 -03:00
Jim Rollenhagen
14af219b68 Fix API docs to include API version history
Seems this was broken with a dev docs reorg, fix the link.

Change-Id: I4e8b6bef828dd1fdb2bf555e73a16ae63ac98615
2016-10-14 07:38:24 -04:00
Luong Anh Tuan
ab968fcb87 fix a typo in document
Change-Id: I16469288d631892802360dec82ad4050969b33b1
2016-10-14 13:03:17 +07:00
OpenStack Proposal Bot
71964aaa17 Updated from global requirements
Change-Id: Icb08935cd3d493e7fe570f794a2eeb6c1b5952f2
2016-10-14 05:36:48 +00:00
Jenkins
b1091d9a35 Merge "No need to clear "target_provision_state" again from conductor" 2016-10-14 01:18:48 +00:00
Mario Villaplana
7dc74ab754 Remove "agent_last_heartbeat" internal field from agent drivers
"agent_last_heartbeat" in the driver_internal_info dict of agent drivers is not
used anywhere by ironic itself, except for logging purposes. This
removes it.

Change-Id: Ic198f6a952ed135099bcc525ef548a4aea005056
Closes-Bug: 1602410
2016-10-13 23:08:46 +00:00
Yuriy Zveryanskyy
e38cb779b1 No need to clear "target_provision_state" again from conductor
The event processing for "fail" event clears the node's
"target_provision_state", so there is no need for the conductor to
explicitly clear it again.

Change-Id: I18e7c1dbcec6ad48bfea242b6201d900fd0c3461
2016-10-13 22:31:50 +00:00
Jenkins
beb38b3f3f Merge "A few fixes in Multitenancy document" 2016-10-13 21:36:38 +00:00
Jenkins
95cba0c75b Merge "Avoid name errors in oneview periodics" 2016-10-13 20:44:44 +00:00
Jenkins
652a4b40d4 Merge "Trivial: fix warning message formatting" 2016-10-13 16:26:33 +00:00