-
Notifications
You must be signed in to change notification settings - Fork 36
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
RFE - Change to how instackenv.json is generated #357
Comments
@grafuls had a good suggestion to tackle with adding an additional parameter to the interfaces model in mongoDB, so we can have a defacto "pxe interface" for every system - this would provide even more flexibility in that (not recommended but if we need to) can utilize different PXE interfaces at the host level. |
RFE development in progress here: https://review.gerrithub.io/c/redhat-performance/quads/+/509138 |
This is reviewed and merged, however it still needs to be packaged into RPM and applied - likely this will land in a @asyedham in the meantime please relay to us the appropriate interface that you'd like the ALIAS version of Specifically, which of the below interfaces taking from one of your current assignments is the one you want
|
@sadsfae Usually the first node in the instackenv.json is used for undercloud and boot order style is set to foreman which you can see on e23-h25-740xd.example.com. But for the remaining nodes, the boot order is set to director style using badfish to deploy OSP Badfish currently sets this boot order sequence for director mode
But earlier when we tried OSP deployment on cloud06 setting the boot order to director as above for overcloud nodes, deployment failed as the nodes got stuck in wait_call_back state as the MAC address in instackenv.json was for NIC2 and director boot order sets NIC1 ahead of NIC2. Once I updated the director boot as below I was able to get stable deployment in Alias Lab.
For OSP to deploy on Alias these requirements should be met
I hope the quads PR can address the above-mentioned requirements to get stable osp deployment without the need to manually modify the director boot order in badfish Thanks, |
What we need to know from you is what interface do you consistently expect PXE traffic to use for OSP/ironic in ALIAS. Giving us the I think that you want em1 below, but I am not positive and don't do a whole lot in ALIAS. Please tell us from the paste below which interface/mac should be the consistent one you expect for generated
You should not need to modify the director boot via badfish at all once this is set and it can be done immediately in the ALIAS QUADS codebase so the next |
The RFE here is merged, closing this issue now. https://review.gerrithub.io/c/redhat-performance/quads/+/509138 |
Right now -instackenv.json uses a hardcoded interface to set as what is listed for the mac-address.
position mac.append(host.interfaces[1].mac_address)
if this were to change to use a conditional for the first position of what is setup by the admin in quads/conf/idrac_interfaces.yml based on the interfaces that were listed for the model under director only and print out that interface's mac.
The text was updated successfully, but these errors were encountered: