middleware missing from swift package

Bug #1692032 reported by Phillip Couto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Expired
Low
Unassigned

Bug Description

Looks like the ocata archive which ships with swift 2.13.0 is missing the following middleware:
- copy
- keymaster
- encryption

The 2.13.0 version of swift on github has the middleware in the repository:
https://github.com/openstack/swift/blob/2.13.0/swift/common/middleware/copy.py
https://github.com/openstack/swift/tree/2.13.0/swift/common/middleware/crypto

When reviewing the contents of the swift python package it is missing the files.

I am trying to deploy a cluster using these pieces of middleware and would like to continue to use the ubuntu packages.

Tags: swift
tags: added: swift
Revision history for this message
James Page (james-page) wrote :

Hi Phillip

I did a quick check on the debs for the Ocata UCA:

$ dpkg -c /home/jamespage/Downloads/python-swift_2.13.0-0ubuntu1-cloud0_all.deb | grep copy
-rw-r--r-- root/root 24482 2017-02-16 09:58 ./usr/lib/python2.7/dist-packages/swift/common/middleware/copy.py
-rw-r--r-- root/root 833 2017-02-16 10:46 ./usr/share/doc/python-swift/copyright

$ dpkg -c /home/jamespage/Downloads/python-swift_2.13.0-0ubuntu1-cloud0_all.deb | grep crypto
drwxr-xr-x root/root 0 2017-02-21 10:36 ./usr/lib/python2.7/dist-packages/swift/common/middleware/crypto/
-rw-r--r-- root/root 16380 2017-02-16 09:58 ./usr/lib/python2.7/dist-packages/swift/common/middleware/crypto/encrypter.py
-rw-r--r-- root/root 11042 2017-02-16 09:58 ./usr/lib/python2.7/dist-packages/swift/common/middleware/crypto/crypto_utils.py
-rw-r--r-- root/root 19028 2017-02-16 09:58 ./usr/lib/python2.7/dist-packages/swift/common/middleware/crypto/decrypter.py
-rw-r--r-- root/root 1465 2017-02-16 09:58 ./usr/lib/python2.7/dist-packages/swift/common/middleware/crypto/__init__.py
-rw-r--r-- root/root 6865 2017-02-16 09:58 ./usr/lib/python2.7/dist-packages/swift/common/middleware/crypto/keymaster.py

I can see both of those modules in the built binary package.

Can you confirm that the binaries you have installed are from Ocata, not Newton which lacks these features.

Changed in cloud-archive:
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu Cloud Archive because there has been no activity for 60 days.]

Changed in cloud-archive:
status: Incomplete → Expired
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.