Bug 1733089
Summary: | engine-setup role fails if ovn password is not supplied in vault | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Sandro Bonazzola <sbonazzo> | ||||
Component: | Setup.Core | Assignee: | Yedidyah Bar David <didi> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavol Brilla <pbrilla> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.3.0 | CC: | bugs, lleistne, mperina, pbrilla | ||||
Target Milestone: | ovirt-4.3.6 | Keywords: | ZStream | ||||
Target Release: | 4.3.6.4 | Flags: | pm-rhel:
ovirt-4.3+
|
||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | ovirt-engine-4.3.6.4 | Doc Type: | No Doc Update | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-09-26 19:43:28 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Sandro Bonazzola
2019-07-25 07:57:15 UTC
Well this cause error to disappear but now t engine is deployable without password: ansible-vault view password.yml ovirt_engine_setup_admin_password: ovirt_engine_setup_provider_ovn_configure: true ovirt_engine_setup_provider_ovn_username: admin@internal Engine was succesfully deployed. Tested on: # yum list ovirt-engine Loaded plugins: product-id, search-disabled-repos, subscription-manager, versionlock This system is not registered with an entitlement server. You can use subscription-manager to register. Installed Packages ovirt-engine.noarch 4.3.6.4-0.1.el7 @rhv-4.3.6 in version 4.3.5 no password was causing "[ ERROR ] Failed to execute stage 'Misc configuration': 'NoneType' object has no attribute 'decode'" .... Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. (In reply to Pavol Brilla from comment #1) > Well this cause error to disappear but now t engine is deployable without > password: > > ansible-vault view password.yml > ovirt_engine_setup_admin_password: > ovirt_engine_setup_provider_ovn_configure: true > ovirt_engine_setup_provider_ovn_username: admin@internal > > > Engine was succesfully deployed. 1. It's not current bug. Current bug is about ovn password. 2. IMO it's not a bug at all. This was the behavior, AFAICT, since at least 3.3. The admin can change the password later on, IIUC. Not sure this is by design, or documented, but I do not think it's a bug. If you disagree, feel free to open a bug. If you do, please consider also different but related cases - e.g., if you interactively supply a short/easy password, we prompt, requiring to ack. If you do that via the answer file, we don't. Is this a bug? IMO no. The assumption is that if you manually generated or wrote an answer file, you should know what you are doing. Current bug was that under certain conditions, engine-setup then fails. This is a bug. If it simply does, more-or-less, what it was told to do, that's not a bug. IMHO :-) Tested on: # yum list ovirt-engine Loaded plugins: product-id, search-disabled-repos, subscription-manager, versionlock This system is not registered with an entitlement server. You can use subscription-manager to register. Installed Packages ovirt-engine.noarch 4.3.6.4-0.1.el7 @rhv-4.3.6 in version 4.3.5 no password was causing "[ ERROR ] Failed to execute stage 'Misc configuration': 'NoneType' object has no attribute 'decode'" .... This bugzilla is included in oVirt 4.3.6 release, published on September 26th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.6 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |