cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
205
Views
0
Helpful
1
Replies

Getting below error while changing boot path on IOS device

gaubhatn
Cisco Employee
Cisco Employee

Hi All,

I used to change the boot path on IOS device by giving the below request using NSO and getting the response as "Success".

But today onwards I am getting the response as: "getInputStream() has already been called for this request" and its not switching the boot path.

Can some, please let me know how to fix the same.

REQUEST:

{

  "deviceRestRequests": [

    {

      "deviceIpOrName": "ios_193",

      "requestBody": "<config xmlns='http://tail-f.com/ns/ncs' xmlns:y='http://tail-f.com/ns/rest'  xmlns:ncs='http://tail-f.com/ns/ncs'><boot-marker xmlns='urn:ios'><boot><system><entry>switch all flash:/c3750e-universalk9-mz.122-55.SE11.bin;flash:/c3750e-universalk9-mz.122-55.SE10.bin</entry></system></boot></boot-marker></config>",

      "requestMethod": "PATCH",

      "async": false,

      "https": false

    }

  ]

}

1 Reply 1

Dan.Sullivan
Cisco Employee
Cisco Employee

Hi Gaurav,

Can you supply exactly how you make the REST call and any associated logs in NSO which might provide additional details regarding the error you are seeing.

-Dan