1. 15 Sep, 2021 1 commit
  2. 14 Sep, 2021 2 commits
  3. 12 Sep, 2021 1 commit
    • Takashi Kajinami's avatar
      Add optional healthcheck middleware · d7400b5d
      Takashi Kajinami authored
      This change allows uses to enable the healthcheck middleware from
      oslo.middleware in API pipeline, by setting the [healthcheck]/enabled
      option. This middleware provides an API endpoint at /healthcheck path
      which allows load balancers or monitoring applications to determine
      a service is up using HTTP requests.
      
      This change basically follows the same change merged in ironic[1] repo.
      
      [1] 6f439414bdcef9fc02f844f475ec798d48d42558
      
      Change-Id: Ic2ee2bca74ea2a5a0723ef54b10c531f77ea7b8d
      d7400b5d
  4. 03 Sep, 2021 1 commit
    • Iury Gregory Melo Ferreira's avatar
      Include ironic/tests in irrelevant-files · 62f79a11
      Iury Gregory Melo Ferreira authored
      Since we run inspector jobs in ironic gate, we need to
      include `ironic/tests` in the irrelevant-files so
      we don't run the jobs when there is only changes in unit tests.
      
      Change-Id: I98757ab78716689355f70c7735480d4dc8e04320
      62f79a11
  5. 20 Aug, 2021 1 commit
    • Takashi Kajinami's avatar
      Update parameters for authtoken middleware · 6e72471a
      Takashi Kajinami authored
      ... to avoid warnings from the middleware about deprecated parameters.
      Currently parameters of each auth plugin are not loaded in unit tests
      so user credentials are not updated but just removed.
      
      Change-Id: I6e420dac51ac8cf92eadb1c3a3d4716a96c22001
      6e72471a
  6. 11 Aug, 2021 1 commit
  7. 10 Aug, 2021 1 commit
    • Julia Kreger's avatar
      Handle NodeLocked failures · 7f6c4c43
      Julia Kreger authored
      Some actions can fail due to the node being locked as part of
      normal operations. This was previously handled silently by
      python-ironicclient, but when inspector was changed to use
      openstacksdk, this was no longer handled.
      
      Adds the retry wrapper around critical path methods involving
      power/reboot ops and node updates which require locks.
      
      Change-Id: I3d26cf46da02b3e8f3f773c0aeaed6843e0f26e5
      Story: 2009107
      Task: 42966
      7f6c4c43
  8. 05 Aug, 2021 1 commit
    • Riccardo Pittau's avatar
      Add lower-constraints job to current development branch · 424b53e5
      Riccardo Pittau authored
      The lower-constraints test was removed because of an issue where pip
      could not correctly determine the required packages versions to install,
      ending in an almost infinite loop that would end up in timeout, failure,
      and general mayhem.
      Recently the issue has been fixed and, if properly configured, the
      lower-constraints test can provide good indication of which minimum
      versions are required to support the current code.
      This patch adds the test back to the current development branch, and it
      runs only on master.
      The lower-constraints file will stay in the future stable branches.
      
      Change-Id: I2e247ff2d68705d04d40c7ea653a8d3e0daf17d8
      424b53e5
  9. 30 Jul, 2021 1 commit
  10. 29 Jul, 2021 1 commit
  11. 13 Jul, 2021 1 commit
    • Riccardo Pittau's avatar
      Update requirements · 611a543e
      Riccardo Pittau authored
      Update minimum required versions of python packages.
      The updates is based on crosscheck requirements from required
      packages:
      
      oslo-policy 3.7.0 depends on oslo.context>=2.22.0
      
      increase oslo-service version to be able to use eventlet 0.26.0
      oslo-service 1.24.0 depends on eventlet!=0.18.3, !=0.20.1, <0.21.0 and >=0.18.2
      
      increase oslo-log version to fix error:
      AttributeError: type object 'deprecated' has no attribute 'WALLABY'
      
      oslo-log 4.3.0 depends on oslo.serialization>=2.25.0
      oslo-log 4.3.0 depends on pbr>=3.1.1
      oslo-log 4.3.0 depends on oslo.i18n>=3.20.0
      
      Change-Id: I20a5a20b94ffd27ea34f23ac89ca2826eb548b1a
      611a543e
  12. 06 Jul, 2021 2 commits
  13. 05 Jul, 2021 2 commits
  14. 02 Jul, 2021 1 commit
  15. 01 Jul, 2021 1 commit
    • Cenne's avatar
      Fix broken links in CONTRIBUTING.rst · 072ebdc1
      Cenne authored
      * turn on apidocs option for individual module docs
      * crosslink to information using :doc: and :ref:
      
      Change-Id: Ie8016623251fb0f55335c64252060d4ce966dc96
      072ebdc1
  16. 30 Jun, 2021 1 commit
    • Julia Kreger's avatar
      Add rbac scope enforcement handling to devstack plugin · 2c2dfe98
      Julia Kreger authored
      Adds explicit handling of scope enforcement setting by putting
      the appropriate settings in place, and handling the appropriate
      configuration to communicate back with ironic based upon supplied
      environment variables.
      
      Change-Id: Ia27b26990e52b5b4ffb49b2fee3bdcca41dd75a9
      2c2dfe98
  17. 25 Jun, 2021 1 commit
    • Julia Kreger's avatar
      Ignored error state cache for new requests · d972dc93
      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
      d972dc93
  18. 15 Jun, 2021 1 commit
    • Julia Kreger's avatar
      Fix SqlAlchemy >1.3.19 support · 948325ca
      Julia Kreger authored
      SQLAlchemy 1.3.19 change the excepted exception and 1.4.x
      changed the enum checking behavior such that we were no
      longer raising an exception matching the check.
      
      While we had a test for this, We didn't actually
      check for it anywhere in the code. And the states are
      driven by the code, so the underlying test that was broken
      felt redundant. As such, it has been removed.
      
      Change-Id: I39fa3d85978555b6cb9d0884a90625b4765bac28
      948325ca
  19. 14 Jun, 2021 1 commit
    • Vladyslav Drok's avatar
      Do not reset FSM when ironic ports cant be queried · c3b31667
      Vladyslav Drok authored
      It can cause problems, as if a single sync fails, FSM state will be
      reset and not put back to initialized state until inspector restart.
      
      Change-Id: I24b08612c4ffc6aca60ca08f3ff5cc769c7c041d
      Story: #2008971
      Task: #42611
      c3b31667
  20. 04 Jun, 2021 3 commits
  21. 03 Jun, 2021 1 commit
  22. 04 May, 2021 1 commit
    • XinxinShen's avatar
      setup.cfg: Replace dashes with underscores · 1600dbc6
      XinxinShen authored
      Setuptools v54.1.0 introduces a warning that the use of dash-separated
      options in 'setup.cfg' will not be supported in a future version [1].
      Get ahead of the issue by replacing the dashes with underscores. Without
      this, we see 'UserWarning' messages like the following on new enough
      versions of setuptools:
      
        UserWarning: Usage of dash-separated 'description-file' will not be
        supported in future versions. Please use the underscore name
        'description_file' instead
      
      [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
      
      Change-Id: I8aa117a2ab38af4a82abfdd65e9dac103827ffbb
      1600dbc6
  23. 03 May, 2021 1 commit
  24. 30 Apr, 2021 1 commit
  25. 30 Mar, 2021 2 commits
  26. 24 Mar, 2021 1 commit
  27. 23 Mar, 2021 2 commits
  28. 22 Mar, 2021 1 commit
    • douyali's avatar
      Add ibmc_address to ipmi_address_fields · 96096144
      douyali authored
      Use ibmc driver to inspect, need edit ironic-inspector config file
      to add ibmc_address.
      
      Change-Id: Ie1c665b80b10b6a4d5a3fce1ea4849a8c996cf69
      96096144
  29. 06 Mar, 2021 1 commit
    • Francois Rigault's avatar
      Fix port id vs uuid in ValidateInterfacesHook · 22853a74
      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
      22853a74
  30. 01 Mar, 2021 1 commit
  31. 26 Feb, 2021 1 commit
  32. 25 Feb, 2021 1 commit
  33. 22 Feb, 2021 1 commit
    • Steve Baker's avatar
      Implement secure RBAC · c9e312f8
      Steve Baker authored
      The default policy will been replaced with one which aligns with the
      Secure-RBAC scopes and roles. Since ironic-inspector is a tool used only
      by system-level admins, only the ``system`` scope is supported, and the
      only roles in the policy rules are ``admin`` and ``reader``.
      
      The is_admin and is_observer rules are deprecated for removal, and
      every rule which refers to them are deprecated in favor of the
      system-scoped equivalent (system_scope:all with role:admin or
      role:reader)
      
      No unit tests covered the existing policy, these are now covered by
      test_acl.TestACLDeprecated.
      
      Change-Id: I4d038245c6b97b1504fb47eeec78ad3f9e5a897c
      c9e312f8