[sdk]: Check instance error message

dmeng dmeng at uvic.ca
Tue Nov 16 17:55:32 UTC 2021


Hello there,

Hope everything is going well.

I'm wondering if there is any method that could check the error message 
of an instance whose status is "ERROR"? Like from openstack cli, 
"openstack server show server_name", if the server is in "ERROR" status, 
this will return a field "fault" with a message shows the error. I tried 
the compute service get_server and find_server, but neither of them show 
the error messages of an instance.

Thanks and have a great day!
Catherine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20211116/ee7d704f/attachment.htm>


More information about the openstack-discuss mailing list