novajoin install fails because of missing facts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-nova |
Fix Released
|
Undecided
|
Juan Antonio Osorio Robles |
Bug Description
Recently, there was a change to puppet-nova in the novajoin code to extract the ipa_hostname as a fact so that it could be used to generate a basic keytab when novajoin is containerized.
git show 277c4c9f
However, this breaks the non-containerized case because the fact ipa_hostname is determined before the puppet run. At that time, the ipa-client is not yet enrolled, and in fact, it only get enrolled at ..
The symptom is this is a failed undercloud install with the following messages:
2018-04-06 07:13:41 | 2018-04-06 07:13:41,977 INFO: ^[[1;31mError: /usr/bin/kinit -kt /etc/krb5.keytab && ipa-getkeytab -s -p nova/undercloud
2018-04-06 07:13:41 | 2018-04-06 07:13:41,977 INFO: ^[[1;31mError: /Stage[
Due to the fact ipa_hostname after the -s option not being added.
We also see the following:
2018-04-06 07:10:55 | 2018-04-06 07:10:55,406 INFO: ^[[1;33mWarning: Unknown variable: '::ipa_hostname'. at /etc/puppet/
2018-04-06 07:10:56 | 2018-04-06 07:10:56,203 INFO: ^[[1;33mWarning: Unknown variable: 'ca_pem'. at /etc/puppet/
Changed in puppet-nova: | |
assignee: | nobody → Ade Lee (alee-3) |
Changed in puppet-nova: | |
status: | New → Confirmed |
Fix proposed to branch: master /review. openstack. org/559647
Review: https:/