netapp / ansible-with-oncommand-api-services Goto Github PK
View Code? Open in Web Editor NEWRepository for Ansible modules for integration with NetApp's OnCommand API Services
License: BSD 3-Clause "New" or "Revised" License
Repository for Ansible modules for integration with NetApp's OnCommand API Services
License: BSD 3-Clause "New" or "Revised" License
The following is the error traceback on VolumeModule.py Post operation:
The full traceback is:
Traceback (most recent call last):
File "/var/folders/1z/tyxflh9s6sd58w26j76683k80000gn/T/ansible_WNcdhy/ansible_module_VolumeModule.py", line 1418, in
main()
File "/var/folders/1z/tyxflh9s6sd58w26j76683k80000gn/T/ansible_WNcdhy/ansible_module_VolumeModule.py", line 1410, in main
result=post()
File "/var/folders/1z/tyxflh9s6sd58w26j76683k80000gn/T/ansible_WNcdhy/ansible_module_VolumeModule.py", line 833, in post
json_response=response.json()
File "/Library/Python/2.7/site-packages/requests/models.py", line 892, in json
return complexjson.loads(self.text, **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
The API-S specification requires parameters count, prefix, job_schedule_key and snap_mirror_label to be submitted as query strings for POST & PUT (see swagger doc) - not within the payload as the SnapshotPolicyModule currently does. This causes the API to fail with HTTP 500.
This may be the case for other modules as well, I haven't checked yet.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.