Commit Graph

12454 Commits

Author SHA1 Message Date
jbjohnso
d095c0fc5f Have sshd directory contain public keys, as some pieces of software are expecting, whether they should or not
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15580 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 13:35:59 +00:00
jbjohnso
cab8191379 Support per-node ssh host keys if detected - Thanks to Frank Schwichtenberg
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15577 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 13:22:33 +00:00
lissav
586c212d93 add use File::Path used in code,but missing. Result of Utils.pm split. Broke zvm build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15575 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 13:16:39 +00:00
lissav
8d8c38d3b4 fix for defect 3434
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15573 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 11:14:23 +00:00
xq2005
c9778bf3f7 setup odbc for mysql on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15571 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 08:55:04 +00:00
xq2005
029df230d6 use mysql db on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15570 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 07:43:30 +00:00
immarvin
1eb4411009 fixed some syntax in storage.rhels6.tmpl, as some variables are no longer supported in the kickstart. rename storage.pglist to storage.pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15567 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 07:17:34 +00:00
xq2005
d4e79d7a95 use mysql db on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15565 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 07:13:05 +00:00
amy0701
3bcdc5e371 update testcase for checking geninitrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 06:50:22 +00:00
jbjohnso
cfed625f4c Add more objdef mappings for table data
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15562 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-18 20:56:02 +00:00
jbjohnso
c6672270ea Add node/group level nameserver indication to schema
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-18 20:55:55 +00:00
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