Commit Graph

12443 Commits

Author SHA1 Message Date
amy0701
f0161a5c45 add testcases for diskless/diskfull/SN installation on x86_64 sles11sp2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15559 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-18 08:22:41 +00:00
wanghuaz
2d6b18cfc9 Added the manpage of addkit -i|--inspection option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15558 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-18 08:14:39 +00:00
amy0701
eb3ccaa773 add testcase for SN installation,diskless/diskfull/statelite installation with SN on x86_64 redhat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15557 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-18 07:49:38 +00:00
jbjohnso
de9fbe4f82 Show errors in default formatting.
Add function to import exported credential package

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15551 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-18 00:17:34 +00:00
jbjohnso
0a4d227a2d Add script to export credentials for powershell client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15550 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-17 22:48:46 +00:00
jbjohnso
9d374c1421 Finish xcoll, add some more objects to control formatting better, have NodeRange on pipeline attempt to join for chaining after xcoll
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15549 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-17 17:20:53 +00:00
jbjohnso
ef8f762590 Work towards an xcoll workalike, also likely a xcsv workalike
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15548 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-17 05:12:06 +00:00
jbjohnso
95c6a3d93d Add familiar aliases for PS usage
Add more commands
Support pipelined strings and xCATNodeData for indicating noderange

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15547 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-17 02:11:58 +00:00
jbjohnso
c519c111ec Add some inital table formatting for typical output
Fix problem where Powershell replaces commas with spaces (hopefully fixed)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-16 23:27:53 +00:00
jbjohnso
717cd66082 Spice things up a little by putting in a vitals and a power test case, testing out the command send command
TODO: repackage the xml object into intended powershell objects
Output types:
-xCATData
-xCATNodeData
-xCATNoderangeData
xCAT Data has error and data not contained within a node
xCATNodeData has error and data contained within a node
xCATNoderangeData will be an aggregation of the above (to be treated differently ps1xml wise hopefully)

The original noderange will be chucked into any of these, for Merge-xCATNodeData to have as a hint maybe

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15545 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-16 01:50:35 +00:00
jbjohnso
4a572f5015 Actually have the powershell module successfully be able to run commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15544 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-16 01:50:29 +00:00
jbjohnso
0344b08ba1 Actually have a test case that will get to the permission denied phase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15543 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-16 01:50:22 +00:00
jwsimpson
4bde0a0ded FSPpower.pm was updated to allow sms option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15542 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 21:43:06 +00:00
jbjohnso
c602006c04 Milestone for powershell client code, can now add the CA and successfully verify server:
PS R:\pst> import-module .\xCAT.psd1
PS R:\pst> Import-xCATCA .\ca-cert.pem
PS R:\pst> Connect-xCAT odin 3001
PS R:\pst>
(commit best reviewed while listening to O Fortuna)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 21:12:53 +00:00
jbjohnso
7eaed897e8 Properly restart syslog when dhcp says to
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15538 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 20:00:35 +00:00
jbjohnso
16642a0810 Test change to reduce dhclient activity - as suggested by Daniel Weeks
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15537 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 19:56:00 +00:00
jbjohnso
4337554e71 Correct Sys::Virt version check
Fix broken LVM behavior when faced with a pre-built LVM VG/PV (as reported by Michael Fenn)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 19:42:25 +00:00
jbjohnso
1dc28f2540 A little more PowerShell experimentation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15534 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 19:42:17 +00:00
jwsimpson
43826a511a lsslp Usage update to add FSP and IMM2 to -s option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15533 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 13:53:18 +00:00
yinle
57707391b4 fix bug 3428: lsslp -n does not check xCAT DB properly for current objects
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15528 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 07:46:16 +00:00
yinle
f211c92b82 fix the issue that lsslp put in the SLP request messages into the "stana" files working with lsslp -z flag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15527 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 06:13:29 +00:00
yinle
17abb515db fix the issue that lsslp put in the SLP request messages into the "stana" files working with lsslp -z flag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15522 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 06:02:37 +00:00
nott
3c81f67a62 misc cleanup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15520 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 16:02:31 +00:00
bp-sawyers
221a44d1bd added author to tools help
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15518 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 14:18:54 +00:00
xq2005
45fb564db6 use the default pkglist on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15515 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 08:54:50 +00:00
xq2005
5a4e5a3559 support comment in the pkglist on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15513 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 08:50:57 +00:00
jjhua
2fbdba3fe3 Before adding the os repos and otherpkgs repos, check if the repos were already added by xCAT in the previous run, if yes, update these repos; otherwise, create these repos directly. For the os repo added by addsiteyum, it should be deleted by ospkgs and otherpkgs, the ospkg and otherpkgs will add the os repos point to more directories. After ospkg/otherpkgs is done, do not remove the repos.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15512 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 07:47:46 +00:00
jjhua
c4e7fe9f02 Before adding the os repos and otherpkgs repos, check if the repos were already added by xCAT in the previous run, if yes, update these repos; otherwise, create these repos directly. For the os repo added by addsiteyum, it should be deleted by ospkgs and otherpkgs, the ospkg and otherpkgs will add the os repos point to more directories. After ospkg/otherpkgs is done, do not remove the repos.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 07:47:28 +00:00
zhaoertao
df466fe7b6 update manpage for reventlog <-s>
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15505 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 07:29:53 +00:00
xq2005
8df12f9219 buildkit support external non_native_pkgs on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15503 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 07:21:22 +00:00
zhaoertao
bc44b57b73 add option '-s' for reventlog to output the event from latest to oldest
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 07:12:37 +00:00
daniceexi
dea73cdb01 Add the support for flex
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15499 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 06:27:43 +00:00
jjhua
621ad77911 fixed bug 3259, have the addsiteyum be called before running the postscripts, the repos might be needed by some other user customized scripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15498 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 02:44:52 +00:00
jjhua
29945eb0d1 fixed bug 3259, disabled the the centos internet repos added by the os.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15495 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 02:29:50 +00:00
bp-sawyers
111782a728 automatically build readme for tools
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15490 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 23:01:17 +00:00
jbjohnso
4b09b8f926 Fix bug with optional persistence where reset no longer survives
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15489 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 19:59:45 +00:00
jwsimpson
d07d624b01 Updated to skip Flex power blades when "-s CEC" is specified - also corrected model to not filter on 8236 for flex
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15488 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 19:21:41 +00:00
linggao
10ad3b6945 fix sf bug #3422 updatenode -P fails to resolve name of mypostscript file on the MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15484 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 19:05:27 +00:00
nott
46ad21d88c changes to finding xcat node name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15482 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 18:39:23 +00:00
xq2005
2de350cf80 support makeknownhosts on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 10:11:02 +00:00
xq2005
2ce147d84b support makeknownhosts on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15477 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 10:06:38 +00:00
xq2005
e05797bb60 support makeknownhosts on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15476 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 10:06:09 +00:00
wanghuaz
774c178272 Don't mount /proc fs since it will confuse the rpm or scripts that they are on diskless nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 09:54:45 +00:00
xq2005
5f8ed93998 for kdump bug on non-p7 ih power server, bug number 2898
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 06:38:51 +00:00
phamt
50445cdc26 Fixed cloning issue where code was looking for a case-sensitive NIC address and not modifying the network configuration correctly. Added logging of smcli calls into syslog to improve debugging. Add loop to find the correct partition with file -s /dev/dasd*. This fixes a cloning issue where flashcopy is not instantaneous and flashed copy volumes do not appear immediately when linked.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15470 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 23:10:58 +00:00
jbjohnso
4de0a47920 Add centos6.4 discid
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15468 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 18:13:17 +00:00
nott
c4c942fbab add xcat node name to /etc/xcatinfo file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15466 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 16:37:37 +00:00
lissav
5d3e1f3d53 add /share/xcat/tools for aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 13:13:27 +00:00
lissav
fbfe3777b4 add /opt/xcat/share/xcat/tools to the path on linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 13:04:37 +00:00
lissav
907b14ba9d add /opt/xcat/share/xcat/tools to the path for AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 12:35:49 +00:00