Auditbot troubleshooting
I can't access auditbot view anymore, web console shows "Bad MAC"
This is a symptom that Auditbot Secure Storage got corrupted. It can happen if you try to change the passphrase of Auditbot through the UI for example.
We will have to reset the 4S passphrase of auditbot. To do so :
Stop the operator and edit auditbot pipe :
kubectl scale deploy/element-operator-controller-manager -n operator-onprem --replicas=0
kubectl edit statefulsets.apps first-element-deployment-auditbot-pipe -n element-onprem
- Add the following under
env
- name: AUDIT_FORCE_NEW_SSSS
value: "true"
Wait for the pipe to restart, check its logs, and check that you can login through the adminui.
Restart the operator :
kubectl scale deploy/element-operator-controller-manager -n operator-onprem --replicas=1
It will restart auditbot and it should now work properly.