yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #71967
[Bug 1718356] Re: Include default config files in python wheel
Reviewed: https://review.openstack.org/553463
Committed: https://git.openstack.org/cgit/openstack/cyborg/commit/?id=ac6b70dc6a9c440250b739c9fed9a1b74d7642be
Submitter: Zuul
Branch: master
commit ac6b70dc6a9c440250b739c9fed9a1b74d7642be
Author: Nguyen Van Trung <trungnv@xxxxxxxxxxxxxx>
Date: Thu Mar 15 23:20:29 2018 +0700
Add default configuration files to data_files
In order to make it simpler to use the default
configuration files when deploying services
from source, the files are added to pbr's
data_files section so that the files are
included in the built wheels and therefore
deployed with the code. Packaging and deployment
tools can then more easily use the default files
if they wish to.
This pattern is already established with similar
files for neutron and the glance metadefs as has
been mentioned in the related bug report.
Change-Id: I466f235fec7be024f654739a31365724eaf24097
Closes-Bug: #1718356
** Changed in: cyborg
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1718356
Title:
Include default config files in python wheel
Status in Barbican:
Fix Released
Status in Cinder:
Fix Released
Status in Cyborg:
Fix Released
Status in Designate:
Fix Released
Status in Fuxi:
New
Status in Glance:
Fix Released
Status in OpenStack Heat:
In Progress
Status in Ironic:
Fix Released
Status in Karbor:
In Progress
Status in OpenStack Identity (keystone):
Fix Released
Status in kuryr-libnetwork:
New
Status in Magnum:
In Progress
Status in neutron:
Fix Released
Status in OpenStack Compute (nova):
In Progress
Status in octavia:
Invalid
Status in openstack-ansible:
Confirmed
Status in Sahara:
Fix Released
Status in OpenStack DBaaS (Trove):
Fix Released
Status in Zun:
In Progress
Bug description:
The projects which deploy OpenStack from source or using python wheels
currently have to either carry templates for api-paste, policy and
rootwrap files or need to source them from git during deployment. This
results in some rather complex mechanisms which could be radically
simplified by simply ensuring that all the same files are included in
the built wheel.
A precedence for this has already been set in neutron [1], glance [2]
and designate [3] through the use of the data_files option in the
files section of setup.cfg.
[1] https://github.com/openstack/neutron/blob/d3c393ff6b5fbd0bdaabc8ba678d755ebfba08f7/setup.cfg#L24-L39
[2] https://github.com/openstack/glance/blob/02cd5cba70a8465a951cb813a573d390887174b7/setup.cfg#L20-L21
[3] https://github.com/openstack/designate/blob/25eb143db04554d65efe2e5d60ad3afa6b51d73a/setup.cfg#L30-L37
This bug will be used for a cross-project implementation of patches to
normalise the implementation across the OpenStack projects. Hopefully
the result will be a consistent implementation across all the major
projects.
A mailing list thread corresponding to this standard setting was begun:
http://lists.openstack.org/pipermail/openstack-dev/2017-September/122794.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/barbican/+bug/1718356/+subscriptions
References