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 .
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?
[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:
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 ?