Problems scheduling across zones
I have been unable to get the distributed scheduler to successfully activate instances across zones. Looking at the logs for nova-scheduler, I see some errors that look suspicious, but I don't know what to make of them. After running "nova zone-boot --flavor 1 --image 5 zone-kvm1", I see the following in nova-scheduler.log:
2011-10-28 09:31:38,476 DEBUG nova.rpc [-] unpacked context: {'user_id': u'ostack', 'roles': [], 'timestamp': u'2011-
oken': None, 'msg_id': None, 'remote_address': u'127.0.0.1', 'strategy': u'noauth', 'is_admin': True, 'request_id': u'07c6275f-
da2d6e', 'project_id': u'mgmt', 'read_deleted': False} from (pid=12030) _unpack_context /usr/lib/
2011-10-28 09:31:38,478 WARNING nova.scheduler.
2011-10-28 09:31:38,482 ERROR nova.rpc [-] Exception during message handling
(nova.rpc): TRACE: Traceback (most recent call last):
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: rval = node_func(
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: host = real_meth(*args, **kwargs)
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: raise driver.
(nova.rpc): TRACE: NoValidHost: Scheduler was unable to locate a host for this request. Is the appropriate service running?
(nova.rpc): TRACE:
The child zone has been discovered successfully:
root@vela:
+----+-
| ID | Name | Is Active | API URL | Weight Offset | Weight Scale |
+----+-
| 1 | zone1 | True | http://
+----+-
Version information and config file:
root@vela:
2011.3 (2011.3-
root@vela:
--dhcpbridge_
--dhcpbridge=
--flat_
--network_
--flat_
--flat_
--public_
--logdir=
--state_
--lock_
--verbose
--sql_connectio
--ec2_api=
--ec2_url=http://
--network_
--rabbit_
--glance_
--image_
--zone_name=master
--allow_
--scheduler_
#--scheduler_
--enable_
#--zone_capabilties
Has anyone encountered this before? I've seen this same behavior in the Diablo packages shipped with Ubuntu 11.10.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Ryan Tidwell for more information if necessary.