Dogtag installation fails due to wrong dnsdomainname
Bug #1477118 reported by
Juan Antonio Osorio Robles
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Barbican |
Fix Released
|
Medium
|
Juan Antonio Osorio Robles |
Bug Description
Since the dogtag gate now requires a proper dns domain name to be configured, the gate started failing, since we were overwritting the /etc/hosts file in the wrong manner.
Changed in barbican: | |
milestone: | none → liberty-2 |
status: | Fix Committed → Fix Released |
Changed in barbican: | |
assignee: | nobody → Juan Antonio Osorio Robles (juan-osorio-robles) |
Changed in barbican: | |
milestone: | liberty-2 → 1.0.0 |
Changed in barbican: | |
importance: | Undecided → Medium |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/202146 /git.openstack. org/cgit/ openstack/ barbican/ commit/ ?id=f8073466c4b 3fd204e05cf8e9d a7a956eadba406
Committed: https:/
Submitter: Jenkins
Branch: master
commit f8073466c4b3fd2 04e05cf8e9da7a9 56eadba406
Author: Juan Antonio Osorio Robles <email address hidden>
Date: Wed Jul 15 17:58:17 2015 +0300
Configure dogtag installation's domain name
It seems that previously we were overriding the /etc/hosts in an
incorrect way. The gate had already several aliases for localhost which
we were completely discarding, and this might cause some issues with
some assumptions that were being taken in the gate.
On the other hand, a newer version of dogtag that is now being used in
the gate requires there to be a proper DNS domain name configured, and
this was causing the installation to fail in the gate.
So as a solution, we now force the fqdn to be localhost. localdomain. And
on the other hand, we explicitly configure dogtag to use localhost as a
hostname, since it was actually getting an alias from the hostname
command, which was not being found with the domain it was fetching from
the dnsdomainname command.
Closes-Bug: #1477118 6fb8594d57a1a46 a32f30bf3c0
Change-Id: I7ea518ddc35ac9