Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

METAL-855: baremetal: remove ironic-inspector #8128

Merged
merged 1 commit into from Mar 25, 2024

Conversation

dtantsur
Copy link
Member

@dtantsur dtantsur commented Mar 8, 2024

The inspection functionality is now provided by ironic proper.

Also fixes a few minor quirks in the baremetal config, such as:

  • Passing htpasswd variables to BMO (it cannot use them)
  • Creating auth-config files (only required for cross-service calls).

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Mar 8, 2024

@dtantsur: This pull request references METAL-855 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.16.0" version, but no target version was set.

In response to this:

The inspection functionality is now provided by ironic proper.

Also fixes a few minor quirks in the baremetal config, such as:

  • Passing htpasswd variables to BMO (it cannot use them)
  • Creating auth-config files (only required for cross-service calls).

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Mar 8, 2024
@openshift-ci openshift-ci bot requested review from elfosardo and honza March 8, 2024 13:09
@honza
Copy link
Member

honza commented Mar 8, 2024

It looks like inspection timeouts.

Ironic logs on the bootstrap:

Mar 08 14:24:57 localhost.localdomain ironic[7016]: 2024-03-08 14:24:57.809 1 DEBUG sushy.connector [None req-faf102c0-5f5f-4425-8874-0fb99ed66422 bootstrap-user - - - - -] HTTP request: POST http://[fd2e:6f44:5dd8:c956::1]:8000/redfish/v1/
SessionService/Sessions; headers: {'Content-Type': 'application/json', 'OData-Version': '4.0'}; body: {'UserName': 'admin', 'Password': '***'}; blocking: False; timeout: 60; session arguments: {}; _op /usr/lib/python3.9/site-packages/sushy/
connector.py:149
Mar 08 14:24:57 localhost.localdomain ironic[7016]: 2024-03-08 14:24:57.815 1 DEBUG sushy.exceptions [None req-faf102c0-5f5f-4425-8874-0fb99ed66422 bootstrap-user - - - - -] HTTP response for POST http://[fd2e:6f44:5dd8:c956::1]:8000/redfish/v1/SessionService/Sessions: status code: 401, error: Base.1.0.GeneralError: Authorization required, extended: [{'@odata.type': '/redfish/v1/$metadata#Message.1.0.0.Message', 'MessageId': 'Base.1.0.GeneralError'}] __init__ /usr/lib/python3.9/site-packages/sushy/exceptions.py:122
Mar 08 14:24:57 localhost.localdomain ironic[7016]: 2024-03-08 14:24:57.815 1 ERROR sushy.connector [None req-faf102c0-5f5f-4425-8874-0fb99ed66422 bootstrap-user - - - - -] Authentication to the session service failed. Please check credentials and try again.: sushy.exceptions.AccessError: HTTP POST http://[fd2e:6f44:5dd8:c956::1]:8000/redfish/v1/SessionService/Sessions returned code 401. Base.1.0.GeneralError: Authorization required Extended information: [{'@odata.type': '/redfish/v1/$metadata#Message.1.0.0.Message', 'MessageId': 'Base.1.0.GeneralError'}]

@dtantsur
Copy link
Member Author

dtantsur commented Mar 8, 2024

@honza this stuff is red herring probably. I guess there is some other place where I need to tell it not to use inspector.

@dtantsur dtantsur force-pushed the no-inspector branch 2 times, most recently from 509ad9b to e4c219a Compare March 11, 2024 12:13
The inspection functionality is now provided by ironic proper.

Also fixes a few minor quirks in the baremetal config, such as:
- Passing htpasswd variables to BMO (it cannot use them)
- Creating auth-config files (only required for cross-service calls).
@dtantsur
Copy link
Member Author

/retest

1 similar comment
@dtantsur
Copy link
Member Author

/retest

@dtantsur
Copy link
Member Author

/test e2e-metal-ipi-ovn-virtualmedia

Copy link
Contributor

openshift-ci bot commented Mar 15, 2024

@dtantsur: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-metal-ipi-sdn a8a3b6a link false /test e2e-metal-ipi-sdn
ci/prow/e2e-metal-ipi-sdn-swapped-hosts a8a3b6a link false /test e2e-metal-ipi-sdn-swapped-hosts
ci/prow/e2e-metal-ipi-ovn-swapped-hosts f5258bb link false /test e2e-metal-ipi-ovn-swapped-hosts

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@dtantsur
Copy link
Member Author

/test e2e-metal-ipi-ovn-virtualmedia

@honza
Copy link
Member

honza commented Mar 25, 2024

/approve

Copy link
Contributor

openshift-ci bot commented Mar 25, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: honza

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 25, 2024
@elfosardo
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 25, 2024
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 62aa6e8 and 2 for PR HEAD f5258bb in total

@openshift-merge-bot openshift-merge-bot bot merged commit 4903f07 into openshift:master Mar 25, 2024
27 of 28 checks passed
@dtantsur dtantsur deleted the no-inspector branch March 25, 2024 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants