instack-undercloud/releasenotes/notes
Emilien Macchi 6a46ec6190 undercloud/upgrade: change ownership for ironic-dbsync.log
A change was done in puppet-ironic:
https://review.openstack.org/#/c/457478/

It broke TripleO upgrades because ironic-dbsync.log used to be owned by
root:root and now it's managed by ironic user in puppet-ironic, which is
good.

Because we want to support existing deployments, we need a way to handle
the new owership change, so let's do it in a upgrade task in
undercloud.py. Puppet will be able to run ironic-dbsync and we'll remove
this workaround after Pike release.

Newton backport note:
  Since the Newton version does not have "upgrade" flag passed to install,
  a try..except block was added to handle fresh installations, where
  the affected file does not exist.

Co-Authored-By: Dmitry Tantsur <dtantsur@redhat.com>
Change-Id: I325c30f49b765ef6413743491902e97735877321
(cherry picked from commit 4077ec823c)
2017-11-06 16:58:39 +01:00
..
heat-dbsync-timeout-4301fb54b8711df5.yaml heat-dbsync: increase timeout to 15 minutes 2017-10-31 06:41:51 -07:00
ironic-dbsync-da5d047e92841f78.yaml undercloud/upgrade: change ownership for ironic-dbsync.log 2017-11-06 16:58:39 +01:00