-
Notifications
You must be signed in to change notification settings - Fork 31
Cinder volume from image can cause a full fs #166
Comments
Some additional info: https://gist.github.com/jameswthorne/78dc7fab6a83598aff85 |
We will need some documentation if this does not get fixed. |
From @jameswthorne's logs:
This failed DDing directly to LV, I'm not sure how adding space to /mnt/var/lib/cinder/conversion will help? Question is, why was DD only able to write just over 2GB to the device while LVS shows that the LV size is 10GB? |
I am going to discount the DD problem in @jameswthorne's post as I don't have enough information to determine the cause. This issue will now focus on adding space for cinder to convert images. James, please raise another issue if the DD problem persists. |
Cinder volume needs temporary space to convert images. This patch enlarges the default size of the cinder volume containe to 105GB. It also exposes the size in the user configuration. This way a user can increase the size if they anticipate converting larger images, or reduce it if they don't require image conversion. Related: rcbops#166
Cinder volume needs temporary space to convert images. This patch enlarges the default size of the cinder volume container to 105GB. It also exposes the size in the user configuration. This way a user can increase the size if they anticipate converting larger images, or reduce it if they don't require image conversion. Related: rcbops#166
@hughsaunders - the changes you have in your private repo seem sensible, at commit "22845a6" do you think you could PR them into the master for this issue or do you think we should bind mount back to the host? |
@cloudnull my commit doesn't work due to ansible/ansible#7844 so I need to refactor to avoid that issue :( |
Still working on this, but bumped into issue ansible/ansible#8705 (see: https://gist.github.com/hughsaunders/4082a3732b3bf807cec3#file-gistfile2-txt-L8). This was mostly due to me running ansible 1.7.2 |
Cinder volume needs temporary space to convert images. This patch enlarges the default size of the cinder volume container to 105GB. It also exposes the size in the user configuration. This way a user can increase the size if they anticipate converting larger images, or reduce it if they don't require image conversion. Related: rcbops#166
In order to ensure that cinder is available at all times and does not suffer from 100% full disks due to building volumes from images the path
/mnt/var/lib/cinder/conversion/
needs to be bind mounted to the host or the cinder_volume container needs to be built with a larger default LV size.The text was updated successfully, but these errors were encountered: