1. 04 Oct, 2021 1 commit
    • Julia Kreger's avatar
      Ignored error state cache for new requests · e1d457da
      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)
      e1d457da
  2. 10 May, 2021 1 commit
    • Riccardo Pittau's avatar
      Point ipa-builder to stable/wallaby · 7ebc8fa6
      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
      7ebc8fa6
  3. 24 Mar, 2021 1 commit
    • François Rigault's avatar
      Use port.id instead of port.uuid · 995febc0
      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)
      995febc0
  4. 16 Mar, 2021 1 commit
    • Francois Rigault's avatar
      Fix port id vs uuid in ValidateInterfacesHook · 6a668c65
      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)
      6a668c65
  5. 25 Feb, 2021 1 commit
  6. 18 Feb, 2021 1 commit
    • Pavlo Shchelokovskyy's avatar
      Fix node id vs uuid in processing_logger_prefix · 6e293104
      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)
      6e293104
  7. 15 Feb, 2021 1 commit
    • Dmitry Tantsur's avatar
      Avoid a full install in tox environments that do not need it · bbef83f5
      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)
      bbef83f5
  8. 03 Feb, 2021 1 commit
  9. 18 Jan, 2021 1 commit
    • Riccardo Pittau's avatar
      Remove lower-constraints job · 52a6452c
      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)
      52a6452c
  10. 23 Nov, 2020 1 commit
    • Steve Baker's avatar
      Use correct Node id attribute · 70fccecb
      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)
      70fccecb
  11. 18 Nov, 2020 1 commit
  12. 13 Nov, 2020 1 commit
    • Julia Kreger's avatar
      Power off before inspection · 371c79f3
      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)
      371c79f3
  13. 27 Oct, 2020 1 commit
  14. 01 Oct, 2020 2 commits
    • OpenStack Release Bot's avatar
      Update TOX_CONSTRAINTS_FILE for stable/victoria · e2d15afe
      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
      e2d15afe
    • OpenStack Release Bot's avatar
      Update .gitreview for stable/victoria · f2f10e98
      OpenStack Release Bot authored
      Change-Id: Ib689686f3ea9e017e003a77d54f7ceba5a26c9e0
      f2f10e98
  15. 30 Sep, 2020 1 commit
  16. 29 Sep, 2020 2 commits
  17. 28 Sep, 2020 1 commit
    • Harald Jensås's avatar
      pxe filter - option to always block unknown hosts · 7a067a97
      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
      7a067a97
  18. 23 Sep, 2020 2 commits
  19. 22 Sep, 2020 1 commit
  20. 21 Sep, 2020 1 commit
    • Dmitry Tantsur's avatar
      Limit inspector jobs to 1 testing VM · 2f6df39e
      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
      2f6df39e
  21. 14 Sep, 2020 1 commit
  22. 11 Sep, 2020 1 commit
    • Iury Gregory Melo Ferreira's avatar
      Fix l-c and mysql GRANT syntex for Ubuntu Focal · 9a89c304
      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
      9a89c304
  23. 07 Sep, 2020 1 commit
  24. 04 Sep, 2020 1 commit
    • Julia Kreger's avatar
      Power off before inspection · 34b264ef
      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
      34b264ef
  25. 20 Aug, 2020 2 commits
  26. 18 Aug, 2020 1 commit
    • Riccardo Pittau's avatar
      Replace retrying with tenacity · f4648fac
      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
      f4648fac
  27. 17 Aug, 2020 4 commits
  28. 13 Aug, 2020 1 commit
    • Julia Kreger's avatar
      Fix URL parsing to enable redfish_address matching · bbc5cd7d
      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
      bbc5cd7d
  29. 12 Aug, 2020 2 commits
  30. 11 Aug, 2020 2 commits
  31. 10 Aug, 2020 1 commit