cinder fails because of trying to downgrade librados2 librbd1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When installing rocky on ubuntu 18.04 with ceph backend cinder fails because it wants to downgrade librados2 librbd1.
TASK [ceph_client : Update Apt cache] *******
changed: [host1]
TASK [ceph_client : include_tasks] *******
included: /etc/ansible/
TASK [ceph_client : Install ceph packages] *******
FAILED - RETRYING: Install ceph packages (5 retries left).
FAILED - RETRYING: Install ceph packages (4 retries left).
FAILED - RETRYING: Install ceph packages (3 retries left).
FAILED - RETRYING: Install ceph packages (2 retries left).
FAILED - RETRYING: Install ceph packages (1 retries left).
fatal: [host1]: FAILED! => {"attempts": 5, "cache_
\"Dpkg:
kages were downgraded and -y was used without --allow-
lists...\nBuilding dependency tree...\nReading state information...\nThe following package was automatically installed and is no longer required:\n grub-pc-bin\nUse 'apt autoremove' to rem$
ve it.\nThe following additional packages will be installed:\n libbabeltrace1 libcephfs2 libdw1 libgoogle-
ibrbd1 librgw2\n libtcmalloc-
paddress python-openssl python-prettytable python-rados\n python-rbd python-requests python-rgw python-six python-
python-
1 libcephfs2 libdw1 libgoogle-
python-certifi python-cffi-backend python-chardet python-
ts python-rgw python-six python-urllib3\nThe following packages will be DOWNGRADED:\n librados2 librbd1\n0 upgraded, 30 newly installed, 2 downgraded, 0 to remove and 2 not upgraded.\n", "$
tdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following package was automatically installed and is no longer required:", " $
rub-pc-bin", "Use 'apt autoremove' to remove it.", "The following additional packages will be installed:", " libbabeltrace1 libcephfs2 libdw1 libgoogle-
lttng-ust0 liboath0 librados2 libradosstriper1 librbd1 librgw2", " libtcmalloc-
n-cryptography python-enum34", " python-idna python-ipaddress python-openssl python-prettytable python-rados", " python-rbd python-requests python-rgw python-six python-urllib3", "Suggest$
d packages:", " ceph-base ceph-mds python-
owing NEW packages will be installed:", " ceph-common libbabeltrace1 libcephfs2 libdw1 libgoogle-
malloc-minimal4 liburcu6 python-asn1crypto python-ceph python-cephfs", " python-certifi python-cffi-backend python-chardet python-
s python-openssl python-
0 upgraded, 30 newly installed, 2 downgraded, 0 to remove and 2 not upgraded."]}
RUNNING HANDLER [os_cinder : Stop services] *******
changed: [host1] => (item={
inder-18.
This is fixed in this patch:
https:/
cherrypicking this fix solves the problem also for rocky.
Rocky branch currently holds the download.ceph.com packages back to luminous release during tests so there is no conflict with the UCA packages.
Restoring this patch https:/ /review. openstack. org/#/c/ 613780/ as a way of verifying the behaviour.