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

[1.2] Set bmc ip only when ip source is static when flashing quanta bmc #325

Merged

Conversation

iceiilin
Copy link
Member

Fix ODR 771 in flashing quanta BMC scripts, about error to set BMC IP after flashing Quanta BMC, if ip source is DHCP.

It happened in MN lab, where BMC IP source is DHCP. Though the "sudo ipmitool lan set 1 ipaddr xxx" after flashing returns the same message as in static IP source, the exit code is 1 rather than 0. Modify the script to skip these network setting steps if the source is DHCP.

Add retry count after mc reset so that total wait time (maximum) is 90s, the same as suggested by vendor after flashing BMC. The original value is 60s, which is not sufficient for stack 13 node 1 at a certain ratio.

@uppalk1 @zyoung51

@iceiilin iceiilin changed the title Set bmc ip only when ip source is static when flashing quanta bmc [1.2] Set bmc ip only when ip source is static when flashing quanta bmc Jun 14, 2016
@yyscamper
Copy link
Contributor

👍

2 similar comments
@WangWinson
Copy link
Contributor

👍

@anhou
Copy link
Member

anhou commented Jun 14, 2016

👍

@anhou
Copy link
Member

anhou commented Jun 14, 2016

if some PR message is also added to codes annotation, it's more readable in future's codes maintaince

@iceiilin
Copy link
Member Author

@anhou add comments.

@anhou
Copy link
Member

anhou commented Jun 14, 2016

Thanks @iceiilin

@anhou anhou merged commit 1ed6fa6 into RackHD:release/1.2.0-branch Jun 14, 2016
@iceiilin iceiilin deleted the bugfix/1.2.0-odr726-bios branch September 4, 2017 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants