cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
341
Views
0
Helpful
3
Replies
Highlighted
Cisco Employee

service failed start, Bad configuration: ncs.conf:304: rest cannot occur here as a child to 'ncs-config'.

Hi,

I upgraded NSO from 5.3 to 5.4 version, ncs service is failed to start with the following error:

Bad configuration: ncs.conf:304: rest cannot occur here as a child to 'ncs-config'.

Could someone help me fix this issue?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Cisco Employee

From the NSO 5.4 CHANGES file:
- rest-api: The REST API has been removed.
NOTE: When upgrading, any 'rest' specific configuration in the
ncs.conf file has to be removed.

View solution in original post

3 REPLIES 3
Highlighted
Cisco Employee

From the NSO 5.4 CHANGES file:
- rest-api: The REST API has been removed.
NOTE: When upgrading, any 'rest' specific configuration in the
ncs.conf file has to be removed.

View solution in original post

Highlighted

Should probably add that you need to move to RESTCONF instead of REST. Search this community for articles about what changes you need to make in your client payloads.
Highlighted

It worked. Thanks