I am a bit confuse about to configure on the yaml files to show our own appmarket. In the current version, there are the following lines referring to it:
The appmarket addon does not work with one-4.14beta yet. You can point the current marketplace tab to your custom appmarket (sunstone-server.conf), but you cannot use the tabs included in the appmarket addon.
Hi Daniel, Do you know if the appmarket addon is working for OpenNebula 4.14?. Right now, It isn’t in Beta. I have updated OpenNebula from 4.12 to 4.14, everything looks good, but I can’t see the appmarket addon in the OpenNebula’s dashboard.
Note:
We are in the process of upgrading AppMarket addon for one-4.14, but it depends on some changes we did to improve the external tabs support in Sunstone. We will release the new AppMarket version as soon as one-4.14.2 is released.
In OpenNebula 4.14.2 the yaml configuration files of the views have changed (/etc/one/sunstone-views/*.yaml). Please check the differences between your files and the ones in the repo and yours. For example, the enabled_tabs attribute is now and array instead of a hash
I would like to comment that we are also facing the same issue commented by @ybriceno .
According to Sunstone Development — OpenNebula 4.14.2 documentation , it is necessary modify /usr/lib/one/sunstone/public/app/main.js file to include the AppMarket tabs as dependencies of the app module and also the user and admin yaml files for enabling appmarket tabs. These last ones we already did but for main.js, we modified but then I see we need to execute grunt requirejs command according to link Sunstone Development — OpenNebula 4.14.2 documentation but this one does not work for us:
[root@test-sunstone4 one]# cd /usr/lib/one/sunstone/public/app/
[root@test-sunstone4 app]# grunt requirejs
Local Npm module “grunt-sass” not found. Is it installed?
Local Npm module “grunt-contrib-watch” not found. Is it installed?
Local Npm module “grunt-contrib-requirejs” not found. Is it installed?
Warning: Task “requirejs” not found. Use --force to continue.
Aborted due to warnings.
Probably, I am missing something but in any case, I would appreciate any help on this.
I answer to myself again, indeed, It was due to the /etc/one/sunstone-views/*.yaml . In previous release, the “enabled_tabs” were true or false but now, the true/false thing does exist any more on the enable tabs. For example:
Let me share with you, Finally. I could upgrade OpenNebuela 4.14.2 with Appmarket 2.1.3, both work fine. Was necessary run grunt requirejs command. Thanks to @esfreire. I did the following, I’m not sure if the order is ok, but it works fine.: