cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
231
Views
0
Helpful
1
Replies
Highlighted
Beginner

Azure HAv3 not working

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 

 

https://www.cisco.com/c/en/us/td/docs/routers/csr1000/software/configuration/b_CSR1000v_Configuration_Guide/b_CSR1000v_Configuration_Guide_chapter_010111.html

 

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.

1 REPLY 1
Highlighted
Cisco Employee

Re: Azure HAv3 not working

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.

 

This widget could not be displayed.