Hi,
I am installing ceph hammer and integrating it with openstack Liberty 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 [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] size=size) 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/imagebackend.py", line 240, in cache 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] args, *kwargs) 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/imagebackend.py", line 544, in create_image 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] prepare_template(target=base, max_size=size, args, *kwargs) 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/oslo_concurrency/lockutils.py", line 254, in inner 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] return f(args, *kwargs) 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/imagebackend.py", line 230, in fetch_func_sync 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] fetch_func(target=target, args, *kwargs) 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/utils.py", line 408, in fetch_image 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] max_size=max_size) 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/images.py", line 123, in fetch_to_raw 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] max_size=max_size) 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/images.py", line 113, in fetch 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] IMAGE_API.download(context, image_href, dest_path=path) 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/image/api.py", line 182, in download 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] dst_path=dest_path) 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/image/glance.py", line 367, in download 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] _reraise_translated_image_exception(image_id) 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/image/glance.py", line 613, in _reraise_translated_image_exception 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] six.reraise(new_exc, None, exc_trace) 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/image/glance.py", line 365, in download 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] image_chunks = self._client.call(context, 1, 'data', image_id) 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/image/glance.py", line 231, in call 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] result = getattr(client.images, method)(args, *kwargs) 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/glanceclient/v1/images.py", line 148, in data 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] % urlparse.quote(str(image_id))) 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/glanceclient/common/http.py", line 280, in get 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] return self._request('GET', url, **kwargs) 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/glanceclient/common/http.py", line 272, in _request 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] resp, body_iter = self._handle_response(resp) 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/glanceclient/common/http.py", line 93, in _handle_response 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] raise exc.from_response(resp, resp.content) 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] Invalid: 400 Bad Request: Unknown scheme 'file' found in URI (HTTP 400) 2016-07-06 15:49:32.343 136121 ERROR nova.compute.manager [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] 2016-07-06 15:49:32.439 136121 INFO nova.compute.manager [req-f24ce706-c846-4bae-bb35-9cfeef522acf db68bdf363ea4358a3d3c22bcfe18d13 713114f3b9e54501a35a79e84c1e6c9d - - -] [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] Terminating instance 2016-07-06 15:49:32.446 136121 INFO nova.virt.libvirt.driver [-] [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] During wait destroy, instance disappeared. 2016-07-06 15:49:32.463 136121 INFO nova.virt.libvirt.driver [req-f24ce706-c846-4bae-bb35-9cfeef522acf db68bdf363ea4358a3d3c22bcfe18d13 713114f3b9e54501a35a79e84c1e6c9d - - -] [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] Deleting instance files /var/lib/nova/instances/27fa3fa0-b290-4a84-8172-8db03764dd67_del 2016-07-06 15:49:32.464 136121 INFO nova.virt.libvirt.driver [req-f24ce706-c846-4bae-bb35-9cfeef522acf db68bdf363ea4358a3d3c22bcfe18d13 713114f3b9e54501a35a79e84c1e6c9d - - -] [instance: 27fa3fa0-b290-4a84-8172-8db03764dd67] Deletion of /var/lib/nova/instances/27fa3fa0-b290-4a84-8172-8db03764dd67_del complete 2016-07-06 15:50:26.024 136121 INFO nova.compute.resource_tracker [req-bce237cd-fc29-4a03-8307-966af94d4fb6 - - - - -] Auditing locally available compute resources for node controller 2016-07-06 15:50:26.057 136121 WARNING nova.virt.libvirt.driver [req-bce237cd-fc29-4a03-8307-966af94d4fb6 - - - - -] Periodic task is updating the host stat, it is trying to get disk instance-00000006, but disk file was removed by concurrent operations such as resize. 2016-07-06 15:50:26.468 136121 INFO nova.compute.resource_tracker [req-bce237cd-fc29-4a03-8307-966af94d4fb6 - - - - -] Total usable vcpus: 40, total allocated vcpus: 1 2016-07-06 15:50:26.469 136121 INFO nova.compute.resource_tracker [req-bce237cd-fc29-4a03-8307-966af94d4fb6 - - - - -] Final resource view: name=controller phys_ram=193168MB used_ram=1024MB phys_disk=2042GB used_disk=1GB total_vcpus=40 used_vcpus=1 pci_stats=None 2016-07-06 15:50:26.503 136121 INFO nova.compute.resource_tracker [req-bce237cd-fc29-4a03-8307-966af94d4fb6 - - - - -] Compute_service record updated for OSKVM1:controller Waiting for data... (interrupt to abort)
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com