Bug 1931365

Summary: ceph-dashboard : create dashboard admin user fails with: Missing CNI default network
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Francesco Pantano <fpantano>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: Ameena Suhani S H <amsyedha>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.2CC: alfrgarc, anharris, aschoen, ceph-eng-bugs, gabrioux, gfidente, gmeno, johfulto, mmanjuna, nthomas, pasik, tserlin, vereddy, ykaul, yrabl
Target Milestone: ---   
Target Release: 4.2z1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-ansible-4.0.49-1.el8cp, ceph-ansible-4.0.49-1.el7cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-28 20:13:19 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: 1760354    

Description Francesco Pantano 2021-02-22 09:37:43 UTC
Description of problem:

Both ceph-ansible-v4.0.46 and v4.0.48 fail with the following error:


 "TASK [ceph-dashboard : create dashboard admin user] ****************************",                                                                                                                                                                                                                     

        "task path: /usr/share/ceph-ansible/roles/ceph-dashboard/tasks/configure_dashboard.yml:171",                                                                                                                                                                                                            
        "Friday 19 February 2021  16:55:29 +0000 (0:00:00.084)       0:17:30.737 ******* ",                                                                                                                                                                                                                     
        "FAILED - RETRYING: create dashboard admin user (6 retries left).",                                                                                                                                                                                                                                     
        "FAILED - RETRYING: create dashboard admin user (5 retries left).",                                                                                                                                                                                                                                     
        "FAILED - RETRYING: create dashboard admin user (4 retries left).",                                                                                                                                                                                                                                     
        "FAILED - RETRYING: create dashboard admin user (3 retries left).",                                                                                                                                                                                                                                     
        "FAILED - RETRYING: create dashboard admin user (2 retries left).",                                                                                                                                                                                                                                     
        "FAILED - RETRYING: create dashboard admin user (1 retries left).",                                                                                                                                                                                                                                     
        "fatal: [controller-0 -> 192.168.24.43]: FAILED! => {\"attempts\": 6, \"changed\": true, \"cmd\": [\"timeout\", \"--foreground\", \"-s\", \"KILL\", \"10\", \"podman\", \"run\", \"--interactive\", \"--rm\", \"-v\", \"/etc/ceph:/etc/ceph:z\", \"--entrypoint=ceph\", \"undercloud-0.ctlplane.redhat.lo
cal:8787/ceph/ceph-4.2-rhel-8:latest\", \"--cluster\", \"RGWGanesha0\", \"dashboard\", \"ac-user-create\", \"-i\", \"-\", \"admin\"], \"delta\": \"0:00:00.167141\", \"end\": \"2021-02-19 16:56:02.157314\", \"msg\": \"non-zero return code\", \"rc\": 126, \"start\": \"2021-02-19 16:56:01.990173\", \"stderr
\": \"Error: error configuring network namespace for container b8ec913db1fb694ae683faf202680de7a59c714a004e533aba87e8503d29261f: Missing CNI default network\", \"stderr_lines\": [\"Error: error configuring network namespace for container b8ec913db1fb694ae683faf202680de7a59c714a004e533aba87e8503d29261f: Missing CNI default network\"], \"stdout\": \"\", \"stdout_lines\": []}",  


The dashboard is enabled and available on the specified port but it's not properly configured.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 15 errata-xmlrpc 2021-04-28 20:13:19 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 (Important: Red Hat Ceph Storage security, bug fix, and enhancement 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/RHSA-2021:1452