Bug 1231233 - 2.38.0-1.el7 update causes exception to duplicity
Summary: 2.38.0-1.el7 update causes exception to duplicity
Keywords:
Status: CLOSED DUPLICATE of bug 1229863
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-boto
Version: epel7
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Garrett Holmstrom
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-12 13:12 UTC by George Notaras
Modified: 2015-06-13 07:39 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-12 17:19:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description George Notaras 2015-06-12 13:12:59 UTC
Description of problem:

After updating python-boto to 2.38.0-1.el7, duplicity gives the error:

  BackendException: Could not initialize backend: No module named vendored

Version-Release number of selected component (if applicable):

python-boto-2.38.0-1.el7.noarch


Additional info:

The following version works fine: python-boto-2.34.0-4.el7.noarch

Comment 1 George Notaras 2015-06-12 13:21:14 UTC
Also I'd appreciate any info about how to safely downgrade python-boto alone.

Running:

yum history undo N

.. will remove some other packages as well, such as opendmarc, and I would like to go through fixing *.rpmsave files etc.

Also:

yum downgrade python-boto-2.34.0-4.el7.noarch

.. returns: No package python-boto-2.34.0-4.el7.noarch available.

What does 'Unbundled python-six (boto #3086)' mean in the changelog? python-six is installed in my system.

Thanks in advance.

Comment 2 George Notaras 2015-06-12 13:22:12 UTC
>and I would like to go through fixing *.rpmsave files etc.

Of course, I meant: "I wouldn't want ..."

Comment 3 George Notaras 2015-06-12 13:26:06 UTC
IIRC, a python-boto update causing problems to duplicity has happened before. Since duplicity is a commonly used backup utility, maybe it would be nice if more feedback was requested from duplicity users before pushing the python-boto update to the stable repos.

Comment 4 George Notaras 2015-06-12 13:38:44 UTC
Installed version of python-six:
python-six-1.3.0-4.el7.noarch

Comment 5 George Notaras 2015-06-12 13:42:36 UTC
Steps to resolve (downgrade), until this is fixed:

yum remove python-boto
cd /tmp
wget https://kojipkgs.fedoraproject.org//packages/python-boto/2.34.0/4.el7/noarch/python-boto-2.34.0-4.el7.noarch.rpm
yum -y localinstall python-boto-2.34.0-4.el7.noarch.rpm
rm -f python-boto-2.34.0-4.el7.noarch.rpm
yum install duplicity

Comment 6 Garrett Holmstrom 2015-06-12 17:19:34 UTC
Unbundling refers to making something use the system's copy of a library rather than one that it includes alongside its own code, which in boto's case is six.  RHEL 7's version of six is too old for boto to use (see bug 1185409), so on that OS it would fall back to the bundled copy if I hadn't papered over this bug on my test VM by forgetting I had recently used my test VM to test a newer version of six.  This is fixed in python-boto-2.38.0-2.el7, which you can install from koji and upvote here:

https://admin.fedoraproject.org/updates/python-boto-2.38.0-2.el7

python-boto-2.38.0-1.el7 sat in epel-testing for nearly two months with no feedback, positive or negative.  Do you know of a way to contact EPEL's duplicity users to ask them to test updates?

*** This bug has been marked as a duplicate of bug 1229863 ***

Comment 7 George Notaras 2015-06-13 07:32:14 UTC
Garrett, thanks for looking into this. I'll update python-boto to python-boto-2.38.0-2.el7 and report back.

> python-boto-2.38.0-1.el7 sat in epel-testing for nearly two months with no feedback, positive or negative.  Do you know of a way to contact EPEL's duplicity users to ask them to test updates?

Unfortunately, there is no other way. I'm enabling epel-testing in one of my VMs and I'll report any problems I notice with duplicity from now on. BTW, I'm testing this on C7 exclusively.

Thanks again.

Comment 8 George Notaras 2015-06-13 07:39:39 UTC
I confirm that python-boto-2.38.0-2.el7.noarch.rpm works fine with duplicity-0.6.24-5.el7.x86_64 and python-six-1.3.0-4.el7.noarch.

Thanks for taking care of this. I'll add karma to the koji build.


Note You need to log in before you can comment on or make changes to this bug.