- 04 Oct, 2021 1 commit
-
-
Julia Kreger authored
A possibility exists where inspector *can* fail upon inspection if the database connectivity was lost on a prior action. This is because the last database transport is potentially bad and fails upon load for the transaction. The cache can then end up with an "error" state entry, which upon retrying can fail becasue it is already in error state Because there really are no guarentees regarding database failures, the best thing to do is to not trust the prior cache state if it is in error and to reset it to starting upon new introspection requests. This prevents operators from *having* to perform process restarts to force all loads to be from the database unless they manage to have a multi-inspector cluster and get another inspector node to inspect in the mean time. Change-Id: I04ae1d54028862642d043f3a8f3af99405863325 Story: 2008344 Task: 41246 Related: rhbz#1947147 (cherry picked from commit d972dc93)
-
- 10 May, 2021 1 commit
-
-
Riccardo Pittau authored
Since ironic-python-agent-bulder has stable branches starting from wallaby, we need to point all the older branches to stable/wallaby, unless they're already pinned to an older version. Change-Id: I396a45f8ce22ab1af33e3716bc4748e8ce8d3065
-
- 24 Mar, 2021 1 commit
-
-
François Rigault authored
This is a follow-up for extra issues identified during code review of Ib4978f5e3e4f1b64faa1bfae3cdcf46199bb2f21 Story: 2008698 Task: 42099 Change-Id: Ic18d42209d0f0f7c12ab0972dba2b97bb93b7c4e (cherry picked from commit f5e3a665)
-
- 16 Mar, 2021 1 commit
-
-
Francois Rigault authored
follow-up to Icd3de82877c6a53d32b4c9fd3e500d3cd9d7fb17 Use id attribute instead of uuid. This caused an exception when an unexpected port was being deleted. Story: 2008698 Task: 42007 Change-Id: Ib4978f5e3e4f1b64faa1bfae3cdcf46199bb2f21 (cherry picked from commit 22853a74)
-
- 25 Feb, 2021 1 commit
-
-
Dmitry Tantsur authored
Change-Id: Icd752783ff6df0e06f04e03b374af4862c91ec7f (cherry picked from commit 223cfbdb)
-
- 18 Feb, 2021 1 commit
-
-
Pavlo Shchelokovskyy authored
this is a follow-up to Icd3de82877c6a53d32b4c9fd3e500d3cd9d7fb17 one more place was identified as trying to use uuid attr of a Node object from openstacksdk instead of id attr. In tests, use stricter mocking with spec_set (that actually fails to access or set an atribute of a mock that is absent from the spec class or instance) to guard against future possible changes. Change-Id: I83c420d0e91e00f583a28833f4f710cf70b01fa8 Story: 2008379 Task: 41300 (cherry picked from commit 5c79d755)
-
- 15 Feb, 2021 1 commit
-
-
Dmitry Tantsur authored
Usage of usedevelop=True results in all requirements.txt dependencies always installed (without constraints) even when requirements.txt is not explicitly added. Override usedevelop for these environments. Add requirements.txt to the 'docs' environment since it imports the whole ironic in the process. Create a separate doc/requirements.txt. Change-Id: I352f21772ccd68b35806f46851f254edb7c24c60 (cherry picked from commit 8d52a778)
-
- 03 Feb, 2021 1 commit
-
-
Moisés Guimarães de Medeiros authored
Since pymemcache 3.4.0, localhost will first translate to ipv6 ([::1]) if possible instead of ipv4 (127.0.0.1). Since memcached is running in the ipv4 interface, we need to point tooz to the right endpoint. Depends-On: https://review.opendev.org/c/openstack/requirements/+/772684 Signed-off-by:
Moisés Guimarães de Medeiros <moguimar@redhat.com> Change-Id: Iddf558cd598e41ffead11e164ce2fb1720d15f34 (cherry picked from commit 86b974b7)
-
- 18 Jan, 2021 1 commit
-
-
Riccardo Pittau authored
As discussed during the upstream ironic community meeting on Monday Dec 14 2020, the lower-constraints job is being removed. Also increasing memory for the grenade job. Change-Id: I943b63b9c6a980011b35bb028c64bee18d772750 (cherry picked from commit c6fdf251)
-
- 23 Nov, 2020 1 commit
-
-
Steve Baker authored
According to the openstacksdk docs[1] the Node uuid is stored in the id attribute. This change removes the get_node shim which adds the uuid attribute, and replaces any calls to Node.uuid with Node.id. This will stop the many log debug warnings about this attribute: DEBUG openstack.resource [-] Attribute [uuid] not found in [<openstack.resource._ComponentManager object at 0x7f417e43aa20>]: 'uuid'. __getattribute__ /usr/lib/python3.6/site-packages/openstack/resource.py:623 Calls to NodeInfo.uuid or db.Node.uuid remain unchanged. Change-Id: Icd3de82877c6a53d32b4c9fd3e500d3cd9d7fb17 Story: 2008379 Task: 41300 (cherry picked from commit c387cf30)
-
- 18 Nov, 2020 1 commit
-
-
Julia Kreger authored
This reverts commit 371c79f3 as it was found to break TripleO. Please see https://review.opendev.org/#/c/754783/ for the master branch revert. Change-Id: Ie15348cd8fbcdca2238134201c5e6f1f7e928c33
-
- 13 Nov, 2020 1 commit
-
-
Julia Kreger authored
Power off nodes before inspection as failed previous inspection attempts may cause re-inspection attempts to fail. Change-Id: I7405420ad441428dc82360d84b75e03921031482 Story: 2008107 Task: 40820 (cherry picked from commit 34b264ef)
-
- 27 Oct, 2020 1 commit
-
-
Dmitry Tantsur authored
The pattern of adding a column and then reading a table with it no longer works in SQLAlchemy 1.3.20. This has been reported upstream [1] and apparently we're doing the wrong thing by reusing a column object twice. We need to disable the non-standalone job since it's really broken now, and this fix is blocking bifrost. [1] https://github.com/sqlalchemy/sqlalchemy/issues/5669 Change-Id: I2fb07413e8f421f39b24acf1272771ee2097b195 (cherry picked from commit 5678f219)
-
- 01 Oct, 2020 2 commits
-
-
OpenStack Release Bot authored
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: Iaf38745030ea6419844154213d79e9a93443ea75
-
OpenStack Release Bot authored
Change-Id: Ib689686f3ea9e017e003a77d54f7ceba5a26c9e0
-
- 30 Sep, 2020 1 commit
-
-
Zuul authored
-
- 29 Sep, 2020 2 commits
-
-
Zuul authored
-
wes hayutin authored
This reverts commit 34b264ef. Parial-Bug: #1897505 Change-Id: Ia0623e9183cd5c774397bf233b87dcc4d33c2566
-
- 28 Sep, 2020 1 commit
-
-
Harald Jensås authored
It is not always desired to open the DHCP server for any host just because introspection is active. Add an option to ensure that only nodes being introspected are added to the DHCP servers allow list. Also adds ethoib support in the dnsmasq PXE filter. Also fix a typo in ethoib_interfaces option help text. Change-Id: I4cd7f4f0a449dcc23897ec9288cb57ec9bd647d7
-
- 23 Sep, 2020 2 commits
- 22 Sep, 2020 1 commit
-
-
Harald Jensås authored
We open for unknown hosts if either: node_not_found_hook is set OR some node is introspected This matches the method in iptables driver: ttps://opendev.org/openstack/ironic-inspector/src/branch/master/ironic_inspector/pxe_filter/iptables.py#L33-L38 Change-Id: I4fa06fb879e5d55a383820a52f4ffc7c4b1134a2
-
- 21 Sep, 2020 1 commit
-
-
Dmitry Tantsur authored
Currently ironic-base defaults to 2 and our tests try to introspect all of them. This puts unnecessary strain on the CI systems, return the number back to 1. Change-Id: I178190ee1e9d99e60994a307044105f306d4cab3
-
- 14 Sep, 2020 1 commit
-
-
Arne Wiebalck authored
Change-Id: I093f0dfc459d2c300d40da1f27cc452444fd522f
-
- 11 Sep, 2020 1 commit
-
-
Iury Gregory Melo Ferreira authored
Also fixing user creation with GRANT in MySQL 8.0(Ubuntu Focal) Ubuntu Focal (20.04) has mysql 8.0 and with mysql 8.0 there is no implicit user creation with GRANT. We need to create the user first before using GRANT command. Change-Id: I4c0469628e82e86b4023a9b011d09f20f9b66aac
-
- 07 Sep, 2020 1 commit
-
-
Zuul authored
-
- 04 Sep, 2020 1 commit
-
-
Julia Kreger authored
Power off nodes before inspection as failed previous inspection attempts may cause re-inspection attempts to fail. Change-Id: I7405420ad441428dc82360d84b75e03921031482 Story: 2008107 Task: 40820
-
- 20 Aug, 2020 2 commits
-
-
Zuul authored
-
Kaifeng Wang authored
Identify acclerator devices by processing pci devices and update to ironic node when found. Currently only Tesla T4 from NVIDIA is supported. Change-Id: Id702cb04cb2445d544965821680cd0cc5cfd37e5 Story: 2007971 Task: 40473
-
- 18 Aug, 2020 1 commit
-
-
Riccardo Pittau authored
We are replacing all usages of the 'retrying' package with 'tenacity' as the author of retrying is not actively maintaining the project. Tenacity is a fork of retrying, but has improved the interface and extensibility (see [1] for more details). Our end goal here is removing the retrying package from our requirements. [1] https://github.com/jd/tenacity Change-Id: I660192549918b9cd9738810cbfaf3dc4456f97fa Story: #1635390 Task: #40647
-
- 17 Aug, 2020 4 commits
-
-
Zuul authored
-
Zuul authored
-
Zuul authored
-
Bob Fournier authored
Use the same string in text and example. Change-Id: I071d5406b13f1ad9d6f5f6800db023cb3c934330
-
- 13 Aug, 2020 1 commit
-
-
Julia Kreger authored
Fixes the ironic utilities logic to parse URLs in driver_info properly. Also adds ``redfish_address`` to the default list of fields to evaluate for host matching. Previously an operator could add the field to the list, but the matching logic would not match the URL as it did not know to decompose the url and identify the hostname portion of the url. Resolves: rhbz#1670336 Story: 2008010 Task: 40660 Change-Id: Ice86e9ab3efb98b649141bdf7e1e2febdc9203a8
-
- 12 Aug, 2020 2 commits
- 11 Aug, 2020 2 commits
-
-
Riccardo Pittau authored
The jsonpath-rw library has no cap anymore. Change-Id: I1a692a32b5731c33f56ddc53ac5e4f0089c464f0
-
Zygimantas Matonis authored
Added logging to log IntrospectionRule.check_conditions method outcome for debugging purposes. Change-Id: I8e7afee669b32de40b191990f693bf86e59a3e3c Story: 2006995 Task: 40645
-
- 10 Aug, 2020 1 commit
-
-
Zuul authored
-