Bug 1180313
| Summary: | ose_installer fails with missing nameserver role for oo-installer | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Josh Carter <jocarter> |
| Component: | Automate | Assignee: | Tina Fitzgerald <tfitzger> |
| Status: | CLOSED ERRATA | QA Contact: | Milan Falešník <mfalesni> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.3.0 | CC: | jhardy, mfalesni, mfeifer, obarenbo, xlecauch |
| Target Milestone: | GA | ||
| Target Release: | 5.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 5.4.0.0.11 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-06-16 12:47:21 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
Josh Carter
2015-01-08 19:56:40 UTC
The ose installer log in /tmp/ will show the following error.
Deployment error: There must be at least one nameserver in the deployment configuration.
Deployment error: The installer is configured to deploy DNS, but no host has been selected as the DNS host.
Fix is update the ose_tags method to create the nameserver tag.
RedHat / Portfolio / OpenShift / Installer / Methods / ose_tags
Added the following line
if $evm.execute('category_exists?', "osepolicy")
log(:info, "Classification osePOLICY exists")
else
log(:info, "Classification osePOLICY doesn't exist, creating category")
$evm.execute('category_create', :name => "osepolicy", :single_value => false, :description => "OSE Policy")
create_tag("osepolicy","broker","Broker")
create_tag("osepolicy","msgserver","msgServer")
create_tag("osepolicy","dbserver","dbServer")
create_tag("osepolicy","node","Node")
create_tag("osepolicy", "nameserver", "nameserver")
end
John - Please review the changes suggested by Josh and if you agree we will get the scripts updated. Agreed to change. thanks ose_tags and pres_setup automate methods changed to create the nameserver tag.
diff --git a/manageiq/vmdb/db/fixtures/ae_datastore/RedHat/Portfolio/OpenShift/Installer/Methods.class/__methods__/ose_tags.rb b/manageiq/vmdb/db/fixtures/ae_datastore/RedHat/Portfolio/OpenShift/Installer/Methods.class/__methods__/ose_tags.rb
index 292bdc9..f5d15cb 100644
--- a/manageiq/vmdb/db/fixtures/ae_datastore/RedHat/Portfolio/OpenShift/Installer/Methods.class/__methods__/ose_tags.rb
+++ b/manageiq/vmdb/db/fixtures/ae_datastore/RedHat/Portfolio/OpenShift/Installer/Methods.class/__methods__/ose_tags.rb
@@ -20,6 +20,7 @@ else
create_tag("osepolicy","msgserver","msgServer")
create_tag("osepolicy","dbserver","dbServer")
create_tag("osepolicy","node","Node")
+ create_tag("osepolicy","nameserver","nameserver")
end
if $evm.execute('category_exists?', "osestate")
diff --git a/manageiq/vmdb/db/fixtures/ae_datastore/RedHat/Portfolio/OpenShift/Installer/Methods.class/__methods__/pre_setup.rb b/manageiq/vmdb/db/fixtures/ae_datastore/RedHat/Portfolio/OpenShift/Installer/Methods.class/__methods__/pre_setup.rb
index abf533d..9715ae5 100644
--- a/manageiq/vmdb/db/fixtures/ae_datastore/RedHat/Portfolio/OpenShift/Installer/Methods.class/__methods__/pre_setup.rb
+++ b/manageiq/vmdb/db/fixtures/ae_datastore/RedHat/Portfolio/OpenShift/Installer/Methods.class/__methods__/pre_setup.rb
@@ -29,6 +29,7 @@ else
create_tag("osepolicy","msgserver","msgServer")
create_tag("osepolicy","dbserver","dbServer")
create_tag("osepolicy","node","Node")
+ create_tag("osepolicy","nameserver","nameserver")
end
if $evm.execute('category_exists?', "osestate")
Confirmed from Josh, verified in 5.4.0.4 that the nameserver tag is present after running the osetags method. 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://rhn.redhat.com/errata/RHBA-2015-1100.html |