@@ -74,7 +74,7 @@ Full method
7474 the state of the cloud before any changes are made
7575
76762. Edit your Kolla-Ansible checkout to include changes not yet included
77- upstream.
77+ upstream.
7878
7979.. _kolla-change :
8080
@@ -98,7 +98,7 @@ Full method
9898 .. code :: bash
9999
100100 git fetch https://review.opendev.org/openstack/kolla-ansible refs/changes/78/903178/2 && git cherry-pick FETCH_HEAD
101-
101+
102102 3. Re-install Kolla-Ansible from source in your Kolla-Ansible Python
103103 environment
104104
@@ -129,7 +129,7 @@ Full method
129129 ^redis_master_password
130130 ^memcache_secret_key
131131 _ssh_key
132-
132+
133133 private_key
134134 public_key
135135 ^$
@@ -222,17 +222,32 @@ Full method
222222
223223 2. Update the value of ``grafana_admin_password `` in ``passwords.yml ``
224224
225- 3. Exec into the Grafana container on a controller
225+ 3. Exec into the MariaDB container on a controller then login to MariaDB
226+
227+ .. code :: bash
228+
229+ sudo docker exec -u 0 -it mariadb bash
230+ (mariadb) mysql grafana -p
231+ # Enter database password when prompted
232+
233+ 4. Query for the ID of ``grafana_local_admin ``
234+
235+ .. code :: sql
236+
237+ SELECT id,login FROM user WHERE login = "grafana_local_admin";
238+ # Take a note of this ID
239+
240+ 5. Exec into the Grafana container on a controller
226241
227242 .. code :: bash
228243
229244 sudo docker exec -it grafana bash
230245
231- 4 . Run the password reset command, then enter the new password
246+ 6 . Run the password reset command, then enter the new password
232247
233248 .. code :: bash
234249
235- grafana-cli admin reset-admin-password --password-from-stdin
250+ grafana-cli admin reset-admin-password --user-id < id > -- password-from-stdin
236251
237252 12. Update the MariaDB database password
238253
0 commit comments