8402 Commits

Author SHA1 Message Date
Zuul
1171226dba Merge "DevStack: Tiny changes following iRMC classic driver removal" 2018-06-28 17:53:35 +00:00
Zuul
9aa09200b7 Merge "Remove the ipmitool classic drivers" 2018-06-28 17:53:33 +00:00
Zuul
fb1876b8b1 Merge "Deprecate [inspector]enabled option" 2018-06-28 17:25:26 +00:00
Zuul
34985f2960 Merge "Do not disable inspector periodic tasks if [inspector]enabled is False" 2018-06-28 17:12:54 +00:00
Zuul
a2ebc6293e Merge "Follow-up to update doc for irmc driver" 2018-06-28 10:10:26 +00:00
Dao Cong Tien
bdd8d23492 Follow-up to update doc for irmc driver
This is follow-up patch of
Ie829ee1758fce38acdd3ae2bb3525bcea37ac6d4
to address some updates for classic driver
removal of irmc.

Change-Id: I74d2170a0383b74dbe2fbaecdb0bc01aca286565
2018-06-28 11:04:48 +07:00
Hironori Shiina
bd003c69be DevStack: Tiny changes following iRMC classic driver removal
This patch includes small changes to complement the removal of iRMC
classic drivers for consistency between irmc hardware type and other
hardware types.

Change-Id: I84dac94f1340e239796ea3da7a5fbd9154813795
2018-06-28 10:26:16 +09:00
Ruby Loo
5b4ce3d363 include all versions of Node in release_mappings
For a particular ironic release, we need to include all the
possible versions of a particular object. Node (so far) has
two versions: 1.24 and 1.25 in this current release.

(Without the two versions, there could be issues upgrading
ironic from an older-master release with Node version 1.24,
to a newer-master release with Node version 1.25.)

Change-Id: I27c8d12add23ad72ea2debd1aec2bf6afaff2f90
2018-06-28 00:07:08 +00:00
Zuul
c45d3c1399 Merge "Add helper method for testing node fields" 2018-06-27 21:24:00 +00:00
Zuul
f0e26487fa Merge "Add snmp driver auto discovery" 2018-06-27 21:23:57 +00:00
Dmitry Tantsur
53048b992b Deprecate [inspector]enabled option
It was only used with classic drivers, with their removal we no longer
need it.

Change-Id: I6670ad515d269d1256f8ddc6fddb451e790557e7
2018-06-27 16:21:55 +02:00
Dmitry Tantsur
2e568bdd56 Do not disable inspector periodic tasks if [inspector]enabled is False
Our help strings claim that [inspector]enabled only affects classic drivers.
However, it also disables the inspector periodic tasks, if not set to True.

Change-Id: I2e3deaffa31259793f738dc77af49d5cb57af697
Story: #2002730
Task: #22579
2018-06-27 16:18:25 +02:00
Zuul
16e3545f4e Merge "Move parse_instance_info_capabilities() to common utils.py" 2018-06-27 14:08:56 +00:00
Zuul
a75680b834 Merge "Remove the iRMC classic drivers" 2018-06-27 11:24:32 +00:00
Dmitry Tantsur
1a07137118 Remove the ipmitool classic drivers
This change removes pxe_ipmitool and agent_ipmitool. Some tests
and documentation bits are removed, since we no longer have any
classic drivers to provide examples.

The Inspector.create_if_enabled method is no longer used and was
removed. The [inspector]enabled option will be deprecated in
a follow-up.

IRONIC_ENABLED_DRIVERS is removed from devstack to prevent
devstack-gate from injecting the removed drivers into it.
A temporary migration from queens is updated to disable all
classic drivers. It will be removed when the enabled_drivers
option is completely removed.

Change-Id: Iab247e3b3336f90446ef0687edb340cf8282a925
2018-06-27 13:08:42 +02:00
Philippe Godin
80d6c14db7 Add snmp driver auto discovery
When instantiated, this new universal snmp driver chooses one
concrete snmp driver selected the prefix value of the
`SNMPv2-MIB::sysObjectID` MIB object looked up at the device.

Co-Authored-By: Ilya Etingof <etingof@gmail.com>
Change-Id: I9bf01a0c567048d0169db281684d16a00e39f6b8
Story: #1635644
Task: #10529
2018-06-27 12:32:23 +02:00
Zuul
f3d086a731 Merge "During cleaning, use current node.driver_internal_info" 2018-06-27 06:06:18 +00:00
Zuul
9cc8b30df0 Merge "Remove the OneView classic drivers" 2018-06-27 05:00:05 +00:00
Zuul
9615a73e3a Merge "Rename test class" 2018-06-26 20:35:58 +00:00
Ruby Loo
a896cc4f2e During cleaning, use current node.driver_internal_info
When iterating over the clean steps, the code in the conductor
keeps a copy of the node's driver_internal_info and uses that
to update the node's copy. However, it is possible that the
node's driver_internal_info is modified after the copy is made
(e.g. if a driver's clean step method modifies/saves it).
This patch changes it to use the current node's driver_internal_info.

Story: #2002688
Task: #22513
Change-Id: I92ad67b58343e5c6c1cca916269f134a5c78dcc6
2018-06-26 14:09:01 +00:00
Ruby Loo
ce444aaa28 Rename test class
Now that we've moved the tear-down-related tests to the
DoNodeTearDownTestCase, we can rename the class that only
does deploy-related tests.

This is a followup to I6d1cf4e4e8bb4e394cb30356af1f16875fbd8a47.

Change-Id: I37850a7fd9ced7e02d8d0d7a92d730f5345ae2d0
2018-06-26 13:14:28 +00:00
Dmitry Tantsur
3d8f3ec1a9 Remove the iRMC classic drivers
This changes removes pxe_irmc, iscsi_irmc and agent_irmc.

Change-Id: Ie829ee1758fce38acdd3ae2bb3525bcea37ac6d4
2018-06-26 14:30:38 +02:00
Dmitry Tantsur
384f966003 Remove the OneView classic drivers
This change removes iscsi_pxe_oneview and agent_pxe_oneview.

Change-Id: I4301e35f321bd041441dcfce494393fb90e293f3
2018-06-26 14:30:27 +02:00
Dmitry Tantsur
6deb0c3b0b Remove the deprecated pxe_snmp driver
Change-Id: I3e9d102698cb09171c3ca3031098bc9f1d829a72
2018-06-26 14:30:11 +02:00
Dmitry Tantsur
575640cfac Remove the deprecated classic drivers for Cisco UCS hardware
This change removes pxe_ucs, agent_ucs, pxe_iscsi_cimc and
pxe_agent_cimc. Best effort clean up was done to the documentation.

Change-Id: I4fe75e0d4a36228f2f6be6bf6ced6d37424b6fd3
2018-06-26 14:29:56 +02:00
Dmitry Tantsur
09e89c09d1 Remove the iDRAC classic drivers
This removes the pxe_drac and pxe_drac_inspector classic drivers.

Change-Id: I2837bc626425869008d9222523b05e2ce5175c19
2018-06-26 14:29:37 +02:00
Zuul
5b199fa3dc Merge "Add an external storage interface" 2018-06-26 11:49:41 +00:00
Zuul
04a5ef1d39 Merge "Separate unit tests into different classes" 2018-06-26 09:52:41 +00:00
Zuul
e12804ab63 Merge "fix typos" 2018-06-26 06:47:08 +00:00
Ruby Loo
10bc3979da Separate unit tests into different classes
This splits up the unit tests in the DoNodeDeployTearDownTestCase class
into separate classes that more clearly groups the unit tests.

Change-Id: I6d1cf4e4e8bb4e394cb30356af1f16875fbd8a47
2018-06-25 22:19:19 +00:00
Zuul
aae0454f3a Merge "Fix for Unable to create RAID1 on Dell BOSS card" 2018-06-25 18:09:27 +00:00
Zuul
7c55187b87 Merge "Fix error when deleting a non-existent port" 2018-06-25 17:37:00 +00:00
Zuul
5a1bba0faa Merge "fix typos" 2018-06-25 17:25:29 +00:00
Ruby Loo
3f94f5d224 Add helper method for testing node fields
This adds a helper method '_test_node_fields_hidden_in_lower_version())
to provide consistency and reduce the amount of copy/paste being used
for several of the unit tests.

Change-Id: I3d319cd1711fe10e9c92ab2076b9b415b7f3810c
2018-06-25 16:05:06 +00:00
Zuul
15b2be4eef Merge "Remove the ilo classic drivers" 2018-06-25 13:32:51 +00:00
Zuul
69680d61bf Merge "Release note clean-ups for ironic release" 2018-06-25 09:53:36 +00:00
Ruby Loo
6c301e7e80 Fix conductor manager unit tests
This fixes some of the conductor-manager's unit tests; mostly the
cleaning-related ones. Some of the mocking was incorrect (e.g.
mocked calls), because 'autospec=True' was not specified.

Change-Id: I0b7988818e0ea72328bcc246ab22d2094d233444
2018-06-22 17:22:54 +00:00
Dmitry Tantsur
9c7729d6b7 Remove the ilo classic drivers
This removes pxe_ilo, iscsi_ilo and agent_ilo. Also removed is
the whole documentation section dedicated to them.

Change-Id: Ie6f8a65d68ce4eb9c8467c416df5f3a35f0abe98
2018-06-22 16:55:20 +02:00
Ilya Etingof
b70b38e328 Move parse_instance_info_capabilities() to common utils.py
This is a followup change to [1] moving
parse_instance_info_capabilities() from boot_mode_utils.py
to common/utils.py

1. https://review.openstack.org/#/c/569382/

Change-Id: I9ad8896f00b95620bad25dcb15f1f932cd0379fa
Story: 1734131
Task: 10640
2018-06-22 13:40:11 +02:00
Zuul
cfea538ea3 Merge "BIOS Settings: add bios_interface field in NodePayload" 2018-06-22 06:58:33 +00:00
Zuul
231cef47fb Merge "Modify the Ironic api-ref's parameters in parameters.yaml" 2018-06-22 01:39:06 +00:00
Zuul
591e11621f Merge "BIOS Settings: update admin doc" 2018-06-22 01:29:26 +00:00
Mark Goddard
bfed31bb4c Fix error when deleting a non-existent port
Fixes an issue seen during node tear down where a port being deleted by
the Bare Metal service could be deleted by the Compute service, leading
to an unhandled error from the Networking service. This change simply
ignores the PortNotFoundClient exception raises, as is done when
attempting to unbind a port that does not exist. See [1] for details.

[1] https://storyboard.openstack.org/#!/story/2002637>

Change-Id: Icd2aaa1276e75f08f99553bbc9a873102d896fb9
Story: 2002637
Task: 22285
2018-06-21 16:16:56 +01:00
Zuul
ad21cd2b31 Merge "Add documentation for XClarity Driver" 2018-06-21 10:42:12 +00:00
Zuul
6fe5bcd7ae Merge "BIOS Settings: update default BIOS setting version in db utils" 2018-06-21 10:42:10 +00:00
Zuul
a38edcebfa Merge "Raise TemporaryFailure if no conductors are online" 2018-06-21 10:42:07 +00:00
Zenghui Shi
efa064b96d BIOS Settings: update admin doc
Change-Id: I86a8515e8b0461c10e395c99a993fd553a11f843
2018-06-21 17:16:45 +08:00
Zenghui Shi
1b295f2f95 BIOS Settings: add bios_interface field in NodePayload
This patch also increments the object versions for all
objects that inherit the NodePayload object.

Change-Id: I9d986b5a40b185abd6fc694dc26395e8b5da7b72
2018-06-21 16:28:39 +08:00
Zenghui Shi
6acb6d9cce BIOS Settings: update default BIOS setting version in db utils
Change-Id: I290f23778893cdbbd13e267b7bab990d6c4de325
2018-06-21 15:01:58 +08:00
jiapei
176942c326 Add documentation for XClarity Driver
This patch proposes to document the steps required
to configure the XClarity Driver.

Modified according to previous review.

Co-Authored-By: Rushil Chugh <rushil.chugh@gmail.com>
Change-Id: I5f793cecd3331f95c0a999441f7871c7a22c2de1
Story: 2001841
Task: 12607
2018-06-21 05:17:58 +00:00