[one-users] problem at ozone show
Tino Vazquez
tinova at opennebula.org
Thu Apr 12 08:19:41 PDT 2012
I am trying with the latest OpenNebula 3.4 and it works for me. Which
version of ONE are you using Please take into account that the version
of oZones and the version of the ONE present in all the zones must be
the same.
$ onezone show 4 host
ZONE other INFORMATION
ID : 4
NAME : other
ZONE ADMIN : oneadmin
ZONE PASS : BO9Lr65B7K4IP7hoRQtSxw==
ENDPOINT : http://localhost:2634/RPC2
# VDCS : 1
VDCS INFORMATION
ID NAME
4 MyZone
ZONE VIEW - host
ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM AMEM STAT
0 hostA BigStora 0 0 0 100 0K 0K 0K err
1 hostB BigStora 0 0 0 100 0K 0K 0K err
2 hostC BigStora 0 0 0 100 0K 0K 0K err
3 hostD BigStora 0 0 0 100 0K 0K 0K err
--
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 4:59 PM, Tino Vazquez <tinova at opennebula.org> wrote:
> 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