Hi,<br><br><div class="gmail_quote">On 5 September 2012 04:41, David <span dir="ltr"><<a href="mailto:david1228@foxmail.com" target="_blank">david1228@foxmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><br></div><div>One installed in Oracle VM Server Server3.0.2,OpenNebula version is 3.2.1</div><div>It appears the XML analytic has a problem after execute the following command: </div><div>onehost show 、onevm show、onevnet show </div>

<div><br></div><div>eg:</div><div><div>[oneadmin@compute-16-10 ~]$ onevm show 6980</div><div>-bash: onevms: command not found</div><div>[oneadmin@compute-16-10 ~]$ onevm show 6980</div><div>VIRTUAL MACHINE 6980 INFORMATION                                                </div>

<div>ID                  : 6980                </div><div>NAME                : BCI00000475         </div><div>USER                : oneadmin            </div><div>GROUP               : oneadmin            </div><div>STATE               : ACTIVE              </div>

<div>LCM_STATE           : RUNNING             </div><div>HOSTNAME            : vm-container-16-6.local</div><div>START TIME          : 09/04 10:21:29      </div><div>END TIME            : -                   </div><div>
DEPLOY ID           : one-6980            </div>
<div><br></div><div>VIRTUAL MACHINE MONITORING                                                      </div><div>NET_RX              : 0                   </div><div>USED MEMORY         : 528352              </div><div>USED CPU            : 4                   </div>

<div>NET_TX              : 0                   </div><div><br></div><div>PERMISSIONS                                                                     </div><div>OWNER               : um-                 </div><div>GROUP               : ---                 </div>

<div>OTHER               : ---                 </div><div><br></div><div>VIRTUAL MACHINE TEMPLATE                                                        </div><div>/opt/nebula/ONE/lib/ruby/OpenNebula/XMLUtils.rb:220:in `collect': wrong number of arguments (1 for 0) (ArgumentError)</div>

<div><span style="white-space:pre-wrap">  </span>from /opt/nebula/ONE/lib/ruby/OpenNebula/XMLUtils.rb:220:in `template_like_str'</div><div><span style="white-space:pre-wrap">      </span>from /opt/nebula/ONE/lib/ruby/OpenNebula/XMLUtils.rb:201:in `template_str'</div>

<div><span style="white-space:pre-wrap">  </span>from /opt/nebula/ONE/lib/ruby/cli/one_helper/onevm_helper.rb:174:in `format_resource'</div><div><span style="white-space:pre-wrap">        </span>from /opt/nebula/ONE/lib/ruby/cli/one_helper.rb:125:in `show_resource'</div>

<div><span style="white-space:pre-wrap">  </span>from /opt/nebula/ONE/bin/onevm:372</div><div><span style="white-space:pre-wrap">       </span>from /opt/nebula/ONE/lib/ruby/cli/command_parser.rb:173:in `call'</div><div><span style="white-space:pre-wrap">    </span>from /opt/nebula/ONE/lib/ruby/cli/command_parser.rb:173:in `run'</div>

<div><span style="white-space:pre-wrap">  </span>from /opt/nebula/ONE/lib/ruby/cli/command_parser.rb:79:in `initialize'</div><div><span style="white-space:pre-wrap">       </span>from /opt/nebula/ONE/bin/onevm:33:in `new'</div>

<div><span style="white-space:pre-wrap">  </span>from /opt/nebula/ONE/bin/onevm:33</div></div><div>====================================================</div><div><div>[oneadmin@compute-16-10 ~]$ onevnet show 166</div><div>

VIRTUAL NETWORK 166 INFORMATION                                                 </div><div>ID             : 166                 </div><div>NAME           : 192.168.253.0       </div><div>USER           : oneadmin            </div>

<div>GROUP          : oneadmin            </div><div>TYPE           : FIXED               </div><div>BRIDGE         : xenbr.eth0          </div><div>VLAN           : No                  </div><div>USED LEASES    : 0                   </div>

<div><br></div><div>PERMISSIONS                                                                     </div><div>OWNER          : um-                 </div><div>GROUP          : ---                 </div><div>OTHER          : ---                 </div>

<div><br></div><div>VIRTUAL NETWORK TEMPLATE                                                        </div><div>/opt/nebula/ONE/lib/ruby/OpenNebula/XMLUtils.rb:220:in `collect': wrong number of arguments (1 for 0) (ArgumentError)</div>

<div><span style="white-space:pre-wrap">  </span>from /opt/nebula/ONE/lib/ruby/OpenNebula/XMLUtils.rb:220:in `template_like_str'</div><div><span style="white-space:pre-wrap">      </span>from /opt/nebula/ONE/lib/ruby/OpenNebula/XMLUtils.rb:201:in `template_str'</div>

<div><span style="white-space:pre-wrap">  </span>from /opt/nebula/ONE/lib/ruby/cli/one_helper/onevnet_helper.rb:128:in `format_resource'</div><div><span style="white-space:pre-wrap">      </span>from /opt/nebula/ONE/lib/ruby/cli/one_helper.rb:125:in `show_resource'</div>

<div><span style="white-space:pre-wrap">  </span>from /opt/nebula/ONE/bin/onevnet:202</div><div><span style="white-space:pre-wrap">     </span>from /opt/nebula/ONE/lib/ruby/cli/command_parser.rb:173:in `call'</div><div><span style="white-space:pre-wrap">    </span>from /opt/nebula/ONE/lib/ruby/cli/command_parser.rb:173:in `run'</div>

<div><span style="white-space:pre-wrap">  </span>from /opt/nebula/ONE/lib/ruby/cli/command_parser.rb:79:in `initialize'</div><div><span style="white-space:pre-wrap">       </span>from /opt/nebula/ONE/bin/onevnet:33:in `new'</div>

<div><span style="white-space:pre-wrap">  </span>from /opt/nebula/ONE/bin/onevnet:33</div></div><div><div>Please analysis of reasons ?</div></div></blockquote><div><br></div><div>What ruby version are you using? </div><div>

<br></div><div>Cheers</div></div><br><br clear="all"><div><br></div>-- <br>Daniel Molina<br>Project Engineer<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula<br>