Description of problem: I'm trying to use this: =============================================================== parameter_defaults: ExtraHostFileEntries: - '10.0.128.186 sat6.lasthome.solace.krynn sat6' - '10.0.129.186 gitlab.lasthome.solace.krynn gitlab' - '10.0.130.186 ca8.lasthome.solace.krynn ca8' - '10.0.128.254 imladris.lasthome.solace.krynn imladris' =============================================================== When I do that, I get all this on a single line on the overcloud nodes( in /etc/hosts): =============================================================== [...] 10.0.128.186 sat6.lasthome.solace.krynn sat610.0.129.186 gitlab.lasthome.solace.krynn gitlab10.0.130.186 ca8.lasthome.solace.krynn ca810.0.128.254 imladris.lasthome.solace.krynn imladris =============================================================== I tried " instead of ' but it made no difference. I also tried this syntax (all on one line): ExtraHostFileEntries: ['10.0.128.186 sat6.lasthome.solace.krynn sat6','10.0.129.186 gitlab.lasthome.solace.krynn gitlab','10.0.130.186 ca8.lasthome.solace.krynn ca8','10.0.128.254 imladris.lasthome.solace.krynn imladris'] but again I got the same results. If I use a -single- entry, then things work as expected: =============================================================== parameter_defaults: ExtraHostFileEntries: - '10.0.128.186 sat6.lasthome.solace.krynn sat6' =============================================================== or =============================================================== ExtraHostFileEntries: ['10.0.128.186 sat6.lasthome.solace.krynn sat6'] =============================================================== Then I do get a working /etc/hosts but I suspect this might be just a side-effect of having -ONE- value.
Hello there, The following patch should correct the situation hopefully. I'll put it on test on my lab while CI and reviews provide a verdict. Cheers, C.
Hello, After some poking around and tests, it appears my change wasn't the most efficient. The new one solves the current issue AND some others, which is of course better. I'll make sure it's backported in OSP-16.0 asap. Cheers, C.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2114