I am trying to update the appliance logo and description in the appmarket
using appmarket update command but it throws error. I assumed the command
requires a json file format as an input so my file:

{
"id":"528d708080ea62085100010b",
"logo":"http://x.x.x.x/logo/logo.png";,
"description":"Logo description"
}

i execute

# appmarket update file

/srv/cloud/one/lib/ruby/oneapps/market/appmarket_client.rb:106:in `update':
wrong number of arguments (1 for 2) (ArgumentError)
        from /srv/cloud/one/bin/appmarket:251:in `block (2 levels) in
<main>'
        from /srv/cloud/one/lib/ruby/cli/command_parser.rb:449:in `call'
        from /srv/cloud/one/lib/ruby/cli/command_parser.rb:449:in `run'
        from /srv/cloud/one/lib/ruby/cli/command_parser.rb:76:in
`initialize'
        from /srv/cloud/one/bin/appmarket:101:in `new'
        from /srv/cloud/one/bin/appmarket:101:in `<main>'

The documentation does not have much about appmarket update:
http://opennebula.org/documentation:rel4.2:appmarket_use

Please help me to resolve this problem.

Thanks in advance.

Regards,
Naza
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to