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

ipmitool PXE bug #166

Closed
Nickuru opened this issue Jun 19, 2020 · 6 comments
Closed

ipmitool PXE bug #166

Nickuru opened this issue Jun 19, 2020 · 6 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/backlog Higher priority than priority/awaiting-more-evidence.

Comments

@Nickuru
Copy link

Nickuru commented Jun 19, 2020

I have a clean metal3-dev-env installation on baremetal. The installation was successfully completed.

When I applied provision_cluster and then provision_controlplane i got endless "Provisioning" state in "kubectl get baremetalhosts".

"openstack baremetal node list" showed a Clean Failed error (HTTP 400). That's why I decided to go watch Ironic logs. Ironic logs give me this:

2020-06-18 18:19:31.140 48 ERROR ironic.drivers.modules.ipmitool [req-132349a1-8a40-45a3-a81d-bc1b07ba1419 - - - - -] IPMI           Error while attempting "ipmitool -I lanplus -H 192.168.111.1 -L ADMINISTRATOR -p 6231 -U admin -R 1 -N 1 -f /tmp/tmpl5c2z          1m2 chassis bootdev pxe" for node 46de4129-2a16-422d-bf5f-99914907a170. Error: Unexpected error while running command.
Command: ipmitool -I lanplus -H 192.168.111.1 -L ADMINISTRATOR -p 6231 -U admin -R 1 -N 1 -f /tmp/tmpl5c2z1m2 chassis boot          dev pxe
Exit code: 1
Stdout: ''
Stderr: 'Error setting Chassis Boot Parameter 5\n': oslo_concurrency.processutils.ProcessExecutionError: Unexpected error           while running command.

And when I tried to apply this command manually i got the same error. The reason for this error is "-R 1" argument. If i change it to "-R 2", everything will be fine. But, how can i change it inside the code?

Thanks.

@maelk
Copy link
Member

maelk commented Jun 22, 2020

I think this is Ironic's IPMI driver that would need to be modified. Ironic git repo is on Opendev https://opendev.org/openstack/ironic

@udayruddarraju
Copy link

Experiencing the same issue on master

@Nickuru
Copy link
Author

Nickuru commented Jun 23, 2020

Fix it by "use_ipmitool_retries = true" in /etc/ironic/ironic.conf
Actualy, there is a huge number of values in this file that you need to change in order for the metal3-dev-env installation to start correctly.

@Nickuru Nickuru closed this as completed Jun 23, 2020
@maelk
Copy link
Member

maelk commented Jun 23, 2020

This might need to be modified in the github.com/metal3-io/ironic-image. Re-opening and transferring the issue to discuss it there

@maelk maelk reopened this Jun 23, 2020
@maelk maelk transferred this issue from metal3-io/metal3-dev-env Jun 23, 2020
@maelk maelk added kind/bug Categorizes issue or PR as related to a bug. priority/backlog Higher priority than priority/awaiting-more-evidence. labels Jun 24, 2020
@maelk
Copy link
Member

maelk commented Jul 9, 2020

This has now been fixed. Please re-open if you still see the issue.

/close

@metal3-io-bot
Copy link
Contributor

@maelk: Closing this issue.

In response to this:

This has now been fixed. Please re-open if you still see the issue.

/close

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
None yet
Development

No branches or pull requests

4 participants