Bug 1700085
| Summary: | Ironic in OC - Adding rootpwd to pxe_append_params and restarting ironic_conductor fails | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Alexander Chuzhoy <sasha> |
| Component: | documentation | Assignee: | RHOS Documentation Team <rhos-docs> |
| Status: | CLOSED WORKSFORME | QA Contact: | RHOS Documentation Team <rhos-docs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 16.2 (Train) | CC: | akaris, bfournie, chrisbro, mburns, sbaker |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-10-26 19:57:29 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Alexander Chuzhoy
2019-04-15 19:56:00 UTC
Sasha - are you trying to add a password to IPA? Can you try this procedure which involves unpacking the image - https://mojo.redhat.com/people/dsorrent/blog/2016/08/13/inspecting-introspection. I don't believe setting pxe_append_params with a new password will work. The procedure in comment#1 worked for me. If the steps I tried in comment#0 shouldn't work - lets convert this into a doc bug for documenting the right way to set the password for ramdisk image. It's very useful for debugging. Let's document setting SSH keys instead? The issue is in the $ symbol, which oslo.config interprets. Sasha, could you try doubling all $$ symbols, i.e. pxe_append_params = rootpwd="$$1$$/M4TEgtJ$$<string>" selinux=0 ? According to https://docs.openstack.org/oslo.config/latest/reference/configuration-files.html#option-value-interpolation that's the way interpolation is avoided. Note that it's a good idea to keep the default content of pxe_append_params, i.e. pxe_append_params = nofb nomodeset vga=normal rootpwd="$$1$$/M4TEgtJ$$<string>" selinux=0 Using double '$' worked. Below is an example with "redhat" as a password: pxe_append_params = nofb nomodeset vga=normal rootpwd="$$1$$YTeWzzp7$$HVs0zv7yhLRA6.egigc9.1" We could/should document both ways. *** Bug 1807871 has been marked as a duplicate of this bug. *** Hi docs team, please modify the ironic overcloud guide and incorporate this KCS into it: https://access.redhat.com/solutions/4860841 Thanks, Andreas I'm going to close this on the basis that the KCS exists for those who need it, and putting it in the documentation will imply that it is a supported action, which we're not comfortable with encouraging. |