@@ -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
^$
@@ -234,6 +234,28 @@ Full method
234
234
235
235
grafana-cli admin reset-admin-password --password-from-stdin
236
236
237
+ .. note ::
238
+
239
+ If you see an error ``Error: ✗ could not read user from database. Error: user not found ``
240
+ from Grafana CLI, it means that the ID of ``grafana_local_admin ``
241
+ is not 1 (The default value used with password reset command).
242
+ You can find the ID of ``grafana_local_admin `` by accessing MariaDB.
243
+
244
+ .. code :: sql
245
+
246
+ # Enter MariaDB with
247
+ docker exec -u 0 -it mariadb bash
248
+ mysql grafana -p
249
+ # Enter database password when prompted
250
+
251
+ SELECT id,login FROM user WHERE login = "grafana_local_admin";
252
+
253
+ Once you get the ID, run the password reset with user-id option
254
+
255
+ .. code :: bash
256
+
257
+ grafana-cli admin reset-admin-password --user-id < id> --password-from-stdin
258
+
237
259
12. Update the MariaDB database password
238
260
239
261
1. Generate a new secret:
0 commit comments