Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The full traceback is:
- File "/tmp/ansible_4P6yCV/ansible_module_uri.py", line 468, in main
- uresp['location'] = absolute_location(url, uresp['location'])
- failed: [localhost] (item=(2, u'DIAG')) => {
- "changed": false,
- "connection": "close",
- "content": "{\"message\":\"Not found\"}",
- "content_length": "23",
- "content_type": "application/json; charset=UTF-8",
- "date": "Wed, 31 Jan 2018 21:39:01 GMT",
- "invocation": {
- "module_args": {
- "attributes": null,
- "backup": null,
- "body": {
- "name": "DIAG"
- },
- "body_format": "json",
- "client_cert": null,
- "client_key": null,
- "content": null,
- "creates": null,
- "delimiter": null,
- "dest": null,
- "directory_mode": null,
- "follow": false,
- "follow_redirects": "safe",
- "force": false,
- "force_basic_auth": true,
- "group": null,
- "headers": {
- "Authorization": "Basic cm9vdDpzZWNyZXQ=",
- "Content-Type": "application/json"
- },
- "http_agent": "ansible-httpget",
- "method": "POST",
- "mode": null,
- "owner": null,
- "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
- "regexp": null,
- "remote_src": null,
- "removes": null,
- "return_content": false,
- "return_result": true,
- "selevel": null,
- "serole": null,
- "setype": null,
- "seuser": null,
- "src": null,
- "status_code": [
- 200
- ],
- "timeout": 30,
- "unsafe_writes": null,
- "url": "http://grafana.gsm.svc.cluster.local.:3000/api/orgs/3",
- "url_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
- "url_username": "root",
- "use_proxy": true,
- "user": "root",
- "validate_certs": true
- }
- },
- "item": [
- 2,
- "DIAG"
- ],
- "json": {
- "message": "Not found"
- },
- "msg": "Status code was not [200]: HTTP Error 404: Not Found",
- "redirected": false,
- "status": 404,
- "url": "http://grafana.gsm.svc.cluster.local.:3000/api/orgs/3"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement