<div dir="ltr"><br><div class="gmail_extra">
<p class="MsoNormal">Hi Daniel, </p>
<p class="MsoNormal">Thanks for reply, </p>
<p class="" style><span style><span style>1.<span style="font:7pt "Times New Roman"">
</span></span></span>1. I'm using Opennebula 4.2 and node Esxi version
5.1.</p>
<p class="" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:12pt;font-family:"Arial","sans-serif""><span style>2.<span style="font:7pt "Times New Roman"">
</span></span></span>I 2. I have used the following links: <span style="font-size:12pt;font-family:"Arial","sans-serif""><a href="http://opennebula.org/documentation:rel4.2:cluster_guide"><span style="font-size:10pt;color:blue" lang="X-NONE">http://opennebula.org/documentation:rel4.2:cluster_guide</span></a></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:12pt;font-family:"Arial","sans-serif""><a href="http://opennebula.org/documentation:rel4.2:vmware_ds"><span style="font-size:10pt;color:blue" lang="X-NONE">http://opennebula.org/documentation:rel4.2:vmware_ds</span></a></span></p>
<p class=""><span style="font-size:12pt;line-height:115%;font-family:"Arial","sans-serif""><a href="http://opennebula.org/documentation:rel4.2:system_ds#the_system_datastore_for_multi-cluster_setups"><span style="font-size:10pt;line-height:115%;color:blue" lang="X-NONE">http://opennebula.org/documentation:rel4.2:system_ds#the_system_datastore_for_multi-cluster_setups</span></a>
</span><span style>and
responses in mail lists.</span></p>
<p class="" style><span style><span style>3<span style="font:7pt "Times New Roman"">3.
</span></span></span>I 3. I have enabled ssh between Opennebula and Esxi
to use no password correctly.</p>
<p class="" style><span style><span style>4.<span style="font:7pt "Times New Roman"">
</span></span></span>4. According to documentation should I put the Esxi
node inside the cluster, as Opennebula is working with several hypervisors, has
been used the command to create the cluster: “onecluster create [namecluster]”.</p>
<p class="" style><span style><span style>5.<span style="font:7pt "Times New Roman"">
</span></span></span>5. I added the node Esxi to this cluster with the
command: “onecluster addhost [namecluster] [namenodo]”.</p>
<p class="" style><span style><span style>6.<span style="font:7pt "Times New Roman"">
</span></span></span>6. I added to the cluster, virtual network created
for Esxi, which is also created on the Esxi node through Vsphere Client, with
the command:“onecluster addvnet [namecluster] [namevirtualred]”</p>
<p class="" style><span style><span style>7.<span style="font:7pt "Times New Roman"">
</span></span></span>7. I updated the cluster using the command: “onecluster
update [namecluster]”, to add: DATASTORE_LOCATION, which will affect only that
node, by placing the following: DATASTORE_LOCATION=/vmfs/volumes</p>
<p class="" style><span style><span style>8.<span style="font:7pt "Times New Roman"">
</span></span></span>8. I have created two files that serve as image to
create the datastores:</p>
<p class="" style="margin-left:1in"><span style><span style>a.<span style="font:7pt "Times New Roman"">
</span></span></span>The image file for the datastore system contains:</p>
<p class="MsoNormal" style="margin:0in 0in 1pt 1in;line-height:normal">NAME=dsEsxi</p>
<p class="MsoNormal" style="margin:0in 0in 1pt 1in;line-height:normal">TM_MAD=vmfs</p>
<p class="MsoNormal" style="margin:0in 0in 1pt 1in;line-height:normal">TYPE=SYSTEM_DS</p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt 1in;line-height:normal"><span style>BRIDGE_LIST="192.168.147.131"</span></p>
<p class="MsoNormal" style="margin:0in 0in 1pt 1in;line-height:normal"> </p>
<p class="" style="margin-left:1in"><span style><span style>b.<span style="font:7pt "Times New Roman"">
</span></span></span>This datastore is linked to the cluster at the
same time created with the command: “onedatastore create -c [namecluster]
/var/lib/images/system_esxi.ds”.</p>
<p class="" style="margin-left:1in"> </p>
<p class="" style="margin-left:1in"><span style><span style>c.<span style="font:7pt "Times New Roman"">
</span></span></span>The image file for the datastore image contains:</p>
<p class=""> </p>
<p class="" style="margin-left:1in">NAME=diEsxi</p>
<p class="" style="margin-left:1in">DS_MAD=vmfs</p>
<p class="" style="margin-left:1in">TM_MAD=vmfs</p>
<p class="" style="margin:0in 0in 2.4pt 1in;line-height:normal">TYPE=IMAGE_DS</p>
<p class="MsoNormal" style="margin:0in 0in 2.4pt 1in;line-height:normal"><span style>BRIDGE_LIST="192.168.147.131"</span></p>
<p class="" style="margin-left:1in"><span style><span style>d.<span style="font:7pt "Times New Roman"">
</span></span></span>This datastore is linked to the cluster at the
same time created with the commando:</p>
<p class="" style="margin-left:1in">“onedatastore create –c [namecluster] /var/lib/images/image_esxi.ds”</p>
<p class="" style="margin-left:1in"> </p>
<p class="" style><span style><span style>9.<span style="font:7pt "Times New Roman"">
</span></span></span>9. When I list the datastores, you can see that the
image datastore new created has 0M capacity. </p>
<p class="MsoNormal">I've done all this procedure since according to the
documentation followed at Opennebula 4.2, it changes how to use Esxi node.</p><p class="MsoNormal"><br></p>
<p class="MsoNormal">Before all of the above to deploy a VM this error occurred:</p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"">oneadmin@ubuntuOpNeb:~$
cat /var/log/one/36.log</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"">Thu
Oct 31 11:18:02 2013 [DiM][I]: New VM state is ACTIVE.</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"">Thu
Oct 31 11:18:02 2013 [LCM][I]: New VM state is PROLOG.</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"">Thu
Oct 31 11:18:03 2013 [TM][I]: Command execution fail:</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"">/var/lib/one/remotes/tm/shared/clone
ubuntuOpNeb:/var/lib/one/datastores/1/</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"" lang="ES-EC">02e8c67d4f59826e9fb12ccb48f77557
demos:/var/lib/one/datastores/0/36/disk.0</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"">36
1</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"">Thu
Oct 31 11:18:03 2013 [TM][I]: clone: Cloning /var/lib/one/datastores/1/</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"" lang="ES-EC">02e8c67d4f59826e9fb12ccb48f77557 in
demos:/var/lib/one/datastores/</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"">0/36/disk.0</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"">Thu
Oct 31 11:18:03 2013 [TM][E]: clone: Command "cd</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"">/var/lib/one/datastores/0/36;
cp /var/lib/one/datastores/1/</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"">02e8c67d4f59826e9fb12ccb48f77557
/var/lib/one/datastores/0/36/disk.0"</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"">failed:
cp: can't stat '/var/lib/one/datastores/1/</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"">02e8c67d4f59826e9fb12ccb48f77557':
No such file or directory</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"">Thu
Oct 31 11:18:03 2013 [TM][E]: Error copying ubuntuOpNeb:/var/lib/one/</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"" lang="ES-EC">datastores/1/02e8c67d4f59826e9fb12ccb48f77557
to</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"" lang="ES-EC">demos:/var/lib/one/datastores/0/36/disk.0</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"">Thu
Oct 31 11:18:03 2013 [TM][I]: ExitCode: 1</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"">Thu
Oct 31 11:18:03 2013 [TM][E]: Error executing image transfer script:</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"">Error
copying ubuntuOpNeb:/var/lib/one/datastores/1/</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"">02e8c67d4f59826e9fb12ccb48f77557
to demos:/var/lib/one/datastores/</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"">0/36/disk.0</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New"">Thu
Oct 31 11:18:03 2013 [DiM][I]: New VM state is FAILED</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Now, I suppose that I've to create the image for opennebula
in the new image datastore but I can’t do because it has no capacity.</p>
<span style="font-size:11pt;line-height:115%;font-family:"Calibri","sans-serif"">Please help me.<br></span><br></div><div class="gmail_extra">Thanks, Caty<br></div><div class="gmail_extra"><br><div class="gmail_quote">
2013/11/10 <span dir="ltr"><<a href="mailto:users-request@lists.opennebula.org" target="_blank">users-request@lists.opennebula.org</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Send Users mailing list submissions to<br>
<a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<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>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:users-request@lists.opennebula.org">users-request@lists.opennebula.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:users-owner@lists.opennebula.org">users-owner@lists.opennebula.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. VM in Opennebula for Esxi 5.1 failed (Catalina Quinde)<br>
2. Re: VM in Opennebula for Esxi 5.1 failed (Daniel Dehennin)<br>
3. ask to password when add ceph datastore (<a href="mailto:12navidb2@gmail.com">12navidb2@gmail.com</a>)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 9 Nov 2013 19:07:44 -0500<br>
From: Catalina Quinde <<a href="mailto:catalinaquinde@gmail.com">catalinaquinde@gmail.com</a>><br>
To: <a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a><br>
Subject: [one-users] VM in Opennebula for Esxi 5.1 failed<br>
Message-ID:<br>
<CAPgz++yOE=CmekTkFjD=<a href="mailto:yCFo4uwN6oMYb%2Bz%2BaYY7VtZ4rOoubw@mail.gmail.com">yCFo4uwN6oMYb+z+aYY7VtZ4rOoubw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Please help me,I created an OpenNebula cluster in which I have added the<br>
host Esxi, I've also created two datastores, one for system and one for<br>
images, with features:<br>
<br>
ID 100 system TM_MAD = vmfs<br>
ID 101 image DS_MAD = vmfs<br>
TM_MAD = vmfs<br>
<br>
These two datastores I have added to the cluster created, the comand<br>
"onedatastore list" indicates CAPACITY datastore = 0M<br>
<br>
And in the path "/ var / lib / one / datastores" here are not these two<br>
datastores as directories.<br>
<br>
I'm using OpenNebula Esxi 4.2 and 5.1.<br>
<br>
Greetings.<br>
<br>
Caty.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131109/556b453a/attachment.html" target="_blank">http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131109/556b453a/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 10 Nov 2013 01:47:35 +0100<br>
From: Daniel Dehennin <<a href="mailto:daniel.dehennin@baby-gnu.org">daniel.dehennin@baby-gnu.org</a>><br>
To: <a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a><br>
Subject: Re: [one-users] VM in Opennebula for Esxi 5.1 failed<br>
Message-ID: <<a href="mailto:878uwx9j6g.fsf@hati.baby-gnu.org">878uwx9j6g.fsf@hati.baby-gnu.org</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Catalina Quinde <<a href="mailto:catalinaquinde@gmail.com">catalinaquinde@gmail.com</a>> writes:<br>
<br>
First of all hello,<br>
<br>
I do not have proprietary system so I'll only give you information I have.<br>
<br>
> Please help me,I created an OpenNebula cluster in which I have added the<br>
> host Esxi, I've also created two datastores, one for system and one for<br>
> images, with features:<br>
><br>
> ID 100 system TM_MAD = vmfs<br>
> ID 101 image DS_MAD = vmfs<br>
> TM_MAD = vmfs<br>
><br>
> These two datastores I have added to the cluster created, the comand<br>
> "onedatastore list" indicates CAPACITY datastore = 0M<br>
><br>
> And in the path "/ var / lib / one / datastores" here are not these two<br>
> datastores as directories.<br>
<br>
Reading the documentation[1], I understand that:<br>
<br>
1. oneadmin must be able to SSH ESX servers without password[2]<br>
<br>
2. nothing is under /var/lib/one/datastores of the OpenNebula frontend<br>
because it's managed by ESX servers, ONE access to VMFS datastores<br>
though API<br>
<br>
Maybe if you describe a little more your setup will help people helping<br>
you ;-)<br>
<br>
> I'm using OpenNebula Esxi 4.2 and 5.1.<br>
<br>
I suppose you mean that you use:<br>
<br>
- OpenNebula 4.2<br>
- ESXi 5.1<br>
<br>
Right?<br>
<br>
Regards.<br>
<br>
Footnotes:<br>
[1] <a href="http://opennebula.org/documentation:rel4.2:vmware_ds" target="_blank">http://opennebula.org/documentation:rel4.2:vmware_ds</a><br>
<br>
[2] <a href="http://opennebula.org/documentation:rel4.2:hostsubsystem" target="_blank">http://opennebula.org/documentation:rel4.2:hostsubsystem</a><br>
<br>
--<br>
Daniel Dehennin<br>
R?cup?rer ma clef GPG:<br>
gpg --keyserver <a href="http://pgp.mit.edu" target="_blank">pgp.mit.edu</a> --recv-keys 0x7A6FE2DF<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: not available<br>
Type: application/pgp-signature<br>
Size: 229 bytes<br>
Desc: not available<br>
URL: <<a href="http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131110/580e83eb/attachment-0001.pgp" target="_blank">http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131110/580e83eb/attachment-0001.pgp</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Sun, 10 Nov 2013 13:26:27 +0330<br>
From: "<a href="mailto:12navidb2@gmail.com">12navidb2@gmail.com</a>" <<a href="mailto:12navidb2@gmail.com">12navidb2@gmail.com</a>><br>
To: <a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a><br>
Subject: [one-users] ask to password when add ceph datastore<br>
Message-ID:<br>
<CAK9QDg9znnHjkH=mLc19F=<a href="mailto:CTSd%2BYo16arttCEg_erv5-x4WAtg@mail.gmail.com">CTSd+Yo16arttCEg_erv5-x4WAtg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
hi all<br>
<br>
<br>
when i add new ceph datastore, opennebula run a command like this with<br>
oneadmin user that needs password<br>
<br>
<br>
oneadmin@one-server2:~$ /var/lib/one/remotes/datastore/ceph/monitor<br>
PERTX0RSSVZFUl9BQ1RJT05fREFUQT48REFUQVNUT1JFPjxJRD4xMTM8L0lEPjxVSUQ+MDwvVUlEPjxHSUQ+MDwvR0lEPjxVTkFNRT5vbmVhZG1pbjwvVU5BTUU+PEdOQU1FPm9uZWFkbWluPC9HTkFNRT48TkFNRT5jZXBoZHM8L05BTUU+PFBFUk1JU1NJT05TPjxPV05FUl9VPjE8L09XTkVSX1U+PE9XTkVSX00+MTwvT1dORVJfTT48T1dORVJfQT4wPC9PV05FUl9BPjxHUk9VUF9VPjE8L0dST1VQX1U+PEdST1VQX00+MDwvR1JPVVBfTT48R1JPVVBfQT4wPC9HUk9VUF9BPjxPVEhFUl9VPjA8L09USEVSX1U+PE9USEVSX00+MDwvT1RIRVJfTT48T1RIRVJfQT4wPC9PVEhFUl9BPjwvUEVSTUlTU0lPTlM+PERTX01BRD5jZXBoPC9EU19NQUQ+PFRNX01BRD5jZXBoPC9UTV9NQUQ+PEJBU0VfUEFUSD4vdmFyL2xpYi9vbmUvZGF0YXN0b3Jlcy8xMTM8L0JBU0VfUEFUSD48VFlQRT4wPC9UWVBFPjxESVNLX1RZUEU+MzwvRElTS19UWVBFPjxDTFVTVEVSX0lEPi0xPC9DTFVTVEVSX0lEPjxDTFVTVEVSPjwvQ0xVU1RFUj48VE9UQUxfTUI+MDwvVE9UQUxfTUI+PEZSRUVfTUI+MDwvRlJFRV9NQj48VVNFRF9NQj4wPC9VU0VEX01CPjxJTUFHRVM+PC9JTUFHRVM+PFRFTVBMQVRFPjxEU19NQUQ+PCFbQ0RBVEFbY2VwaF1dPjwvRFNfTUFEPjxIT1NUPjwhW0NEQVRBW29uZS1zZXJ2ZXIyXV0+PC9IT1NUPjxQT09MX05BTUU+PCFbQ0RBVEFbcmJkXV0+PC9QT09MX05BTUU+PFNBRkVfRElSUz48IVtDREFUQVsvXV0+PC9TQU<br>
ZFX0RJUlM+PFRNX01BRD48IVtDREFUQVtjZXBoXV0+PC9UTV9NQUQ+PC9URU1QTEFURT48L0RBVEFTVE9SRT48L0RTX0RSSVZFUl9BQ1RJT05fREFUQT4=<br>
113<br>
oneadmin@one-server2's password:<br>
<br>
because it, opennebula cant show datastore space and show (0MB)<br>
<br>
<br>
output this command is<br>
<br>
USED_MB=3015<br>
FREE_MB=1184747<br>
TOTAL_MB=1193984<br>
<br>
<br>
the point here is that i cant run this command with oneadmin user !<br>
<br>
sudo rados df<br>
<br>
or even rados df (without sudo)<br>
<br>
i add these lines to /etc/sudoers<br>
<br>
oneadmin ALL=(ALL) NOPASSWD: /usr/bin/rbd*,/usr/bin/rados*<br>
<br>
<br>
<br>
best regards<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131110/64242fd6/attachment-0001.htm" target="_blank">http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131110/64242fd6/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">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>
<br>
<br>
End of Users Digest, Vol 69, Issue 26<br>
*************************************<br>
</blockquote></div><br></div></div>