[openstack-dev] [packaging] how to deal with the rename of config files in neutron on upgrade?

Kyle Mestery mestery at mestery.com
Thu Jul 2 15:39:37 UTC 2015


On Thu, Jul 2, 2015 at 10:35 AM, Matt Riedemann <mriedem at linux.vnet.ibm.com>
wrote:

> This change in neutron [1] renames the linuxbridge and openvswitch plugin
> config files.  I'm familiar with the %config(noreplace) directive in rpm
> but I'm not sure if there is a special trick with rpm to rename a config
> file while not losing the changes in the config file during the upgrade.
>
> Is this just something that has to be handled with trickery in the %post
> macro where we merge the contents together if the old config file exists?
> Would symbolic links help?
>
> Changes like this seem like a potential giant pain in the ass for
> packagers.
>
>
While a pain in the ass, this should have been done when we deprecated the
agents two cycles ago, so this was really just bleeding the pain out
longer. I flagged this as DocImpact so we can add a documentation note, and
we'll update the Release Notes with this as well.

[1] https://review.openstack.org/#/c/195277/
>
> --
>
> Thanks,
>
> Matt Riedemann
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150702/bdb8b44d/attachment.html>


More information about the OpenStack-dev mailing list