[one-users] (no subject)

Humberto N. Castejon Martinez humcasma at gmail.com
Tue Sep 20 06:17:34 PDT 2011


Hi,

I am running Opennebula 2.1.8. When specifying the context for a VM, if I
specify a URL in the "files" attribute, the contextualization fails.
Consider, for example, the following context:

CONTEXT=[ files="http://domain.com/test.xml" ]

When I try to create the VM with such context, I get the following error
message:

tm_context.sh: Executed "mkdir -p /srv/cloud/one/var//106/images/isofiles".
tm_context.sh: Executed "cp -R /srv/cloud/one/var/106/context.sh
/srv/cloud/one/var//106/images/isofiles".
tm_context.sh: ERROR: Command "/usr/bin/wget -O
/srv/cloud/one/var//106/images/isofiles http://domain.com/test.xml" failed.
tm_context.sh: ERROR: /srv/cloud/one/var//106/images/isofiles: Is a
directory

Error excuting image transfer script:
/srv/cloud/one/var//106/images/isofiles: Is a directory
I presume that specifying a URL in the file attribute is allowed, since
Opennebula uses "wget" to fetch the file (otherwise, if a local file is
specified, Opennebula uses "cp" to copy the file to the isofiles directory),
but the command that Opennebula runs is not correct. Is this a bug? Or am I
wrong thinking that a url can be specified?

Cheers,
Humberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110920/8478a538/attachment-0002.htm>


More information about the Users mailing list