Unable to add disk to Panorama from API / SDK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to add disk to Panorama from API / SDK

L0 Member

Im unable to add disks attached to my Panorama instance from the xml api.
I used the provided request from the xml api browser

 

<request><system><disk><add>sdd</add></disk></system></request>


I tried the same from the Python SDK using the "op" function
also tried Ansible using the op command as well.
None worked all return the same issue:

<response status="error">
    <msg>
        <line>An error occured. See dagger.log for information.</line>
    </msg>
</response>

From reading dagger.log i can get only this

2024-11-20 07:19:14.347 -0800 OPCMD: handler "panlogs_vld_mgr_handler.add"
2024-11-20 07:19:14.347 -0800 Error:  dag_pyif_call_method(dagger_pyif.c:260): Method not found (add_xml)

------

I tried adding them manually from the CLI using:

request system disk add sdd


and it worked successfully, but I need to have this step automated for future deploys.

Am I missing something here thats causing the error?? has anyone encounter anything similar ? 


0 REPLIES 0
  • 206 Views
  • 0 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!