> Apparently nova-manage db sync fails, however puppet continues deployment instead of failing or retrying
nova-manage db sync is triggered via refresh:
https://github.com/openstack/puppet-nova/blob/stable/mitaka/manifests/db/sync.pp#L19-L29
and puppet does NOT consider a failed exec as a failure if refreshonly is true, see
https://tickets.puppetlabs.com/browse/PUP-1223 https://tickets.puppetlabs.com/browse/PUP-2280
Perhaps 'nova-db-sync' should use onlyif (with a command which checks if the actual DB version matches the expected one) instead of refreshonly
> Apparently nova-manage db sync fails, however puppet continues deployment instead of failing or retrying
nova-manage db sync is triggered via refresh:
https:/ /github. com/openstack/ puppet- nova/blob/ stable/ mitaka/ manifests/ db/sync. pp#L19- L29
and puppet does NOT consider a failed exec as a failure if refreshonly is true, see
https:/ /tickets. puppetlabs. com/browse/ PUP-1223 /tickets. puppetlabs. com/browse/ PUP-2280
https:/
Perhaps 'nova-db-sync' should use onlyif (with a command which checks if the actual DB version
matches the expected one) instead of refreshonly