This exception is thrown by the RGW client function _determine_rgw_addr(). Without catching that exception a 'The server encountered an unexpected condition which prevented it from fulfilling the request.' will be displayed in the UI instead of displaying a notification panel with a hint that the Object Gateway is not running.
Fixes: https://tracker.ceph.com/issues/35921
Signed-off-by: Volker Theile <vtheile@suse.com>
instance.userid)
raise RequestException(status['message'])
status['available'] = True
- except RequestException:
+ except (RequestException, LookupError):
pass
return status