summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove lower-constraints jobbugfix/6.3-eolbugfix/6.3Riccardo Pittau2021-01-061-1/+0
| | | | | | | | As discussed during the upstream ironic community meeting on Monday Dec 14 2020, the lower-constraints job is being removed. Change-Id: Ide0f6c38a59ae6486fa33cfb19b383d022e57d5a (cherry picked from commit 78b356cd44907287af60412113e1e15fe4ccaf0a)
* Make WSGI server respect listen_* directivesJay Faulkner2020-09-023-7/+58
| | | | | | | | | | | | The listen_port and listen_host directives are intended to allow deployers of IPA to change the port and host IPA listens on. These configs have not been obeyed since the migration to the oslo.service wsgi server. Story: 2008016 Task: 40668 Change-Id: I76235a6e6ffdf80a0f5476f577b055223cdf1585 (cherry picked from commit 7d0ad36ebd350a7162bc3c33bbefd26b9e962a78)
* Increase memory for tinyipa jobsRiccardo Pittau2020-08-211-5/+5
| | | | | | | | | | Tinyipa is not that tiny anymore and we need to increase the base memory for VMs in jobs that use it. Depends-On: https://review.opendev.org/747397 Change-Id: I7e2d93ef566f4f2beb54caf445c7810a01aec1de (cherry picked from commit 2a5ba7ef68db8b09a62e36943be75ef29c62ef54)
* Update TOX_CONSTRAINTS_FILE for bugfix/6.3OpenStack Release Bot2020-08-191-1/+1
| | | | | | | | | | | | Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/victoria branch, tests will continue to use the upper-constraints list on master. Change-Id: I62ca56b861506f2a23b4b9621d8711bf01346d4e
* Update .gitreview for bugfix/6.3OpenStack Release Bot2020-08-181-0/+1
| | | | Change-Id: Id28a4916755b698d2f8812fef2db379b355fe5b1
* Merge "Revert "Switch the inspector job to tinyIPA until DIB is fixed""6.3.0Zuul2020-08-121-2/+0
|\
| * Revert "Switch the inspector job to tinyIPA until DIB is fixed"Dmitry Tantsur2020-08-071-2/+0
| | | | | | | | | | | | This reverts commit a08029a44ea4872d1c7afd51311a15be4f6a257f. Change-Id: I4e2ab36792c47997e4f604abe806a0cc4338398e
* | Merge "Support changing the protocol part of callback_url to https"Zuul2020-08-106-8/+28
|\ \
| * | Support changing the protocol part of callback_url to httpsDmitry Tantsur2020-08-066-8/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a new kernel parameter for manual configuration and also creates foundation for automatic TLS support later. Change-Id: If341c3a8a268fc8cab6bd6be04b12ca32b31c8d8 Story: #2007214 Task: #40619
* | | Merge "Fix TypeError on agent lookup failure"Zuul2020-08-073-4/+84
|\ \ \
| * | | Fix TypeError on agent lookup failureJulia Kreger2020-08-043-4/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Agent lookups can fail as we presently use logging.exception, better known in our code as LOG.exception, which can also generate other fun issues on journald based systems where additional errors could be raised resulting in us being unable to troubleshoot the the actual issue. Because of the mis-use of LOG.exception and the default behavior of the backoff retry handler, the retry logic was also not functional as any error no matter how small caused IPA to just exit. Change-Id: Ic4608b7c6ff9773d1403926efb3d59869c71343b Story: 2007968 Task: 40465
* | | | Merge "Examples: add deploy_steps examples"Zuul2020-08-072-2/+99
|\ \ \ \
| * | | | Examples: add deploy_steps examplesDmitry Tantsur2020-08-042-2/+99
| | | | | | | | | | | | | | | | | | | | Change-Id: Ifacd8fb05a80f34029965156334fbb707468f1f6
* | | | | Merge "Import example hardware managers from ipa-example-hardware-managers"Zuul2020-08-0711-4/+377
|\ \ \ \ \ | |/ / / / | | | | / | |_|_|/ |/| | |
| * | | Import example hardware managers from ipa-example-hardware-managersDmitry Tantsur2020-07-3111-4/+377
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | They're not easily discoverable there, let's keep them in tree. The examples have been restructured to have two different projects ready to be copied and adjusted. PEP8 failures have been fixed. Change-Id: I2af04f4b7f9a2109fe83ec517e716159331a48bb Co-Authored-By: Jay Faulkner <jay@jvf.cc>
* | | Merge "Extends pci devices metrics"Zuul2020-08-053-17/+53
|\ \ \
| * | | Extends pci devices metricsKaifeng Wang2020-08-043-17/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Collects PCI class, revision, and bus information for the pci-devices collector, these metrics as well as vendor id and device id are components which can be used to construct device information like lspci output, which is how cyborg agent collects accelerator devices. Accelerator device based scheduling is possible after ironic has such information in place. Change-Id: I6c37c554f37dd5f1d21c8fd4fad2a4f44a3c75d7 Story: 2007971 Task: 40474
* | | | Merge "Hint 404 lookup failures for Operators"Zuul2020-08-051-1/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Hint 404 lookup failures for OperatorsJulia Kreger2020-05-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I08ae0037f5baf3f69fb7a643c2427a0fa63c9381 Story: 2007655 Task: 39738
* | | | Merge "set EVENTLET_NO_GREENDNS to 'yes'"Zuul2020-07-311-0/+19
|\ \ \ \ | |_|_|/ |/| | |
| * | | set EVENTLET_NO_GREENDNS to 'yes'Julia Kreger2020-07-311-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eventlet, when monkey patching occurs, replaces the base dns resolver methods. This can lead to compatability issues, and un-expected exceptions being raised during the process of monkey patching. Such as one if there are no resolvers. As such, since we don't really need monkey patching of DNS, and setting the flag should make the inspector CI jobs happier where we don't need nor use DNS, AND tinycore may not be setting a resolver configuration at all, which is the root of the failure upon monkey patching that casues IPA to fail on start in certian circumstances. As a note, this has been performed on other projects due to bugs. See Id9fe265d67f6e9ea5090bebcacae4a7a9150c5c2. Change-Id: Ib8f7b844b1bfffff16f88ebbb6ef5ddbe61d5a30 Story: 2007936 Task: 40394
* | | | Merge "Return the final RAID configuration from apply_configuration"Zuul2020-07-293-1/+70
|\ \ \ \ | |_|_|/ |/| | |
| * | | Return the final RAID configuration from apply_configurationDmitry Tantsur2020-07-293-1/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | AgentRAID expects it and fails with TypeError if it's not provided. Change-Id: Id84ac129bba97540338e25f0027aa0a0f51bde52 Story: #2006963
* | | | Merge "Allow erase_devices_metadata to be used as a deploy step"Zuul2020-07-283-0/+19
|\ \ \ \
| * | | | Allow erase_devices_metadata to be used as a deploy stepDmitry Tantsur2020-07-273-0/+19
| |/ / / | | | | | | | | | | | | | | | | Change-Id: I75f156dd76b0e3aaa1592ba24fe42fb2a7057cc8 Story: #2006963
* | | | Merge "Update version of hacking"Zuul2020-07-272-2/+2
|\ \ \ \
| * | | | Update version of hackingRiccardo Pittau2020-07-272-2/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | Now with a safe version of flake8! Change-Id: Ic2c8e787a2857ab80d35a7bc81b8272701f99d36
* | | | Merge "Revert jobs to dib"Zuul2020-07-272-11/+16
|\ \ \ \ | |/ / / |/| | |
| * | | Revert jobs to dibRiccardo Pittau2020-07-252-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to be sure that the issue with the EPEL repo is fixed before reverting to dib. Change-Id: Ib0a80a35dcfc9d51009cc1a6816b191c6926cfdb
* | | | Merge "More refactoring of the image module"Zuul2020-07-271-39/+32
|\ \ \ \ | |/ / / |/| | |
| * | | More refactoring of the image moduleRiccardo Pittau2020-07-241-39/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Introducing new function _umount_all_partitions to reduce the size of _install_grub2 Change-Id: I304468d57b10d677f2a9d58aec42a1bf414c6cba
* | | | Merge "Prevent un-needed iscsi cleanup"Zuul2020-07-256-2/+47
|\ \ \ \ | |/ / / |/| | |
| * | | Prevent un-needed iscsi cleanupJulia Kreger2020-07-206-2/+47
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we added software raid support, we started calling bootloader installation. As time went on, we ehnanced that code path for non RAID cases in order to ensure that UEFI nvram was setup for the instance to boot properly. Somewhere in this process, we missed a possible failure case where the iscsi client tgtadm may return failures. Obviously, the correct path is to not call iscsi teardown if we don't need to. Since it was always semi-opportunistic teardown, we can't blindly catch any error, and if we started iSCSI and failed to tear the connection down, we might want to still fail, so this change moves the logic over to use a flag on the agent object which one extension to set the flag and the other to read it and take action based upon that. Change-Id: Id3b1ae5e59282f4109f6246d5614d44c93aefa7c Story: 2007937 Task: 40395
* | | Merge "Fix versions in release notes"Zuul2020-07-232-4/+4
|\ \ \
| * | | Fix versions in release notesRiccardo Pittau2020-07-222-4/+4
| | | | | | | | | | | | | | | | Change-Id: I2ba658d83a15554e135429d464c0a033063d4631
* | | | Merge "Fix bootloader install issue with MDRAID"Zuul2020-07-223-6/+52
|\ \ \ \
| * | | | Fix bootloader install issue with MDRAIDDoug Szumski2020-07-223-6/+52
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When no root_device hint is set, an MDRAID partition can be incorrectly selected as the root device which causes installation of the bootloader to the physical disks behind the MDRAID volume to fail. See the notes in the referenced Story for more detail. This change adds a little more specificity to the listing of block devices. Change-Id: I66db457e71a0586723ee753bef961aec5bf58827 Story: 2007905 Task: 40303
* | | | Merge "Adds poll mode deployment support"Zuul2020-07-227-47/+161
|\ \ \ \ | |/ / / |/| | |
| * | | Adds poll mode deployment supportKaifeng Wang2020-06-217-47/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a new poll extension to provide get_hardware_info and get_node_info interfaces. get_hardware_info will be used for node validation by ironic deploy drivers. get_node_info will be used for sending lookup data to IPA. standalone mode is assumed as debug only, but it's not the case considering the poll mode will be introduced, slightly updates the description, also prevents the mdns lookup when standalone is true. Story: 1526486 Task: 28724 Change-Id: I5ad772a18cc4584585c5a7b6fb127547cece1998
* | | | Set min version of tox to 3.2.1Riccardo Pittau2020-07-151-1/+1
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | As recommended, since version 3.2.0 tox switches pip invocations to use the module -m pip instead of direct invocation. We set min version to 3.2.1 [1] to also fix the behavior of --parallel--safe-build [1] https://tox.readthedocs.io/en/latest/changelog.html#v3-2-1-2018-08-10 Change-Id: I6c91e84366dcec7290456eea535a0b2bd3eda4d1
* | | Merge "Ignore devices with size 0 when collecting inventory"Zuul2020-07-153-5/+25
|\ \ \
| * | | Ignore devices with size 0 when collecting inventoryDmitry Tantsur2020-07-093-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | delete_configuration still fetches all devices as it needs to clean ones with broken RAID. Story: #2007907 Task: #40307 Change-Id: I4b0be2b0755108490f9cd3c4f3b71a5e036761a1
* | | | Update jobsIury Gregory Melo Ferreira2020-07-102-8/+16
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | - Increase the number of VM's since we are running two tests. - Do no run ipa-tempest-wholedisk-* (the partition jobs are covering this since tempest runs wholedisk and partition tests) - Remove `partition` from the job names Change-Id: Ic82fc9dc7b658dab52c06b3619a0118acd111bc5
* | | Refactor part of image module6.2.0Riccardo Pittau2020-07-071-27/+32
| | | | | | | | | | | | | | | | | | | | | Shuffle some functions around and reduce size of _is_bootloader_loaded moving logic out to a new function. Change-Id: I9c10bf05186dcebb37f175d61bf4ac9ff86b6510
* | | Merge "Limit Inspection->Lookup->Heartbeat lag"Zuul2020-07-068-6/+71
|\ \ \
| * | | Limit Inspection->Lookup->Heartbeat lagJulia Kreger2020-07-038-6/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Caches hardware information collected during inspection so that the initial lookup can occur without any delay. Also adds logging to track how long inventory collection takes. Co-Authored-By: Dmitry Tantsur <dtantsur@protonmail.com> Change-Id: I3e0d237d37219e783d81913fa6cc490492b3f96a
* | | | Merge "Fix serializing ironic-lib exceptions"Zuul2020-07-063-0/+39
|\ \ \ \ | |/ / / |/| | |
| * | | Fix serializing ironic-lib exceptionsDmitry Tantsur2020-07-023-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If1408e4b81d263c56b4bbab618dd0737db5f762e Story: #2007889 Task: #40268
* | | | Switch the inspector job to tinyIPA until DIB is fixedDmitry Tantsur2020-07-031-0/+2
| | | | | | | | | | | | | | | | Change-Id: Ibe4d212d83bc27163af1fa9aa82881ade2d647db
* | | | Increase the ESP partition size to 550 MiB when using software RAIDDmitry Tantsur2020-07-025-16/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This has been a popular guidance, and diskimage-builder has recently started following it. Change-Id: I794c846fb191c15b0a30546bf64d624dfbde0fd4