summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Do not reboot into nowhere after BIOS settings with fast-track"21.0.0Zuul2022-08-174-24/+43
|\
| * Do not reboot into nowhere after BIOS settings with fast-trackDmitry Tantsur2022-08-154-24/+43
| | | | | | | | | | | | | | | | | | Currently, the prepare_ramdisk implementation of the redfish-virtual-media boot interface skips configuring an ISO in fast-track mode. When rebooting after BIOS/RAID settings changes, we need to enforce the correct ISO configuration. Change-Id: Ibdfe0775065f3b27478305dd18929a291df3ee3c
* | Ironic Release 21.0Iury Gregory Melo Ferreira2022-08-172-0/+25
| | | | | | | | | | | | | | This commit bumps the release_mappings to 21.0 to be used in the bugfix branch Change-Id: I2bde869dfb05eb8d9baf035686833980d79e69ef
* | Fix releasenotes before release 21.0Iury Gregory Melo Ferreira2022-08-173-3/+3
| | | | | | | | Change-Id: I347a9a29607268b3e423906fa406b6a7f127bdd0
* | Merge "Document driver_info external_http_url"Zuul2022-08-151-0/+11
|\ \
| * | Document driver_info external_http_urlIury Gregory Melo Ferreira2022-08-111-0/+11
| | | | | | | | | | | | | | | | | | | | | This commit adds documentation about driver_info[external_http_url] Follow-up If6a117a756b7d2a04251792f88c2ee412a040b28 Change-Id: Ia4787c27ed4c53f4ecb911eb0f9d77ea455c25f3
* | | Merge "Override external_http_url at node level"Zuul2022-08-154-9/+107
|\ \ \ | |/ /
| * | Override external_http_url at node levelIury Gregory Melo Ferreira2022-08-104-9/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support to specify the URL to be used to publish the node image when using virtual media. The option is available under `driver_info['external_http_url']`, if set this value has priority over the values in the configuration file ([deploy]/external_http_url and [deploy]/http_url) Story: 2010221 Task: 45970 Change-Id: If6a117a756b7d2a04251792f88c2ee412a040b28
* | | anaconda: ks liveimg = instance_info/image_infoRuby Loo2022-08-111-3/+5
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | Fix typo. For anaconda deploy interface, ironic sets the kickstart 'liveimg' command with the URL from the ironic node's instance_info's "image_url" value [1], and that "image_url" value is added by ironic code, using the "image_info" value. We don't have code that uses any "liveimg_url" value. [1] https://opendev.org/openstack/ironic/src/commit/ 3d3a67daf7d2969d8da691d12351ab5bb32eca80/ironic/common/ pxe_utils.py#L1003 Change-Id: Ic8ce5fa83768c2632eb190cd87dbf81062c7083a
* | Merge "Fix iRMC driver to use certification file in HTTPS"Zuul2022-08-106-3/+156
|\ \
| * | Fix iRMC driver to use certification file in HTTPSVanou Ishii2022-08-086-3/+156
| |/ | | | | | | | | | | | | | | | | | | | | | | This patch modifies iRMC driver to use certification file when it connects to iRMC via HTTPS Depends-On: https://review.opendev.org/c/openstack/ironic/+/852250 Change-Id: If69ce1cf2789d9d60fb8e544596cf7d29eab514d Co-authored-by: Kobayashi Daisuke <kobayashi.da-06@fujitsu.com> Co-authored-by: Song Shukun <song.shukun@jp.fujitsu.com> Story: 2009801 Task: 44345
* | Merge "Log successful clean up in image cache"Zuul2022-08-101-0/+11
|\ \
| * | Log successful clean up in image cacheDmitry Tantsur2022-08-091-0/+11
| | | | | | | | | | | | Change-Id: I6c53192b69a7b433b2758aa9374cd10b20191af7
* | | Merge "Modify test code to avoid CONF modification affection"Zuul2022-08-099-133/+132
|\ \ \
| * | | Modify test code to avoid CONF modification affectionVanou Ishii2022-08-099-133/+132
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Few unit tests change attribute of CONF variable via Python assignment. This changes attribute of CONF, which is instance of XxxOpt class defined in oslo_config, to Python literal value. This affects result of another unit test. To avoid this, we should change attribute of CONF variable with set_override method. Change-Id: I4bd8b1b4ea974834f1149fcaa79de85d24f5f7d1 Story: 2010214 Task: 45956 Depends-On: https://review.opendev.org/c/openstack/ironic/+/852253
* | | Merge "Update raid_type handling for Redfish raid_config"Zuul2022-08-092-1/+28
|\ \ \
| * | | Update raid_type handling for Redfish raid_configAija Jauntēva2022-08-082-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix indentation for case when raid_type is missing. Generally, it is not expected that raid_type will be missing, this is done as a precaution as raid_type was introduced in Redfish 1.3.1. Now log warning that raid_type is missing, thus cannot update raid_config correctly. Followup to I753c4b00c0a64bcdc89c9bc0afd46f1211f7847b Change-Id: Id66b87309dd26a2a165b35ac1d81580e4605d629
* | | | Merge "Change molds option to appropriate class"Zuul2022-08-091-2/+2
|\ \ \ \
| * | | | Change molds option to appropriate classVanou Ishii2022-08-051-2/+2
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At current, retry_attempt & retry_interval in ironic.conf [molds] is instance of StrOpt. However it should be IntOpt class. If it remains to StrOpt class, tenacity.retry wrapper in common/molds.py will fail with TypeError. Change-Id: Iafedf2ec0326009585c1cac251ecae65c9e666ac Story: 2010215 Task: 45957
* | | | Merge "Fix pxe image lookups"Zuul2022-08-083-6/+77
|\ \ \ \ | |_|/ / |/| | |
| * | | Fix pxe image lookupsJulia Kreger2022-08-043-6/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Image lookups in the PXE interface, for anaconda specific code, were previously hard coded to try and invoke use of glance if needed. Except, not everything is glance. Change-Id: I8791623be95e7e47739ee051753de97eb0e5e2a3
* | | | Merge "Finally remove support for netboot and the boot_option capability"Zuul2022-08-0539-1577/+168
|\ \ \ \ | |/ / / |/| | |
| * | | Finally remove support for netboot and the boot_option capabilityDmitry Tantsur2022-08-0239-1577/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instance network boot (not to be confused with ramdisk, iSCSI or anaconda deploy methods) is insecure, underused and difficult to maintain. This change removes a lot of related code from Ironic. The so called "netboot fallback" is still supported for legacy boot when boot device management is not available or is unreliable. Change-Id: Ia8510e4acac6dec0a1e4f5cb0e07008548a00c52
* | | | Merge "Stop documenting netboot and the boot_option capability"Zuul2022-08-0411-315/+25
|\ \ \ \ | |/ / /
| * | | Stop documenting netboot and the boot_option capabilityDmitry Tantsur2022-08-0111-315/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Both will be removed soon. The documentation change is separated to reduce the size of the final patch. Change-Id: If4b9b0d095500101ca71a453d71ad95252dd8c0c
* | | | Merge "Exit ipxe script if enable_netboot_fallback failed"Zuul2022-08-0313-9/+33
|\ \ \ \
| * | | | Exit ipxe script if enable_netboot_fallback failedDerek Higgins2022-08-0113-9/+33
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sanboot trick to boot from local disk does not work on all hardware. If it fails exit 0 from the iPxe script so that boot continues on the next device which may be the local disk. Story: #2009258 Task: #43470 Change-Id: I1b6303a987a102dfbfd233334395321c25a55212
* | | | Merge "Enable the ramdisk deploy by default"Zuul2022-08-035-6/+11
|\ \ \ \ | | |/ / | |/| |
| * | | Enable the ramdisk deploy by defaultDmitry Tantsur2022-08-015-6/+11
| | |/ | |/| | | | | | | | | | | | | | | | It proved useful (supported by Metal3, used in OpenShift) and does not require any conductor-level configuration. Change-Id: I57e59ac21e3327b9ad2f1d1436e184b48999006b
* | | Merge "Modify do_node_verify to avoid state machine stuck"Zuul2022-08-031-1/+1
|\ \ \
| * | | Modify do_node_verify to avoid state machine stuckVanou Ishii2022-08-031-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | do_node_verify function runs vendor-driver-defined verify_step. However, when vendor verify_step fails, it causes stuck of state machine at verifying. This is because do_node_verify function tries to retrieve name of verify_step through node.verify_step but node doesn't have verify_step attribute and there is no way to handle exception. This commit fixes this issue. Change-Id: Ie2ec6e08214661f7dc61c92de646e2f4d5bb5469 Story: 2010209 Task: 45942
* | | Suppress Chassis Not Found on API OperationJulia Kreger2022-08-023-2/+36
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When you have a multi-db deployment, or even just many different threads operating on the same server with different transactions, you can run into a situation where one thread initiates a transaction to get a list of nodes, and then another triggers a delete of the chassis (and most likely node, but hey, there is really no way to detect that and work.) So as the API is processing the response and making the json result set, the query to resolve a chassis_id on a node object can begin to fail. Before this patch, this would raise an exception to the client. Now, we just suppress the error, and return the field value as None. In the grand scheme, the node is likely has also already been deleted as well. Change-Id: I3594ac580c01454c70922a965a2a653a8b568cbb Closes-Bug: 1508995 Story: 1508995 Task: 10038
* | Merge "Add audit middleware options to ironic.conf"Zuul2022-08-012-1/+2
|\ \ | |/ |/|
| * Add audit middleware options to ironic.confTakashi Kajinami2022-07-072-1/+2
| | | | | | | | | | | | | | | | | | Ironic supports enabling the audit middleware. This change adds the option for the middleware to the ironic.conf file generated by oslo-config-generator. Depends-on: https://review.opendev.org/804316 Change-Id: Ic7adb755f47ea65fe975dfbc7cca905a376d728e
* | Merge "Imported Translations from Zanata"Zuul2022-08-010-0/+0
|\ \
| * | Imported Translations from ZanataOpenStack Proposal Bot2022-08-012-164/+271
| | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I3b6a4d80bf2f35bac4d33e15e3ab0d913bdeac71
* | | Merge "Imported Translations from Zanata"Zuul2022-08-012-164/+271
|\ \ \
| * | | Imported Translations from ZanataOpenStack Proposal Bot2022-07-282-164/+271
| |/ / | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I0a9b547e92b288a555c246d63d007b831a6e1190
* | | Clarify disk_label with a warningJulia Kreger2022-07-251-0/+6
|/ / | | | | | | | | | | | | | | | | | | | | Turns out I've had two people try to use disk label twice in the last week to infer UEFI booting system. This is not correct, unfortunately. Clarify that the boot mode needs to be set appropriately. Change-Id: I515358d40b03ea0d38dad2104a2d3d2c66e0ae8c
* | Merge "CI: Only setup fake v6 interface if needed"Zuul2022-07-251-3/+7
|\ \
| * | CI: Only setup fake v6 interface if neededJulia Kreger2022-07-201-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | In the case of CI test nodes natively supporting and using ipv6, we don't need to actually setup a fake IPv6 network for ports to bind to on the local system. So before doin gso, lets check to see if we can ping the address first. If not, then set it up. Change-Id: Ib68c706c1f9ef0ad0cf27e7a6acffd2c50ff37ea
* | | Merge "CI: Save routing table information for troubleshooting"Zuul2022-07-251-0/+8
|\ \ \ | |/ /
| * | CI: Save routing table information for troubleshootingJulia Kreger2022-07-201-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Presently, we don't save the state of the routing table, which means troubleshooting the ipv6 job failures is difficult because we just have no way of knowing what is truly going on with the traffic flow. Possibly, we may be encountering a case where router advertisements are overrriding route table entries, and the only way to know is to see the final state of the table. Change-Id: Ib15cd21e47e3b884bae2cb956f9113e73034391b
* | | Fix adoption unit test image checkJulia Kreger2022-07-221-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We added an additional check, and it turns out the test was passing when no local webserver was present because it was getting checked, but things would break when an actual webserver existed which returned a redirect Change-Id: If8d29ba3676cf8e11a1010890c90bb67b0d60cb3 Story: 2010181 Task: 45862
* | | Merge "[iRMC] Add SNMPv3 authentication functionality"Zuul2022-07-2211-45/+411
|\ \ \
| * | | [iRMC] Add SNMPv3 authentication functionalityShukun Song2022-07-1511-45/+411
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently when using SNMPv3, iRMC driver does not use SNMPv3 authentication parameters so the SNMPv3 authentication will always fail. And iRMC cannot recognize FIPS mode, so when FIPS mode is enabled, iRMC driver could still use non-FIPS-compliant algorithms. This commit changes iRMC driver to require and use SNMPv3 authentication parameters when 'irmc_snmp_version' is set to v3 and also makes iRMC driver to force 'irmc_snmp_version' to v3, 'irmc_snmp_auth_proto' to SHA and 'irmc_snmp_priv_proto' to AES when FIPS mode is enabled, because currently among the algorithms supported by iRMC, only SHA and AES are FIPS compliant. Change-Id: Id6f8996e4d103f849325f54fe0619b4acb43453a Story: 2010085 Task: 45590
* | | | Merge "Deprecate syslinux"Zuul2022-07-223-70/+37
|\ \ \ \
| * | | | Deprecate syslinuxJulia Kreger2022-07-133-70/+37
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Syslinux is a functionally abandoned Legacy BIOS boot mode bootloader which has not seen updates since 2019, and is starting to see discussion amongst linux distributions to remove explicit support and packaging for Syslinux. Syslinux's relevance is also disappearing as UEFI booting is becoming the standard. While syslinux did go ahead and ensure their bootloader *could* be built and support UEFI, distributions also didn't uniformly adopt packaging and support for this bootloader. This change proposes to deprecate it and notates the areas in which functionality is deprecated. Change-Id: Ic52007fa4f207561d282eb5ae54273885c0ab0c0
* | | | Merge "project scoped manager support"Zuul2022-07-224-8/+673
|\ \ \ \
| * | | | project scoped manager supportJulia Kreger2022-07-204-8/+673
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds support for project manager role support which is a state between project scoped admin and project scoped member. Finally enabling to be merged since the higher end goal/work finally merged on March 1st. Related: https://review.opendev.org/c/openstack/governance/+/815158 Change-Id: Ia35f4a4c3c2af68dc64bfe32f206e57056876dc7