05-29-2020 05:18 PM
Hi,
Following the instructions to set up HaV3 on two CSRs in Azure 16.12.01a.
We install the guestshell then we are able to deploy the python package as per
However the ha service is unable to load, we have multiple times tried redeploying guest shell, this happens on botth nodes. Seems the HAv3 deployment package is broken and or missing elements.
Any help appreciated.
[guestshell@guestshell ~]$ sudo systemctl status csr_ha
● csr_ha.service - CSR High Availability service
Loaded: loaded (/etc/systemd/user/csr_ha.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Fri 2020-05-29 23:52:17 UTC; 22min ago
Process: 178 ExecStart=/home/guestshell/.local/lib/python2.7/site-packages/csr_ha/server/ha_server.py start (code=exited, status=1/FAILURE)
Main PID: 178 (code=exited, status=1/FAILURE)
/var/log/messages
May 29 23:52:17 localhost systemd: Started CSR High Availability service.
May 29 23:52:17 localhost systemd: Starting CSR High Availability service...
May 29 23:52:17 localhost ha_server.py: Traceback (most recent call last):
May 29 23:52:17 localhost ha_server.py: File "/home/guestshell/.local/lib/python2.7/site-packages/csr_ha/server/ha_server.py", line 6, in <module>
May 29 23:52:17 localhost ha_server.py: from node_mgr import NodeTable
May 29 23:52:17 localhost ha_server.py: File "/home/guestshell/.local/lib/python2.7/site-packages/csr_ha/server/node_mgr.py", line 4, in <module>
May 29 23:52:17 localhost ha_server.py: from csr_cloud.csr_cloud import csr_cloud as cloud
May 29 23:52:17 localhost ha_server.py: ImportError: No module named csr_cloud.csr_cloud
May 29 23:52:17 localhost systemd: csr_ha.service: main process exited, code=exited, status=1/FAILURE
May 29 23:52:17 localhost systemd: Unit csr_ha.service entered failed state.
May 29 23:52:17 localhost systemd: csr_ha.service failed.
May 29 23:52:17 localhost systemd: csr_ha.service holdoff time over, scheduling restart.
06-02-2020 01:04 PM - edited 06-02-2020 01:13 PM
Hi Chris,
BU is aware of this situation and is currently working on this, as workaround please use -
source ~/.bashrc pip install csr_azure_ha --user pip install azure-storage~=0.36.0 --user
pip install csr_azure_utils --user sudo systemctl start csr_ha systemctl status csr_ha
After this, csr_ha service should be active.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide