OpenNebula 5 beta latest update (June 7) bugs

Hi,

I have been installed and gone through the latest beta update . Found some issues ,

1 ) From the “Apps” menu while clicking download , its opening to another window with url “localhost” . If i change that to my server IP it will work fine . Do i need to configure something to change “localhost” behavior?
2 ) Tried to create new marketplace with “http” driver , but got error
Sun Jun 12 09:05:31 2016 : Error importing app into marketplace: Error copying /var/lib/one//datastores/1/9f728a49c66a08ba429d89197d34037a to /var/www/html/76c29885c9d05f61f778c23ff0ac8a72
NOTE : This problem solved . Need to give oneadmin user permission to that web root directory .
3 ) On previous beta release itself VM log file have some loading problems , but in this release log file is simply not working at all .
4 ) Again , "Boot failed , no bootable device " error message . This boot problem is only for marketplace apps. Manual ISO installation works fine .

Regards

Booting issue is solved . Need to change “Image mapping driver” from default storage to qcow2 .

So are these still not working for you?

1 ) From the “Apps” menu while clicking download , its opening to another
window with url “localhost” . If i change that to my server IP it will work
fine . Do i need to configure something to change “localhost” behavior?

If still failing could you send information about the marketplace and app
(onemarket show -x and onemarketapp show -x)

3 ) On previous beta release itself VM log file have some loading problems
, but in this release log file is simply not working at all .

Is sunstone running in the same machine as oned? Any messages in
sunstone-server logs?

Hi,

1 )

[oneadmin@beta ~]$ onemarket show -x 0
<MARKETPLACE>
  <ID>0</ID>
  <UID>0</UID>
  <GID>0</GID>
  <UNAME>oneadmin</UNAME>
  <GNAME>oneadmin</GNAME>
  <NAME>OpenNebula Public</NAME>
  <MARKET_MAD><![CDATA[one]]></MARKET_MAD>
  <ZONE_ID><![CDATA[0]]></ZONE_ID>
  <TOTAL_MB>0</TOTAL_MB>
  <FREE_MB>0</FREE_MB>
  <USED_MB>0</USED_MB>
  <MARKETPLACEAPPS>
    <ID>0</ID>
    <ID>1</ID>
    <ID>2</ID>
    <ID>3</ID>
    <ID>4</ID>
    <ID>5</ID>
    <ID>6</ID>
    <ID>7</ID>
    <ID>8</ID>
    <ID>9</ID>
    <ID>10</ID>
    <ID>11</ID>
    <ID>12</ID>
    <ID>13</ID>
    <ID>14</ID>
    <ID>15</ID>
    <ID>16</ID>
    <ID>17</ID>
    <ID>18</ID>
    <ID>19</ID>
    <ID>20</ID>
    <ID>21</ID>
    <ID>22</ID>
    <ID>23</ID>
    <ID>24</ID>
    <ID>25</ID>
    <ID>26</ID>
    <ID>27</ID>
    <ID>28</ID>
    <ID>29</ID>
    <ID>30</ID>
    <ID>31</ID>
    <ID>32</ID>
    <ID>33</ID>
    <ID>34</ID>
    <ID>35</ID>
    <ID>36</ID>
    <ID>37</ID>
    <ID>38</ID>
    <ID>39</ID>
    <ID>40</ID>
    <ID>41</ID>
    <ID>42</ID>
    <ID>43</ID>
    <ID>44</ID>
    <ID>45</ID>
  </MARKETPLACEAPPS>
  <PERMISSIONS>
    <OWNER_U>1</OWNER_U>
    <OWNER_M>1</OWNER_M>
    <OWNER_A>1</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>
    <DESCRIPTION><![CDATA[OpenNebula Systems MarketPlace]]></DESCRIPTION>
    <MARKET_MAD><![CDATA[one]]></MARKET_MAD>
  </TEMPLATE>
</MARKETPLACE>

And

[oneadmin@beta ~]$ onemarketapp show -x 0 
<MARKETPLACEAPP>
  <ID>0</ID>
  <UID>0</UID>
  <GID>0</GID>
  <UNAME>oneadmin</UNAME>
  <GNAME>oneadmin</GNAME>
  <REGTIME>0</REGTIME>
  <NAME>ttylinux - kvm</NAME>
  <ZONE_ID><![CDATA[0]]></ZONE_ID>
  <ORIGIN_ID><![CDATA[-1]]></ORIGIN_ID>
  <SOURCE><![CDATA[http://marketplace.opennebula.systems//appliance/4fc76a938fb81d3517000003/download/0]]></SOURCE>
  <MD5><![CDATA[04c7d00e88fa66d9aaa34d9cf8ad6aaa]]></MD5>
  <SIZE>40</SIZE>
  <DESCRIPTION><![CDATA[This is a very small image that works with OpenNebula. It's already contextualized. The purpose of this image is to test OpenNebula deployments, without wasting network bandwith thanks to the tiny footprint of this image
(40MB).]]></DESCRIPTION>
  <VERSION><![CDATA[1.0]]></VERSION>
  <FORMAT><![CDATA[raw]]></FORMAT>
  <APPTEMPLATE64><![CDATA[]]></APPTEMPLATE64>
  <MARKETPLACE_ID>0</MARKETPLACE_ID>
  <MARKETPLACE>OpenNebula Public</MARKETPLACE>
  <STATE>1</STATE>
  <TYPE>1</TYPE>
  <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>
    <DESCRIPTION><![CDATA[This is a very small image that works with OpenNebula. It's already contextualized. The purpose of this image is to test OpenNebula deployments, without wasting network bandwith thanks to the tiny footprint of this image
(40MB).]]></DESCRIPTION>
    <IMPORT_ID><![CDATA[4fc76a938fb81d3517000003]]></IMPORT_ID>
    <PUBLISHER><![CDATA[OpenNebula.org]]></PUBLISHER>
    <TAGS><![CDATA[linux, ttylinux,  4.8,  4.10]]></TAGS>
    <VERSION><![CDATA[1.0]]></VERSION>
    <VMTEMPLATE64><![CDATA[Q09OVEVYVCA9IFsgTkVUV09SSyAgPSJZRVMiLFNTSF9QVUJMSUNfS0VZICA9IiRVU0VSW1NTSF9QVUJMSUNfS0VZXSJdCgpDUFUgPSAiMC4xIgpHUkFQSElDUyA9IFsgTElTVEVOICA9IjAuMC4wLjAiLFRZUEUgID0idm5jIl0KCk1FTU9SWSA9ICIxMjgiCkxPR08gPSAiaW1hZ2VzL2xvZ29zL2xpbnV4LnBuZyI=]]></VMTEMPLATE64>
  </TEMPLATE>
</MARKETPLACEAPP>

3 ) Sunstone and oned are running on the same server .

Martkeplace is working for me, note that it downloads the app to your web client (e.g. “laptop”) thorugh sunstone. It’ll use the sunstone url, probably localhost in your case.

You can also click on the “to OpenNebula” button to download the app to a datastore.

In any case if you use localhost as your sunstone enpoint for testing it should work. You’d get a link like:

http://localhost:9869/marketplaceapp/0/download?csrftoken=34ce4

And the image should end in the download folder configured in your browser.

Also I have no problems to access the logs, could you check for any errors in suntstone log files…

Hi ,

Thanks for the prompt support . Appreciated .

Which internet browser you are using ? .

My opennebula server running on a physical host with IP 10.254.254.168 and hostname is beta.cloud.com .
IP and hostname are added in /etc/hosts file .
My laptop IP is 10.254.254.67 . I m browsing Sunstone gui from my laptop . So when i click download app button it should pop up with Opennebula server IP right ?
The result is ,
http://localhost:9869/marketplaceapp/0/download?csrftoken=34ce4
instead of
http://10.254.254.168:9869/marketplaceapp/0/download?csrftoken=34ce4
.
In old opennebula server we were changed /etc/one/sunstone-server.conf
:host: 127.0.0.1 to :host: 0.0.0.0 right ?

I think you got my point . :slight_smile:

Regards

FYI

There were also a bug as:

http://dev.opennebula.org/projects/opennebula/repository/revisions/40f8389a2fb2640eb046df19f27bcea896e4546f