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

intersight ansible test account

Dragomir
Level 1
Level 1

I am trying to understand the initial setup of intersight and cloned this repo

 

https://github.com/ucs-compute-solutions/FlashStack_IMM_Ansible

 

I created a account on intersight.com and generated my API keys

then updated the credentials on the git repo 

 

but when i run it it says

 

The full traceback is:
File "/var/folders/_f/psbm0b654t9c729qy7r_xl240000gn/T/ansible_intersight_rest_api_payload_k1x5jwg8/ansible_intersight_rest_api_payload.zip/ansible_collections/cisco/intersight/plugins/module_utils/intersight.py", line 243, in call_api
raise RuntimeError(info['status'], info['msg'], info['body'])
fatal: [localhost -> localhost]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"api_body": null,
"api_key_id": "xxxxxxx",
"api_private_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"api_uri": "https://intersight.com/api/v1",
"list_body": null,
"query_params": {
"$filter": "Name eq 'default'"
},
"resource_path": "/organization/Organizations",
"return_list": false,
"state": "present",
"update_method": "patch",
"use_proxy": true,
"validate_certs": true
}
},
"msg": "API error: 'body' "
}

 

any idea?

1 Reply 1

Brian Morrissey
Cisco Employee
Cisco Employee

Can you curl from your machine to https://intersight.com and do you receive Intersight related html or a block page from an internal proxy?  That's the only time I've seen it fail there