[one-users] problem at ozone show
Tino Vazquez
tinova at opennebula.org
Thu Apr 12 07:59:15 PDT 2012
Hi Alejandro,
This is a bug in the oZones CLI. I've opened a ticket [1] to keep
track of the solution.
Many thanks for the great feedback,
-Tino
[1] http://dev.opennebula.org/issues/1231
--
Constantino Vázquez Blanco, MSc
Project Engineer
OpenNebula - The Open-Source Solution for Data Center Virtualization
www.OpenNebula.org | @tinova79 | @OpenNebula
On Thu, Apr 12, 2012 at 3:47 PM, Alejandro Feijoo Fraga
<alfeijoo at cesga.es> wrote:
> Hi.
>
> i´m having a problem with ozone, in particular with onezone command.
>
> Here is the output:
>
>
> 1.- First only the list (ALL FINE)
> oneadmin at onesrv:~/ozones$ onezone list
> ID NAME ENDPOINT
> 2 Cloud-01 [EDITED]
>
>
>
> 2.- Show info about that zone (ALL FINE TOO)
>
> oneadmin at onesrv:~/ozones$ onezone show 2
> ZONE Cloud-01 INFORMATION
> ID : 2
> NAME : Cloud-01
> ZONE ADMIN : [EDITED]
> ZONE PASS : [EDITED]
> ENDPOINT : http://[EDITED]:3/RPC2
> # VDCS : 0
>
> 3.- Finaly i want see the hosts at that zone... but errr...
>
> oneadmin at onesrv:~/ozones$ onezone show 2 host
> ZONE Cloud-01 INFORMATION
> ID : 2
> NAME : Cloud-01
> ZONE ADMIN : [EDITED]
> ZONE PASS : [EDITED]
> ENDPOINT : http://[EDITED]:3/RPC2
> # VDCS : 0
>
> /srv/cloud/one/bin/onezone:70:in `initialize': wrong number of arguments (3
> for 2) (ArgumentError)
> from /srv/cloud/one/bin/onezone:70:in `new'
> from /srv/cloud/one/bin/onezone:70
> from /srv/cloud/one/lib/ruby/cli/command_parser.rb:173:in `call'
> from /srv/cloud/one/lib/ruby/cli/command_parser.rb:173:in `run'
> from /srv/cloud/one/lib/ruby/cli/command_parser.rb:79:in `initialize'
> from /srv/cloud/one/bin/onezone:33:in `new'
> from /srv/cloud/one/bin/onezone:33
>
>
> I see the "Wrong number of arguments" but at help i see:
>
> * show <zoneid> [<resource>]
> Show information of a particular Zone
> Available resources: host, vm, image, vn, template, user
> Examples:
> onezone show 4
> onezone show 4 host
>
>
> Any Idea? I think its a stupid problem... but i cant found...
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
More information about the Users
mailing list