Hi Dan,<div><br></div><div>you're very right. We have an open issue to solve that problem:</div><div><a href="http://dev.opennebula.org/issues/255">http://dev.opennebula.org/issues/255</a></div><div><br></div><div>Thanks for your feedback!</div>
<div><br></div><div>cheers,</div><div>Jaime<br><br><div class="gmail_quote">On Tue, Aug 10, 2010 at 9:56 PM, Dan Yocum <span dir="ltr"><<a href="mailto:yocum@fnal.gov">yocum@fnal.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
<br>
On 08/10/2010 02:51 PM, Dan Yocum wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
mkfs can not be found when attempting to ssh to a worker node to create<br>
a FS. This is a limitation of a non-interactive bash session. If /sbin<br>
is in the oneadmin PATH env var, then mkfs is available to the user, but<br>
only during interactive (i.e., login) sessions.<br>
<br>
To remedy this, the full path to the executable must be specified -<br>
/sbin/mkfs. Here is the error I get:<br>
<br>
Fri Jul 30 13:48:35 2010 [TM][D]: Message received: LOG - 35<br>
tm_mkimage.sh: ERROR: Command "ssh fcl005 mkfs -t xfs -F<br>
/srv/cloud/one/var//35/images/disk.2" failed.<br>
<br>
Fri Jul 30 13:48:35 2010 [TM][D]: Message received: LOG - 35<br>
tm_mkimage.sh: ERROR: bash: mkfs: command not found<br>
<br>
Fri Jul 30 13:48:35 2010 [TM][D]: Message received: TRANSFER FAILURE 35<br>
bash: mkfs: command not found<br>
<br>
I'd like to fix this in the interim - where can I find this and specify<br>
the full path?<br>
</blockquote>
<br></div>
Found it - it's in ~oneadmin/lib/tm_commands/*/tm_mkimage.sh<div><div></div><div class="h5"><br>
<br>
Dan<br>
<br>
<br>
-- <br>
Dan Yocum<br>
Fermilab 630.840.6509<br>
<a href="mailto:yocum@fnal.gov" target="_blank">yocum@fnal.gov</a>, <a href="http://fermigrid.fnal.gov" target="_blank">http://fermigrid.fnal.gov</a><br>
"I fly because it releases my mind from the tyranny of petty things."<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</div></div></blockquote></div><br></div>