[Ovirt-devel] [PATCH server] Changed how taskomatic handles a Cobbler image record.

Darryl L. Pierce dpierce at redhat.com
Mon Dec 22 14:57:37 UTC 2008


On Fri, Dec 19, 2008 at 09:39:34PM -0500, Perry Myers wrote:
> Darryl L. Pierce wrote:
>> It will now incrementally pull out the protocol, authentication details,
>> hostname or ip address, export path and filename for the image record.
>
> This patch works fine for urls like:
>
> nfs://192.168.50.2/cobblernfs/winxp.iso
>
> but does not work for
>
> nfs://192.168.50.2:/cobblernfs/winxp.iso
>
> And according to the cobbler site:
> https://fedorahosted.org/cobbler/wiki/AllAboutImages
>
> The format for nfs urls should look like:
> nfs://user@host:/path/to/foo.iso --image-type=iso

Okay, doing a quick lookup, the above is valid but discouraged so
long as the protocol is specified.[1] I'll have a quick look in 
Cobbler to make sure such a case is handled. But in oVirt we'll 
raise an exception if no protocol is specified and there's a colon 
and no port.

[1] http://labs.apache.org/webarch/uri/rfc/rfc3986.html#port

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Virtual Machine Management - http://www.ovirt.org/
"What do you care what other people think, Mr. Feynman?"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20081222/f44e9858/attachment.sig>


More information about the ovirt-devel mailing list