Bug 1458019
| Summary: | Embedded Ansible role claims to be activated but ERROR in evm.log | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Jerome Marc <jmarc> | |
| Component: | Appliance | Assignee: | Nick Carboni <ncarboni> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | luke couzens <lcouzens> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 5.8.0 | CC: | abellott, jhardy, jmarc, kmorey, ncarboni, obarenbo, yrudman | |
| Target Milestone: | GA | Keywords: | TestOnly | |
| Target Release: | 5.10.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ansible_embed | |||
| Fixed In Version: | 5.10.0.0 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1517817 (view as bug list) | Environment: | ||
| Last Closed: | 2019-02-11 13:53:27 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1517817 | |||
|
Description
Jerome Marc
2017-06-01 19:07:14 UTC
It looks like the issue here is that the hostname "cf45_config1" is invalid because it contains an underscore character. I think that hostname may work in some places but not everywhere. Changing the name to 'cf45-config1' instead of 'cf45_config1' seems to make the worker start. However, the main reason for this BZ is that the notification claims the role is started whereas this is not the case. The notification should occur once the role start is validated. Setting priority to medium since invalid host name was the original issue for this BZ. New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/6c6d66acc86cb26d89a3f64c414f12679c9aa043 commit 6c6d66acc86cb26d89a3f64c414f12679c9aa043 Author: Nick Carboni <ncarboni> AuthorDate: Mon Nov 20 17:33:47 2017 -0500 Commit: Nick Carboni <ncarboni> CommitDate: Mon Nov 20 17:33:47 2017 -0500 Move the notifications to include more of the setup Things can go wrong while setting up the default objects and setting up the provider. We should wait until all of this work is done before creating the notification that says that the role has been successfully enabled. https://bugzilla.redhat.com/show_bug.cgi?id=1458019 app/models/embedded_ansible_worker/runner.rb | 6 +- spec/models/embedded_ansible_worker/runner_spec.rb | 72 +++++++++++----------- 2 files changed, 39 insertions(+), 39 deletions(-) After the fix, we should not raise the "completed" notification if something related to setting up the provider fails. Verified in 5.10.0.1 |