Bug 2244354

Summary: Ceph deployment for dashboard is failing
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Sayalee <saraut>
Component: BuildAssignee: Ken Dreyer (Red Hat) <kdreyer>
Status: CLOSED ERRATA QA Contact: Vivek Das <vdas>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 7.0CC: cephqe-warriors, kdreyer, nia, tserlin, vdas
Target Milestone: ---Keywords: Automation, Regression
Target Release: 7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-18.2.0-91.el9cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-12-13 15:24:29 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:

Description Sayalee 2023-10-16 06:49:02 UTC
Description of problem:
=======================

When ceph boostrap is performed with dashboard enabled, it fails with error:

2023-10-16 09:36:46,404 (cephci.test_cephadm) [INFO] - cephci.Sanity.97.cephci.ceph.ceph.py:1558 - Running command cephadm --image registry-proxy.engineering.redhat.com/rh-osbs/rhceph:ceph-7.0-rhel-9-containers-candidate-37435-20231014225113 bootstrap --mon-ip 10.0.195.89 on 10.0.195.89 timeout 1800
2023-10-16 09:37:33,464 (cephci.test_cephadm) [ERROR] - cephci.Sanity.97.cephci.ceph.ceph.py:1594 - Error 1 during cmd, timeout 1800
2023-10-16 09:37:33,465 (cephci.test_cephadm) [ERROR] - cephci.Sanity.97.cephci.ceph.ceph.py:1595 - Traceback (most recent call last):
 File "/usr/lib64/python3.9/runpy.py", line 197, in _run_module_as_main
 return _run_code(code, main_globals, None,
 File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code
 exec(code, run_globals)
 File "/tmp/tmpeiq26id4.cephadm.build/__main__.py", line 10643, in <module>
 File "/tmp/tmpeiq26id4.cephadm.build/__main__.py", line 10631, in main
 File "/tmp/tmpeiq26id4.cephadm.build/__main__.py", line 2399, in _default_image
 File "/tmp/tmpeiq26id4.cephadm.build/__main__.py", line 6318, in command_bootstrap
 File "/tmp/tmpeiq26id4.cephadm.build/__main__.py", line 5736, in prepare_dashboard
 File "/tmp/tmpeiq26id4.cephadm.build/__main__.py", line 6244, in cli
 File "/tmp/tmpeiq26id4.cephadm.build/__main__.py", line 4542, in run
 File "/tmp/tmpeiq26id4.cephadm.build/__main__.py", line 2039, in call_throws
RuntimeError: Failed command: /usr/bin/podman run --rm --ipc=host --stop-signal=SIGTERM --net=host --entrypoint /usr/bin/ceph --init -e CONTAINER_IMAGE=registry-proxy.engineering.redhat.com/rh-osbs/rhceph:ceph-7.0-rhel-9-containers-candidate-37435-20231014225113 -e NODE_NAME=ceph-sanity-8kkjjc-viu9c4-node1-installer -e CEPH_USE_RANDOM_NONCE=1 -v /var/log/ceph/6cbaa29c-6bd9-11ee-aa9a-fa163e871c8e:/var/log/ceph:z -v /tmp/ceph-tmpfr73v3at:/etc/ceph/ceph.client.admin.keyring:z -v /tmp/ceph-tmpwike8n1c:/etc/ceph/ceph.conf:z registry-proxy.engineering.redhat.com/rh-osbs/rhceph:ceph-7.0-rhel-9-containers-candidate-37435-20231014225113 mgr module enable dashboard: Error ENOENT: module 'dashboard' reports that it cannot run on the active manager daemon: Frontend assets not found at '/usr/build/src/pybind/mgr/dashboard/frontend/dist': incomplete build? (pass --force to force enablement)



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

How reproducible:
=================
Always


Steps to Reproduce:
===================
1. Bootstrap a RHCS 7 cluster with dashboard enabled


Actual results:
===============
Bootstrap is failing when done with dashboard enabled


Expected results:
===============
Bootstrap should be successful

Comment 9 errata-xmlrpc 2023-12-13 15:24:29 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 Ceph Storage 7.0 Bug Fix update), 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:7780