So something is removing the local folder:
[root@undercloud ~]# rpm -V certmonger
missing /var/lib/certmonger/local
Interestingly enough a bunch of certmonger stuff is missing in the image itself?
On the hypervisor I get:
virt-customize -v -a undercloud.qcow2 --run-command 'rpm -V certmonger'
missing /var/lib/certmonger/cas
missing /var/lib/certmonger/local
missing /var/lib/certmonger/requests
missing /var/run/certmonger
It's as if /var/lib/certmonger/{cas,requests} and /var/run/certmonger get recreated whereas /var/lib/certmonger/local does not.
In fact if I create /var/lib/certmonger/local, restart certmonger and then run the undercloud install it all works.
Now there are two possibilities:
A) Those folders were always missing and certmonger recreated all the things with no issue, but somehow it is unable to do so for some reason
B) Those folders were not always missing from the image, and something is removing them and certmonger cannot really copy with /var/lib/certmonger/local missing.
Now what I can observe is that certmonger does not create all these folders at startup?:
systemctl stop certmonger
rm -rf /var/lib/certmonger/*
systemctl start certmonger
ls -l /var/lib/certmonger
[root@undercloud certmonger]# ls -l
total 0
drwx------. 2 root root 124 Apr 9 07:21 cas
-rw-------. 1 root root 0 Apr 9 07:21 lock
Not sure if they get created at a certain time or when something gets triggered
So something is removing the local folder: certmonger/ local
[root@undercloud ~]# rpm -V certmonger
missing /var/lib/
Interestingly enough a bunch of certmonger stuff is missing in the image itself? certmonger/ cas certmonger/ local certmonger/ requests
On the hypervisor I get:
virt-customize -v -a undercloud.qcow2 --run-command 'rpm -V certmonger'
missing /var/lib/
missing /var/lib/
missing /var/lib/
missing /var/run/certmonger
It's as if /var/lib/ certmonger/ {cas,requests} and /var/run/certmonger get recreated whereas /var/lib/ certmonger/ local does not.
In fact if I create /var/lib/ certmonger/ local, restart certmonger and then run the undercloud install it all works.
Now there are two possibilities: certmonger/ local missing.
A) Those folders were always missing and certmonger recreated all the things with no issue, but somehow it is unable to do so for some reason
B) Those folders were not always missing from the image, and something is removing them and certmonger cannot really copy with /var/lib/
Now what I can observe is that certmonger does not create all these folders at startup?: certmonger/ *
systemctl stop certmonger
rm -rf /var/lib/
systemctl start certmonger
ls -l /var/lib/certmonger
[root@undercloud certmonger]# ls -l
total 0
drwx------. 2 root root 124 Apr 9 07:21 cas
-rw-------. 1 root root 0 Apr 9 07:21 lock
Not sure if they get created at a certain time or when something gets triggered