Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1550817

Summary: Calamari-server installation fails with "python-cachetool" dependency error on ubuntu.
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Manohar Murthy <mmurthy>
Component: CalamariAssignee: Ken Dreyer (Red Hat) <kdreyer>
Calamari sub component: Back-end QA Contact: Manohar Murthy <mmurthy>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: unspecified CC: ceph-eng-bugs, hnallurv
Version: 1.3.4   
Target Milestone: rc   
Target Release: 1.3.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: calamari_1.3.4-3redhat1trusty Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-03 17:45:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Manohar Murthy 2018-03-02 05:15:31 UTC
Description of problem:
Calamari server installation on ubuntu fails with "python-cachetool" package dependency error.

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

How reproducible:
100%

Steps to Reproduce:
1.Enable Calamari repos and try installing calamari server
2.Installation fails with dependency error


Actual results:
root@magna006:/etc/apt# sudo apt-get install calamari-server calamari-clients
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 calamari-server : Depends: python-cachetools but it is not installable
N: Ignoring file 'ceph-deploy-ceph.log' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'ceph-deploy-ceph.log' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Unable to correct problems, you have held broken packages.
root@magna006:/etc/apt# apt-get install python-cachetools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package python-cachetools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

N: Ignoring file 'ceph-deploy-ceph.log' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'ceph-deploy-ceph.log' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Package 'python-cachetools' has no installation candidate
root@magna006:/etc/apt# apt-cache show python-cachetools
N: Can't select versions from package 'python-cachetools' as it is purely virtual
N: No packages found
root@magna006:/etc/apt# 


Additional info:
Findings from Ken Dreyer

$ dpkg -I calamari-server_1.3.3-2redhat1trusty_amd64.deb | grep
Depends: | tr , "\n" | sort > 1.3.3-deps.txt

$ dpkg -I calamari-server_1.3.4-2redhat1trusty_amd64.deb | grep
Depends: | tr , "\n" | sort > 1.3.4-deps.txt

$ diff -u 1.3.3-deps.txt 1.3.4-deps.txt
--- 1.3.3-deps.txt 2018-03-01 15:19:27.240243396 +0000
+++ 1.3.4-deps.txt 2018-03-01 15:19:33.640453142 +0000
@@ -4,6 +4,7 @@
  libpq5
  logrotate
  postgresql
+ python-cachetools
  python-cairo
  python-gevent
  python-greenlet
@@ -15,6 +16,7 @@
  python-sqlalchemy
  python-twisted
  python-txamqp
+ python-urllib3
  python-zmq
  python-zope.interface
  python:any

python-urllib3 is in universe, but python-cachetools is not. This is
what causes the 1.3.4 version to fail to install.

Comment 3 Ken Dreyer (Red Hat) 2018-03-06 21:37:37 UTC
Today I'm testing backporting https://github.com/ceph/calamari/pull/507 to 1.3 for this.

Comment 9 errata-xmlrpc 2018-04-03 17:45:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0626