Thanks, Michael! See inline for comments... Michael DeHaan wrote: I've checked in some modifications to the --virt-path code and rearranged it somewhat. leave --virt-path off and assume defaults (like /var/lib/xen/images)While observing this (reasonable -- although should be documented in Koan (if not already)) default, I think a free-space check is in order for the filesystem that contains /var/lib/xen/images. If there is not enough free space to accommodate --virt-size, then an error message should be printed out. The current (virtinst?) reaction is to let the filesystem fill up to 100% and then alert the user about free space. This doesn't make sense, and either cobbler/koan or dependency libraries should show awareness of this problem. or specify --virt-path=/path/to/directoryWhat will the full virtual path be then? /path/to/directory/<name>? /path/to/directory/<mac>? or specify --virt-path=/path/to/directory/filename The --virt-name can be confusing with --name. What's wrong with --virt-vg=VolGroup00 --virt-lv=asdf? Or --virt-path=VG:[LV]? To make the second form clearer, '--virt-path=VolGroup00:' (notice the trailing colon) or '--virt-path=VolGroup00:asdf'. If you were concerned about the rare case where VolGroup or LogVol included a colon in the name (e.g. "VolGroup\:" or "Log\:Vol00"), the colon-checking could check for the existence of colons in the actual filename and ignore them. Honestly, I don't think anyone would ever consciously put a colon in their device name, unless (s)he were mad! And this is a reasonable assumption! Cool! Should --virt-graphics check for the existence of vnc? Or are you satisfied with xenlibs' awkward stack tracing output? value from cobbler, but it probably should be. --virt-path and --virt-type can be passed to both koan and cobbler (profile add and system add).Awesome! Would you like me to follow your example in implementing the other koan virt attributes? Or do you have these covered? -A.
|
_______________________________________________ et-mgmt-tools mailing list et-mgmt-tools@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/et-mgmt-tools