Menu

#452 copycds failed with noderange and vm error

v2.3
closed
6
2012-09-19
2009-07-06
Li Cao
No

copycds -n sles11 -a ppc64 /iso/11/SLES-11-DVD-ppc64-GM-DVD1.iso

Copying media to /install/sles11/ppc64/1
Media copy operation successful
Missing Noderange
Usage for command cannot be found

Cannot open vm table

Discussion

  • Li Cao

    Li Cao - 2009-07-06

    looks like it is related to the Vallard code changes

     
  • Guang Cheng Li

    Guang Cheng Li - 2009-07-07

    I think Cao Li was referring Jarrod B Johnson instead of Vallard. The issue resides in esx.pm subroutine: xCAT_plugin::esx::preprocess_request:

    esx.pm Lines:
    unless ($request) { return; }
    if ($request->{command}->[0] eq 'copycd')
    { #don't farm out copycd
    return [$request];
    ..

    The request was cleared in sles.pm/anaconda.pm/windows.pm by that:

    %{$request} = ();    #clear request we've got it.
    

    line "unless ($request) { return; } " does not much, but if ($request->{command}->[0] eq 'copycd') will result in perl syntax issue.
    hv4plus_xcat03:~ # XCATBYPASS=1 copycds /iso/11/SLES-11-DVD-ppc64-GM-DVD1.iso
    ...
    Use of uninitialized value in string eq at /opt/xcat/lib/perl/xCAT_plugin/esx.pm line 147.
    Use of uninitialized value in string eq at /opt/xcat/lib/perl/xCAT_plugin/esx.pm line 147.
    DBD::mysql::db table_info failed: MySQL server has gone away at /opt/xcat/lib/perl/xCAT/Table.pm line 314.
    DBD::mysql::db table_info failed: MySQL server has gone away at /opt/xcat/lib/perl/xCAT/Table.pm line 314.
    Cannot open vm table
    hv4plus_xcat03:~ #

     
  • Jarrod Johnson

    Jarrod Johnson - 2009-10-06

    Fixed in svn rev 4316

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 28 days (the time period specified by
    the administrator of this Tracker).