-
Bug
-
Resolution: Done
-
Normal
-
rhel-7.9.z
-
None
-
Moderate
-
rhel-sst-csi-client-tools
-
None
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
Description of problem:
When trying to use insights-client command line to update ansible hostname, it fails with the below error
~~~~
insights-client --ansible-host=xxxxxx.yyy.zzz
returns: Could not update Ansible hostname.
~~~~
Version-Release number of selected component (if applicable):
- insights-client --version
Client: 3.1.7
Core: 3.2.1-1
How reproducible:
Always
Additional info:
Below is the error which we get in the verbose output
2023-06-13 20:53:39,784 NETWORK insights.client.connection HTTP Status: 400 Bad Request
2023-06-13 20:53:39,784 NETWORK insights.client.connection HTTP Response Text: {"message":"Cloud request failed","headers":{},"response":"
\n"}
2023-06-13 20:53:39,785 NETWORK insights.client.connection HTTP Response Message: Cloud request failed
2023-06-13 20:53:39,785 DEBUG insights.client.connection Debug Information:
HTTP Status Code: 400
2023-06-13 20:53:39,785 DEBUG insights.client.connection HTTP Status Text: Bad Request
2023-06-13 20:53:39,786 ERROR insights.client.connection Could not update Ansible hostname.