Menu

#935 mkdsklsnode xdcp error

v2.5
closed
5
2012-09-19
2010-03-05
No

[c920f2ec01][/]> rpm -qa | grep -i xcat
openslp-xcat-1.2.1-1
perl-xCAT-2.3.4-snap201002240634
xCAT-client-2.3.4-snap201002240634
xCAT-server-2.3.4-snap201002240635
xCAT-2.3.4-snap201002240635
xCAT-rmc-2.3.2-snap200912071540
xcat-mysql-5.1-37

I'm trying to run mkdkslnode on my mgmt server, c920f2ec01, but it gives me an error pointing to my service node c920f1ec06.

[c920f2ec01][/]> mkdsklsnode -i 61Hdiskless c920f1ec01 -V
Updating 61Hdiskless.
Adding xcataixpost script to the image.
Running: 'mkdir -m 644 -p /install/nim/spot/61Hdiskless/usr/lpp/bos/inst_root/opt/xcat; cp /install/postscripts/xcataixpost /install/nim/spot/61Hdiskless/usr/lpp/bos/inst_root/opt/xcat/xcataixpost; chmod +x /install/nim/spot/61Hdiskless/usr/lpp/bos/inst_root/opt/xcat/xcataixpost'
Running: '/usr/bin/chgrp system /install/nim/spot/61Hdiskless/usr/lpp/bos/inst_root; /usr/bin/chown root /install/nim/spot/61Hdiskless/usr/lpp/bos/inst_root'
Running: 'xdcp c920f1ec06 /etc/hosts /etc'
Error: Could not copy /etc/hosts to c920f1ec06.
Error: Could not get NIM resource definitions.
Error: Could not copy NIM resources to the xCAT service nodes.
Error: Return=1.

[c920f2ec01][/]> xdcp c920f1ec06 /etc/hosts /etc
[c920f2ec01][/]> ls -l /etc/hosts
-rw-rw-r-- 1 root system 2298 Mar 02 11:13 /etc/hosts
[c920f2ec01][/]> xdsh c920f1ec06 ls -l /etc/hosts
c920f1ec06: -rw-rw-r-- 1 root system 2298 Mar 4 16:33 /etc/hosts

[c920f2ec01][/]> lsdef -t node c920f1ec01 -l

Object name: c920f1ec01
cons=hmc
groups=lpar,all
hcp=c920hmc1
id=1
mac=000d60f4331e
mgt=hmc
nodetype=lpar,osi
parent=c920f1fsp01-02AA49C
postbootscripts=otherpkgs
postscripts=syslog,aixremoteshell,makedirs,syncfiles,setupntp
pprofile=c920f1ec01
servicenode=c920f1ec06
xcatmaster=c920f1ec06

v[c920f2ec01][/]> lsdef -t node c920f1ec06 -l

Object name: c920f1ec06
cons=hmc
groups=service,all
hcp=c920hmc1
id=1
mac=000d60f4327c
mgt=hmc
nodetype=lpar,osi
os=AIX
parent=c920f1fsp06-02AA4BC
postbootscripts=otherpkgs
postscripts=syslog,aixremoteshell,makedirs,syncfiles,servicenode
pprofile=c920f1ec06
profile=61Himage
provmethod=61Himage
setupnameserver=no
status=booted

Discussion

  • Anonymous

    Anonymous - 2010-03-08

    I took a quick look at the code. Norm did add some changes to xCAT 2.4 only, revision 5166 to the aixinstall.pm plugin for xdcp calls (set CALLBACK for runcmd and runxcmd).

    This change was NOT put into xCAT 2.3. It looks like 2 lines of code added at the beginning of the preprocess_request and process_request subroutines:

    # need for runcmd output
    $::CALLBACK=$callback;
    
     
  • Kerry Bosworth

    Kerry Bosworth - 2010-03-08

    Can the change be added to 2.3.4? I would like to continue regression here until we GA.

     
  • Anonymous

    Anonymous - 2010-03-09

    Kerry - I checked in the fix to xCAT 2.3. I'm going to leave the defect open until Norm returns so that he can verify this is the correct fix.

    I don't have an xCAT 2.3 system to test on, and when I ran into the same problem, the symptoms were intermittent. Let me know if this patch fixes your problem.

     
  • Kerry Bosworth

    Kerry Bosworth - 2010-03-09

    Thanks Linda. My frame is still off-line. I will try it as soon as it is back.

     
  • Kerry Bosworth

    Kerry Bosworth - 2010-04-29

    I have not been able to re-test this yet.

     
  • 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).

     
MongoDB Logo MongoDB