9369 Commits

Author SHA1 Message Date
Raphael Glon
ba207ba372 Ansible driver: fix deployment with serial specified as root device hint
Change-Id: Ie0d56da52ae8476d9f9860c967e8e31253a63c5b
Story: #2006275
Task: #35975
2019-07-26 09:36:02 +02:00
Zuul
3958c94fa8 Merge "Fix serial/wwn gathering for ansible+python3" 2019-07-24 07:01:23 +00:00
Zuul
2da453adec Merge "Clean lower-constraints.txt" 2019-07-24 03:20:44 +00:00
Raphael Glon
54054c0e5a Fix serial/wwn gathering for ansible+python3
Change-Id: Ifd0c3d6be14c9e1369624bb4a02043e7345f4a03
Story: #2006266
Task: #35957
2019-07-23 17:00:43 +02:00
Andreas Jaeger
daddf516bf Update api-ref location
The api documentation is now published on docs.openstack.org instead
of developer.openstack.org. Update all links that are changed to the
new location.

Note that redirects will be set up as well but let's point now to the
new location.

For details, see:
http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007828.html

Change-Id: I30a51394d396cc89f647b4170d6a2e6b0b993dcb
2019-07-22 19:19:38 +02:00
Zuul
2bf53975a6 Merge "Abstract away pecan.request/response" 2019-07-22 10:42:20 +00:00
Zuul
a529bcbaeb Merge "Ansible module: fix deployment for private and/or shared images" 2019-07-22 10:21:39 +00:00
Zuul
0abc6a54cd Merge "Revert "Add logic to determine Ironic node is HW or not into configure_ironic_dirs"" 2019-07-20 12:20:31 +00:00
Julia Kreger
fb664d5188 Revert "Add logic to determine Ironic node is HW or not into configure_ironic_dirs"
This is due to a failure in the logic where the UEFI
firmware objects are copied along with the ipxe loader.

tl;dr we need to have two separate if statements.

This reverts commit 0913c948423ed6c8ba147cf4e2a5a4de6945ec96.

Change-Id: Iaf78462a8b4abf4ad9c294c8575c67f5ade40a40
2019-07-19 22:09:48 +00:00
Zuul
5a44537fc8 Merge "[Trivial] Fix is_fast_track parameter doc string" 2019-07-19 19:29:53 +00:00
Riccardo Pittau
8d8402ee12 Clean lower-constraints.txt
Reduce the number of packages in lower-constraints.txt based on:
requirements
test-requirements
doc/requirements

Change-Id: I33e434347f6ca3ed0e3f86c28c62b5bdd63d7afb
2019-07-19 16:08:06 +02:00
Zuul
78085ad549 Merge "Bump keystonauth and warlock versions" 2019-07-19 12:45:20 +00:00
Arne Wiebalck
bd20f3ac21 [Trivial] Fix is_fast_track parameter doc string
Change-Id: I209d98c1f0017cea2a8c24bce473a29c8665bd69
2019-07-19 11:12:55 +02:00
Zuul
0f3476a4be Merge "Failure in get_sensor_data() of 'redfish' management interface" 2019-07-17 11:23:10 +00:00
Shivanand Tendulker
0d6ee78f5b Failure in get_sensor_data() of 'redfish' management interface
This patch fixes following issues in get_sensor_data():
- Uses 'identity' field instead of unsupported field 'member_id' in
Sushy's PowerSupplyListField
- get_members() is not supported for Sushy's list fields like
FansListField and TemperaturesListField

Change-Id: I534d78fa9c9fc2573c7b6e15c3356da234f063ec
Story: 2006229
Task: 35830
2019-07-17 01:10:30 -04:00
Dmitry Tantsur
192301ae65 Abstract away pecan.request/response
This change changes direct usages of pecan context objects to wrapper
in ironic.api, so that we can easier swap them with another implementation.

Change-Id: Ia1e411e27001860b14f4f765e26ed9f5893233d3
2019-07-16 17:47:13 +02:00
Zuul
b270dd9ed8 Merge "Bump openstackdocstheme to 1.20.0" 2019-07-15 17:18:19 +00:00
Riccardo Pittau
2d5f0c8b91 Bump keystonauth and warlock versions
openstacksdk 0.25.0 requires keystoneauth1>=3.11.0
python-glanceclient 2.8.0 requires warlock!=1.3.0,<2,>=1.0.1

Change-Id: Iaf80327538d2395fe61bd0e77743d1b6021a66f7
2019-07-15 18:08:42 +02:00
michaeltchapman
1fcd7a477d Don't install ubuntu efi debs on cent
Recently shim and grub-efi-amd64-signed were moved from
debs to be installed by lib/ironic, which causes errors
since the latter does not exist for rpm based distros.

Change-Id: I87c5268bdd23c4978201b4b7cb2e4a4770190828
2019-07-11 23:18:28 +10:00
Zuul
691d3e4992 Merge "Remove the PXE driver page" 2019-07-10 11:01:24 +00:00
Madhuri Kumari
8fc538bdd9 Remove the PXE driver page
This file belongs to classic drivers and is not used anymore,
the reference link in the admin/interfaces/boot.rst is marked
hidden, thus can be removed.

Change-Id: Iefe656a4a79491f5f0513ab4e315b2da08918355
2019-07-10 14:26:42 +05:30
Raphael Glon
d0c31d748d Ansible module: fix deployment for private and/or shared images
The ansible module deployment was broken for private/shared images
because the original request context was not available anymore
at the time the image informations were fetched

Change-Id: Id35dcf8ddc209bb8318433d6bf26aba848e074ee
Story: #2006178
Task: #35702
2019-07-09 18:33:46 +02:00
Zuul
a32e9a319d Merge "Add logic to determine Ironic node is HW or not into install_ironic" 2019-07-09 16:01:01 +00:00
Zuul
a1d844e3be Merge "Add logic to determine Ironic node is HW or not into configure_ironic_dirs" 2019-07-09 13:30:23 +00:00
Zuul
bc8959765b Merge "Add documentation for IntelIPMI hardware" 2019-07-09 10:39:49 +00:00
Zuul
6cf49dad6c Merge "Add IntelIPMIHardware" 2019-07-09 10:39:44 +00:00
Vanou Ishii
d2967b41a3 Add logic to determine Ironic node is HW or not into install_ironic
Trying to deploy OpenStack environment consisting of ironic nova
hypervisor & hardware Ironic node (not VM Ironic node) with devstack
got failed. When trying this, followings are set in devstack local.conf
file; "VIRT_DRIVER=ironic", "IRONIC_BOOT_MODE=uefi' and
"IRONIC_IS_HARDWARE=true".

Failure is due to three bugs in script in "devstack" & "Ironic":
 (1) function configure_nova_hypervisor in
     devstack/lib/nova_plugins/hypervisor-ironic,
 (2) function install_ironic in ironic/devstack/lib/ironic and
 (3) function configure_ironic_dirs in ironic/devstack/lib/ironic.

Because "VIRT_DRIVER=ironic" & "IRONIC_IS_HARDWARE=true" is set,
devstack doesn't install libvirt related packages. So, attempt to copy
files/directories to filesystem paths to be created when installing
libvirt related packages gets failed.
When "IRONIC_BOOT_MODE=uefi" is set, bug (2) & (3) occurs. Because
function install_ironic & configure_ironic_dirs tries to configure
libvirt related settings (e.g. modify /etc/libvirt/qemu.conf) and
there is no filesystem path related to libvirt, error occurs.

This commit fixes bug (2) by adding "if" clause to determine Ironic
node is hardware or not and to skip libvirt related operations when
Ironic node is hardware.

Launchpad URL of 1st bug:
   https://bugs.launchpad.net/devstack/+bug/1834985

Change-Id: I73459d3c8c31329f17b609a3704a43738576d33c
Story: 2006174
Task: 35697
2019-07-08 04:51:23 -04:00
Vanou Ishii
0913c94842 Add logic to determine Ironic node is HW or not into configure_ironic_dirs
Trying to deploy OpenStack environment consisting of ironic nova
hypervisor & hardware Ironic node (not VM Ironic node) with devstack
got failed. When trying this, followings are set in devstack local.conf
file; "VIRT_DRIVER=ironic", "IRONIC_BOOT_MODE=uefi' and
"IRONIC_IS_HARDWARE=true".

Failure is due to three bugs in script in "devstack" & "Ironic":
 (1) function configure_nova_hypervisor in
     devstack/lib/nova_plugins/hypervisor-ironic,
 (2) function install_ironic in ironic/devstack/lib/ironic and
 (3) function configure_ironic_dirs in ironic/devstack/lib/ironic.

Because "VIRT_DRIVER=ironic" & "IRONIC_IS_HARDWARE=true" is set,
devstack doesn't install libvirt related packages. So, attempt to copy
files/directories to filesystem paths to be created when installing
libvirt related packages gets failed.
When "IRONIC_BOOT_MODE=uefi" is set, bug (2) & (3) occurs. Because
function install_ironic & configure_ironic_dirs tries to configure
libvirt related settings (e.g. modify /etc/libvirt/qemu.conf) and
there is no filesystem path related to libvirt, error occurs.

This commit fixes bug (3) by adding "if" clause to determine Ironic
node is hardware or not and to skip libvirt related operations when
Ironic node is hardware.

Launchpad URL of 1st bug:
   https://bugs.launchpad.net/devstack/+bug/1834985

Change-Id: I28ab77c063e0ce8da36f1368ac456cd910a9166f
Story: 2006174
Task: 35698
2019-07-08 04:50:35 -04:00
Vanou Ishii
66b0739831 Deal with iPXE boot interface incompatibility in Train
In Train cycle, iPXE boot with [pxe]ipxe_enabled option in
ironic.conf file will be removed. And ipxe boot interface
will be the only boot interface to deploy Ironic node with
iPXE. Till Train, iRMC driver has supported iPXE boot with
[pxe]ipxe_enabled option.

This commit copes with this incompatibility and supports
ipxe boot interface by adding ipxe.iPXEBoot to
supported_boot_interface.

Change-Id: Iec2284c2d101aebadd9d1b531c44794e2d4efacf
Related-Bug: #1628069
2019-07-03 04:06:54 +00:00
Zuul
1beb8068f9 Merge "Remove deprecated app.wsgi script" 2019-07-02 13:23:58 +00:00
Zuul
421e34c305 Merge "devstack: Install arch specific debs only when deploying to that arch" 2019-07-02 11:27:06 +00:00
翟小君
1becd6dda9 Bump openstackdocstheme to 1.20.0
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.

Change-Id: I308c3296bc56fdb623a9fc6b021c388be2d33330
2019-07-02 10:18:03 +08:00
Riccardo Pittau
401cfbc6e2 Remove deprecated app.wsgi script
This patch removes the deprecated 'ironic/api/app.wsgi' script that
was marked for removal in Rocky.
The automatically generated 'ironic-api-wsgi' script should be used
instead.

Change-Id: If103606e41be38d23867572d065d98338980f98c
2019-07-01 18:16:44 +02:00
Mike Turek
bc84b7bce6 devstack: Install arch specific debs only when deploying to that arch
Because the shim and grub-efi-amd64-signed packages are specific to
x86_64 [0][1], they should only be installed when deploying to an x86_64 node.
This removes the packages from the debs/ironic file and moves their
installation to lib/ironic, allowing us to install it them based on architecture.

[0] https://packages.ubuntu.com/eoan/shim
[1] https://packages.ubuntu.com/eoan/grub-efi-amd64-signed

Change-Id: I73cab832cf8099c02b3e29df84618c88e5fb5065
2019-07-01 14:59:50 +00:00
Zuul
0d99dfd9d8 Merge "Collect sensor data in `redfish` hardware type" 2019-07-01 10:03:43 +00:00
Zuul
a6fdb024d6 Merge "Fix invalid assert state" 2019-06-29 16:47:12 +00:00
Zuul
bd5d1b56a7 Merge "DRAC: Upgraded RAID delete_config cleaning step" 2019-06-29 13:05:09 +00:00
Zuul
1ac2caa339 Merge "Adds bandit template and exclude some of tests" 2019-06-29 12:54:49 +00:00
Rachit7194
4724d55e96 DRAC: Upgraded RAID delete_config cleaning step
This upgrades Delete_configuration by cleaning step by
replacing delete_virtual_disk with reset_raid_config
which is not only responsible for removing Virtual Disks
but also removes Global and Dedicated Hot-Spares.
It also removes any foreign drives.

Change-Id: Id9461015f7352a3cc6278d0eaf2970764cafedb9
Story: 2005884
Task: 33732
2019-06-28 06:19:57 -04:00
zhu.fanglei
7adc6c21de Fix invalid assert state
"self.assertTrue(pg1.id, mock_upd.call_args[0][2].portgroup_id)"
should use assertEqual.

Change-Id: I003c71302401928e2bd5a3f571e8cd17b96ef78d
2019-06-28 17:27:27 +08:00
Zuul
f79288bde3 Merge "Remove elilo support" 2019-06-28 07:51:28 +00:00
Zuul
966f832bfb Merge "Remove CIMC/UCS drivers" 2019-06-28 07:45:26 +00:00
Zuul
8a815b8091 Merge "Add check on get_endpoint returning None" 2019-06-27 14:20:39 +00:00
Dmitry Tantsur
ac0900add2 CI: remove quotation marks from TEMPEST_PLUGINS variable
The has stopped working out of a sudden. We should move to tempest_plugins
zuul variable later on, but it is only available since Stein.

Change-Id: I2cc64580b089566e664d54ea2087878b9cce6666
2019-06-26 13:12:28 +02:00
Julia Kreger
5f18e52b64 Remove CIMC/UCS drivers
Cisco's Third-Party CI was taken down as a result of the
CTO's office being restructured. Numerous attempts to
re-engage with Cisco directly and address the various
known issues in their drivers have not proven to be
fruitful.

Additionally, the drivers are not Python3 compatible,
and some reports have indicated that the CIMC driver is
no longer compatible with newer versions.

As such, the ironic community has little choice but to
to remove the Cisco UCS/CIMC hardware types and driver
interface code.

Story: 2005033
Task: 29522
Change-Id: Ie12eaf7572ce4d66f6a68025b7fe2d294185ce28
2019-06-25 23:44:19 -07:00
Madhuri Kumari
5127b6f6dd Add IntelIPMIHardware
IntelIPMIHardware is a hardware that supports configuring Intel Speed Select
Performance Profile using ipmitool.

Change-Id: I49abccb4735b43aed3155ea7e24b2fa0416c83b2
Story: 2005390
Task: 30484
2019-06-25 13:46:26 +05:30
Zuul
c3ae38d0ed Merge "[Trivial] Software RAID: Documentation edits" 2019-06-25 03:32:52 +00:00
Ilya Etingof
82abc0beac Collect sensor data in `redfish` hardware type
Adds sensor data collector to ``redfish`` management interface.
Temperature, power, cooling and drive health metrics are collected.

Change-Id: I8accdcc73c7e0261579d753633f9dfc02a868115
Story: 2005878
Task: 33692
2019-06-24 11:53:04 +02:00
Arne Wiebalck
c908374edc [Trivial] Software RAID: Documentation edits
Highlight 'software' as the value for controller when defining RAID
properties and remove a redundant word.

Change-Id: Ie26ddb09fda063cd91890fa7644624f2277a4dab
2019-06-24 08:54:08 +02:00
Zuul
b44dee0dce Merge "Software RAID: Add documentation" 2019-06-24 04:30:26 +00:00