-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unauthorized for url http://xxxx/api/dashboards/db, purge-dashboard not working #7265
Comments
i see
could you please share your inventory host ? |
@jeevadotnet i think it's because you are using the 'legacy' group name |
@jeevadotnet we probably need something like this https://github.com/ceph/ceph-ansible/blob/main/infrastructure-playbooks/cephadm-adopt.yml#L30-L34 in the purge-dashboard.yml playbook |
When using the legacy group name 'grafana-server', this playbook will run but won't remove properly all monitoring resources as expected. Fixes: #7265 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
It only strips node-explorer. Alertmanager, grafana server and prometheus stays behind running. I'm using
|
When using the legacy group name 'grafana-server', this playbook will run but won't remove properly all monitoring resources as expected. Fixes: #7265 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Bug Report
What happened:
Upgraded from octopus to pacific 16.2.10
And the dashboard no longer works, with ansible-playbook failing on:
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: http://10.102.73.89:3000/api/dashboards/db
I then try to purge the dashboard with the provided infrastructure playbook:
ansible-playbook -i /opt/ceph-ansible/inventory -e 'ansible_python_interpreter=/usr/bin/python3' infrastructure-playbooks/purge-dashboard.yml --limit=grafana-server
However this run successfully but does not remove all the containers as prescribed in the playbook. It only removes node-exporter but not grafana, prometheus, alertmanager
What you expected to happen:
For the dashboard elements all to be deleted & purged. So that I can redeploy it from site-container.yml --limit=grafana-server
How to reproduce it (minimal and precise):
Deploy
site-container.yml
to existing setup with a dashboardor
upgrade from octopus to pacific
or
purge-dashboard.yml
Share your group_vars files, inventory and full ceph-ansibe log
Anible-log for site-container --limit=grafana-server
ansible-log for purge-dashboard --limit=grafana-server
Group_vars
Environment:
Ubuntu 20.04.4 LTS
uname -a
):Linux B-03-11-cephctl 5.4.0-122-generic
docker version
):20.10.12
ansible-playbook --version
):2.9.27
git head or tag or stable branch
):stable-6.0
ceph -v
):16.2.10
The text was updated successfully, but these errors were encountered: