I have a problem to run sunstone in this issue, so I am trying to use cli to download images from the opennbula marketplace using onemarketapp downlod command. And instantiate this image template
I followd this guide but it does not mention how to import or download images from opennebula Marketplace
Steps to reproduce $one start $sunston-server start $onemarketapp list to get the image id $onedatastore show default to get the path of the image datastore $onemarketapp download 10 <path/to/default/datastore>
I got this error
Traceback (most recent call last):
9: from /home/oneadmin/installation/bin/onemarketapp:43:in <main>' 8: from /home/oneadmin/installation/bin/onemarketapp:43:in new’
7: from /home/oneadmin/installation/lib/ruby/cli/command_parser.rb:84:in initialize' 6: from /home/oneadmin/installation/lib/ruby/cli/command_parser.rb:470:in run’
5: from /home/oneadmin/installation/bin/onemarketapp:201:in block (2 levels) in <main>' 4: from /home/oneadmin/installation/lib/ruby/cli/one_helper.rb:846:in perform_action’
3: from /home/oneadmin/installation/bin/onemarketapp:203:in block (3 levels) in <main>' 2: from /home/oneadmin/installation/lib/ruby/cli/one_helper.rb:1635:in download_resource_sunstone’
1: from /home/oneadmin/installation/lib/ruby/cli/one_helper.rb:1635:in open' /home/oneadmin/installation/lib/ruby/cli/one_helper.rb:1635:in initialize’: Is a directory @ rb_sysopen - /home/oneadmin/installation/var//datastores/1 (Errno::EISDIR)
Sorry to be late. Thank you for the reply
when I followed the guide you gave I was stuck in making a new app $ cat templates/marketapp.tpl
NAME=TTYlinux
ORIGIN_ID=0
TYPE=image
and when I run $ onemarketapp create ~/templates/marketapp.tpl -m "OpenNebula Public"
It returns [one.marketapp.allocate] Create disabled for market: OpenNebula Public
what shoud I do ?