How to reset KATA web Administrator password in KATA 5.0 [KATA/KEDRE]
Problem
No option to change Local Administrator/Cluster Administrator in pseudo-graphic menu available by default .
Solution
a) Upgrade to 5.1
b) Follow steps:
- Download an archive with WHL packets.
-
Upload it to KATA CN to
/tmp/change_password.zip
-
Extract (we have no unzip shipped by default):
echo -e
"import zipfile\nwith zipfile.ZipFile('/tmp/change_password.zip', 'r') as z:\n z.extractall('/tmp/')"
| python3
-
Become root:
sudo su
-
Confirm this is a right node:
docker ps | grep kedr_database_server
-
Install installer patch:
installer-1.0-py3-none-any.whlpip3 install --ignore-installed --no-deps /tmp/installer-
1.0
-py3-none-any.whl
-
Install docker_utils patch:
docker_utils-1.0-py3-none-any.whlpip3 install --ignore-installed --no-deps /tmp/docker_utils-
1.0
-py3-none-any.whl
-
Restrict changing password to root:
which kata-web-admin-change-password | xargs chmod
754
-
Change password by running:
kata-web-admin-change-password
- Enter new password in the prompt, no confirmations or validation will be given
Selecting the correct node
Script must be executed on a node with kedr_database_server container, by default it is the processing one installed first, node2 in cluster.
In case it is executed on a wrong node, a hint will be given which is a right one.
0 Comments
Recommended Comments
There are no comments to display.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now