@@ -74,7 +74,7 @@ Full method
74
74
the state of the cloud before any changes are made
75
75
76
76
2. Edit your Kolla-Ansible checkout to include changes not yet included
77
- upstream.
77
+ upstream.
78
78
79
79
.. _kolla-change :
80
80
@@ -98,7 +98,7 @@ Full method
98
98
.. code :: bash
99
99
100
100
git fetch https://review.opendev.org/openstack/kolla-ansible refs/changes/78/903178/2 && git cherry-pick FETCH_HEAD
101
-
101
+
102
102
3. Re-install Kolla-Ansible from source in your Kolla-Ansible Python
103
103
environment
104
104
@@ -129,7 +129,7 @@ Full method
129
129
^redis_master_password
130
130
^memcache_secret_key
131
131
_ssh_key
132
-
132
+
133
133
private_key
134
134
public_key
135
135
^$
@@ -222,17 +222,32 @@ Full method
222
222
223
223
2. Update the value of ``grafana_admin_password `` in ``passwords.yml ``
224
224
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
226
241
227
242
.. code :: bash
228
243
229
244
sudo docker exec -it grafana bash
230
245
231
- 4 . Run the password reset command, then enter the new password
246
+ 6 . Run the password reset command, then enter the new password
232
247
233
248
.. code :: bash
234
249
235
- grafana-cli admin reset-admin-password --password-from-stdin
250
+ grafana-cli admin reset-admin-password --user-id < id > -- password-from-stdin
236
251
237
252
12. Update the MariaDB database password
238
253
0 commit comments