rabbitmq cert and keys are injected incorretly after certmonger regenerates them
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Confirmed
|
High
|
Damien Ciabrini |
Bug Description
When certmonger resubmit a certificate to the IPA server, it calls a post_save script that fails to inject the updated certificate and key because it fetches an invalid hiera key:
[root@messaging-1 ~]# /usr/bin/
Traceback (most recent call last):
9: from /bin/hiera:246:in `<main>'
8: from /usr/share/
7: from /usr/share/
6: from /usr/share/
5: from /usr/share/
4: from /usr/share/
3: from /usr/share/
2: from /usr/share/
1: from /usr/share/
/usr/share/
Traceback (most recent call last):
9: from /bin/hiera:246:in `<main>'
8: from /usr/share/
7: from /usr/share/
6: from /usr/share/
5: from /usr/share/
4: from /usr/share/
3: from /usr/share/
2: from /usr/share/
1: from /usr/share/
/usr/share/
tar: Substituting `.' for empty member name
tar: : Cannot stat: No such file or directory
tar: Substituting `.' for empty member name
tar: : Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
cp: -r not specified; omitting directory '/var/lib/
chown: cannot access '': No such file or directory
chown: cannot access '': No such file or directory
This does not happen in master, but is specific to Victoria and Train where the scripts still reside in puppet-tripleo