ceph client dosent install rocky 9

Bug #2013276 reported by Tom Jensen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
High
Dmitriy Rabotyagov

Bug Description

the ceph client dosent install on rocky 9 without the following fixes.

cd /etc/ansible/roles/ceph_client/files/gpg
wget https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-9

Revision history for this message
Tom Jensen (novoztjn) wrote :

ups sorry.
when the ceph-client in installed the nodes needs the epel-rel package to.

fatal: [maahcoscom03]: FAILED! => {"attempts": 5, "changed": false, "failures": [], "msg": "Depsolve Error occurred: \n Problem: package ceph-common-2:17.2.5-0.el9.x86_64 requires libthrift-0.14.0.so()(64bit), but none of the providers can be installed\n - conflicting requests\n - package thrift-0.14.0-7.el9.x86_64 is filtered out by exclude filtering", "rc": 1, "results": []}

Revision history for this message
Dmitriy Rabotyagov (noonedeadpunk) wrote :

We indeed don't test ceph usecase at the moment for rocky/CentOS, so I see how things might went off there.

I will spawn a sandbox during the day to find out and test fixes for this scenario.

Changed in openstack-ansible:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Dmitriy Rabotyagov (noonedeadpunk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-ceph_client (master)
Changed in openstack-ansible:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to openstack-ansible-ceph_client (master)
Revision history for this message
Dmitriy Rabotyagov (noonedeadpunk) wrote :

Hi Tom,

We've pushed series of patches, so that they were better backportable, that I believe should fix the issue.
Specifically these 2 would be required to complete ceph client installation:
* https://review.opendev.org/c/openstack/openstack-ansible-ceph_client/+/879082
* https://review.opendev.org/c/openstack/openstack-ansible-ceph_client/+/879081

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-ceph_client (master)

Reviewed: https://review.opendev.org/c/openstack/openstack-ansible-ceph_client/+/879082
Committed: https://opendev.org/openstack/openstack-ansible-ceph_client/commit/f2a40ab1cd9d3bb048206bc4ff490f696f1b8cd9
Submitter: "Zuul (22348)"
Branch: master

commit f2a40ab1cd9d3bb048206bc4ff490f696f1b8cd9
Author: Dmitriy Rabotyagov <email address hidden>
Date: Thu Mar 30 21:05:41 2023 +0200

    Add thrift to includepkgs from EPEL

    Latest ceph releases also require thrift package to be installed,
    which is provided by EPEL. We add the package of allowed ones
    to come from EPEL.

    Change-Id: Id2cd34bf88efbda9ba37710d1052a6f54249b5bf
    Closes-Bug: #2013276

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.opendev.org/c/openstack/openstack-ansible-ceph_client/+/879081
Committed: https://opendev.org/openstack/openstack-ansible-ceph_client/commit/5215b796c063d808d0daba2acaef915f4200af18
Submitter: "Zuul (22348)"
Branch: master

commit 5215b796c063d808d0daba2acaef915f4200af18
Author: Dmitriy Rabotyagov <email address hidden>
Date: Thu Mar 30 21:02:17 2023 +0200

    Add EPEL GPG key for RHEL 9

    We've missed adding a GPG key that's required for installing
    packages for RHEL9 distros from EPEL.

    Change-Id: I2bef98a695517c038cb9f0dcd09caa16611520b7
    Closes-Bug: #2013276

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-ceph_client (stable/zed)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-ceph_client (stable/yoga)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to openstack-ansible-ceph_client (master)

Reviewed: https://review.opendev.org/c/openstack/openstack-ansible-ceph_client/+/879084
Committed: https://opendev.org/openstack/openstack-ansible-ceph_client/commit/7a70556e151f9b528732ff24fd8fca0de18fd97b
Submitter: "Zuul (22348)"
Branch: master

commit 7a70556e151f9b528732ff24fd8fca0de18fd97b
Author: Dmitriy Rabotyagov <email address hidden>
Date: Thu Mar 30 21:16:28 2023 +0200

    Unify EPEL gpg key and repo provisioning

    At the moment we do install EPEL repo in multiple other roles, like
    lxc_hosts or systemd_mount. We're trying to be consistent in ways
    of adding them, while ceph_client was slightly different, by carrying on
    GPG keys in-repo instead of fetching them from `centos_epel_key` url.

    With this patch we unify approach with other roles and reducing
    maintenance costs of the repo when adding new distributions

    Change-Id: I407256dc6eee3365c4f8c191a1f50717f0b35fa8
    Related-Bug: #2013276

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-ceph_client (stable/zed)

Reviewed: https://review.opendev.org/c/openstack/openstack-ansible-ceph_client/+/879186
Committed: https://opendev.org/openstack/openstack-ansible-ceph_client/commit/b2691679941f0e31c3c3e11775b92548b94a1579
Submitter: "Zuul (22348)"
Branch: stable/zed

commit b2691679941f0e31c3c3e11775b92548b94a1579
Author: Dmitriy Rabotyagov <email address hidden>
Date: Thu Mar 30 21:02:17 2023 +0200

    Add EPEL GPG key for RHEL 9

    We've missed adding a GPG key that's required for installing
    packages for RHEL9 distros from EPEL.

    Change-Id: I2bef98a695517c038cb9f0dcd09caa16611520b7
    Closes-Bug: #2013276
    (cherry picked from commit 5215b796c063d808d0daba2acaef915f4200af18)

tags: added: in-stable-zed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.opendev.org/c/openstack/openstack-ansible-ceph_client/+/879187
Committed: https://opendev.org/openstack/openstack-ansible-ceph_client/commit/4f4b5348123c584ac56b8b5519fed208bcacb177
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 4f4b5348123c584ac56b8b5519fed208bcacb177
Author: Dmitriy Rabotyagov <email address hidden>
Date: Thu Mar 30 21:05:41 2023 +0200

    Add thrift to includepkgs from EPEL

    Latest ceph releases also require thrift package to be installed,
    which is provided by EPEL. We add the package of allowed ones
    to come from EPEL.

    Change-Id: Id2cd34bf88efbda9ba37710d1052a6f54249b5bf
    Closes-Bug: #2013276
    (cherry picked from commit f2a40ab1cd9d3bb048206bc4ff490f696f1b8cd9)

tags: added: in-stable-yoga
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-ceph_client (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/openstack-ansible-ceph_client/+/879397
Committed: https://opendev.org/openstack/openstack-ansible-ceph_client/commit/dd5ce6a03c0e617be43dc9571a54a3791358cdf0
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit dd5ce6a03c0e617be43dc9571a54a3791358cdf0
Author: Dmitriy Rabotyagov <email address hidden>
Date: Thu Mar 30 21:05:41 2023 +0200

    Add thrift to includepkgs from EPEL

    Latest ceph releases also require thrift package to be installed,
    which is provided by EPEL. We add the package of allowed ones
    to come from EPEL.

    Change-Id: Id2cd34bf88efbda9ba37710d1052a6f54249b5bf
    Closes-Bug: #2013276
    (cherry picked from commit f2a40ab1cd9d3bb048206bc4ff490f696f1b8cd9)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.opendev.org/c/openstack/openstack-ansible-ceph_client/+/879398
Committed: https://opendev.org/openstack/openstack-ansible-ceph_client/commit/c988ce6387d05714337a48387c14f28a3eb2962b
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit c988ce6387d05714337a48387c14f28a3eb2962b
Author: Dmitriy Rabotyagov <email address hidden>
Date: Thu Mar 30 21:02:17 2023 +0200

    Add EPEL GPG key for RHEL 9

    We've missed adding a GPG key that's required for installing
    packages for RHEL9 distros from EPEL.

    Change-Id: I2bef98a695517c038cb9f0dcd09caa16611520b7
    Closes-Bug: #2013276
    (cherry picked from commit 5215b796c063d808d0daba2acaef915f4200af18)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-ceph_client yoga-eom

This issue was fixed in the openstack/openstack-ansible-ceph_client yoga-eom release.

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.