puppet apply sometimes fails with: Could not set 'directory on ensure: File exists - /var/lib/puppet/facts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Packstack |
Won't Fix
|
Undecided
|
Unassigned | ||
puppet-openstack |
New
|
Undecided
|
Unassigned |
Bug Description
We use packstack to setup newly openstack, but sometimes it fails with errors :
example1>err: /File[/
Got 1 failure(s) while initializing: change from absent to directory failed: Could not set 'directory on ensure: File exists - /var/lib/
example2>err: /File[/
Got 1 failure(s) while initializing: change from absent to directory failed: Could not set 'directory on ensure: File exists - /var/lib/
example3>err: /File[/
Got 1 failure(s) while initializing: change from absent to directory failed: Could not set 'directory on ensure: File exists - /var/lib/puppet/ssl
Same here with a different directory. After re-starting packstack everything is working like expected.
10.0.2. 15_prescript. pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]
ERROR : Error appeared during Puppet run: 10.0.2. 15_prescript. pp
Error: Could not set 'directory' on ensure: File exists - /var/lib/puppet/lib
# rpm -q openstack- packstack- puppet packstack- puppet- 2014.2- 0.13.dev1395. gaabe0a2. el7.centos. noarch
openstack-
# rpm -q openstack-packstack packstack- 2014.2- 0.13.dev1395. gaabe0a2. el7.centos. noarch
openstack-