10025 Commits

Author SHA1 Message Date
Aija Jaunteva
27a0b54b6c Fix SpanLength calculation for DRAC RAID configuration
Caused by differences in number division in Python 2 and
Python 3, so forcing type to be int instead of float
as expected by idrac.

Change-Id: I6a20ec52a8c464aaf275583fb21607fffb3b1f3b
Story: 2004265
Task: 27804
2020-04-20 21:41:32 +03:00
Zuul
8a143378cb Merge "Generalize ISO building for virtual media driver" 2020-04-17 12:32:55 +00:00
Zuul
6db7e8bf68 Merge "Release reservation when stoping the ironic-conductor service" 2020-04-17 09:34:07 +00:00
Zuul
19547cc989 Merge "Fix issue where server fails to reboot" 2020-04-17 06:31:04 +00:00
Zuul
f4ec8e4a08 Merge "Update iDRAC doc about vendor passthru timeout" 2020-04-17 02:32:46 +00:00
Zuul
12ad896f0e Merge "Update jobs description" 2020-04-17 02:32:08 +00:00
Zuul
eb5d8f9279 Merge "Change [deploy]/default_boot_option to local" 2020-04-16 15:22:53 +00:00
Zuul
e6a3108603 Merge "Fix missing print format in log messages" 2020-04-16 11:13:09 +00:00
Zuul
4721f0c3dd Merge "Use trailing slash in the agent command URL" 2020-04-15 20:27:16 +00:00
Julia Kreger
6a73f7fdd0 Change [deploy]/default_boot_option to local
The default value of "netboot" was introduced to this configuration
variable as part of commit 93f947c852409af2c56a499428b09ff69ab345a1
in Ocata release.

This patch changes the default value of configuration parameter
'[deploy]/default_boot_option' and devstack variable
'IRONIC_DEFAULT_BOOT_OPTION' to 'local'.

Change-Id: I9bf56a7088281bbe20b8b6c2e47c6ab6559bfea4
Story: #1619339
Task: #10505
2020-04-15 11:46:03 -07:00
Zuul
fcea89a016 Merge "Software RAID: Pass the boot mode to the IPA" 2020-04-15 13:12:32 +00:00
Aija Jaunteva
b63403606a Update iDRAC doc about vendor passthru timeout
Change-Id: I802f1f6c7ddba3079956c4e0fb37405e53457afe
2020-04-15 13:07:11 +03:00
Dmitry Tantsur
cc29461d20 Use trailing slash in the agent command URL
Currently every call results in a redirect /commands -> /commands/

Change-Id: I711a1626ac8fc621114d283d899b6cf7315057f6
2020-04-15 10:25:39 +02:00
zhu.fanglei
36944fa393 Fix missing print format in log messages
This is to add missing print format and add missing ws between
words in log messages.

Change-Id: I7a36386361b3d46fe35cd2176598029501311f3d
2020-04-15 08:27:13 +08:00
Julia Kreger
0587df6e4a Extend timeout on CI job with automated cleaning
The ironic-tempest-ipa-partition-pxe_ipmitool CI job
has automated cleaning enable which introduces another boot
cycle where IPA starts and performs an operation. Due to the
way tempest is designed with the timeouts, it appears that
we are encountering one of the timeouts sporatically enough
to cause a high gate failure rate.

Extends the general timeout for the aformentioned test as
the ramdisk takes 400+ seconds to now boot.

Change-Id: I35fcf0d1f9340b0e906ea993c1b745850a4e3208
2020-04-14 12:21:41 -07:00
Zuul
123cb22c73 Merge "Improve redfish set-boot-device behaviour" 2020-04-14 16:21:20 +00:00
Zuul
75cae40fdc Merge "Refactor AgentBase.heartbeat and process_next_step" 2020-04-14 14:06:10 +00:00
Zuul
7afd1698b9 Merge "Remove six minions" 2020-04-13 23:06:23 +00:00
Christopher Dearborn
95a3e1bdfd Fix issue where server fails to reboot
The iDRAC will return a "The command failed to set RequestedState" error
if the server is powered off and a reboot is requested.  In this
situation, convert the requested reboot into a power on to avoid this
error.

To minimize the chance of a race condition, it is critical to do this
check immediately before sending the power state change command.  This
keeps the window during which the server could change power states
without us knowing about it as small as possible.

Note that this error is returned in other scenarios as well.

Change-Id: I4c95959090423ff1929700f0fce596510447ac1c
Story: 2007487
Task: 39206
2020-04-13 15:58:17 -04:00
Zuul
6fd3371621 Merge "Add my new address to .mailmap" 2020-04-13 18:39:55 +00:00
Zuul
1e3d3e9306 Merge "[doc] Remove the device selection limitation for Software RAID" 2020-04-13 14:58:50 +00:00
Aeva Black
9f75bbd938 Add my new address to .mailmap
This commit updates the mailmap file and changes my alias
in a few places within old comments.

Change-Id: Ica0e184109d794b8e129d567b5606d7fe84ff384
2020-04-13 07:29:37 -07:00
Zuul
1dee25f554 Merge "Increase VM RAM value in local.conf example" 2020-04-13 04:07:18 +00:00
ankit
c4d9984c51 Generalize ISO building for virtual media driver
Restructures code for virtual media deployment which creates
deploy/rescue/boot iso out of common kernel/ramdisk pair.
Currently hardware type ilo and redfish use this code.

Change-Id: Ifb66524c762ebe30e5c61b0c77ced65a817bbf19
Story: #2006437
Task: #36352
2020-04-11 18:04:09 +00:00
Kaifeng Wang
4f62e8e877 Remove six minions
This seems to be missed in the https://review.opendev.org/#/c/696669
Somehow it appears in a profiling result and costs some memory.

Change-Id: I7a49354df1b97bf9a4b46b8c6852e5983dde6718
2020-04-11 15:47:34 +08:00
Zuul
af9e6ba908 Merge "[doc] Images need some metadata for software RAID" 2020-04-10 12:49:55 +00:00
Riccardo Pittau
1f18a2820f Increase VM RAM value in local.conf example
Based on recent changes that make dib image to be default in CI,
the base RAM in the local.conf example should be increased to
2048, which is the minimum recommended to run the centos8 ramdisk.

Change-Id: If8b0a3bbdce8cd1e6d564c9b7b9505729e4eec26
2020-04-10 10:46:56 +02:00
shenxindi
861f35b038 Release reservation when stoping the ironic-conductor service
If a conductor hostname is changed while reservations are
issued to a conductor with one hostname, such as 'hostname'
and then the process is restarted with 'new_hostname', then the
queries would not match the node and effectively the nodes
would become inaccessible until the reservation is cleared.

This patch clears the reservation when stoping the
ironic-conductor service to avoid the nodes becoming inaccessible.

Ref to: https://review.opendev.org/#/c/711765/

Change-Id: Id31cd30564ff26df0bbe4976ffe3f268b0dd3d7b
2020-04-10 09:28:17 +08:00
Riccardo Pittau
45a9fbdfa6 Update jobs description
Update the description of the CI jobs based on the recent changes.

Change-Id: Ibd3956a893e4898c33e00d2d39a20553c0f1a65a
2020-04-09 16:59:13 +02:00
Zuul
117879f80b Merge "Support burning configdrive into boot ISO" 2020-04-09 14:53:34 +00:00
Zuul
97b29024f1 Merge "Change default ram value" 2020-04-09 14:30:26 +00:00
Zuul
f1d0a419a2 Merge "Added node multitenancy doc" 2020-04-09 09:31:55 +00:00
Zuul
f509d23262 Merge "Add sushy-cli to client libraries release list" 2020-04-09 09:31:54 +00:00
Iury Gregory Melo Ferreira
927d3c89fc Change default ram value
We will be using 2048 for default ram since most of the jobs are using
dib. Jobs with tinyipa will be set to 384 ram.

Change-Id: Idc28812515a0f45e9e29b55cd81ef26a02ce8740
2020-04-09 09:45:38 +02:00
Zuul
2381c081f0 Merge "Fix AttributeError in check allowed port fields" 2020-04-09 00:04:25 +00:00
Zuul
041ffa7781 Merge "Allow INSPECTWAIT state for lookup" 2020-04-08 23:41:30 +00:00
Tzu-Mainn Chen
d6361bee05 Added node multitenancy doc
Adds documentation surrounding the use of multi-tenancy. The
documentation explains possible updates to the policy file
to expose node APIs to a non-admin.

Change-Id: Ib1c327156acee8d34be74dd15c3d4003f7ef31df
2020-04-08 20:46:40 +00:00
Ilya Etingof
d4dbc6e3ab Support burning configdrive into boot ISO
Adds the ability to write configdrive contents on the boot
images that ironic produces. Such boot image will be labeled
as `config-2` to facilitate tools like `cloud-init` or `Glean`
to find configuration source there.

As of this commit, the new code is not used by anything in
ironic yet.

Change-Id: Ib5ed0ce09ce97ddb914fa4f830265dfc24a0bc1a
Story: 2006691
Task: 36990
2020-04-08 20:35:10 +02:00
Arne Wiebalck
81b93abf20 [doc] Remove the device selection limitation for Software RAID
With the device selection work merged, we can now remove the
corresponding limitation from our docs.

Change-Id: Ica71338ede569aa7ce1bb02503e295afcb89e86b
2020-04-08 17:02:38 +02:00
Zuul
44f776cda6 Merge "Drop netaddr - use netutils.is_valid_ipv6()" 2020-04-08 14:58:09 +00:00
Mark Goddard
335895a8e7 Add sushy-cli to client libraries release list
Change-Id: I3f627d3811f2840cd630ebc5746b8d9c5de179e9
2020-04-08 15:08:41 +01:00
Harald Jensås
78f904978d Fix AttributeError in check allowed port fields
When the 'local_link_connection' field is None an
AttributeError is raised when attempting to get the
keys.

Add a check for None before trying to get the keys.

Closes-Bug: #1871346
Change-Id: I5855aea79d6322f70f95709e1a87b8bda3282435
2020-04-08 12:36:29 +02:00
Zuul
ef3c8ff799 Merge "Fix gunicorn name on Py3@CentOS7 in devstack" 2020-04-08 10:01:46 +00:00
Zuul
6c63c23d1e Merge "DRAC: Fix a failure to create virtual disk bug" 2020-04-08 10:01:34 +00:00
Zuul
950d40685d Merge "Improve redfish set-boot-mode implementation" 2020-04-08 08:36:25 +00:00
Zuul
a3bce80a74 Merge "Add node lessee field" 2020-04-07 19:44:32 +00:00
Ilya Etingof
c428a51ddc Fix gunicorn name on Py3@CentOS7 in devstack
On non-Ubuntu systems, when gunicorn is pip-installed on Py3,
command name remains `gunicorn` rather than `gunicorn3`.

Change-Id: I5b8cb974d900bd3bdf7ec08adb3e6586494a26a2
2020-04-07 18:57:22 +02:00
Tzu-Mainn Chen
602a467a04 Add node lessee field
This change adds a `lessee` field to nodes, and exposes it
to policy. It also updates the non-admin node list API
to match for both owner and lessee; and updates the
allocation conductor to match owner allocations with nodes
with the appropriate lessee.

Change-Id: Ib31b49c7143ec8fd6cb486fc24038215b197c418
Story: 2006506
Task: 37930
2020-04-07 15:33:42 +00:00
Raphael Glon
65b5ac6a7a Software RAID: Pass the boot mode to the IPA
Pass the desired target boot mode to the IPA which is needed
to prepare the partitions and bootloader accordingly.

Change-Id: I4ca1bd781ae622535ced7b2d9ff23ff952d56acf
Story: #2006379
Task: #37636
Depends-On: https://review.opendev.org/#/c/696156/
2020-04-07 17:30:20 +02:00
Zuul
00c0ef801c Merge "Nodes in maintenance didn't fail, when they should have" 2020-04-07 15:17:27 +00:00