Ask Your Question
0

Invalid: 400 Bad Request: Unknown scheme 'file' found in URI (HTTP 400)

asked 2016-07-06 14:54:25 -0500

anonymous user

Anonymous

Hi, I am installing openstack and integrating it with ceph storage for the first time.

My local disk has only 500 GB but i need to create 600 GB VM. SO i have created a soft link to ceph filesystem as

lrwxrwxrwx 1 root root 34 Jul 6 13:02 instances -> /var/lib/ceph/osd/ceph-0/instances [root@OSKVM1 nova]# pwd /var/lib/nova [root@OSKVM1 nova]#

now when i am trying to create an instance it is giving the following error as checked from nova-compute.log
I need your help to fix this issue.

2016-07-06 15:49:31.554 136121 INFO nova.compute.manager [req-f24ce706-c846-4bae-bb35-9cfeef522acf db68bdf363ea4358a3d3c22bcfe18d13 713114f3b9e54501a35a79e84c1e6c9d - - -] [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] Starting instance... 2016-07-06 15:49:31.655 136121 INFO nova.compute.claims [req-f24ce706-c846-4bae-bb35-9cfeef522acf db68bdf363ea4358a3d3c22bcfe18d13 713114f3b9e54501a35a79e84c1e6c9d - - -] [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] Attempting claim: memory 512 MB, disk 1 GB 2016-07-06 15:49:31.656 136121 INFO nova.compute.claims [req-f24ce706-c846-4bae-bb35-9cfeef522acf db68bdf363ea4358a3d3c22bcfe18d13 713114f3b9e54501a35a79e84c1e6c9d - - -] [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] Total memory: 193168 MB, used: 1024.00 MB 2016-07-06 15:49:31.656 136121 INFO nova.compute.claims [req-f24ce706-c846-4bae-bb35-9cfeef522acf db68bdf363ea4358a3d3c22bcfe18d13 713114f3b9e54501a35a79e84c1e6c9d - - -] [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] memory limit: 289752.00 MB, free: 288728.00 MB 2016-07-06 15:49:31.657 136121 INFO nova.compute.claims [req-f24ce706-c846-4bae-bb35-9cfeef522acf db68bdf363ea4358a3d3c22bcfe18d13 713114f3b9e54501a35a79e84c1e6c9d - - -] [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] Total disk: 2042 GB, used: 1.00 GB 2016-07-06 15:49:31.657 136121 INFO nova.compute.claims [req-f24ce706-c846-4bae-bb35-9cfeef522acf db68bdf363ea4358a3d3c22bcfe18d13 713114f3b9e54501a35a79e84c1e6c9d - - -] [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] disk limit: 2042.00 GB, free: 2041.00 GB 2016-07-06 15:49:31.673 136121 INFO nova.compute.claims [req-f24ce706-c846-4bae-bb35-9cfeef522acf db68bdf363ea4358a3d3c22bcfe18d13 713114f3b9e54501a35a79e84c1e6c9d - - -] [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] Claim successful 2016-07-06 15:49:32.154 136121 INFO nova.virt.libvirt.driver [req-f24ce706-c846-4bae-bb35-9cfeef522acf db68bdf363ea4358a3d3c22bcfe18d13 713114f3b9e54501a35a79e84c1e6c9d - - -] [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] Creating image 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [req-f24ce706-c846-4bae-bb35-9cfeef522acf db68bdf363ea4358a3d3c22bcfe18d13 713114f3b9e54501a35a79e84c1e6c9d - - -] [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] Instance failed to spawn 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] Traceback (most recent call last): 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2156, in _build_resources 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] yield resources 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2009, in _build_and_run_instance 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] block_device_info=block_device_info) 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2527, in spawn 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] admin_pass=admin_password) 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2953, in _create_image 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] instance, size, fallback_from_host) 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 6406, in _try_fetch_image_cache 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager ...

(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-01-18 01:49:49 -0500

huhaoran gravatar image

You may need to change your image from QCOW2 to RAW.

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: 2016-07-06 14:54:25 -0500

Seen: 403 times

Last updated: Jul 06 '16