[one-users] 4.1.80 -- SunStone Problem
Jon
three18ti at gmail.com
Thu Jul 25 10:09:28 PDT 2013
Hello,
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.
My sudoers for ceph looks like:
>> oneadmin ALL=(ALL) NOPASSWD: /usr/bin/ovs-ofctl, /usr/bin/ovs-vsctl,
/usr/bin/rados
I would try replacing the rados commands with your vmfs commands.
Also, I found when grepping the oned.log for "ImM" I found the exact
monitor command:
>> oneadmin at red6~$ grep ImM /var/lib/one/oned.log
oneadmin at red6:~$ /var/lib/one/remotes/datastore/ceph/monitor
PERTX0RSSVZFUl9BQ1RJT05fREFUQT48REFUQVNUT1JFPjxJRD4xMDE8L0lE
PjxVSUQ+MDwvVUlEPjxHSUQ+MDwvR0lEPjxVTkFNRT5vbmVhZG1pbjwvVU5BTUU+
PEdOQU1FPm9uZWFkbWluPC9HTkFNRT48TkFNRT5yYmQtMTwvTkFNRT48UEVS
TUlTU0lPTlM+PE9XTkVSX1U+MTwvT1dORVJfVT48T1dORVJfTT4xPC
9PV05FUl9NPjxPV05FUl9BPjA8L09XTkVSX0E+PEdST1VQX1U+
MTwvR1JPVVBfVT48R1JPVVBfTT4wPC9HUk9VUF9NPjxHUk9VUF9BPjA8L0dS
T1VQX0E+PE9USEVSX1U+MDwvT1RIRVJfVT48T1RIRVJfTT4wPC
9PVEhFUl9NPjxPVEhFUl9BPjA8L09USEVSX0E+PC9QRVJNSVNTSU9OUz48RFNfTUFEPm
NlcGg8L0RTX01BRD48VE1fTUFEPmNlcGg8L1RNX01BRD48QkFTRV9QQVRIPi
92YXIvbGliL29uZS9kYXRhc3RvcmVzLzEwMTwvQkFTRV9QQVRIPjxUWVBFPjA8L1RZUEU+
PERJU0tfVFlQRT4zPC9ESVNLX1RZUEU+PENMVVNURVJfSUQ+LTE8L0NMVVNURVJfSUQ+
PENMVVNURVI+PC9DTFVTVEVSPjxUT1RBTF9NQj4wPC9UT1RBTF9NQj48RlJFRV9NQj4wPC9G
UkVFX01CPjxVU0VEX01CPjA8L1VTRURfTUI+PElNQUdFUz48L0lNQUdFUz48VEVNUExBVEU+
PERTX01BRD48IVtDREFUQVtjZXBoXV0+PC9EU19NQUQ+PFRNX01BRD48IVtDREFUQVtjZXBoXV
0+PC9UTV9NQUQ+PFRZUEU+PCFbQ0RBVEFbSU1BR0VfRFNdXT48L1RZUEU+
PC9URU1QTEFURT48L0RBVEFTVE9SRT48L0RTX0RSSVZFUl9BQ1RJT05fREFUQT4= 101
Running this command directly indicated an error:
ERROR: monitor: Command "" failed:
ERROR MESSAGE --8<------
Cannot monitor sudo rados df | awk '{
if ($1 == "total") {
space = int($3/1024)
if ($2 == "used") {var = "USED_MB"}
else if ($2 == "avail") {var = "FREE_MB"}
else if ($2 == "space") {var = "TOTAL_MB"}
print var "=" space
}
}'
ERROR MESSAGE ------>8--
Running this command completes successfully however (Including the full awk
bit)
Would you mind running the monitor command from your oned.log and
outputting the results? (I _think_ the command will be
"/var/lib/one/remotes/datastore/vmfs/monitor",
you could alternatively try grepping oned.log for "monitor" )
Thanks,
Jon A
On Thu, Jul 25, 2013 at 10:57 AM, <chenxiang at aquala-tech.com> wrote:
> I am experimenting with 4.1.80, and have the following problems:
>
> (1) Can not connect to OpenNebula Marketplace
>
> I am installing OpenNebula on a server that has no outbound Internet
> connections. Each time I login to SunStone, I see this popup message. Is
> there anyway to disable this message?
>
> (2) VMFS datastore capacity problem
>
> I create a VMFS datastore, and the total capacity of the datastore is
> always 0MB, so I can't register any image to the VMFS datastore.
>
> (3) Not able to refresh datastore in Safari
>
> After logging into SunStone for some time (such as 5 minutes), there are a
> lot of "execution expired" messages, and then the datastore page can't be
> refreshed. The datastore list always shows "No data available in table".
>
> Chen Xiang
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130725/e2bbb335/attachment-0001.htm>
More information about the Users
mailing list