glance-common package doesn't contains dependencies/files for using cinder store

Bug #1609733 reported by Andrey Pavlov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glance (Juju Charms Collection)
Fix Released
Medium
Andrey Pavlov
python-glance-store (Ubuntu)
Fix Released
Medium
Unassigned
Xenial
Fix Released
Medium
Unassigned
Yakkety
Fix Released
Medium
Unassigned

Bug Description

glance is being installed from debian packages can not be used with storing images in cinder.

1) python-glance-store package doesn't depend from 'python-cinderclient', 'oslo.rootwrap' and 'os-brick'
I thing that is due to strange 'extra' dependencies definition in the pip package https://pypi.python.org/pypi/glance_store/0.15.0

information from the url: http://packages.ubuntu.com/xenial/python-glance-store

2) glance-common debian package doesn't contain files for rootwrap functionality -
/etc/glance/rootwrap.conf
/etc/sudoers.d/glance_sudoers
and directory /etc/glance/rootwrap.d

from the url: http://packages.ubuntu.com/xenial/all/glance-common/filelist

for example in nova-common -
http://packages.ubuntu.com/xenial/all/nova-common/filelist

maybe glance-store should contain these files because it contains file /usr/bin/python2-glance-rootwrap

1) Ubuntu 14.04 with repositories where glance of version 12.0.0 is available (installed by Ubuntu Juju Chrams)
2) glance version is 12.0.0
3) I expect that all needed files/packages are installed and all that I need - is to change glance.conf and restart glance-api
4) I need to install packages, create files.

Revision history for this message
James Page (james-page) wrote :

Moving bug to python-glance-store as that actually has the filters, rootwrap configuration and binary.

This will need a glance-store-common package to contain /etc/glance/rootwrap.d and /etc/glance/rootwrap.conf.

Extra dependencies (i.e. optional support such as this), don't get automatically installed; its typically up to the user for the package to make a call as to which store they are using, and which extra python packages that will need.

affects: glance (Ubuntu) → python-glance-store (Ubuntu)
Changed in python-glance-store (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Changed in python-glance-store (Ubuntu Xenial):
status: New → Triaged
importance: Undecided → Medium
James Page (james-page)
Changed in python-glance-store (Ubuntu Yakkety):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-glance-store - 0.13.1-1ubuntu1

---------------
python-glance-store (0.13.1-1ubuntu1) yakkety; urgency=medium

  * d/glance-store-common.*,control,glance_sudoers: Add binary package for
    shared rootwrap configuration, associated filters and sudoers.d
    configuration (LP: #1609733).

 -- James Page <email address hidden> Thu, 04 Aug 2016 13:52:10 +0100

Changed in python-glance-store (Ubuntu Yakkety):
status: Fix Committed → Fix Released
Revision history for this message
Andrey Pavlov (apavlov-e) wrote :

James, is it possible to fix this in Xenial and backport to Mitaka repositories (cloud-archive) ?

Revision history for this message
James Page (james-page) wrote :

Yeah - just figuring out the best way to make that happen.

Revision history for this message
James Page (james-page) wrote :

I've uploaded an update to the xenial glance-store package for the SRU team to review; this does include adding a new binary package as part of the update, which I think is probably the best way to fix this problem still.

Revision history for this message
Andrey Pavlov (apavlov-e) wrote :

And as I understood - glance-store-common package should be uploaded to the queue too? because it absent in xenial at all.

Revision history for this message
James Page (james-page) wrote :

Andrey - yes its included in the change (inline with the updates for yakkety/newton).

Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Andrey, or anyone else affected,

Accepted python-glance-store into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python-glance-store/0.13.0-3ubuntu0.16.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in python-glance-store (Ubuntu Xenial):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Edward Hope-Morley (hopem) wrote :
Changed in glance (Juju Charms Collection):
status: New → Fix Committed
milestone: none → 16.10
assignee: nobody → Andrey Pavlov (apavlov-e)
importance: Undecided → Medium
Revision history for this message
Andrey Pavlov (apavlov-e) wrote :

It works for me.

Installed versions:
glance-store-common: 0.13.0-3ubuntu0.16.04.1~cloud0
python-glance-store: 0.13.0-3ubuntu0.16.04.1~cloud0
From:
ppa.launchpad.net/ubuntu-cloud-archive/mitaka-staging/ubuntu/

Revision history for this message
Andrey Pavlov (apavlov-e) wrote :

Sorry, I can't find where I should set a tag 'verification-done'...

tags: added: verification-done
removed: verification-needed
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for python-glance-store has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Brian Murray (brian-murray) wrote :

It looks like something went awry when releasing this update as the package is still in -proposed.

 $ rmadison python-glance-store
 python-glance-store | 0.4.0-0ubuntu1 | vivid | source, all
 python-glance-store | 0.9.1-1ubuntu1 | wily | source, all
 python-glance-store | 0.13.0-3 | xenial | source, all
 python-glance-store | 0.13.0-3ubuntu0.16.04.1 | xenial-proposed | source
 python-glance-store | 0.13.1-1ubuntu1 | yakkety | source, all

That being said it looks like the verification of the fix didn't happen with the version of the package from -proposed rather one from a PPA. Subsequently, I'm setting the tag back to verification-needed.

tags: added: verification-needed
removed: verification-done
Revision history for this message
Andrey Pavlov (apavlov-e) wrote :

I added string
deb http://archive.ubuntu.com/ubuntu/ xenial-proposed restricted main multiverse universe
to sources.list
and I can't find new python-glance-store in:
ubuntu@ip-172-31-4-31:~$ apt-cache policy python-glance-store
python-glance-store:
  Installed: 0.13.0-3~cloud0
  Candidate: 0.13.0-3~cloud0
  Version table:
 *** 0.13.0-3~cloud0 0
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu/ trusty-updates/mitaka/main amd64 Packages
        100 /var/lib/dpkg/status

But new cinder package present there:
ubuntu@ip-172-31-4-31:~$ apt-cache policy python-cinder
python-cinder:
  Installed: (none)
  Candidate: 2:8.1.0-0ubuntu1
  Version table:
     2:8.1.0-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ xenial-proposed/main amd64 Packages

where am I wrong? How I can help to verify this bug?

Revision history for this message
James Page (james-page) wrote :

This update is still pending publishing in xenial-proposed:

https://launchpad.net/ubuntu/+source/python-glance-store/0.13.0-3ubuntu0.16.04.1/+build/10659103

it introduces a NEW package (glance-store-common) which needs processing.

James Page (james-page)
Changed in glance (Juju Charms Collection):
status: Fix Committed → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

The python-glance-store binaries are published to xenial now (this was done some time ago, not sure when). Andrey, can you help verify that version of the package now, so we can release it to xenial-updates?

Revision history for this message
Andrey Pavlov (apavlov-e) wrote :

Hi Steve,

I don't work on this since last autumn.
But for the first glance situation wasn't changed.
For correct work package with version '0.13.0-3ubuntu0.16.04.1~cloud0' is needed.
But in the repository I still see version '0.13.0-3~cloud0'.

Revision history for this message
James Page (james-page) wrote :

root@included-gobbler:~# dpkg -L glance-store-common
/.
/etc
/etc/sudoers.d
/etc/sudoers.d/glance_sudoers
/etc/glance
/etc/glance/rootwrap.conf
/etc/glance/rootwrap.d
/etc/glance/rootwrap.d/glance_cinder_store.filters
/usr
/usr/share
/usr/share/doc
/usr/share/doc/glance-store-common
/usr/share/doc/glance-store-common/changelog.Debian.gz
/usr/share/doc/glance-store-common/copyright
root@included-gobbler:~# apt-cache policy glance-store-common
glance-store-common:
  Installed: 0.13.0-3ubuntu0.16.04.1
  Candidate: 0.13.0-3ubuntu0.16.04.1
  Version table:
 *** 0.13.0-3ubuntu0.16.04.1 500
        500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
root@included-gobbler:~#

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-glance-store - 0.13.0-3ubuntu0.16.04.1

---------------
python-glance-store (0.13.0-3ubuntu0.16.04.1) xenial; urgency=medium

  * d/glance-store-common.*,control,glance_sudoers: Add binary package for
    shared rootwrap configuration, associated filters and sudoers.d
    configuration (LP: #1609733).

 -- James Page <email address hidden> Mon, 22 Aug 2016 15:47:38 +0100

Changed in python-glance-store (Ubuntu Xenial):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.