yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #16558
[Bug 1281014] Re: unfriendly user experience if no valid host selected in nova scheduler
The resize call (and many others) are asynchronous. 202 just means that
the request has been accepted, not that it has succeeded. The API
returns to the client before the resize is attempted - it doesn't know
if it is going to succeed or not.
In order to determine if the resize succeeded you need to poll - either
through the instance actions interface or with the upcoming tasks api
** Changed in: nova
Status: In Progress => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1281014
Title:
unfriendly user experience if no valid host selected in nova scheduler
Status in OpenStack Compute (Nova):
Invalid
Bug description:
nova version: 2.15.0
If no enough resource available on any computer node, command like 'nova resize instancevm 100' will exit silently with no enough error or warning message.
Users can be confused, not knowing what's wrong and what to do next.
Although, there is warning message in /var/log/conductor.log as follows, not much user can find it easily:
2014-02-17 03:43:29.000 6320 WARNING nova.scheduler.utils [req-c0d5f130-c5a9-41b7-8fe4-4d08be4cc774 9ed1534f040c43e98293f6bc6b632e96 bd5848810607480d968b6d1ca9a36637] Failed to compute_task_migrate_server: No valid host was found.
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/common.py", line 420, in catch_client_exception
return func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/nova/scheduler/manager.py", line 298, in select_destinations
filter_properties)
File "/usr/lib/python2.6/site-packages/nova/scheduler/filter_scheduler.py", line 148, in select_destinations
raise exception.NoValidHost(reason='')
NoValidHost: No valid host was found.
It's better to report some error or warning message if such situation
happens.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1281014/+subscriptions
References