Xen/KVM Virtualization Management Application
  • 日本語
  • English

Karesansui Users


Failed to create guest

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?


Replies

Comment

RE: Failed to create guest - Added by Taizo ITO 715 days ago

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.

  • image file for guest OS

    /var/opt/hde/libvirt/domains/<domain-name>/images/<domain-name>.img

  • image file for extended hard disk

    /var/opt/hde/libvirt/domains/<domain-name>/disk/

thanks.

Comment

RE: Failed to create guest - Added by Anonymous 715 days ago

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?

Comment

RE: Failed to create guest - Added by Taizo ITO 715 days ago

Thank you very much for your suggestion.
Your suggestion is well taken at next release.

Comment

RE: Failed to create guest - Added by Anonymous 715 days ago

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!

Comment

RE: Failed to create guest - Added by Taizo ITO 708 days ago

Here is a patch to update the error message.
It is for version 1.1.0 only.

0001-ticket611.patch

Reply