1. 04 Oct, 2021 1 commit
    • Julia Kreger's avatar
      Ignored error state cache for new requests · 928a7dcc
      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)
      928a7dcc
  2. 21 Jul, 2021 1 commit
  3. 12 Jul, 2021 1 commit
    • Riccardo Pittau's avatar
      Remove grenade jobs from old stable branches · 23494a4d
      Riccardo Pittau authored
      As discussed and approved during the ironic wallaby midcycle, the grenade
      jobs in old stable branches, starting from EM branches and up the oldest
      not-EM (currently ussuri) are removed.
      
      Change-Id: I61fc181cb488e913f828efa18dc010348986380d
      23494a4d
  4. 18 Feb, 2021 1 commit
  5. 16 Feb, 2021 1 commit
  6. 15 Feb, 2021 1 commit
    • Moisés Guimarães de Medeiros's avatar
      Fix memcached host address. · 5c40a5e1
      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.
      
      Conflicts:
        zuul.d/ironic-inspector-jobs.yaml
      
      NOTE(moguimar): Conflicts are due small difference in adjacent lines.
      
      Signed-off-by: default avatarMoisés Guimarães de Medeiros <moguimar@redhat.com>
      Change-Id: Iddf558cd598e41ffead11e164ce2fb1720d15f34
      (cherry picked from commit 86b974b7)
      (cherry picked from commit 965a4f50)
      5c40a5e1
  7. 19 Jan, 2021 1 commit
    • Dmitry Tantsur's avatar
      Fix database migrations and disable the non-standalone job · c1a94782
      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.
      
      Also remove lower-constraints job.
      
      Plus increase memory for grenade job.
      
      And since tinyipa is not that tiny anymore, we increase the memory
      for the base job to 512.
      
      [1] https://github.com/sqlalchemy/sqlalchemy/issues/5669
      
      Change-Id: I2fb07413e8f421f39b24acf1272771ee2097b195
      (cherry picked from commit 5678f219)
      (cherry picked from commit c6fdf251)
      (cherry picked from commit 1884ba81fd3d6166c626afd008beddaf0a33801e)
      c1a94782
  8. 18 Aug, 2020 1 commit
    • Julia Kreger's avatar
      Fix URL parsing to enable redfish_address matching · bc4311e1
      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.
      
      Conflicts:
            ironic_inspector/conf/default.py
      
      Resolves: rhbz#1670336
      Story: 2008010
      Task: 40660
      Change-Id: Ice86e9ab3efb98b649141bdf7e1e2febdc9203a8
      (cherry picked from commit bbc5cd7d)
      bc4311e1
  9. 28 Jul, 2020 1 commit
  10. 27 Jul, 2020 1 commit
  11. 20 Jul, 2020 1 commit
  12. 13 Jul, 2020 1 commit
    • Julia Kreger's avatar
      Make inspector base CI job use 2 CPUs · 19e0281b
      Julia Kreger authored
      Uncompressing the ramdisk on a single core CPU can take a
      substantial amount of time and elongate the overall initial
      period between VM start and OS becoming operational.
      
      Additionally, multiple CPUs allows for the software with-in
      the job to execute more quickly with multiple running processes.
      
      Change-Id: I814b12cbc05c6a110dc5593113b948e3f89e80c1
      19e0281b
  13. 07 Jul, 2020 1 commit
  14. 22 Jun, 2020 2 commits
  15. 17 Jun, 2020 1 commit
    • Kaifeng Wang's avatar
      Accept IPv6 link local address during interface validation · 0551943c
      Kaifeng Wang authored
      Link local address is a valid address on IPv6 network when we are using
      SLAAC instead of DHCPv6, current interface validation bypass link local
      address and fails the introspection.
      Interfaces without link carrier don't have link local addresses so this
      should be fine.
      
      Change-Id: I4cf195fc8906a2d91989df3f588e1e96ca9684b1
      Story: 2007816
      Task: 40094
      (cherry picked from commit 71666178)
      0551943c
  16. 24 May, 2020 2 commits
  17. 19 May, 2020 2 commits
    • Zuul's avatar
      a3e4a8bb
    • OpenStack Release Bot's avatar
      Update TOX_CONSTRAINTS_FILE for stable/ussuri · 42c64f7d
      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/ussuri branch, tests will
      continue to use the upper-constraints list on master.
      
      Change-Id: I298ede3ba207cb460b4708ee095b12bb19673d1d
      42c64f7d
  18. 18 May, 2020 1 commit
    • Dmitry Tantsur's avatar
      Treat endpoints with trailing slashes the same way as without them · 963e9cf7
      Dmitry Tantsur authored
      We've been historically using endpoints without trailing slashes in
      our API. Apparently, some libraries (like gophercloud) are quite
      opinionated about it (see the story), so let's handle both.
      
      The implementation could be simpler if we just added trailing slash
      to all routes, but it would cause redirects for current users.
      
      Change-Id: Icbd971a8e792f93f9c3fa66ba29bec055dcdee32
      Story: #2007660
      Task: #39749
      963e9cf7
  19. 14 May, 2020 1 commit
  20. 13 May, 2020 2 commits
  21. 12 May, 2020 3 commits
  22. 09 May, 2020 2 commits
  23. 08 May, 2020 4 commits
    • Zygimantas Matonis's avatar
      Update local.conf example file. · 9befd275
      Zygimantas Matonis authored
      This commit takes example local.conf from docs.openstack.org/ironic
      and adds settings needed to run ironic-inpector.
      
      Change-Id: Id1f4f1140526e27a1072181973a9ff695560c97b
      (cherry picked from commit 8211ab46)
      9befd275
    • Iury Gregory Melo Ferreira's avatar
      Fix grenade job · aa12a8bc
      Iury Gregory Melo Ferreira authored
      - Add ipa-builder to grenade
      - Disabled smoke tests since they are not lightweight when
      using Ironic.
      - Using test_baremetal_introspection for the tempest run
      pos-upgrade.
      - added LIBVIRT_STORAGE_POOL_PATH since some cloud providers
      may not have enough disk space.
      - lowered the number of VMs to 3 (we don't have many tests)
      
      Change-Id: Ifee10541f369d5bc850ce3d92305810cd3eedd34
      (cherry picked from commit bb71167c)
      aa12a8bc
    • Dmitry Tantsur's avatar
      Silence debug logging from oslo_messaging · f95c81e0
      Dmitry Tantsur authored
      Change-Id: I5b2cede04ec2b76cbdd5ede192fa0eef833afefa
      (cherry picked from commit fe15db0e)
      f95c81e0
    • Dmitry Tantsur's avatar
      Stop aborting the process on periodic task failures · 5eb1731c
      Dmitry Tantsur authored
      It's nice to know when a periodic task fails, but aborting the whole
      process makes it fragile in the events of e.g. problems with accessing
      ironic, even if transient.
      
      Simplify the overly complex unit tests and split the dual-purpose task.
      
      Story: #2007622
      Task: #39653
      Change-Id: I64f5ca6e377a4cdfa08319ef9973b591cc552121
      (cherry picked from commit 6e38efff)
      5eb1731c
  24. 29 Apr, 2020 1 commit
  25. 27 Apr, 2020 1 commit
  26. 26 Apr, 2020 1 commit
  27. 23 Apr, 2020 1 commit
  28. 22 Apr, 2020 3 commits
    • Iury Gregory Melo Ferreira's avatar
      Give more time for grenade job · de2a5320
      Iury Gregory Melo Ferreira authored
      After upgrade it seems we don't have enough REMAINING_TIME
      to finish the smoke run, let's try increassing the
      DEVSTACK_GATE_TIMEOUT.
      
      Change-Id: I61b3a1376cfe3575e01e3eb0a877e76456ba5c61
      de2a5320
    • Harald Jensås's avatar
      Use autospec=True in mocks · 079b458d
      Harald Jensås authored
      This is a follow up to comments on https://review.opendev.org/720010.
      Adding autospect=True requires an update to ironic_inspector.test.\
      base.BaseTest.assertCalledWithPatch.
      
      Also add autospec=True in several mocks where it was not used.
      
      Change-Id: Ia340d7a8ecde1c8cf191555de87b11b19b30f06c
      079b458d
    • Harald Jensås's avatar
      BasePhysnetHook - Follow up · 43de9779
      Harald Jensås authored
      - Removes confusing comment in _get_physnet_patch method.
      - Move binary operator to follow code style.
      - Removed info log entry in before_update.
      - Move releasenote to 'other' section as this is no user
        faceing change.
      
      Change-Id: I53d8bf97a87ae365a085a795901eaed1f0c32d9b
      43de9779