Ceph and instances under /var/lib/nova/instances/_base

asked 2016-03-10 11:03:55 -0500

z-obaze gravatar image

Hi there,

I currently have one controller+network node, three compute nodes and ceph as backend for glance and nova. I'm using the kilo version.

I have some trouble when i'm creating instances, the instances are well stored in my ceph cluster, I can see them in the right pool, but the problem is there is something also under /var/lib/nova/instances/_base.

As my /var FS is small, i'd like to have nothing under this directory, i'd like to not use the cache files. I tried a lot of thing but nothing works.

All of my images are in raw format.

Thanks for your help

Pierre

edit retag flag offensive close merge delete

Comments

Did you ever resolve this? I noticed some instances take significantly longer to launch than others. And those have a base image locally stored on the compute node(s) (shared storage). I have no idea why, because if I rename the base image the clone process finishes successfully.

eblock gravatar imageeblock ( 2018-10-04 07:08:16 -0500 )edit

I'm running Ocata. Nova imports the base image back to Ceph so the instance has no parent data, so it's a flat image which contradicts the concept of using Ceph as backend. I didn't find the reason yet...

eblock gravatar imageeblock ( 2018-10-04 07:09:55 -0500 )edit