[one-users] Inquires the virtual machine detailed XML analytical problem

Daniel Molina dmolina at opennebula.org
Wed Sep 5 03:16:51 PDT 2012


Hi,

On 5 September 2012 04:41, David <david1228 at foxmail.com> wrote:

>
> One installed in Oracle VM Server Server3.0.2,OpenNebula version is 3.2.1
> It appears the XML analytic has a problem after execute the following
> command:
> onehost show 、onevm show、onevnet show
>
> eg:
> [oneadmin at compute-16-10 ~]$ onevm show 6980
> -bash: onevms: command not found
> [oneadmin at compute-16-10 ~]$ onevm show 6980
> VIRTUAL MACHINE 6980 INFORMATION
>
> ID                  : 6980
> NAME                : BCI00000475
> USER                : oneadmin
> GROUP               : oneadmin
> STATE               : ACTIVE
> LCM_STATE           : RUNNING
> HOSTNAME            : vm-container-16-6.local
> START TIME          : 09/04 10:21:29
> END TIME            : -
> DEPLOY ID           : one-6980
>
> VIRTUAL MACHINE MONITORING
>
> NET_RX              : 0
> USED MEMORY         : 528352
> USED CPU            : 4
> NET_TX              : 0
>
> PERMISSIONS
>
> OWNER               : um-
> GROUP               : ---
> OTHER               : ---
>
> VIRTUAL MACHINE TEMPLATE
>
> /opt/nebula/ONE/lib/ruby/OpenNebula/XMLUtils.rb:220:in `collect': wrong
> number of arguments (1 for 0) (ArgumentError)
>  from /opt/nebula/ONE/lib/ruby/OpenNebula/XMLUtils.rb:220:in
> `template_like_str'
> from /opt/nebula/ONE/lib/ruby/OpenNebula/XMLUtils.rb:201:in `template_str'
>  from /opt/nebula/ONE/lib/ruby/cli/one_helper/onevm_helper.rb:174:in
> `format_resource'
> from /opt/nebula/ONE/lib/ruby/cli/one_helper.rb:125:in `show_resource'
>  from /opt/nebula/ONE/bin/onevm:372
> from /opt/nebula/ONE/lib/ruby/cli/command_parser.rb:173:in `call'
> from /opt/nebula/ONE/lib/ruby/cli/command_parser.rb:173:in `run'
>  from /opt/nebula/ONE/lib/ruby/cli/command_parser.rb:79:in `initialize'
> from /opt/nebula/ONE/bin/onevm:33:in `new'
>  from /opt/nebula/ONE/bin/onevm:33
> ====================================================
> [oneadmin at compute-16-10 ~]$ onevnet show 166
> VIRTUAL NETWORK 166 INFORMATION
>
> ID             : 166
> NAME           : 192.168.253.0
> USER           : oneadmin
> GROUP          : oneadmin
> TYPE           : FIXED
> BRIDGE         : xenbr.eth0
> VLAN           : No
> USED LEASES    : 0
>
> PERMISSIONS
>
> OWNER          : um-
> GROUP          : ---
> OTHER          : ---
>
> VIRTUAL NETWORK TEMPLATE
>
> /opt/nebula/ONE/lib/ruby/OpenNebula/XMLUtils.rb:220:in `collect': wrong
> number of arguments (1 for 0) (ArgumentError)
>  from /opt/nebula/ONE/lib/ruby/OpenNebula/XMLUtils.rb:220:in
> `template_like_str'
> from /opt/nebula/ONE/lib/ruby/OpenNebula/XMLUtils.rb:201:in `template_str'
>  from /opt/nebula/ONE/lib/ruby/cli/one_helper/onevnet_helper.rb:128:in
> `format_resource'
> from /opt/nebula/ONE/lib/ruby/cli/one_helper.rb:125:in `show_resource'
>  from /opt/nebula/ONE/bin/onevnet:202
> from /opt/nebula/ONE/lib/ruby/cli/command_parser.rb:173:in `call'
> from /opt/nebula/ONE/lib/ruby/cli/command_parser.rb:173:in `run'
>  from /opt/nebula/ONE/lib/ruby/cli/command_parser.rb:79:in `initialize'
> from /opt/nebula/ONE/bin/onevnet:33:in `new'
>  from /opt/nebula/ONE/bin/onevnet:33
> Please analysis of reasons ?
>

What ruby version are you using?

Cheers



-- 
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120905/16354658/attachment-0002.htm>


More information about the Users mailing list