Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2172063

Summary: deployed ceph fails to apply spec
Product: Red Hat OpenStack Reporter: Manoj Katari <mkatari>
Component: python-tripleoclientAssignee: Manoj Katari <mkatari>
Status: CLOSED ERRATA QA Contact: David Rosenfeld <drosenfe>
Severity: medium Docs Contact:
Priority: low    
Version: 17.1 (Wallaby)CC: fhubik, hbrock, jamsmith, johfulto, jschluet, jslagle, mburns
Target Milestone: gaKeywords: Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-tripleoclient-16.5.1-1.20230505010953.534fe49.el9ost tripleo-ansible-3.3.1-1.20230506001021.b6d4b94.el9ost Doc Type: Bug Fix
Doc Text:
Before this update, the `openstack overcloud ceph deploy` command could fail during the `apply spec` operation if the chrony NTP service was down. With this update, the chrony NTP service is enabled before the `apply spec` operation.
Story Points: ---
Clone Of:
: 2193132 (view as bug list) Environment:
Last Closed: 2023-08-16 01:13:59 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: 2193132    

Description Manoj Katari 2023-02-21 10:58:21 UTC
Description of problem:

'openstack overcloud ceph spec' command fails during cephadm apply sec:

FATAL | Apply spec | controller-0 | error={"changed": true, "cmd": ["podman", "run", "--rm", "--net=host", "--ipc=host", "--volume", "/etc/ceph:/etc/ceph:z", "--volume", "/home/ceph-admin/assimilate_ceph.conf:/home/assimilate_ceph.conf:z", "--volume", "/home/ceph-admin/specs/ceph_spec.yaml:/home/ceph_spec.yaml:z", "--entrypoint", "ceph", "undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhceph:5-359", "--fsid", "a31e89b4-6770-5ace-a27d-25c7a6ceca7f", "-c", "/etc/ceph/ceph.conf", "-k", "/etc/ceph/ceph.client.admin.keyring", "orch", "apply", "--in-file", "/home/ceph_spec.yaml"], "delta": "0:00:04.483712", "end": "2023-02-01 09:42:00.286307", "msg": "non-zero return code", "rc": 22, "start": "2023-02-01 09:41:55.802595", "stderr": "Error EINVAL: Host ceph-0 (192.168.24.32) failed check(s): ['No time synchronization is active']", "stderr_lines": ["Error EINVAL: Host ceph-0 (192.168.24.32) failed check(s): ['No time synchronization is 	active']"], "stdout": "", "stdout_lines": []}


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Manoj Katari 2023-05-18 10:11:32 UTC
The FIV you mentioned "python3-tripleoclient-16.5.1-1.20230421001504.78730a3.el9ost.noarch" (same as https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=2475132)  doesn't have the ntp fix,  


We should use a compose with FIV "python-tripleoclient-16.5.1-1.20230505010953.534fe49.el9osttrunk"

Comment 4 Manoj Katari 2023-05-18 11:06:32 UTC
Here is the latest compose 17.1-RHEL-9/RHOS-17.1-RHEL-9-20230517.n.1 which has the fix

Comment 8 Filip HubĂ­k 2023-05-23 17:05:35 UTC
I can confirm the "Fixed in" packages python-tripleoclient-16.5.1-1.20230505010953.534fe49.el9ost tripleo-ansible-3.3.1-1.20230506001021.b6d4b94.el9ost provide the --ntp-server parameter which set up correctly passed the deployment stage. I am not sure whether the feature really delivers working time synchronization between nodes, that would require deeper checking with more context.

Comment 19 errata-xmlrpc 2023-08-16 01:13:59 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 (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), 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/RHEA-2023:4577