Problem: 'Get Support' page yields 409 errors when an instance in the user's allocation is shelved
Problem/Opportunity Statement
Tyson reported an issue with https://jetstream2.exosphere.app/exosphere/getsupport --
When he filled in his request and got the text back for the email message, it had:
Recent Log Messages
DEBUG at 2022-04-28 15:15:37 UTC -- while trying to request console log for server 3b65f202-c19a-439d-b5f3-f56cb10ff00f -- Instance 3b65f202-c19a-439d-b5f3-f56cb10ff00f is not ready (response code: 409)
That instance showed shelved in openstack at that moment: 3b65f202-c19a-439d-b5f3-f56cb10ff00f | morally_saving_jaguar | SHELVED_OFFLOADED
What would success / a fix look like?
The console log request function should ignore any shelved, stopped, or suspended instances as they will not yield a console log.