Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
I'm installing Satellite 6 and run through the following error:
I completed yum install katello -y
Next I ran:
katello-installer --capsule-dns true --capsule-dns-interface eth0 --capsule-dns-zone jnikolak_sat6_rhel6a.gsslab.pek.redhat.com --capsule-dns-forwarders 10.72.17.5 --capsule-dns-reverse 169.208.66.10.in-addr.arpa --capsule-tftp true --capsule-tftp-servername $(hostname) --capsule-puppet true --capsule-puppetca true
Could not start Service[named]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/service-wait named start' returned 2: Starting named:
/Stage[main]/Dns::Service/Service[named]/ensure: change from stopped to running failed: Could not start Service[named]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/service-wait named start' returned 2: Starting named:
Installing --- /etc/foreman-proxy/settings.d/dns.ymlg/Forema2014-12- [99%] [........................................................................................................................... /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Failed to call refresh: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0]
/Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0]
/Stage[main]/Foreman::Database/Foreman::Rake[apipie:cache]/Exec[foreman-rake-apipie:cache]: Failed to call refresh: /usr/sbin/foreman-rake apipie:cache returned 1 instead of one of [0]
/Stage[main]/Foreman::Database/Foreman::Rake[apipie:cache]/Exec[foreman-rake-apipie:cache]: /usr/sbin/foreman-rake apipie:cache returned 1 instead of one of [0]
/usr/share/foreman/script/foreman-config -k ssl_ca_file -v '/etc/foreman/proxy_ca.pem' -k ssl_certificate -v '/etc/foreman/client_cert.pem' -k ssl_priv_key -v '/etc/foreman/client_key.pem' returned 1 instead of one of [0]
/Stage[main]/Certs::Foreman/Exec[foreman_certs_config]/returns: change from notrun to 0 failed: /usr/share/foreman/script/foreman-config -k ssl_ca_file -v '/etc/foreman/proxy_ca.pem' -k ssl_certificate -v '/etc/foreman/client_cert.pem' -k ssl_priv_key -v '/etc/foreman/client_key.pem' returned 1 instead of one of [0]
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[jnikolak_sat6_rhel6a.gsslab.pek.redhat.com]: Could not evaluate: Could not load data from https://jnikolak_sat6_rhel6a.gsslab.pek.redhat.com
Installing Done [100%] [...............................................................................................................................]
Something went wrong! Check the log for ERROR-level output
So i checked the error log
###################
katello installation error log
################
check install log
[ERROR 2015-03-24 03:41:10 main] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[jnikolak_sat6_rhel6a.gsslab.pek.redhat.com]: Could not evaluate: Could not load data from https://jnikolak_sat6_rhel6a.gsslab.pek.redhat.com
[ INFO 2015-03-24 03:41:10 main] - is your server down?
[ INFO 2015-03-24 03:41:10 main] - was rake apipie:cache run when using apipie cache? (typical production settings)
This didn't really help me much, so I tried to start named manually
###############
start named
#################
service named start
Starting named:
Error in named configuration:
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
dns_rdata_fromtext: /var/named/dynamic/db.169.208.66.10.in-addr.arpa:2: near 'jnikolak_sat6_rhel6a.gsslab.pek.redhat.com.': bad name (check-names)
dns_rdata_fromtext: /var/named/dynamic/db.169.208.66.10.in-addr.arpa:10: near 'jnikolak_sat6_rhel6a.gsslab.pek.redhat.com.': bad name (check-names)
zone 169.208.66.10.in-addr.arpa/IN: loading from master file /var/named/dynamic/db.169.208.66.10.in-addr.arpa failed: bad name (check-names)
zone 169.208.66.10.in-addr.arpa/IN: not loaded due to errors.
_default/169.208.66.10.in-addr.arpa/IN: bad name (check-names)
dns_rdata_fromtext: /var/named/dynamic/db.jnikolak_sat6_rhel6a.gsslab.pek.redhat.com:2: near 'jnikolak_sat6_rhel6a.gsslab.pek.redhat.com.': bad name (check-names)
dns_rdata_fromtext: /var/named/dynamic/db.jnikolak_sat6_rhel6a.gsslab.pek.redhat.com:10: near 'jnikolak_sat6_rhel6a.gsslab.pek.redhat.com.': bad name (check-names)
/var/named/dynamic/db.jnikolak_sat6_rhel6a.gsslab.pek.redhat.com:12: jnikolak_sat6_rhel6a.gsslab.pek.redhat.com: bad owner name (check-names)
zone jnikolak_sat6_rhel6a.gsslab.pek.redhat.com/IN: loading from master file /var/named/dynamic/db.jnikolak_sat6_rhel6a.gsslab.pek.redhat.com failed: bad name (check-names)
zone jnikolak_sat6_rhel6a.gsslab.pek.redhat.com/IN: not loaded due to errors.
_default/jnikolak_sat6_rhel6a.gsslab.pek.redhat.com/IN: bad name (check-names)
[FAILED]
######
edit /etc/named.conf
######################
I resolved the issue by editing: /etc/named.conf
I added 3 options.
check-names master ignore;
check-names slave ignore;
check-names response ignore;
Then saved the file --->
------------------------------
include "/etc/rndc.key";
controls {
inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { "rndc-key"; };
};
options {
include "/etc/named/options.conf";
check-names master ignore;
check-names slave ignore;
check-names response ignore;
};
---------------------------
Sevice named restart now works successfully
I think this could be a bug as it was quite unexpected and not mentioned anywhere in installation to use this workaround.
If required the server is on redhat network.....
I then realised that the installation doesn't complete, as the /etc/named.conf is overwritten.
I then applied the change to
/usr/share/katello-installer/modules/dns/templates/named.conf.erb
Then the named problem doesnt occur
The problem here is with underscores 'jnikolak_sat6_rhel6a.gsslab.pek.redhat.com', which is not valid fqdn: turning off the name checking is just workaround on one level, but can cause other issues.
What we can do is validating the dns-zone for being a valid fqdn