<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Caty,<br>
<br>
Sorry for the long delay in reply (a lot of urgent things to do
before the end of the year).<br>
<br>
So according to info you provided now your system DS is ssh-based
and not shared (NFS) anymore, right?<br>
<br>
> oneadmin@ubuntuOpNeb:~$ onedatastore list<br>
> ID NAME SIZE AVAIL CLUSTER IMAGES TYPE
DS TM <br>
> 0 system - - - 0 sys
- ssh<br>
<br>
We have the following directory permissions on cluster nodes:<br>
$ ll /vz/ |grep one<br>
drwx------ 5 oneadmin oneadmin 4096 Nov 21 12:01 one<br>
<br>
$ll /vz/one/<br>
drwxrwxr-x 3 oneadmin oneadmin 4096 Nov 25 13:02 datastores<br>
drwxr-x--- 9 oneadmin oneadmin 4096 Nov 21 12:01 scripts<br>
<br>
$ll /vz/one/datastores/<br>
total 4<br>
drwxrwxr-x 5 oneadmin oneadmin 4096 Dec 4 20:51 0<br>
<br>
$ ll /vz/one/datastores/0/<br>
drwxrwxr-x 4 oneadmin oneadmin 4096 Nov 29 12:53 24<br>
drwxrwxr-x 4 oneadmin oneadmin 4096 Dec 2 13:10 35<br>
drwxrwxr-x 4 oneadmin oneadmin 4096 Dec 4 20:53 46<br>
<br>
<br>
Hope it helps.<br>
Nikolay.<br>
<br>
<br>
<div class="moz-cite-prefix">On 12/13/2013 10:52 AM, Catalina Quinde
wrote:<br>
</div>
<blockquote
cite="mid:CAPgz++y+cOPkNv6ZNo4jyrcgTh+-aSaT4RRS_SJrKb4qE-T44A@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>Hi friends,<br>
<br>
</div>
1.I created a VM in Opennebula for OpenVZ but this is
failed, this is your log:<br>
<br>
oneadmin@ubuntuOpNeb:~$ cat /var/log/one/1.log<br>
Fri Dec 13 01:45:56 2013 [DiM][I]: New VM state is ACTIVE.<br>
Fri Dec 13 01:45:56 2013 [LCM][I]: New VM state is PROLOG.<br>
Fri Dec 13 01:46:15 2013 [LCM][I]: New VM state is BOOT<br>
Fri Dec 13 01:46:15 2013 [VMM][I]: Generating deployment
file: /var/lib/one/vms/1/deployment.0<br>
Fri Dec 13 01:46:16 2013 [VMM][I]: ExitCode: 0<br>
Fri Dec 13 01:46:16 2013 [VMM][I]: Successfully execute
network driver operation: pre.<br>
Fri Dec 13 01:46:21 2013 [VMM][I]: Command execution fail:
cat << EOT | /vz/one/scripts/vmm/ovz/deploy
'/vz/one/datastores/0/1/deployment.0' 'ubuntu' 1 ubuntu<br>
Fri Dec 13 01:46:21 2013 [VMM][I]: deploy: Executed
"/usr/bin/sudo mv
"/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz"
"/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.1386917185"
2> /dev/null; true".<br>
Fri Dec 13 01:46:21 2013 [VMM][I]: deploy: Executed
"/usr/bin/sudo ln -sf "/vz/one/datastores/0/1/disk.0"
"/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz"".<br>
Fri Dec 13 01:46:21 2013 [VMM][E]: deploy: Command
"/usr/bin/sudo /usr/sbin/vzctl create 1001 --layout ploop
--ostemplate "debian-7.0-x86_64" --private
"/vz/one/datastores/0/1/private" --root
"/vz/one/datastores/0/1/root"" failed.<br>
Fri Dec 13 01:46:21 2013 [VMM][E]: deploy: Can't create
directory /vz/one/datastores/0/1/private.tmp: Permission
denied<br>
Fri Dec 13 01:46:21 2013 [VMM][I]: Unable to create
directory /vz/one/datastores/0/1/private.tmp: Permission
denied<br>
Fri Dec 13 01:46:21 2013 [VMM][I]: Creation of container
private area failed<br>
Fri Dec 13 01:46:21 2013 [VMM][E]: Can't create directory
/vz/one/datastores/0/1/private.tmp: Permission denied<br>
Fri Dec 13 01:46:21 2013 [VMM][E]: Unable to create
directory /vz/one/datastores/0/1/private.tmp: Permission
denied<br>
Fri Dec 13 01:46:21 2013 [VMM][E]: Creation of container
private area failed<br>
Fri Dec 13 01:46:21 2013 [VMM][E]: <br>
Fri Dec 13 01:46:21 2013 [VMM][I]: ExitCode: 48<br>
Fri Dec 13 01:46:21 2013 [VMM][I]: Failed to execute
virtualization driver operation: deploy.<br>
Fri Dec 13 01:46:21 2013 [VMM][E]: Error deploying virtual
machine: Can't create directory
/vz/one/datastores/0/1/private.tmp: Permission denied<br>
Fri Dec 13 01:46:21 2013 [DiM][I]: New VM state is FAILED<br>
<br>
</div>
2. My template file contains:<br>
<br>
NIC=[NETWORK_ID="0"]<br>
OSTEMPLATE="debian-7.0-x86_64"<br>
DISK=[IMAGE_ID="0"]<br>
DISK=[SIZE="512",TYPE="swap"]<br>
CPU="0.01"<br>
VE_LAYOUT="ploop"<br>
RCLOCAL="rc.local"<br>
OS=[ARCH="x86_64"]<br>
CLUSTER_100="100"<br>
VCPU="1"<br>
REQUIREMENTS="CLUSTER_ID=\"100\""<br>
MEMORY="512"<br>
CONTEXT=[SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]",NETWORK="YES"]<br>
<br>
</div>
<div>3. My datastores list contains:<br>
<br>
</div>
<div>
<div>oneadmin@ubuntuOpNeb:~$ onedatastore list<br>
ID NAME SIZE AVAIL CLUSTER IMAGES TYPE
DS TM <br>
0 system - - - 0 sys
- ssh<br>
1 default 15.6G 62% ovz_x64 1 img
fs ssh<br>
2 files 15.6G 62% - 0 fil
fs ssh<br>
<br>
Please help me solve this, is very important<br>
</div>
<div>Thanks, Caty.<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br>
</body>
</html>