** Description changed:

+ This bug has been updated from it's original intent.  The original bug
+ description details are at the end of this section.
+ 
+ The deploy from source support in the OpenStack charms performs shallow
+ git clones (e.g. git clone --depth 1) by default. This increases the
+ speed of a git clone significantly. However, there is a side-effect of
+ shallow clones when they are pip installed, in that it causes pip to
+ list the package version as 0.0.0, when in actuality the package version
+ may have been 11.0.0. The next time a pip installed package needs a
+ minimum version of that package (e.g. let's say it needs >= 10.0.0),
+ it'll see that 0.0.0 is installed and it'll install the latest package
+ from pypi.
+ 
+ Non-shallow git clones enable pip to see the actual version and prevent
+ this issue.  The openstack-origin-git yaml should support an option to
+ override the default depth of git clones on a per-repo basis.
+ 
+ 
+ -------------------original bug details-------------------------------
+ 
+ Here's the original bug description, which is really a dup of upstream
+ bug https://bugs.launchpad.net/pbr/+bug/1375048.
+ 
+ "Missing dependency on testrepository"
+ 
  I had the source bundle at https://pastebin.canonical.com/147053/
  (adapted from 
http://bazaar.launchpad.net/~ost-maintainers/openstack-charm-testing/trunk/files/head:/bundles/source/
- , basically flattened to v4 format to allow for machine allocation/placement) 
working before, and yesterday noticed that it's now failing with a missing 
dependency (pip package testrepository) for neutron-fwaas (which is brought in 
by neutron-api). 
+ , basically flattened to v4 format to allow for machine allocation/placement) 
working before, and yesterday noticed that it's now failing with a missing 
dependency (pip package testrepository) for neutron-fwaas (which is brought in 
by neutron-api).
  The relevant unit error log is at https://pastebin.canonical.com/147054/

** Summary changed:

- Missing dependency on testrepository
+ Enable git clone depth override in opentstack-origin-git

** Also affects: keystone (Ubuntu)
   Importance: Undecided
       Status: New

** No longer affects: keystone (Ubuntu)

** Also affects: keystone (Juju Charms Collection)
   Importance: Undecided
       Status: New

** Also affects: openstack-dashboard (Juju Charms Collection)
   Importance: Undecided
       Status: New

** Also affects: nova-compute (Juju Charms Collection)
   Importance: Undecided
       Status: New

** Also affects: nova-cloud-controller (Juju Charms Collection)
   Importance: Undecided
       Status: New

** Also affects: neutron-gateway (Juju Charms Collection)
   Importance: Undecided
       Status: New

** Also affects: cinder (Juju Charms Collection)
   Importance: Undecided
       Status: New

** Also affects: glance (Juju Charms Collection)
   Importance: Undecided
       Status: New

** Changed in: cinder (Juju Charms Collection)
     Assignee: (unassigned) => Corey Bryant (corey.bryant)

** Changed in: glance (Juju Charms Collection)
     Assignee: (unassigned) => Corey Bryant (corey.bryant)

** Changed in: keystone (Juju Charms Collection)
     Assignee: (unassigned) => Corey Bryant (corey.bryant)

** Changed in: neutron-api (Juju Charms Collection)
     Assignee: (unassigned) => Corey Bryant (corey.bryant)

** Changed in: neutron-gateway (Juju Charms Collection)
     Assignee: (unassigned) => Corey Bryant (corey.bryant)

** Changed in: nova-cloud-controller (Juju Charms Collection)
     Assignee: (unassigned) => Corey Bryant (corey.bryant)

** Changed in: nova-compute (Juju Charms Collection)
     Assignee: (unassigned) => Corey Bryant (corey.bryant)

** Changed in: openstack-dashboard (Juju Charms Collection)
     Assignee: (unassigned) => Corey Bryant (corey.bryant)

** Changed in: cinder (Juju Charms Collection)
       Status: New => In Progress

** Changed in: glance (Juju Charms Collection)
       Status: New => In Progress

** Changed in: keystone (Juju Charms Collection)
       Status: New => In Progress

** Changed in: neutron-api (Juju Charms Collection)
       Status: New => In Progress

** Changed in: neutron-gateway (Juju Charms Collection)
       Status: New => In Progress

** Changed in: nova-cloud-controller (Juju Charms Collection)
       Status: New => In Progress

** Changed in: nova-compute (Juju Charms Collection)
       Status: New => In Progress

** Changed in: openstack-dashboard (Juju Charms Collection)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/1531612

Title:
  Enable git clone depth override in opentstack-origin-git

To manage notifications about this bug go to:
https://bugs.launchpad.net/charms/+source/cinder/+bug/1531612/+subscriptions

-- 
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to