These are chat archives for allegro/ralph

3rd
Dec 2017
Gregory Shulov
@GR360RY
Dec 03 2017 19:54

I am writing Ansible module for Ralph DC Assets and I have an issue with patching existing assets ( POST and GET are working as expected ). When attempting say to change hostname by PATCH
{"hostname": "new_host"}, the returned status is 200 but data is not changing. The change also doesn't appear in json response. I am trying to patch the asset directly by using the next url: https://dcim.example.com/api/data-center-assets/804/

Any ideas ?