Sharing http marketplaces between different ONE installs?

Hey all!

Does anybody know if it’s possible to share a single “http” type marketplace between two different OpenNebula installs?

When I try, I only see images uploaded by each ONE install on that install alone. Any way to use a shared DB for this? Would this require federation?

Hello @ednavbor

Could you please send me the output of onemarket show <ID> -x of each OpenNebula?

Also, I would recommend you to take a look at this. You can create a marketplace using the one drive, I think this fits better with your use case. Here you have an example of that kind of marketplace.

ONE install 1:

<MARKETPLACE>
  <ID>100</ID>
  <UID>0</UID>
  <GID>0</GID>
  <UNAME>oneadmin</UNAME>
  <GNAME>oneadmin</GNAME>
  <NAME>Faygo</NAME>
  <MARKET_MAD><![CDATA[http]]></MARKET_MAD>
  <ZONE_ID><![CDATA[0]]></ZONE_ID>
  <TOTAL_MB>1944647</TOTAL_MB>
  <FREE_MB>1739478</FREE_MB>
  <USED_MB>205169</USED_MB>
  <MARKETPLACEAPPS>
    <ID>69</ID>
  </MARKETPLACEAPPS>
  <PERMISSIONS>
    <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>1</OTHER_U>
    <OTHER_M>0</OTHER_M>
    <OTHER_A>0</OTHER_A>
  </PERMISSIONS>
  <TEMPLATE>
    <BASE_URL><![CDATA[http://faygo.fqdn.com/marketplace]]></BASE_URL>
    <BRIDGE_LIST><![CDATA[faygo.fqdn.com]]></BRIDGE_LIST>
    <MARKET_MAD><![CDATA[http]]></MARKET_MAD>
    <PUBLIC_DIR><![CDATA[/data/marketplace]]></PUBLIC_DIR>
  </TEMPLATE>
</MARKETPLACE>

ONE install 2:

<MARKETPLACE>
  <ID>103</ID>
  <UID>0</UID>
  <GID>0</GID>
  <UNAME>oneadmin</UNAME>
  <GNAME>oneadmin</GNAME>
  <NAME>Faygo</NAME>
  <MARKET_MAD><![CDATA[http]]></MARKET_MAD>
  <ZONE_ID><![CDATA[0]]></ZONE_ID>
  <TOTAL_MB>1944647</TOTAL_MB>
  <FREE_MB>1739478</FREE_MB>
  <USED_MB>205169</USED_MB>
  <MARKETPLACEAPPS>
    <ID>96</ID>
    <ID>97</ID>
    <ID>98</ID>
    <ID>99</ID>
    <ID>100</ID>
    <ID>102</ID>
  </MARKETPLACEAPPS>
  <PERMISSIONS>
    <OWNER_U>1</OWNER_U>
    <OWNER_M>1</OWNER_M>
    <OWNER_A>0</OWNER_A>
    <GROUP_U>0</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>
  </PERMISSIONS>
  <TEMPLATE>
    <BASE_URL><![CDATA[http://faygo.fqdn.com/marketplace]]></BASE_URL>
    <BRIDGE_LIST><![CDATA[faygo.fqdn.com]]></BRIDGE_LIST>
    <MARKET_MAD><![CDATA[http]]></MARKET_MAD>
    <PUBLIC_DIR><![CDATA[/data/marketplace]]></PUBLIC_DIR>
  </TEMPLATE>
</MARKETPLACE>

I’ll keep looking at the other marketplace options you mentioned. Thanks for your help!