Ask Your Question
0

ERROR nova.compute.manager [-] [instance: Failure prepping block device

asked 2015-02-28 13:56:42 -0600

sumit.kau gravatar image

Instance failed to create with the below errors in Juno release using RHEL7 KVM as compute node.

2015-02-28 23:12:05.712 3015 INFO nova.scheduler.client.report [-] Compute_service record updated for ('host7.rhel.com', 'host7.rhel.com') 2015-02-28 23:12:05.967 3015 ERROR nova.compute.manager [-] [instance: ba28b3bf-e68a-4cca-bf61-ca36ef60b27a] Failure prepping block device 2015-02-28 23:12:05.967 3015 TRACE nova.compute.manager [instance: ba28b3bf-e68a-4cca-bf61-ca36ef60b27a] Traceback (most recent call last): 2015-02-28 23:12:05.967 3015 TRACE nova.compute.manager [instance: ba28b3bf-e68a-4cca-bf61-ca36ef60b27a] File "/usr/lib/python2.7/site-packages/nova/compute/manager.p y", line 2211, in _build_resources 2015-02-28 23:12:05.967 3015 TRACE nova.compute.manager [instance: ba28b3bf-e68a-4cca-bf61-ca36ef60b27a] block_device_mapping) 2015-02-28 23:12:05.967 3015 TRACE nova.compute.manager [instance: ba28b3bf-e68a-4cca-bf61-ca36ef60b27a] File "/usr/lib/python2.7/site-packages/nova/compute/manager.p y", line 1780, in _default_block_device_names 2015-02-28 23:12:05.967 3015 TRACE nova.compute.manager [instance: ba28b3bf-e68a-4cca-bf61-ca36ef60b27a] instance.save() 2015-02-28 23:12:05.967 3015 TRACE nova.compute.manager [instance: ba28b3bf-e68a-4cca-bf61-ca36ef60b27a] File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 189, in wrapper 2015-02-28 23:12:05.967 3015 TRACE nova.compute.manager [instance: ba28b3bf-e68a-4cca-bf61-ca36ef60b27a] ctxt, self, fn.__name__, args, kwargs) 2015-02-28 23:12:05.967 3015 TRACE nova.compute.manager [instance: ba28b3bf-e68a-4cca-bf61-ca36ef60b27a] File "/usr/lib/python2.7/site-packages/nova/conductor/rpcapi. py", line 351, in object_action 2015-02-28 23:12:05.967 3015 TRACE nova.compute.manager [instance: ba28b3bf-e68a-4cca-bf61-ca36ef60b27a] objmethod=objmethod, args=args, kwargs=kwargs) 2015-02-28 23:12:05.967 3015 TRACE nova.compute.manager [instance: ba28b3bf-e68a-4cca-bf61-ca36ef60b27a] File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/cli ent.py", line 152, in call 2015-02-28 23:12:05.967 3015 TRACE nova.compute.manager [instance: ba28b3bf-e68a-4cca-bf61-ca36ef60b27a] retry=self.retry) 2015-02-28 23:12:05.967 3015 TRACE nova.compute.manager [instance: ba28b3bf-e68a-4cca-bf61-ca36ef60b27a] File "/usr/lib/python2.7/site-packages/oslo/messaging/transpo rt.py", line 90, in _send 2015-02-28 23:12:05.967 3015 TRACE nova.compute.manager [instance: ba28b3bf-e68a-4cca-bf61-ca36ef60b27a] timeout=timeout, retry=retry) 2015-02-28 23:12:05.967 3015 TRACE nova.compute.manager [instance: ba28b3bf-e68a-4cca-bf61-ca36ef60b27a] File "/usr/lib/python2.7/site-packages/oslo/messaging/_driver s/amqpdriver.py", line 408, in send 2015-02-28 23:12:05.967 3015 TRACE nova.compute.manager [instance: ba28b3bf-e68a-4cca-bf61-ca36ef60b27a] retry=retry) 2015-02-28 23:12:05.967 3015 TRACE nova.compute.manager [instance: ba28b3bf-e68a-4cca-bf61-ca36ef60b27a] File "/usr/lib/python2.7/site-packages/oslo/messaging/_driver s/amqpdriver.py", line 399, in _send 2015-02-28 23:12:05.967 3015 TRACE nova.compute.manager [instance: ba28b3bf-e68a-4cca-bf61-ca36ef60b27a] raise result 2015-02-28 23:12:05.967 3015 TRACE nova.compute.manager [instance: ba28b3bf-e68a-4cca-bf61-ca36ef60b27a] RemoteError: Remote error: OperationalError (OperationalError) (1048, "Column 'instance_uuid' cannot be null") 'UPDATE instance_extra SET updated_at=%s, instance_uuid=%s WHERE instance_extra.id = %s' (datetime.datetime(2015, 2, 28, 17, 42, 5, 893469), None, 13L)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-03-01 22:55:52 -0600

Bipin gravatar image

Please run the following command,

su -s /bin/sh -c "nova-manage db sync" nova

Because this error 1048, "Column 'instance_uuid' cannot be null" means, your NOVA database tables are not populated as expected.

edit flag offensive delete link more
0

answered 2015-03-01 22:51:46 -0600

Did you run nova-mange db sync? It looks like the schema for nova has not been created.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-02-28 13:56:42 -0600

Seen: 1,814 times

Last updated: Mar 01 '15