Bug 1459468
Summary: | overcloud registration script check only if rhel_reg_auto_attach is present or not so rhel_reg_auto_attach: "False" count as true | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Eduard Barrera <ebarrera> |
Component: | openstack-tripleo-heat-templates | Assignee: | Emilien Macchi <emacchi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Gurenko Alex <agurenko> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 10.0 (Newton) | CC: | aschultz, dmacpher, ebarrera, emacchi, jschluet, jslagle, mburns, ohochman, rhel-osp-director-maint |
Target Milestone: | Upstream M2 | Keywords: | Triaged |
Target Release: | 13.0 (Queens) | ||
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: | 2018-02-19 16:40:12 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
Eduard Barrera
2017-06-07 08:57:14 UTC
In this particular case, "" would be used to disable it. The documentation around these parameters are lacking but the checks around these variables seem to to use "" as the disabled string. i think the fix here ought to be to document these parameters using the environment generator so it's clear how to use them. I can't find where it's said to set rhel_reg_auto_attach to True or False. While I agree this is not obvious, you might want to just ignore this parameter if you don't want to auto_attach. We can fix this bug in 2 ways: - Document the parameter - Sanitize the parameter and check content FWIW, I prefer our users to ignore the parameter if they don't want auto-attach, and use whatever string (true, True, whatever) to enable it. I'm happy to fix it in the code, in the way you like, just tell me what you prefer. Alright, no reply from Eduard so we'll proceed with option 1, documentation. Dan, could we please document that "rhel_reg_auto_attach" parameter should only be used when set to True. When we don't need it, don't set it to False, just do nothing, the default is "" so the feature will be disabled anyway. Thanks This bug affects all versions of OSP since we have RHEL scripts. To me it's a doc fix, we're moving to Ansible and won't have this code in the future. Sorry for the confusion in https://bugzilla.redhat.com/show_bug.cgi?id=1459468#c14 but the comment was about documentation. Yes, we should backport the doc change into OSP10 and 11. Hey Dan, can you please proceed to the backports for the older versions of OSP? OSP10 and 11 are enough IMHO. Thanks Backported and published! Thanks Dan! Closing the bug as we improved the documentation. |