'After the service is initialized, but before we fully bring
the service up by listening on RPC queues, make sure to update
our available resources (and indirectly our available nodes).'

def pre_start_hook(self):

    self.update_available_resource(nova.context.get_admin_context(), startup=True)
