'Refresh server\'s attributes.
Also log warnings for non-critical API errors.'

def refresh_server(self, server):

    try:
        server.get()
    except exceptions.OverLimit as exc:
        LOG.warning('Server    %(name)s    (%(id)s)    received    an    OverLimit    response    during    server.get():    %(exception)s', {'name': server.name, 'id': server.id, 'exception': exc})
    except exceptions.ClientException as exc:
        if (getattr(exc, 'http_status', getattr(exc, 'code', None)) in (500, 503)):
            LOG.warning('Server    "%(name)s"    (%(id)s)    received    the    following    exception    during    server.get():    %(exception)s', {'name': server.name, 'id': server.id, 'exception': exc})
        else:
            raise
