From: SourceForge.net <no...@so...> - 2009-09-30 01:07:15
|
Bugs item #2868914, was opened at 2009-09-28 23:12 Message generated for change (Settings changed) made by ligc You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1006945&aid=2868914&group_id=208749 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General >Group: v2.3 Status: Open >Resolution: Accepted Priority: 5 Private: No Submitted By: Jan Ranck-Gustafson (ranck) Assigned to: Guang Cheng Li (ligc) Summary: chdef group allows creation of invalid node Initial Comment: Level installed: > rpm -qa | grep -i xcat openslp-xcat-1.2.1-1 xCAT-rmc-2.3-snap200909280837 perl-xCAT-2.3-snap200909280836 xCAT-2.3-snap200909280837 xCAT-server-2.3-snap200909280837 xCAT-client-2.3-snap200909280837 > oslevel -s 6100-03-01-0921 Using the chdef command to create a group,I am able to create an invalid node. > nodels f1 c159f1ec01 c159f1ec02 c159f1ec03 c159f1ec04 c159f1ec05 c159f1ec06 c159f1ec07 c159f1ec08 c159f1ec09 c159f1ec10 > for i in `lsdef -t group -o f1 -l` > do > chdef -t group -p -o f1disk members=$i > done Object definitions have been created or modified. Object definitions have been created or modified. Object definitions have been created or modified. Error: DBobjectdefs plugin bug, pid 524362, process description: 'xCATd SSL: chdef for root@localhost: DBobjectdefs instance' with error 'Can't use an undefined value as a HASH reference at /opt/xcat/lib/perl/xCAT/NodeRange.pm line 235. ' Error: DBobjectdefs plugin bug, pid 610388, process description: 'xCATd SSL: chdef for root@localhost: DBobjectdefs instance' with error 'Can't use an undefined value as a HASH reference at /opt/xcat/lib/perl/xCAT/NodeRange.pm line 235. ' root@c159mgrs1:/install/jrtools > lsdef -t group -l f1disk Object name: f1disk grouptype=static members=c159f1ec10,c159f1ec04,c159f1ec08,c159f1ec06,c159f1ec02,c159f1ec07,c159f1ec09,c159f1ec03,c159f1ec01,c159f1ec05,name: root@c159mgrs1:/install/jrtools > nodels f1disk name: --> this is an invalid node name c159f1ec01 c159f1ec02 c159f1ec03 c159f1ec04 c159f1ec05 c159f1ec06 c159f1ec07 c159f1ec08 c159f1ec09 c159f1ec10 > lsdef -t node | grep name name: root@c159mgrs1:/install/jrtools > lsdef -t node -o name: -l Object name: name: postscripts=syslog,aixremoteshell,otherpkgs,syncfiles ---------------------------------------------------------------------- >Comment By: Guang Cheng Li (ligc) Date: 2009-09-30 09:07 Message: Had a dicussion in yesterday's xCAT team meeting, we decided to continue allowing chdef create new object definitions. But we will change the message to explicitly indicate whether the object definitions are created or modified. For now, the message is a little bit vague: "Object definitions have been created or modified". ---------------------------------------------------------------------- Comment By: Guang Cheng Li (ligc) Date: 2009-09-29 16:08 Message: I will look into this problem ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1006945&aid=2868914&group_id=208749 |