10094 Commits

Author SHA1 Message Date
Zuul
0bbf7b485b Merge "CI: repair the SNMP job and make it voting." 2020-05-06 12:30:46 +00:00
Riccardo Pittau
c647408f8d Fix tempest plugin location
Change-Id: I395351f4df97387771065121e50c00eab215e534
2020-05-05 14:34:51 +02:00
Zuul
82c2663564 Merge "Native zuulv3 grenade job for ironic" 2020-05-04 16:37:49 +00:00
Zuul
8e065c869a Merge "Switch to unittest mock" 2020-05-04 15:32:28 +00:00
Iury Gregory Melo Ferreira
90777c1277 Native zuulv3 grenade job for ironic
Based on the native 'grenade' job

Change-Id: Ia51b32a6499b5e1d37197e6d21556344a85d3b5e
2020-05-04 13:59:23 +02:00
Zuul
2e43e83e50 Merge "Refactor RedfishVirtualMediaBoot" 2020-05-04 01:00:35 +00:00
Zuul
e415a577ad Merge "Add PXE reset known issue to the docs" 2020-05-02 06:54:34 +00:00
Zuul
a96d30b3b3 Merge "Fix configure-vm.py and xml file for centos8" 2020-05-01 14:53:51 +00:00
OpenStack Proposal Bot
2051b19790 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I8ae496531efdeb02452226e25b86ec3b1f577212
2020-05-01 06:50:06 +00:00
Iury Gregory Melo Ferreira
d6e7552457 Switch to unittest mock
Python3 have a standard library for mock in the unittest module,
let's drop the mock requirement and switch tests to unittest mock.

Change-Id: I4f1b3e25c8adbc24cdda51c73da3b66967f7ef23
2020-04-30 19:04:17 +02:00
Iury Gregory Melo Ferreira
2ffbfb4b46 Refactor RedfishVirtualMediaBoot
- Move staticmethods and classmethods to functions, since
in py36 we have a bug when ussing unittest.mock [1]
The only classmethod we are keeping is `_set_boot_device`
since it's used by `DracRedfishVirtualMediaBoot`

[1] https://bugs.python.org/issue23078

Change-Id: I6e51bb956890a01535c62f8a378756e65d438ac3
2020-04-30 18:58:30 +02:00
Zuul
1775a09fa1 Merge "CI: migrate UEFI jobs to Cirros 0.5.1" 2020-04-30 16:06:33 +00:00
2afbd77c12 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: I794c6bd82ac530fc063daf815d97eaef2a95d318
Sem-Ver: feature
2020-04-30 09:19:15 +00:00
Zuul
39bcb00f3c Merge "Don't break UEFI install with older IPAs" 2020-04-30 02:38:54 +00:00
Dmitry Tantsur
9c69103e38 CI: repair the SNMP job and make it voting.
The SNMP hardware type does not have a management interface, thus
it's impossible to switch boot device to local. Keep using netboot.

As a nice side effect, this job will keep testing whole disk images
with network boot.

Make the job voting since it's pretty stable when we don't break it.

Change-Id: I559fdccfbaf02396a0a096c50fbb9660c22a4dee
2020-04-29 15:21:49 +02:00
Julia Kreger
1bb5e80ae4 Add ironic-python-agent-builder to grenade projects and use netboot
It appears that grenade now requires ironic-python-agent-builder
to be in the projects list in order for clone operations to take
place.

Also switch to netboot as the default boot option is local now.

Change-Id: Ibf66351137d9f4221c9c191b4d9a4b2272f0f516
2020-04-29 13:42:57 +02:00
Christopher Dearborn
753bb1907d Update python-dracclient version
Update python-dracclient version to indicate compatibility with
the 4.0.0 release.

Change-Id: Ia4c3a712cfbdb255a79978e455b97e37f17fcae8
2020-04-28 15:02:15 -04:00
Sandeep Yadav
1673d7b1ce Fix configure-vm.py and xml file for centos8
Fixing configure-vm script and vm.xml with this patch because for
latest OS like centos8 - older python version and older qemu machine
type is causing issue.

* For configure-vm.py - Replacing python with python3 in environment
path as python3 is the default in many latest OS.

* For vm.xml - Replacing Machine type from pc-1.0 to pc.
- pc-1.0 is old and unsupported machine type for Centos8
- Moving machine type from pc-1.0 to pc will help as pc have alias to
supported qemu machine type

Related-Bug: #1875681
Change-Id: Icd7e98ceb8859f730a32981a150f2730bde9836b
2020-04-28 12:17:43 -04:00
Noor Muhammad Malik
4d810c160d Add PXE reset known issue to the docs
This change also addresses some nits from the parent change.

Change-Id: I72b9577a95705c7a392444b3f1bf4a821f2dec9f
2020-04-28 14:50:08 +00:00
Zuul
4d41af5038 Merge "Implements: Reactive HUAWEI ibmc driver" 2020-04-27 22:53:57 +00:00
Zuul
1598c9c99a Merge "Fix supported sushy-oem-idrac version" 2020-04-27 22:53:50 +00:00
Zuul
6b9f643f4b Merge "Stop configuring install_command in tox." 2020-04-27 22:14:01 +00:00
Zuul
af467f6a93 Merge "Fix agent_client handling of embedded errors" 2020-04-27 18:52:45 +00:00
Zuul
9dfbd15a68 Merge "Log when IPA fallback occurs on bootloader install" 2020-04-27 18:52:42 +00:00
Arne Wiebalck
b417d0ffa0 Don't break UEFI install with older IPAs
For Software RAID, we need to pass the boot mode to the IPA via a new
parameter. In case the IPA does not understand this new parameter yet,
we catch the error and fail for UEFI. This patch proposes to only fail
in the case of software RAID, since the older IPA can handle the general
case of UEFIi, e.g. with a whole disk image.

Change-Id: Id6b51dd19e83d20dc8d6d312cbec12d09bfd76c1
2020-04-27 09:03:28 -07:00
Christopher Dearborn
2007fa64d1 Fix supported sushy-oem-idrac version
This patch updates the version of sushy-oem-idrac to the first backward
incompatible release.

Change-Id: I08d912f3d51a2b7b819d03a4aa325255c60ea8ff
2020-04-27 11:44:18 -04:00
Zuul
19626fee7d Merge "In-band deploy steps: correctly wipe driver_internal_info" 2020-04-27 14:32:46 +00:00
Qianbiao.NG
66a0533d06 Implements: Reactive HUAWEI ibmc driver
Now that HUAWEI ironic 3rd party CI is back, the ``ibmc`` hardware type driver is supported. We can reactive the ibmc driver.

Change-Id: I136aba37d8f5b2044e9c0f28498eb75b2d6499c9
Story: 2007594
Task: 39559
Signed-off-by: Qianbiao.NG <iampurse@vip.qq.com>
2020-04-27 13:42:38 +00:00
Zuul
71b7a07e7e Merge "Upgrade flake8-import-order version to 0.17.1" 2020-04-27 11:27:34 +00:00
Zuul
4af622db2f Merge "Delay validating deploy templates until we get all steps" 2020-04-26 22:10:19 +00:00
Zuul
b083a02d1c Merge "Support executing in-band deploy steps" 2020-04-26 12:28:54 +00:00
Zuul
378f374a2a Merge "DRAC: Added redfish management interface issue" 2020-04-24 17:13:13 +00:00
Julia Kreger
bfeef067aa Fix agent_client handling of embedded errors
The agent_client may get a general "command_error" field
returned to it upon commands and the agent may not properly
sinal that the command failed because we are reliant upon
the same data elsewhere in the ironic/agent interaction.

This resulted in the case where the embedded error signaled that
the error was method compatability as opposed to the actual method
command error.

This could cause higher level failures and prevent fallback logic
from detecting that we could try a different command.

We now consider the error type, and raise the appropriate exception
to signal that the issue may be an API compatability issue.

Change-Id: Ia2f63bd853632e1d7138901cf23fde1e261fc4d6
2020-04-24 09:55:09 -07:00
Dmitry Tantsur
524f8aa792 In-band deploy steps: correctly wipe driver_internal_info
Also fix a docstring and add a missing TODO.
Follow-up to commit 4795c4a8b8896129228fba5a09b87d0551f6e140.

Change-Id: I99c28776d135c57311c6a9d4bbd799cc2b642839
Story: #2006963
2020-04-24 17:42:57 +02:00
Zuul
9632d392f0 Merge "Implement the bios-interface for idrac-wsman driver" 2020-04-24 10:25:37 +00:00
Dmitry Tantsur
0e401f3afe CI: migrate UEFI jobs to Cirros 0.5.1
It's supposed to include the patch we need, and using the final
release allows us to benefit from caching of images by the infra.

Change-Id: Iabef3fa7e3af7fb6fd19973d6a44908d5a3ce93b
2020-04-24 11:17:53 +02:00
Zuul
8a72f45dad Merge "Restore missing node.save() in agent_base.py" 2020-04-23 18:35:15 +00:00
Zuul
04649ce955 Merge "Improve the command status checks in the agent's process_next_step" 2020-04-23 14:17:39 +00:00
Dmitry Tantsur
5950b7041e Restore missing node.save() in agent_base.py
Lost in commit ff2030ce98dbe470f8d51d308e184cc065d491e0.

Story: #2006963
Change-Id: I1d6ffd8c49887daab73fa3cc47b8f1104fb02d48
2020-04-23 12:14:35 +02:00
Zuul
687da97255 Merge "Add link to other Redfish parms to iDRAC doc" 2020-04-23 09:28:19 +00:00
Zuul
8ddf55c4ec Merge "Fix RAID configuration with idrac-wsman interface" 2020-04-22 22:21:49 +00:00
Aija Jaunteva
5cb4bd613e Add link to other Redfish parms to iDRAC doc
Change-Id: Ie4d825e5adadc7e569753fd6f5c8a768bd3b5dcf
2020-04-22 19:41:42 +03:00
Zuul
f6427cc8c8 Merge "Revert "Generalize ISO building for virtual media driver"" 2020-04-22 16:27:03 +00:00
Julia Kreger
b493191371 Log when IPA fallback occurs on bootloader install
Change-Id: Iac6be6ed647f02b9248abf8e5fcacec6380b7a29
2020-04-22 07:32:42 -07:00
Zuul
555ae5b0e9 Merge "Prepare release notes/docs for 15.0 release" 2020-04-22 11:20:44 +00:00
Dmitry Tantsur
2e276459b9 Delay validating deploy templates until we get all steps
In-band steps are not known before the agent is running.

Change-Id: Ib99017cdb8936714856716fcd612b49caa692459
Story: #2006963
2020-04-21 18:55:14 +02:00
Zuul
e60c62ed2a Merge "Don't use wsme test webapp for patch tests" 2020-04-21 16:46:18 +00:00
Zuul
7aa794f667 Merge "Centralise imports of wsme types" 2020-04-21 16:46:15 +00:00
Zuul
81d38a836b Merge ""dual stack" support for PXE/iPXE" 2020-04-21 16:46:12 +00:00
Zuul
2a42947b0b Merge "Ironic 15.0 prelude" 2020-04-21 16:46:10 +00:00