RHCS upgrade fails while creating dashboard admin user

Solution Verified - Updated -

Issue

  • RHCS upgrade fails while creating dashboard admin user.
  • While upgrading from RHCS4 to RHCS5, fails to create the dashboard admin user:
2021-11-30 22:15:12,832 p=31170 u=ansible n=ansible | TASK [ceph-dashboard : create dashboard admin user] **************************************************************************************************************************
2021-11-30 22:15:29,843 p=31170 u=ansible n=ansible | fatal: [node1 -> node1]: FAILED! => changed=false
  cmd:
  - podman
  - run
  - --interactive
  - --rm
  - --net=host
  - -v
  - /etc/ceph:/etc/ceph:z
  - -v
  - /var/lib/ceph/:/var/lib/ceph/:z
  - -v
  - /var/log/ceph/:/var/log/ceph/:z
  - --entrypoint=ceph
  - registry.********.io/rhceph/rhceph-5-rhel8:latest
  - -n
  - client.admin
  - -k
  - /etc/ceph/ceph.client.admin.keyring
  - --cluster
  - ceph
  - dashboard
  - ac-user-set-password
  - -i
  - '-'
  - admin
  delta: '0:00:16.451613'
  end: '2021-11-30 22:15:29.796302'
  invocation:
    module_args:
      cluster: ceph
      name: admin
      password: VALUE_SPECIFIED_IN_NO_LOG_PARAMETER
      roles:
      - administrator
      state: present
  rc: 22
  start: '2021-11-30 22:15:13.344689'
  stderr: 'Error EINVAL: Password is too weak.'
  stderr_lines: <omitted>
  stdout: ''
  stdout_lines: <omitted>

Environment

  • Red Hat Ceph Storage 4.
  • ceph-ansible

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content