Hello,<div><br></div><div>I'm having the same problem with my Ceph datastore as you are with your VMFS datastore. The suggestion I received was to make sure the oneadmin user could execute all the ceph commands, I imagine there are vmfs admin commands that the oneadmin user needs to run. </div>
<div><br></div><div>My sudoers for ceph looks like:</div><div><br></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">>> oneadmin ALL=(ALL) NOPASSWD: /usr/bin/ovs-ofctl, /usr/bin/ovs-vsctl, /usr/bin/rados</span></div>
<div><br></div><div>I would try replacing the rados commands with your vmfs commands.</div><div><br></div><div>Also, I found when grepping the oned.log for "ImM" I found the exact monitor command:</div><div><br>
</div><div>>> oneadmin@red6~$ grep ImM /var/lib/one/oned.log</div><div><br></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">oneadmin@red6:~$ /var/lib/</span><span class="il" style="background-color:rgb(255,255,204);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px">one</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">/remotes/</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">datastore/</span><span class="il" style="background-color:rgb(255,255,204);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px">ceph</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">/monitor PERTX0RSSVZFUl9BQ1RJT05fREFUQT</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">48REFUQVNUT1JFPjxJRD4xMDE8L0lE</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">PjxVSUQ+MDwvVUlEPjxHSUQ+</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">MDwvR0lEPjxVTkFNRT5vbmVhZG1pbj</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">wvVU5BTUU+</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">PEdOQU1FPm9uZWFkbWluPC9HTkFNRT</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">48TkFNRT5yYmQtMTwvTkFNRT48UEVS</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">TUlTU0lPTlM+PE9XTkVSX1U+</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">MTwvT1dORVJfVT48T1dORVJfTT4xPC</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">9PV05FUl9NPjxPV05FUl9BPjA8L09X</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">TkVSX0E+PEdST1VQX1U+</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">MTwvR1JPVVBfVT48R1JPVVBfTT4wPC</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">9HUk9VUF9NPjxHUk9VUF9BPjA8L0dS</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">T1VQX0E+PE9USEVSX1U+</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">MDwvT1RIRVJfVT48T1RIRVJfTT4wPC</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">9PVEhFUl9NPjxPVEhFUl9BPjA8L09U</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">SEVSX0E+</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">PC9QRVJNSVNTSU9OUz48RFNfTUFEPm</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">NlcGg8L0RTX01BRD48VE1fTUFEPmNl</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">cGg8L1RNX01BRD48QkFTRV9QQVRIPi</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">92YXIvbGliL29uZS9kYXRhc3RvcmVz</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">LzEwMTwvQkFTRV9QQVRIPjxUWVBFPj</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">A8L1RZUEU+</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">PERJU0tfVFlQRT4zPC9ESVNLX1RZUE</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">U+PENMVVNURVJfSUQ+</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">LTE8L0NMVVNURVJfSUQ+</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">PENMVVNURVI+</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">PC9DTFVTVEVSPjxUT1RBTF9NQj4wPC</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">9UT1RBTF9NQj48RlJFRV9NQj4wPC9G</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">UkVFX01CPjxVU0VEX01CPjA8L1VTRU</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">RfTUI+</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">PElNQUdFUz48L0lNQUdFUz48VEVNUE</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">xBVEU+</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">PERTX01BRD48IVtDREFUQVtjZXBoXV</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">0+PC9EU19NQUQ+</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">PFRNX01BRD48IVtDREFUQVtjZXBoXV</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">0+PC9UTV9NQUQ+PFRZUEU+</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">PCFbQ0RBVEFbSU1BR0VfRFNdXT48L1</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">RZUEU+</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">PC9URU1QTEFURT48L0RBVEFTVE9SRT</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">48L0RTX0RSSVZFUl9BQ1RJT05fREFU</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">QT4= 101</span></div>
<div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">Running this command directly indicated an error:</font></div><div><font color="#222222" face="arial, sans-serif"><br>
</font></div><div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">ERROR: monitor: Command "" failed: </div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">
ERROR MESSAGE --8<------</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">Cannot monitor sudo rados df | awk '{</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">
if ($1 == "total") {</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">
space = int($3/1024)</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">
if ($2 == "used") {var = "USED_MB"}</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"> else if ($2 == "avail") {var = "FREE_MB"}</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"> else if ($2 == "space") {var = "TOTAL_MB"}</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"> print var "=" space</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">
}</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">}'</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">
ERROR MESSAGE ------>8--</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">
Running this command completes successfully however (Including the full awk bit)</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"><br></div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">Would you mind running the monitor command from your oned.log and outputting the results? (I _think_ the command will be "/var/lib/<span class="il" style="background-color:rgb(255,255,204)">one</span>/remotes/datastore/vmfs/monitor", you could alternatively try grepping oned.log for "monitor" )</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">
Thanks,</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">Jon A</div><br><div class="gmail_quote">On Thu, Jul 25, 2013 at 10:57 AM, <span dir="ltr"><<a href="mailto:chenxiang@aquala-tech.com" target="_blank">chenxiang@aquala-tech.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am experimenting with 4.1.80, and have the following problems:<br>
<br>
(1) Can not connect to OpenNebula Marketplace<br>
<br>
I am installing OpenNebula on a server that has no outbound Internet<br>
connections. Each time I login to SunStone, I see this popup message. Is<br>
there anyway to disable this message?<br>
<br>
(2) VMFS datastore capacity problem<br>
<br>
I create a VMFS datastore, and the total capacity of the datastore is<br>
always 0MB, so I can't register any image to the VMFS datastore.<br>
<br>
(3) Not able to refresh datastore in Safari<br>
<br>
After logging into SunStone for some time (such as 5 minutes), there are a<br>
lot of "execution expired" messages, and then the datastore page can't be<br>
refreshed. The datastore list always shows "No data available in table".<br>
<br>
Chen Xiang<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>
</blockquote></div><br></div>