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

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

sphoredd
Cisco Employee
Cisco Employee

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

KJ Rossavik
Cisco Employee
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

KJ Rossavik
Cisco Employee
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.

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.

It worked. Thanks