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 1668943

Summary: Dependency problems when installing RHCS 2 on Ubuntu
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: tserlin
Component: DocumentationAssignee: Bara Ancincova <bancinco>
Status: CLOSED CURRENTRELEASE QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.5CC: asriram, edonnell, kdreyer, mmurthy
Target Milestone: z4   
Target Release: 2.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-15 16:36:40 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:
Bug Depends On:    
Bug Blocks: 1687793    

Description tserlin 2019-01-23 22:53:32 UTC
Because the default Ubuntu Xenial repositories recently added a newer version of Ceph Jewel (10.2.11-0ubuntu0.16.04.1), you will get "unmet dependency" errors when trying to install the downstream Red Hat version:

=======
root@localhost:~# apt-get install ceph-mon
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:
 ceph-mon : Depends: ceph-base (= 10.2.10-37redhat1xenial) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
========


I had set up my Ubuntu 16.04 system with the downstream repos, acccording to the installation guide https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html-single/installation_guide_for_ubuntu/#enabling_the_red_hat_ceph_storage_repositories :

========
root@localhost:~# cat /etc/apt/sources.list.d/*
deb https://tserlin@redhat.com:XXXXX@rhcs.download.redhat.com/2-updates/MON xenial main
deb https://tserlin@redhat.com:XXXXX@rhcs.download.redhat.com/2-updates/OSD xenial main
deb https://tserlin@redhat.com:XXXXX@rhcs.download.redhat.com/2-updates/Tools xenial main
========


This can be remedied by creating an APT preferences file, like below:
========
root@localhost:~# cat /etc/apt/preferences.d/rhcs2
Package: *
Pin: origin "rhcs.download.redhat.com"
Pin-Priority: 1001
========