Bug 2145269 - controller node replacement fails with internal ceph
Summary: controller node replacement fails with internal ceph
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: John Fulton
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-23 16:59 UTC by John Fulton
Modified: 2023-01-25 12:30 UTC (History)
1 user (show)

Fixed In Version: tripleo-ansible-3.3.1-0.20221123230736.fa5422f.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-25 12:29:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-20397 0 None None None 2022-11-23 17:12:23 UTC
Red Hat Product Errata RHBA-2023:0271 0 None None None 2023-01-25 12:30:14 UTC

Description John Fulton 2022-11-23 16:59:51 UTC
When replacing a controller node which uses internal ceph, the stack update fails and the ansible log has the following message:

This command fails with "Error: statfs /home/ceph-admin/specs/ceph_spec.yaml: no such file or directory"

version used: tripleo-ansible-3.3.1-0.20220720020866.fa5422f.el9ost.noarch

Comment 1 John Fulton 2022-11-23 17:05:59 UTC
root cause:

tripleo-ansible-3.3.1-0.20220720020866.fa5422f.el9ost.noarch is missing this patch:

  https://review.opendev.org/c/openstack/tripleo-ansible/+/858637/4/tripleo_ansible/roles/tripleo_cephadm/tasks/post.yaml

In our testing scenario controller-3 replaces controller-0 and the spec file it's trying to mount is only is in the missing controller-0 but not controller-3. However, we don't need to mount that spec file so we can remove the directive to do so.

The above patch was done to help with upgrades in 17.1 but it's also relevant for controller replacement in 17.0. Thus, I'll cherry pick it in 17.0.

Comment 13 errata-xmlrpc 2023-01-25 12:29:58 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 (Red Hat OpenStack Platform 17.0.1 bug fix and enhancement 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-2023:0271


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