Hi,
this error also causes "packimage <osimage>" to silently fail to include
the syncfiles when building stateless netboot images.
Kind Regards
Matthias Marx
On Thu 24 Jul 2014 04:37:01 PM CEST, Lissa Valletta <lis...@us.ibm.com>
wrote:
The change was made because the perl level in RHEL7 no longer supports
defined(@array).
https://sourceforge.net/p/xcat/bugs/4072/
The code use to check
if (defined(@$nodes)) it was changed to
if (@$nodes).
I guess the change should have been
if($nodes).
Let me fix the code and do some more testing. Opened
https://sourceforge.net/p/xcat/bugs/4235/
Thanks for letting us know.
Lissa K. Valletta
8-3/B10
Poughkeepsie, NY 12601
(tie 293) 433-3102
Andy Wettstein ---07/22/2014 03:38:33 PM---Hi, I use 'xdcp -i
$installroot -F $synclist' for the stateless image in the
From: Andy Wettstein <wettst...@uchicago.edu>
To: xcat-user@lists.sourceforge.net
Date: 07/22/2014 03:38 PM
Subject: [xcat-user] problem with /opt/xcat/lib/perl/xCAT/DSHCLI.pm
-------------------------
Hi,
I use 'xdcp -i $installroot -F $synclist' for the stateless image in the
postinstall. There seems to be some problems with this command with
2.8.4. I get this:
Error: xdsh plugin bug, pid 21758, process description: 'xCATd SSL: xdcp
for root@localhost: xdsh instance' with error 'Can't use an undefined
value as an ARRAY reference at /opt/xcat/lib/perl/xCAT/DSHCLI.pm line
4508
I changed line 4508 to 'if ($nodes)' instead of 'if (@$nodes)' and
things were fine. It would seem $nodes can be undefined in which case it
can't be dereferenced, so that test is not right. It looks like there
are some other cases introduced in commit 2b4a12 where @$nodes is used
as well.
Andy
--
andy wettstein
hpc system administrator
research computing center
university of chicago
773.702.1104
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user