Added by Anonymous 715 days ago
First off, thank you for writing Karesansui! :-)
Unfortunately, when I go to create a guest using the 1.1 stable release I get the following:
ERROR: Bad Request [400]
No available disk size.
I believe I traced it to a few lines of commented out code in lib/checker.py:
1015: # TODO Image size check
if ret_val and check & CHECK_LENGTH:
ret_val = self.check_length(name, value, min, max)
I don't see an option to create a disk file through the web UI and I don't know where to put the disk file on the system to "force" the check to succeed. Do you have any ideas Taizo ITO?
Hi,
This error appears to occur when the specified image size is larger than available size of '/var' partition.
Check for free space in '/var' by using 'df' command.
/var/opt/hde/libvirt/domains/<domain-name>/images/<domain-name>.img
/var/opt/hde/libvirt/domains/<domain-name>/disk/
thanks.
Thank you for the prompt reply. Can you update the message to say "No space available to create disk image in /var/opt/hde/libvirt/domains/<domain-name>/images/" ? Or something similar?
Thank you very much for your suggestion.
Your suggestion is well taken at next release.
Taizo ITO ... that worked.
I had another mount point with more space so I ended up creating a symbolic link from it to /var/opt/hde/libvirt/domains. So far Karesansui is great! Good work!
Here is a patch to update the error message.
It is for version 1.1.0 only.
0001-ticket611.patch
0001-ticket611.patch (1.1 KB)
Copyright © 2009-2011 Karesansui Project. All rights reserved.
