summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Bind mount /run into chroot when installing grub" into stable/pikepike-eolstable/pikeZuul2019-05-213-1/+15
|\
| * Bind mount /run into chroot when installing grubDerek Higgins2019-05-083-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | grub-mkconfig runs a lvs command that attempts to access /run/lvm once for each block device, currently it times out after 10 seconds for each device and moves on. Multiple 10 second delays become a problem (causing IPA API timeouts) when multiple block devices are present. Bind mounting in /run avoids the delay and the timeouts. Task: 30616 Story: 2005507 Change-Id: Iae8b7808a35bff121f64971aadd4bd36b5f5bb71 (cherry picked from commit 9c35f0279209ce233a7562f2d9310ded1e0edba5)
* | Merge "Fix download upper constraints" into stable/pikeZuul2019-05-211-1/+1
|\ \
| * | Fix download upper constraintsRiccardo Pittau2019-04-251-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | We use the url from tox.ini to download the upper constraints and recently that has changed to a redirect and curl doesn't correctly follows redirects by default but stops at the first page. Adding -L option to curl command makes curl follows the redirect until the final location is found and should allow the correct file to be downloaded. Change-Id: I25c724ffe189d414643c910be0ef61c550f802b7 (cherry picked from commit a88e61959bc41a10de5f58f8a1ffc34ae6f1e822)
* | Fixes for building images with CoreOSRiccardo Pittau2019-05-141-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch includes various fixes for building the IPA image using CoreOS: - switch to Debian Stretch as Jessie is no longer supported and its repo is not available anymore. - install setuptools into the environment explicitly, since some dependencies fail to install without it. - Remove metadata_csum option when creating filesystems since cirros doesn't support it. (cherry picked from commit ac4904ed960dabe94a4b6a3ceff9b4038e61f24f) (cherry picked from commit 4e086f9f0fa2cfdd215994c76025bdb7954e3610) Change-Id: I6772e455f5d1ee7587c2dc43203b02e5e54cb714
* | Merge "Fetch upper constraints from opendev.org" into stable/pikeZuul2019-04-291-1/+1
|\ \ | |/ |/|
| * Fetch upper constraints from opendev.orgPavlo Shchelokovskyy2019-04-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | the imagebuild/common/generate_upper_constraints.sh is currently failing as the curl command in this file does not handle redirects. Instead of allowing redirects, use the proper current link to the upper constraints file. Change-Id: I92c5bfa65ba149687f61172c2a89ff38660a58cf (cherry picked from commit 93dae93d52c8eec10d4e94f16b460443075ec129)
* | OpenDev Migration PatchOpenDev Sysadmins2019-04-1916-62/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have.
* | Replace openstack.org git:// URLs with https://pike-em2.2.4Ian Wienand2019-03-2414-26/+26
|/ | | | | | | | | | | | | | | | | This is a mechanically generated change to replace openstack.org git:// URLs with https:// equivalents. This is in aid of a planned future move of the git hosting infrastructure to a self-hosted instance of gitea (https://gitea.io), which does not support the git wire protocol at this stage. This update should result in no functional change. For more information see the thread at http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html Change-Id: I6b3806bc46fa64b5d2dd1d22ac5a20de183bd117
* import zuul job settings from project-configDoug Hellmann2018-08-161-0/+6
| | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to complete step 1 of moving the zuul job settings out of project-config and into each project repository. Because there will be a separate patch on each branch, the branch specifiers for branch-specific jobs have been removed. Because this patch is generated by a script, there may be some cosmetic changes to the layout of the YAML file(s) as the contents are normalized. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: Ifda0bd1b7898e8f9afa2131126071bf3f655a390 Story: #2002586 Task: #24302
* fix uname mock arguments for get-pip.pyJulia Kreger2018-07-251-0/+5
| | | | | Change-Id: I36b3c8c7b0dfca41db54490306f47ddbf8eec836 (cherry picked from commit baa076837d25bf7b2290211b248a0bbe5f48d55c)
* Merge "[LLDP] Skip NICs that say they are ready but are unreadable." into ↵Zuul2018-06-273-4/+63
|\ | | | | | | stable/pike
| * [LLDP] Skip NICs that say they are ready but are unreadable.Sam Betts2018-05-283-4/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | While listening for LLDP packets, if one of the sockets marks itself as ready to read then our code will try to read data from that socket, but if something goes wrong while reading that data then it causes IPA to raise out of the loop skipping any other of the other NICs which might have worked. This patch adds code to catch and LOG any exception that is raised while we are trying to read data from one of the sockets so that we can proceed to process all the NICs. Change-Id: I8546097f5ae23755a5fdb448902007a2d823b7bf Closes-Bug: #1665025 (cherry picked from commit b536fbba616d958e58b110c8f86ea569f8834d7c)
* | Switch from sourceforge to github for ipmitoolYolanda Robla2018-06-262-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently CI fails on build ipa image on xenial, because downloading with wget from sourceforce is giving SSL error. Start using the github mirror, that is not having this problem. Additionally added autoconf, autogen, automake, and libtool to the build requirements as the new ipmitool package is based off of repository commit history tags and did not contain a pregenerated configure file. Change-Id: I139679db835b7a87c55f69a4d807ff8ec9099e3a (cherry picked from commit 80be07ae791980a1c444b3b0d685775c1688ca34)
* | Merge "Fix for fatal error when GPT was used and only MBR was cleaned" into ↵Zuul2018-06-121-1/+1
|\ \ | | | | | | | | | stable/pike
| * | Fix for fatal error when GPT was used and only MBR was cleanedOlivier Bourdon2018-06-041-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You can generate this error if after having provisioned a node using GPT partitioning, you clean its MBR using say dd if=/dev/zero bs=1024 count=1 of=/dev/sda and then cleanup all Ironic/Bifrost informations to get it reprovisioned. In this case sgdisk -Z returns an error and last_error field in Ironic contains: Error writing image to device: Writing image to device /dev/sda failed with exit code 2 Caution: invalid main GPT header, but valid backup; regenerating main header\nfrom backup!\n \nInvalid partition data!\ Change-Id: Ib617737fff5e40cb376edda0232e0726d9c71231 (cherry picked from commit 5fcf3f066ccdbcc081ae35ab25f1c18737b94778)
* | Fix Dockerfile for Debian JessieJulia Kreger2018-05-311-3/+4
|/ | | | | | | | | | | As we learned in I488445dfd261b7bca322a0be7b4d8ca6105750a3 that the the docker file needed to change, this is a targeted change to address the docker file contents and not update the coreos version that is built. This is being done to fix the stable branch builds. Change-Id: I7251dc7deac788716adad7b596f25fd1633cf289
* flake8: Add W503 to ignore list as invalidJohn L. Villalovos2018-05-281-1/+3
| | | | | | | | | | | | | | | W503 according to the [1] pycodestyle docs is not supposed to be enabled. But it is. W503 is something we will likely never enable as it is a personal style decision and can change depending on the code. There is no one right answer. Interestingly there is also a W504 which is the opposite check. [1] http://pycodestyle.pycqa.org/en/latest/intro.html#error-codes Change-Id: I1025f21a57837e97280f82baba50fdd823a190cc (cherry picked from commit c09634ad80988e960af2bcaca737be3e87ba7592)
* Zuul: Remove project nameJames E. Blair2018-01-291-1/+0
| | | | | | | Zuul no longer requires the project-name for in-repo configuration. Omitting it makes forking or renaming projects easier. Change-Id: I53ff6687e318969a84cba6625680e1b6e6d0386a
* Use the tempest plugin from openstack/ironic-tempest-pluginJohn L. Villalovos2017-12-1412-118/+35
| | | | | | | | | Use the tempest plugin from openstack/ironic-tempest-plugin as we have moved the tempest code there. Soon the tempest code will be deleted from openstack/ironic. Change-Id: I8e91d3ca6dd34f8e959c5f6b1e6f07b1a04080b3 (cherry picked from commit 2131d93b57657aabb817fea5d178ee98d4d60fde)
* Merge "Clean-up zuul.d/ files" into stable/pike2.2.3Zuul2017-12-042-212/+57
|\
| * Clean-up zuul.d/ filesJohn L. Villalovos2017-11-212-212/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a new base job: legacy-ipa-dsvm-base Define 'irrelevant-files' in legacy-ipa-dsvm-base and remove them from project.yaml. This means we only define 'irrelevant-files' once. Also makes project.yaml much easier to read. Fix the 'irrelevant-files' section to make sure we do test when changes to 'requirements.txt'. Remove the 'branches:' section from the experimental job 'ipa-tempest-dsvm-partition-pxe_ipmitool-tinyipa-python3' Sort the jobs lists in project.yaml. Change-Id: Idbace38e0558e8a80e2d405ea0f6a0698989e140 (cherry picked from commit 8ba851bf27918319fdc174f495d971857fb356e0)
* | Ignore IPv6 link local addressesDerek Higgins2017-11-213-1/+21
|/ | | | | | | | | | | | Prevent IPA from picking up the IPv6 link-local address as a callback_url in cases where it gets tried before other addressing methods havn't complete yet. In this scenario IPA sleeps for 10 seconds and then retries giving the nic a chance to configure its routable IP address. Change-Id: Ic53334c630180f0d77bb0231e548d2c44bfe55ca Closes-Bug: #1732692 (cherry picked from commit 214790d17e35edd48e1b18f3ceabba91859e3247)
* Zuul: add file extension to playbook pathJames E. Blair2017-11-071-28/+28
| | | | | | | | | Zuul now supports including the file extension on the playbook path and omitting the extension is now deprecrated. Update references to include the extension. Change-Id: I3141f12d0de00c3d8def2862881326f349edd479 (cherry picked from commit 644f2c326fa2a584dfe391bfccf78e36f2e63408)
* Move legacy jobs into treeVasyl Saienko2017-11-0130-0/+2716
| | | | | | | | | | This patch moves the legacy ironic-python-agent CI jobs into the tree instead of storing them in openstack-infra/openstack-zuul-jobs to give us control as we migrate the legacy jobs to the new ansible roles. Change-Id: I7f98258589954639fa8187a3fec4a0b9da05915d (cherry picked from commit e9c845553bcea3a8f1435037e3bb94bc37354f94)
* Fix waiting for target disk to appear2.2.2Lucas Alvares Gomes2017-10-178-101/+157
| | | | | | | | | | | | | | | | | | | | | | | | This patch is changing the _wait_for_disks() method behavior to wait to a specific disk if any device hints is specified. There are cases where the deployment might fail or succeed randomly depending on the order and time that the disks shows up. If no root device hints is specified, the method will just wait for any suitable disk to show up, like before. The _wait_for_disks call was made into a proper hardware manager method. It is now also called each time the cached node is updated, not only on start up. This is to ensure that we wait for the device, matching root device hints (which are part of the node). The loop was corrected to avoid redundant sleeps and warnings. Finally, this patch adds more logging around detecting the root device. Co-Authored-By: Dmitry Tantsur <dtantsur@redhat.com> Change-Id: I10ca70d6a390ed802505c0d10d440dfb52beb56c Closes-Bug: #1670916 (cherry picked from commit 3189c16a5e95ade468fa8bc37302eb9979f5a8c9)
* Remove hard-coded path to grub binariesVasyl Saienko2017-09-263-20/+28
| | | | | | | | | Use PATH variable to find grub binaries. Closes-Bug: 1717255 Change-Id: Ic6a2bafdc87e33c4e1c4534fa355f995c824b945 (cherry picked from commit db5272cfea9fa894675690d54b7d042cb3d01df3)
* Remove assumption that a valid IPMI channel cannot follow an invalid one2.2.1Dmitry Tantsur2017-09-123-7/+24
| | | | | | | | | It seems to be incorrect at least for some iLO machines. Also harden the code against invalid output from ipmitool. Change-Id: I733785e9c7d86eadca963f0776910504bf91bcfe Closes-Bug: #1714944 (cherry picked from commit d6ff5116f4a5586238d44a196ec89d844b151f9d)
* Update UPPER_CONSTRAINTS_FILE for stable/pikeOpenStack Release Bot2017-08-161-1/+1
| | | | Change-Id: I465466da2b716347974c607a3d3807c65819e4a7
* Update .gitreview for stable/pikeOpenStack Release Bot2017-08-161-0/+1
| | | | Change-Id: If46aead0d6f2d20c25e1e5f694a8959b1c31e664
* Merge "Release notes cleanup for Pike release"2.2.0Jenkins2017-08-145-16/+19
|\
| * Release notes cleanup for Pike releaseRamamani Yeleswarapu2017-08-145-16/+19
| | | | | | | | Change-Id: I862fdd1d178445efaf2578949b1c2c00614396b3
* | Merge "Update links in README"Jenkins2017-08-141-2/+2
|\ \ | |/ |/|
| * Update links in READMElidong2017-08-111-2/+2
| | | | | | | | | | | | Change the outdated links to the latest links in README Change-Id: Ibb323d7305f2e58a697cc6ea461e3e645e75800c
* | Merge "BMC can be configured using different lan channel"Jenkins2017-08-103-4/+62
|\ \ | |/ |/|
| * BMC can be configured using different lan channelMateusz Kowalski2017-08-093-4/+62
| | | | | | | | | | | | | | | | | | | | It may happen that BMC is configured to use non-zero channel. In this case we should iterate across all of them as long as we get a correct IP address (in this case different than "0.0.0.0" which is a placeholder for not configured console). Change-Id: I3c351af1882b24c8f56e4363249b19b5c3a4a446 Closes-Bug: #1702514
* | Merge "Use standard quote character"Jenkins2017-08-091-1/+1
|\ \
| * | Use standard quote characterMateusz Kowalski2017-08-091-1/+1
| |/ | | | | | | | | | | | | | | On some platforms using ’ instead of ' causes problems for tox to be run. This patch fixes this at the same time not causing any readability issues. Change-Id: Icf8e4a9aa42dce64afb0d15ca7ff005478dbbfa7
* | Updated from global requirementsOpenStack Proposal Bot2017-08-031-1/+1
| | | | | | | | Change-Id: Id4b7336f8b441925412318a79839130babb526a5
* | Collect processor, memory and BIOS output of dmidecode - follow-upRamamani Yeleswarapu2017-07-272-24/+40
| | | | | | | | | | | | | | | | | | Fixes nits, modifies unit tests. This is a follow-up to commit c5544fb7a0d9d2a1481b3256c3587259368b599e. Change-Id: Ibca82cc6e32311b1ff0be7137d8392f63e12639b Closes-Bug: #1635057
* | Merge "Removes unnecessary utf-8 encoding"Jenkins2017-07-251-3/+0
|\ \
| * | Removes unnecessary utf-8 encodingArundhati Surpur2017-07-041-3/+0
| | | | | | | | | | | | | | | | | | | | | This patches removes unnecessary utf-8 encoding in doc/source/conf.py Change-Id: I864658137f58e78cd275cf8de7b0774a8d7991cb
* | | Merge "Collect processor, memory and BIOS output of dmidecode"Jenkins2017-07-244-0/+820
|\ \ \ | |_|/ |/| |
| * | Collect processor, memory and BIOS output of dmidecodeRamamani Yeleswarapu2017-06-284-0/+820
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements an optional collector 'collect_dmidecode_info' for collecting detailed info of processor, memory and BIOS and adds it to the inspection data. Collects BIOS, processor, memory info and adds under the 'dmi' key. Change-Id: Ida9b418ca579b15de70d17886631f3b21697987e Closes-Bug: #1635057
* | | Updated from global requirementsOpenStack Proposal Bot2017-07-181-1/+1
| | | | | | | | | | | | Change-Id: Ifc6e645014f1ddba696a6e21fe8349d2f7b30103
* | | Correct/update linksJulia Kreger2017-07-145-13/+13
| | | | | | | | | | | | | | | | | | | | | Correct instances of http to https and fix any remaining links that were broken due to the document migration. Change-Id: I492f7972839e63efdde469a1e16840d9be6d8b31
* | | Move content to adminJulia Kreger2017-07-114-123/+147
| | | | | | | | | | | | Change-Id: Ibffc7407addbdabb9121117366484f907d82f719
* | | Move install related contentJulia Kreger2017-07-113-186/+203
| | | | | | | | | | | | Change-Id: Ib9a3897795993e7bce9a43d4028e1c9a90d47302
* | | Move contributor documentationJulia Kreger2017-07-106-123/+176
| | | | | | | | | | | | Change-Id: I43890d380b3cb6b19cfb84bf5d9dcad4f19c0062
* | | Switch from oslosphinx to openstackdocsthemeJulia Kreger2017-07-043-7/+18
| |/ |/| | | | | Change-Id: I1aecf894955e8095c11b8fb82d60488e5d0aca5f