puppet-glance: No such file or directory - /etc/glance/glance-api.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-glance |
Fix Released
|
High
|
Yanis Guenane | ||
tripleo |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Seeing the following provisioning errors with the latest puppet-glance on Centos:
Notice: Compiled catalog for instack in environment production in 1.26 seconds
Warning: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not want to allow virtual packages, please explicitly set allow_virtual to false.
(at /usr/share/
Error: Could not set 'present' on ensure: No such file or directory - /etc/glance/
Error: Could not set 'present' on ensure: No such file or directory - /etc/glance/
Wrapped exception:
No such file or directory - /etc/glance/
Error: /Stage[
Error: Could not set 'present' on ensure: No such file or directory - /etc/glance/
Error: Could not set 'present' on ensure: No such file or directory - /etc/glance/
Wrapped exception:
No such file or directory - /etc/glance/
Error: /Stage[
----
Here is a simple manifest that will cause this to happen:
# TODO: notifications, scrubber, etc.
class { '::glance::api':
debug => hiera('debug'),
}
class { '::glance:
debug => hiera('debug'),
}
include ::glance:
Changed in puppet-glance: | |
importance: | Undecided → High |
Changed in puppet-glance: | |
status: | Fix Committed → Fix Released |
Possibly related to this commit (quite old though):
commit d769137e386052d 801046e81e1e40a 0744352213
Author: Yanis Guenane <email address hidden>
Date: Wed Aug 12 11:48:20 2015 +0200
Rely on autorequire for config resource ordering
Currently we specify the ordering of config resources wherever it is
necessary based on the presence of the file it will write to, or the
presence of the package in charge of providing the file it will write
to.
Those kind of ordering can be specified directly at the resource level
using the autorequire mechanism. With this patch, any config resource
will make sure the package in charge of providing the file will be
installed first.