From your description that the otherpkgs postscript has been run for both
installing and updatenode. But installing failed, updatenode succeeded.
Could you show out the difference of /tmp/mypostscript.post between the
before and after running of updatenode command.

Thanks
Best Regards
----------------------------------------------------------------------
 Wang Xiaopeng (王晓朋)
 IBM China System Technology Laboratory
 Tel: 86-10-82453455
 Email: [email protected]
 Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
Haidian District Beijing P.R.China 100193



From:   "c.y.liu" <[email protected]>
To:     xCAT Users Mailing list <[email protected]>
Date:   2011-12-22 13:51
Subject:        Re: [xcat-user] how to resolve the dependency of otherpkgs?



[root@xcatm ~]# nodels -v
Version 2.6.9 (svn r10986, built Wed Nov  9 04:49:31 EST 2011)

i did following operations to locate the problem.

1. re-provision the compute node and take screenshot. please refer to the
attachment.
2. check the compute node and found that my packages not installed.
3. manually run the /tmp/mypostscript.post

# export PATH=$PATH:/xcatpost/
# /tmp/mypostscript.post
NFSSERVER=192.168.10.1
OTHERPKGDIR=192.168.10.1/post/otherpkgs/rhels5.5/x86_64
yum -y upgrade
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Skipping security plugin, no data
Setting up Upgrade Process
No Packages marked for Update
 yum -y install  component-base
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
...
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

it failed due to can't resolve the dependency.

4. run updatenode comp01 -S on management node.

# updatenode comp01 -S
Performing software maintenance operations. This could take a while.

comp01: Running postscript: ospkgs
comp01: Running postscript: otherpkgs
comp01: NFSSERVER=192.168.10.1
comp01: OTHERPKGDIR=192.168.10.1/post/otherpkgs/rhels5.5/x86_64
comp01: yum -y upgrade
comp01: Loaded plugins: rhnplugin, security
comp01: This system is not registered with RHN.
comp01: RHN support will be disabled.
comp01: Skipping security plugin, no data
comp01: Setting up Upgrade Process
comp01: No Packages marked for Update
comp01:  yum -y install  component-base
comp01: Loaded plugins: rhnplugin, security
comp01: This system is not registered with RHN.
comp01: RHN support will be disabled.
comp01: Setting up Install Process
comp01: Resolving Dependencies
comp01: --> Running transaction check
....
comp01: Complete!
comp01: Running of Software Maintenance has completed.

all my packages installed successfully. weird?

does xCAT has log files? where is it?

thanks,

On Thu, Dec 22, 2011 at 10:42 AM, Xiao Peng Wang <[email protected]> wrote:
  Show me the version of xCAT by 'nodels -v'.
  Could you show me the running message of otherpkgs during the
  installation from the console? You can get it from the rcons command.
  Also before running of the updatenode, you can check the content
  of /tmp/mypostscript.post which is used to run the 'otherpkgs' after the
  reboot of new installed node. You can run the /tmp/mypostscript.post
  manually to see whether help.




  Thanks
  Best Regards
  ----------------------------------------------------------------------
  Wang Xiaopeng (王晓朋)
  IBM China System Technology Laboratory
  Tel: 86-10-82453455
  Email: [email protected]
  Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
  Haidian District Beijing P.R.China 100193[附件
  "screenshot-xcat-compute-node.jpeg" 被 Xiao Peng Wang/China/IBM 删除][附
  件 "mypostscript.post" 被 Xiao Peng Wang/China/IBM 删除]
  ------------------------------------------------------------------------------

  Write once. Port to many.
  Get the SDK and tools to simplify cross-platform app development. Create
  new or port existing apps to sell to consumers worldwide. Explore the
  Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
  http://p.sf.net/sfu/intel-appdev
  _______________________________________________
  xCAT-user mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/xcat-user


<<inline: graycol.gif>>

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to