Bug 1931365 - ceph-dashboard : create dashboard admin user fails with: Missing CNI default network
Summary: ceph-dashboard : create dashboard admin user fails with: Missing CNI default ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 4.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.2z1
Assignee: Guillaume Abrioux
QA Contact: Ameena Suhani S H
URL:
Whiteboard:
Depends On:
Blocks: 1760354
TreeView+ depends on / blocked
 
Reported: 2021-02-22 09:37 UTC by Francesco Pantano
Modified: 2021-05-27 07:00 UTC (History)
15 users (show)

Fixed In Version: ceph-ansible-4.0.49-1.el8cp, ceph-ansible-4.0.49-1.el7cp
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-28 20:13:19 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 6302 0 None closed dashboard: add missing parameter in `ceph_cmd` 2021-03-02 06:42:45 UTC
Github ceph ceph-ansible pull 6303 0 None open dashboard: add missing parameter in `ceph_cmd` (bp #6302) 2021-03-02 06:42:28 UTC
Red Hat Product Errata RHSA-2021:1452 0 None None None 2021-04-28 20:13:42 UTC

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


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