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

Let Ironic handle retry instead of ipmitool #358

Conversation

lentzi90
Copy link
Member

@lentzi90 lentzi90 commented Mar 8, 2022

There seems to be an issue where ipmitool does not retry with different
ciphers. This could be worked around by letting Ironic handle the retry
instead.

Discussion on slack: https://kubernetes.slack.com/archives/CHD49TLE7/p1645523770977829

Here is a description of the issue we are having:

We have a (very old) hardware where IPMI cipher suite 3 is supported, but not 17. Due to

use_ipmitool_retries = true
, we let ipmitool handle the retry loop. but then ipmitool only uses cipher 17 (we don't have ipmitool/ipmitool@7772254 in our ipmitool release). Due to https://github.com/openstack/ironic/blob/53a38f18d47d3fef5e9a7a8f6ecf5ab99b2f8e0f/ironic/drivers/modules/ipmitool.py#L662, Ironic does not handle the retry loop and does not actually change the ciphers that we provide in
cipher_suite_versions = 3,17
. So that last setting has no effect. The question is then : What would be the impact of changing the config to let Ironic handle the retry loop? Would there be any inconvenient vs using ipmitool to do the retries?

There seems to be an issue where ipmitool does not retry with different
ciphers. This could be worked around by letting Ironic handle the retry
instead.
@metal3-io-bot metal3-io-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 8, 2022
@lentzi90
Copy link
Member Author

lentzi90 commented Mar 8, 2022

/test-v1b1-ubuntu-integration

@dtantsur
Copy link
Member

dtantsur commented Mar 8, 2022

/approve

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dtantsur

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

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 8, 2022
@namnx228
Copy link
Member

namnx228 commented Mar 8, 2022

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Mar 8, 2022
@metal3-io-bot metal3-io-bot merged commit bb727eb into metal3-io:main Mar 8, 2022
@lentzi90 lentzi90 deleted the lentzi90/ironic-retry-instead-of-ipmitool branch March 8, 2022 13:33
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. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants