cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1494
Views
0
Helpful
3
Replies

% Virtual service csr_mgmt install has not completed, please activate

sachin30720041
Level 1
Level 1

Hello,

 

I executed the following commands to activate the restapi on Cisco CSR.

But I CSR threw the following error.

 

% Virtual service csr_mgmt install has not completed, please activate the VM after install is completed

 

How to fix this?

 

Thanks,

Sachin

3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame

not sure what you are trying here ? if you installing virtual service

 

then look at this document :

https://medium.com/@what_if/cisco-cloud-services-router-csr-1000v-restful-api-wont-start-29e368efcfb3

 

if that is not the case explain more about your issue ?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

mergiraldo1
Level 1
Level 1

What he is trying to do is the same thing I am doing.

 

I am trying to connect to my CSR1000 (hosted in AWS) via APIs using postman to enable I did the following:

 

CSR1000(config)#ip HTTP secure-server
CSR1000(config)#restconf
CSR1000(config)#netconf-yang
CSR1000(config)#ip HTTP authentication aaa
CSR1000#sh run | se remote-management
remote-management
restful-api autosave 60 local-port 443

CSR1000(config)#virtual-service csr_mgmt
CSR1000(config-virt-serv)#no activate
CSR1000(config-virt-serv)#ip shared host-interface GigabitEthernet3
CSR1000(config-virt-serv)#activate
% Virtual service csr_mgmt install has not completed, please activate the VM after install is completed

When I hit the command activate, the output is the one above, which is something I don't understand why it is happening.

 

on the other hand, when I tried to access via the browser the router in question, it did let me in, but when I tried the following get from POSTMAN the result was 404 Not Found:

 

GET

https://<ipaddress>:443/resconf/data/ietf-interfaces:interfaces/interface=GigabitEthernet1

I have the same issue, supprised there is no answer yet to this one see;

https://forum.networklessons.com/t/introduction-to-rest-api/8357/18