In version: 2011.3-dev (2011.3-workspace:tarmac-20110602174653-azonyll6ctjjtxvf)
Commenting the "request_spec" argument makes it work: rpc.cast(context, FLAGS.scheduler_topic, {"method": "run_instance", "args": {"topic": FLAGS.compute_topic, "instance_id": instance_id, #"request_spec": { # 'instance_type': instance_type, # 'filter': # 'nova.scheduler.host_filter.' # 'InstanceTypeFilter', #}, "availability_zone": availability_zone, "injected_files": injected_files, "admin_password": admin_password, }, })
See link for a possible explanation of the exception: http://stackoverflow.com/questions/455580/json-datetime-between-python-and-javascript/2680060#2680060
In version: workspace: tarmac- 20110602174653- azonyll6ctjjtxv f)
2011.3-dev (2011.3-
Commenting the "request_spec" argument makes it work: cast(context,
FLAGS.scheduler _topic,
{"method" : "run_instance",
"args" : {"topic": FLAGS.compute_ topic,
"instance_ id": instance_id,
#"request_ spec": {
# 'instance_type': instance_type,
# 'filter':
# 'nova.scheduler .host_filter. '
# 'InstanceTypeFi lter',
#},
"availabilit y_zone" : availability_zone,
"injected_ files": injected_files,
"admin_ password" : admin_password,
},
})
rpc.
See link for a possible explanation of the exception: stackoverflow. com/questions/ 455580/ json-datetime- between- python- and-javascript/ 2680060# 2680060
http://