← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1718356] [NEW] Include default config files in python wheel

 

Public bug reported:

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] and glance [2]
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

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.

** Affects: glance
     Importance: Undecided
     Assignee: Jesse Pretorius (jesse-pretorius)
         Status: New

** Affects: neutron
     Importance: Undecided
     Assignee: Jesse Pretorius (jesse-pretorius)
         Status: New

** Affects: nova
     Importance: Undecided
     Assignee: Jesse Pretorius (jesse-pretorius)
         Status: New

** Affects: openstack-ansible
     Importance: Undecided
     Assignee: Jesse Pretorius (jesse-pretorius)
         Status: New

** Also affects: neutron
   Importance: Undecided
       Status: New

** Also affects: glance
   Importance: Undecided
       Status: New

** Changed in: neutron
     Assignee: (unassigned) => Jesse Pretorius (jesse-pretorius)

** Changed in: glance
     Assignee: (unassigned) => Jesse Pretorius (jesse-pretorius)

** Changed in: openstack-ansible
     Assignee: (unassigned) => Jesse Pretorius (jesse-pretorius)

** Also affects: nova
   Importance: Undecided
       Status: New

** Changed in: nova
     Assignee: (unassigned) => Jesse Pretorius (jesse-pretorius)

-- 
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 Glance:
  New
Status in neutron:
  New
Status in OpenStack Compute (nova):
  New
Status in openstack-ansible:
  New

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] and glance
  [2] 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

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1718356/+subscriptions


Follow ups