Public bug reported: 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. ** Affects: nova Importance: Undecided Status: New -- 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): New 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp