Error message: 'Missing datastore id'

(wm1) #1

Following your installation instructions i installed OpenNebula in my Virtualbox 5.2.2 for testing it on Debian 9.9 netinst. Front-End and 2 nodes installed fine, no errors until verifying installation. When i press the Download-Button for downloading tty kvm from marketplace, an error pops up: ‘Missing datastore id’

What did i do wrong in my installation?

(Alejandro Huertas) #2

Hello @wm1

Could you please send me the output of onedatastore list -x?

(wm1) #3

oneadmin@vonfe:~$ onedatastore list -x
<DATASTORE_POOL>

2
0
0
oneadmin
oneadmin
files

<OWNER_U>1</OWNER_U>
<OWNER_M>1</OWNER_M>
<OWNER_A>0</OWNER_A>
<GROUP_U>1</GROUP_U>
<GROUP_M>0</GROUP_M>
<GROUP_A>0</GROUP_A>
<OTHER_U>0</OTHER_U>
<OTHER_M>0</OTHER_M>
<OTHER_A>0</OTHER_A>

<DS_MAD></DS_MAD>
<TM_MAD></TM_MAD>
<BASE_PATH></BASE_PATH>
2
<DISK_TYPE>0</DISK_TYPE>
0

0

<TOTAL_MB>14047</TOTAL_MB>
<FREE_MB>11579</FREE_MB>
<USED_MB>1735</USED_MB>


<ALLOW_ORPHANS></ALLOW_ORPHANS>
<CLONE_TARGET></CLONE_TARGET>
<DS_MAD></DS_MAD>
<LN_TARGET></LN_TARGET>
<RESTRICTED_DIRS></RESTRICTED_DIRS>
<SAFE_DIRS></SAFE_DIRS>
<TM_MAD></TM_MAD>




1
0
0
oneadmin
oneadmin
default

<OWNER_U>1</OWNER_U>
<OWNER_M>1</OWNER_M>
<OWNER_A>0</OWNER_A>
<GROUP_U>1</GROUP_U>
<GROUP_M>0</GROUP_M>
<GROUP_A>0</GROUP_A>
<OTHER_U>0</OTHER_U>
<OTHER_M>0</OTHER_M>
<OTHER_A>0</OTHER_A>

<DS_MAD></DS_MAD>
<TM_MAD></TM_MAD>
<BASE_PATH></BASE_PATH>
0
<DISK_TYPE>0</DISK_TYPE>
0

0

<TOTAL_MB>14047</TOTAL_MB>
<FREE_MB>11579</FREE_MB>
<USED_MB>1735</USED_MB>


<ALLOW_ORPHANS></ALLOW_ORPHANS>
<CLONE_TARGET></CLONE_TARGET>
<DISK_TYPE></DISK_TYPE>
<DS_MAD></DS_MAD>
<LN_TARGET></LN_TARGET>
<RESTRICTED_DIRS></RESTRICTED_DIRS>
<SAFE_DIRS></SAFE_DIRS>
<TM_MAD></TM_MAD>




0
0
0
oneadmin
oneadmin
system

<OWNER_U>1</OWNER_U>
<OWNER_M>1</OWNER_M>
<OWNER_A>0</OWNER_A>
<GROUP_U>1</GROUP_U>
<GROUP_M>0</GROUP_M>
<GROUP_A>0</GROUP_A>
<OTHER_U>0</OTHER_U>
<OTHER_M>0</OTHER_M>
<OTHER_A>0</OTHER_A>

<DS_MAD></DS_MAD>
<TM_MAD></TM_MAD>
<BASE_PATH></BASE_PATH>
1
<DISK_TYPE>0</DISK_TYPE>
0

0

<TOTAL_MB>0</TOTAL_MB>
<FREE_MB>0</FREE_MB>
<USED_MB>0</USED_MB>


<ALLOW_ORPHANS></ALLOW_ORPHANS>
<DISK_TYPE></DISK_TYPE>
<DS_MIGRATE></DS_MIGRATE>
<RESTRICTED_DIRS></RESTRICTED_DIRS>
<SAFE_DIRS></SAFE_DIRS>

<TM_MAD></TM_MAD>



</DATASTORE_POOL>

(wm1) #4

Hello Alejandro,

thanks for your help. Here your requested info:

oneadmin@vonfe:~$ onedatastore list -x
<DATASTORE_POOL>

2
0
0
oneadmin
oneadmin
files

<OWNER_U>1</OWNER_U>
<OWNER_M>1</OWNER_M>
<OWNER_A>0</OWNER_A>
<GROUP_U>1</GROUP_U>
<GROUP_M>0</GROUP_M>
<GROUP_A>0</GROUP_A>
<OTHER_U>0</OTHER_U>
<OTHER_M>0</OTHER_M>
<OTHER_A>0</OTHER_A>

<DS_MAD></DS_MAD>
<TM_MAD></TM_MAD>

<BASE_PATH></BASE_PATH>
2
<DISK_TYPE>0</DISK_TYPE>
0

0

<TOTAL_MB>14047</TOTAL_MB>
<FREE_MB>11579</FREE_MB>
<USED_MB>1735</USED_MB>

<ALLOW_ORPHANS></ALLOW_ORPHANS>

<CLONE_TARGET></CLONE_TARGET>
<DS_MAD></DS_MAD>
<LN_TARGET></LN_TARGET>

<RESTRICTED_DIRS></RESTRICTED_DIRS>
<SAFE_DIRS></SAFE_DIRS>
<TM_MAD></TM_MAD>




1
0
0
oneadmin
oneadmin
default

<OWNER_U>1</OWNER_U>
<OWNER_M>1</OWNER_M>
<OWNER_A>0</OWNER_A>
<GROUP_U>1</GROUP_U>
<GROUP_M>0</GROUP_M>
<GROUP_A>0</GROUP_A>
<OTHER_U>0</OTHER_U>
<OTHER_M>0</OTHER_M>
<OTHER_A>0</OTHER_A>

<DS_MAD></DS_MAD>
<TM_MAD></TM_MAD>

<BASE_PATH></BASE_PATH>
0
<DISK_TYPE>0</DISK_TYPE>
0

0

<TOTAL_MB>14047</TOTAL_MB>
<FREE_MB>11579</FREE_MB>
<USED_MB>1735</USED_MB>

<ALLOW_ORPHANS></ALLOW_ORPHANS>

<CLONE_TARGET></CLONE_TARGET>
<DISK_TYPE></DISK_TYPE>
<DS_MAD></DS_MAD>
<LN_TARGET></LN_TARGET>

<RESTRICTED_DIRS></RESTRICTED_DIRS>
<SAFE_DIRS></SAFE_DIRS>
<TM_MAD></TM_MAD>




0
0
0
oneadmin
oneadmin
system

<OWNER_U>1</OWNER_U>
<OWNER_M>1</OWNER_M>
<OWNER_A>0</OWNER_A>
<GROUP_U>1</GROUP_U>
<GROUP_M>0</GROUP_M>
<GROUP_A>0</GROUP_A>
<OTHER_U>0</OTHER_U>
<OTHER_M>0</OTHER_M>
<OTHER_A>0</OTHER_A>

<DS_MAD></DS_MAD>
<TM_MAD></TM_MAD>

<BASE_PATH></BASE_PATH>
1
<DISK_TYPE>0</DISK_TYPE>
0

0

<TOTAL_MB>0</TOTAL_MB>
<FREE_MB>0</FREE_MB>
<USED_MB>0</USED_MB>

<ALLOW_ORPHANS></ALLOW_ORPHANS>
<DISK_TYPE></DISK_TYPE>
<DS_MIGRATE></DS_MIGRATE>

<RESTRICTED_DIRS></RESTRICTED_DIRS>
<SAFE_DIRS></SAFE_DIRS>

<TM_MAD></TM_MAD>



</DATASTORE_POOL>
oneadmin@vonfe:~$

Best regards

(Alejandro Huertas) #5

It seems that the datastores are wrong configured, can you please create a new system and image datastore? Then try again.

(wm1) #6

I deleted Datastore id 0 and 1 and create new ones, 100 and 101. Same error.

(Alejandro Huertas) #7

Send me again the list please.

(wm1) #8

oneadmin@vonfe:~$ onedatastore list -x
<DATASTORE_POOL>

101
0
0
oneadmin
oneadmin
image

<OWNER_U>1</OWNER_U>
<OWNER_M>1</OWNER_M>
<OWNER_A>0</OWNER_A>
<GROUP_U>1</GROUP_U>
<GROUP_M>0</GROUP_M>
<GROUP_A>0</GROUP_A>
<OTHER_U>0</OTHER_U>
<OTHER_M>0</OTHER_M>
<OTHER_A>0</OTHER_A>

<DS_MAD></DS_MAD>
<TM_MAD></TM_MAD>

<BASE_PATH></BASE_PATH>
0
<DISK_TYPE>0</DISK_TYPE>
0

0

<TOTAL_MB>14047</TOTAL_MB>
<FREE_MB>11579</FREE_MB>
<USED_MB>1735</USED_MB>

<ALLOW_ORPHANS></ALLOW_ORPHANS>

<CLONE_TARGET></CLONE_TARGET>

<CLONE_TARGET_SSH></CLONE_TARGET_SSH>
<DISK_TYPE></DISK_TYPE>

<DISK_TYPE_SSH></DISK_TYPE_SSH>
<DS_MAD></DS_MAD>
<LN_TARGET></LN_TARGET>

<LN_TARGET_SSH></LN_TARGET_SSH>

<RESTRICTED_DIRS></RESTRICTED_DIRS>
<SAFE_DIRS></SAFE_DIRS>
<TM_MAD></TM_MAD>

<TM_MAD_SYSTEM></TM_MAD_SYSTEM>




100
0
0
oneadmin
oneadmin
default

<OWNER_U>1</OWNER_U>
<OWNER_M>1</OWNER_M>
<OWNER_A>0</OWNER_A>
<GROUP_U>1</GROUP_U>
<GROUP_M>0</GROUP_M>
<GROUP_A>0</GROUP_A>
<OTHER_U>0</OTHER_U>
<OTHER_M>0</OTHER_M>
<OTHER_A>0</OTHER_A>

<DS_MAD></DS_MAD>
<TM_MAD></TM_MAD>

<BASE_PATH></BASE_PATH>
1
<DISK_TYPE>0</DISK_TYPE>
0

0

<TOTAL_MB>14047</TOTAL_MB>
<FREE_MB>11579</FREE_MB>
<USED_MB>1735</USED_MB>

<ALLOW_ORPHANS></ALLOW_ORPHANS>
<DISK_TYPE></DISK_TYPE>
<DS_MIGRATE></DS_MIGRATE>

<RESTRICTED_DIRS></RESTRICTED_DIRS>
<SAFE_DIRS></SAFE_DIRS>

<TM_MAD></TM_MAD>




2
0
0
oneadmin
oneadmin
files

<OWNER_U>1</OWNER_U>
<OWNER_M>1</OWNER_M>
<OWNER_A>0</OWNER_A>
<GROUP_U>1</GROUP_U>
<GROUP_M>0</GROUP_M>
<GROUP_A>0</GROUP_A>
<OTHER_U>0</OTHER_U>
<OTHER_M>0</OTHER_M>
<OTHER_A>0</OTHER_A>

<DS_MAD></DS_MAD>
<TM_MAD></TM_MAD>

<BASE_PATH></BASE_PATH>
2
<DISK_TYPE>0</DISK_TYPE>
0

0

<TOTAL_MB>14047</TOTAL_MB>
<FREE_MB>11579</FREE_MB>
<USED_MB>1735</USED_MB>

<ALLOW_ORPHANS></ALLOW_ORPHANS>

<CLONE_TARGET></CLONE_TARGET>
<DS_MAD></DS_MAD>
<LN_TARGET></LN_TARGET>

<RESTRICTED_DIRS></RESTRICTED_DIRS>
<SAFE_DIRS></SAFE_DIRS>
<TM_MAD></TM_MAD>



</DATASTORE_POOL>
oneadmin@vonfe:~$

(Alejandro Huertas) #9

The problem is that the datastores table is not showing to you.

Try to update the tm_mad and ds_mad of each datastore.

(wm1) #10

How to do that? I’m new to OpenN.

(Alejandro Huertas) #11

onedatastore update 100 and change the value then do the same for 101.

There are several types of ds_mad and tm_mad depending on the storage you are using, here you can find more information.

(wm1) #12

When i run this '``onedatastore update 100'
command at the front end, it opens up vi. I use joe as editor, not
vi.

  Maybe the problem is while running Front-End and nodes in Oracle

Virtualbox as virtual machines.

  I think i stop here and not go on wasting my time from changing

my proxmox cluster to Open Nebula. Maybe i try again later when ON
is more stable and the demo works in Virtualbox.

Thank you very much. Enjoy your day.

(Gui||aume) #13

Same problem here using minione-lxd installation method on Ubuntu 18.04. I tried to delete the default datastore and recreate a new one but it didn’t show in the apps download page.

The onemarketapp export command works great. The problem seems to be only with Sunstone.

(Andy) #14

I just bumped into this too… and found a somewhat working workaround.

When you select an image and click the button (on the list of all images) then the “Download App to OpenNebula” doesn’t show the table with datastores to choose to store the image.

When I open the app image details and click the button to Download App to OpenNebula I also sometimes am missing the table, but hitting refresh and going there again (repeat if necessary) fixes the issue.

(Alejandro Huertas) #15

It seems to be a Sunstone bug, we will take a look at it, to solve it, thanks for your feedback!

2 Likes
(wm1) #16

jep, i just find that out also. thanks

(wm1) #17

yw, thanks for jour help.

(Jorge Lobo) #18

export.js (4.9 KB)

Try replacing this file in “repo” /one/src/sunstone/public/app/tabs/marketplaceapps-tab/form-panels/export.js, and rebuild the sunstone code. to have it go to the browser and with the open devtool you can send me a screenshot

(wm1) #19

Thanks for your help, but i have no development setup. Just tried
out your demo install.