ceph-ansible fails with "you must set dashboard_admin_password and grafana_admin_password."

Bug #1867973 reported by Francesco Pantano
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Undecided
Francesco Pantano

Bug Description

During the overcloud deployment with ceph dashboard enabled, the playbook fails during the execution of "ceph-validate" role.
In particular, the task that double check that both grafana and dashboard admin password are set fails.
Passing the dashboard related template (-e /usr/share/openstack-tripleo-heat-templates/environment/ceph-dashboard.yaml) to the overcloud, we can see all the expected parameters in ceph-ansible workdir are set (included grafana and dashboard admin credentials).

Changed in tripleo:
assignee: nobody → Francesco Pantano (fmount)
Changed in tripleo:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/713706
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=ebe1a40fb94f35f90972a675d4998bb50fb6f752
Submitter: Zuul
Branch: master

commit ebe1a40fb94f35f90972a675d4998bb50fb6f752
Author: Francesco Pantano <email address hidden>
Date: Wed Mar 18 18:53:48 2020 +0100

    Move ceph-ansible required variables in the main group

    ceph-ansible v4.0.16 introduced some changes to double check
    the ceph dashboard and grafana passwords exist, are properly
    generated and are not defaults values.
    However, the constraint introduced forced tripleo to put
    these variables in all.yaml instead of distributing them on
    the related roles (mgr and grafana-server).
    This change moves these variables in ceph-base, since here
    we're able to generate the ceph_ansible_group_vars_all.

    Closes-Bug: #1867973
    Change-Id: I7a1ce4ba4ac358733747e9301038d0245ae08016

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/713959

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/train)

Reviewed: https://review.opendev.org/713959
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=52a3f896de217275721adb8940d4fbb68685fe1f
Submitter: Zuul
Branch: stable/train

commit 52a3f896de217275721adb8940d4fbb68685fe1f
Author: Francesco Pantano <email address hidden>
Date: Wed Mar 18 18:53:48 2020 +0100

    Move ceph-ansible required variables in the main group

    ceph-ansible v4.0.16 introduced some changes to double check
    the ceph dashboard and grafana passwords exist, are properly
    generated and are not defaults values.
    However, the constraint introduced forced tripleo to put
    these variables in all.yaml instead of distributing them on
    the related roles (mgr and grafana-server).
    This change moves these variables in ceph-base, since here
    we're able to generate the ceph_ansible_group_vars_all.

    Closes-Bug: #1867973
    Change-Id: I7a1ce4ba4ac358733747e9301038d0245ae08016
    (cherry picked from commit ebe1a40fb94f35f90972a675d4998bb50fb6f752)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 12.2.0

This issue was fixed in the openstack/tripleo-heat-templates 12.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 11.4.0

This issue was fixed in the openstack/tripleo-heat-templates 11.4.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.