[one-users] 4.1.80 -- SunStone Problem

chenxiang at aquala-tech.com chenxiang at aquala-tech.com
Mon Jul 29 01:28:10 PDT 2013


A fresh installation (source install) with OpenNebula 4.2, with the same
problem:

/vmfs/volumes # df -m
Filesystem 1M-blocks  Used Available Use% Mounted on
VMFS-5        358144 41932    316212  12% /vmfs/volumes/100
VMFS-5        306944 23951    282993   8% /vmfs/volumes/101
VMFS-5        710144 36040    674104   5% /vmfs/volumes/datastore1
vfat            4094    27      4067   1%
/vmfs/volumes/518740ff-d405a537-8217-80ee733ae800
vfat             249   127       122  51%
/vmfs/volumes/1869dd75-9fb32e9e-fda7-0d838e640f14
vfat             249     0       249   0%
/vmfs/volumes/831e567e-fac4c594-8a2c-c931f43a0864
vfat             285   176       109  62%
/vmfs/volumes/518740f6-80b7f4df-0ae7-80ee733ae800


oneadmin at vdc:~$ onedatastore show 100
DATASTORE 100 INFORMATION
ID             : 100
NAME           : VMW-Images
USER           : oneadmin
GROUP          : oneadmin
CLUSTER        : VMW
TYPE           : IMAGE
DS_MAD         : vmfs
TM_MAD         : vmfs
BASE PATH      : /vmfs/volumes/100
DISK_TYPE      : FILE

DATASTORE CAPACITY
TOTAL:         : 0M
USED:          : 40.8G
FREE:          : 0M

PERMISSIONS
OWNER          : um-
GROUP          : u--
OTHER          : ---

DATASTORE TEMPLATE
BRIDGE_LIST="vmware01"
DS_MAD="vmfs"
SAFE_DIRS="/srv/cloud/one/images"
TM_MAD="vmfs"
TYPE="IMAGE_DS"

IMAGES

Chen Xiang


> Great point. I found the following line in my oned.log:
>
> oned.log:Sun Jul 28 16:00:53 2013 [ImM][I]: Datastore VMW-Images (103)
> successfully monitored.
>
>
> oneadmin at vdc:~/var$ onedatastore show 103
> DATASTORE 104 INFORMATION
> ID             : 103
> NAME           : VMW-Images
> USER           : oneadmin
> GROUP          : oneadmin
> CLUSTER        : VMW
> TYPE           : IMAGE
> DS_MAD         : vmfs
> TM_MAD         : vmfs
> BASE PATH      : /vmfs/volumes/103
> DISK_TYPE      : FILE
>
> DATASTORE CAPACITY
> TOTAL:         : 0M
> USED:          : 40.8G
> FREE:          : 0M
>
> PERMISSIONS
> OWNER          : um-
> GROUP          : u--
> OTHER          : ---
>
> DATASTORE TEMPLATE
> BRIDGE_LIST="192.168.100.17"
> DS_MAD="vmfs"
> SAFE_DIRS="/srv/cloud/one/images"
> TM_MAD="vmfs"
> TYPE="IMAGE_DS"
>
> IMAGES
>
>
> Chen Xiang
>
>
>> 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
>>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>





More information about the Users mailing list