Error while deploying image: TypeError: Argument must be bytes or unicode, got 'NoneType'

asked 2015-08-06 18:51:09 -0500

cuyler gravatar image

Juno release going pretty much by the book for a basic demo install in a VM. There are three other VM's serving as a Ceph store for both Glance and Cinder. I can create volumes and upload images without an issue. When I go to deploy an image I find the below. Any help or pointers would be gladly appreciated - I'm just trying to deploy a very simple cirros image. I see no warnings or errors in the glance or cinder logs.

Thank you.

==> nova-compute.log <==

2015-08-06 17:43:06.436 377 AUDIT nova.compute.manager [req-4999afdc-3009-432c-8251-bde03122cf25 None] [instance: b0efa28c-f6fc-4c9e-acae-3733f7bec3cd] Starting instance...
2015-08-06 17:43:06.588 377 AUDIT nova.compute.claims [-] [instance: b0efa28c-f6fc-4c9e-acae-3733f7bec3cd] Attempting claim: memory 512 MB, disk 1 GB
2015-08-06 17:43:06.596 377 AUDIT nova.compute.claims [-] [instance: b0efa28c-f6fc-4c9e-acae-3733f7bec3cd] Total memory: 3953 MB, used: 512.00 MB
2015-08-06 17:43:06.600 377 AUDIT nova.compute.claims [-] [instance: b0efa28c-f6fc-4c9e-acae-3733f7bec3cd] memory limit not specified, defaulting to unlimited
2015-08-06 17:43:06.601 377 AUDIT nova.compute.claims [-] [instance: b0efa28c-f6fc-4c9e-acae-3733f7bec3cd] Total disk: 11 GB, used: 0.00 GB
2015-08-06 17:43:06.608 377 AUDIT nova.compute.claims [-] [instance: b0efa28c-f6fc-4c9e-acae-3733f7bec3cd] disk limit not specified, defaulting to unlimited
2015-08-06 17:43:06.645 377 AUDIT nova.compute.claims [-] [instance: b0efa28c-f6fc-4c9e-acae-3733f7bec3cd] Claim successful

==> nova-conductor.log <==

2015-08-06 17:43:11.746 301 ERROR nova.scheduler.utils [req-4999afdc-3009-432c-8251-bde03122cf25 None] [instance: b0efa28c-f6fc-4c9e-acae-3733f7bec3cd] Error from last host: openstackvm (node openstackvm): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2054, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2185, in _build_and_run_instance\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', u"RescheduledException: Build of instance b0efa28c-f6fc-4c9e-acae-3733f7bec3cd was re-scheduled: Argument must be bytes or unicode, got 'NoneType'\n"]

==> nova-compute.log <==

2015-08-06 17:43:12.785 377 INFO nova.scheduler.client.report [-] Compute_service record updated for ('openstackvm', 'openstackvm')
2015-08-06 17:43:13.295 377 INFO nova.virt.libvirt.driver [-] [instance: b0efa28c-f6fc-4c9e-acae-3733f7bec3cd] Creating image
2015-08-06 17:43:15.678 377 ERROR nova.compute.manager [-] [instance: b0efa28c-f6fc-4c9e-acae-3733f7bec3cd] Instance failed to spawn
2015-08-06 17:43:15.678 377 TRACE nova.compute.manager [instance: b0efa28c-f6fc-4c9e-acae-3733f7bec3cd] Traceback (most recent call last):
2015-08-06 17:43:15.678 377 TRACE nova.compute.manager [instance: b0efa28c-f6fc-4c9e-acae-3733f7bec3cd]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2267, in _build_resources
2015-08-06 17:43:15.678 377 TRACE nova.compute.manager [instance: b0efa28c-f6fc-4c9e-acae-3733f7bec3cd]     yield resources
2015-08-06 17:43:15.678 377 TRACE nova.compute.manager [instance: b0efa28c-f6fc-4c9e-acae-3733f7bec3cd]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2137, in _build_and_run_instance
2015-08-06 17:43:15.678 377 TRACE nova.compute.manager [instance: b0efa28c-f6fc-4c9e-acae-3733f7bec3cd]     block_device_info=block_device_info)
2015-08-06 17:43:15.678 377 TRACE nova.compute.manager [instance: b0efa28c-f6fc-4c9e-acae-3733f7bec3cd]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2620, in spawn
2015-08-06 17:43:15.678 377 TRACE nova.compute.manager [instance: b0efa28c-f6fc-4c9e-acae-3733f7bec3cd]     write_to_disk=True)
2015-08-06 17:43:15.678 377 TRACE ...
(more)
edit retag flag offensive close merge delete