.The dashboard can now be configured in a containerized cluster
Previously, in a containerized Ceph environment, the {product} dashboard failed because the `cephmetric-ansible` playbook failed to populate the container name. With this update, the playbook populates the container name, and the dashboard can be configured as expected.
Created attachment 1592578[details]
File contains playbook log, inventory file
Description of problem:
While configuring dashboard for containerized RHCS, playbook.yml failed at task "Prefix the mgr command with a docker command"
Version-Release number of selected component (if applicable):
cephmetrics-ansible-2.0.6-1.el7cp.x86_64
How reproducible:
Always(1/1)
Steps to Reproduce:
1. Follow doc to configuring dashboard for containerized RHCEPH
2. obsering while running playbook.yml
Actual results:
fatal: [magna094]: FAILED! => {"msg": "The conditional check 'container_name' failed. The error was: error while evaluating conditional (container_name): Unable to look up a name or access an attribute in template string ({% if ceph-mgr-magna094 %} True {% else %} False {% endif %}).\nMake sure your variable name does not contain invalid characters like '-': unsupported operand type(s) for -: 'StrictUndefined' and 'StrictUndefined'\n\nThe error appears to have been in '/usr/share/cephmetrics-ansible/roles/ceph-mgr/tasks/main.yml': line 26, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Prefix the mgr command with a docker command\n ^ here\n"}
Expected results:
Dashboard must get configured
Additional info:
Comment 1Giridhar Ramaraju
2019-08-05 13:06:13 UTC
Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate.
Regards,
Giri
Comment 2Giridhar Ramaraju
2019-08-05 13:08:55 UTC
Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate.
Regards,
Giri
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, 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-2019:3173
Created attachment 1592578 [details] File contains playbook log, inventory file Description of problem: While configuring dashboard for containerized RHCS, playbook.yml failed at task "Prefix the mgr command with a docker command" Version-Release number of selected component (if applicable): cephmetrics-ansible-2.0.6-1.el7cp.x86_64 How reproducible: Always(1/1) Steps to Reproduce: 1. Follow doc to configuring dashboard for containerized RHCEPH 2. obsering while running playbook.yml Actual results: fatal: [magna094]: FAILED! => {"msg": "The conditional check 'container_name' failed. The error was: error while evaluating conditional (container_name): Unable to look up a name or access an attribute in template string ({% if ceph-mgr-magna094 %} True {% else %} False {% endif %}).\nMake sure your variable name does not contain invalid characters like '-': unsupported operand type(s) for -: 'StrictUndefined' and 'StrictUndefined'\n\nThe error appears to have been in '/usr/share/cephmetrics-ansible/roles/ceph-mgr/tasks/main.yml': line 26, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Prefix the mgr command with a docker command\n ^ here\n"} Expected results: Dashboard must get configured Additional info: