Commit Graph

5654 Commits

Author SHA1 Message Date
jjhua
18c8045c66 fixed bug 3706, enabled=0 in the Centos-Base.repo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17011 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-23 05:27:34 +00:00
chudegao
c55ab672f0 fix#220182,The node is not rebooted automatically while use new image profile during re-installation process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17008 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-22 06:54:47 +00:00
jbjohnso
cd85ac13c1 Fix problem where name resolution was used instead of certificate subject to identify 'trusted' peer
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17004 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-19 13:26:46 +00:00
jbjohnso
e5dd20f15e Clear $1 prior to calling plugins
xcatd now might let $1 leak into the plugins.  Ideally, the downstream code
would check match before relying upon $1 to be undef, but better to
avoid unintuitive behavior.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16997 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 18:59:10 +00:00
lissav
5801a0db29 fix defect 3137, add -V flag input to xcatdsklspost to be passed as VERBOSE env variable to postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16992 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 15:28:13 +00:00
jbjohnso
1f6177a5c6 Have xcatd send client more similar content between xml and non xml
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16991 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 15:20:49 +00:00
jbjohnso
f468d1a5d3 Remove extraneous use from ipmi plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16990 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 14:55:13 +00:00
xq2005
9fdebefca8 fix the syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16989 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 14:40:30 +00:00
wanghuaz
0602dcfb6d Fixing bug 3697: addkitcomp -a option works with pessl automatically makes a wrong perte/compiler order in postbootscript for diskfull installation. compiler's postinstall script should always run before perte's postbootscripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 08:37:45 +00:00
wanghuaz
f4e93057b1 fixing bug 3653 on sles and ubuntu.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16985 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 03:07:26 +00:00
nott
4e11f026ef add check for sles10 and rh5
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16983 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-16 16:33:33 +00:00
lissav
4d21c75a7e sort policy table before checking entries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16977 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-15 12:22:53 +00:00
daniceexi
d36a03cc36 Add the new plugin to handle the geninitrd command that regenerate (hack) initrd for stateful osimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16975 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-15 03:05:27 +00:00
daniceexi
d18c4b0307 Changed the insert_dd that the kernel will be updated from the new update distro.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16974 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-15 03:04:36 +00:00
bp-sawyers
03fc1d2f34 Improve performance of makeconservercf - bug 3691
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-13 19:59:15 +00:00
lissav
4057237b48 put back change do not think it breaks build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16968 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-12 15:41:28 +00:00
lissav
125b6e006c backup kvm line to fix build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16960 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 16:12:11 +00:00
wanghuaz
bc9aaf6b5b Fixing a problem while adding multiple kits, several data structures are not initialized in last feature checkin. Updated the data structures and did strong UTs today. Open bugs tonight.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16953 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 10:05:52 +00:00
daniceexi
f485547a4d fixed a typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16950 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 08:31:04 +00:00
daniceexi
8e7e887e37 fixed the code to display error messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16945 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 07:02:31 +00:00
daniceexi
af1638ce7d two changes: 1. run mount -a anyway to make sure the osimage has been mounted from MN; 2. set the STDIN/STDOUT/STDERR to /dev/null so that mpss start can daemonized cleanly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16942 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 06:44:52 +00:00
daniceexi
12b4fd8975 defect 3685: fixed the source path for link /opt/xcat/share/xcat/cons/mic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16941 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 06:22:02 +00:00
wanghuaz
9c94100609 Fixing a problem on sles that we need to use tar --wildcards option while extracting a file from kit tarball.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16938 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 05:22:56 +00:00
xq2005
ba7484e5a1 using nics table when getting vlan ip address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 02:43:02 +00:00
xq2005
bb1a93a385 check the capabilities(CAP_NET_ADMIN) of /usr/bin/qemu-system-x86_64 on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16932 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-10 09:28:47 +00:00
jjhua
4fa363e910 fixed bug 3682. In some case, the attribute BOOT_IMAGE added into the /proc/cmdline, using another method to get the nex-server value to fix this issue.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16928 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-10 09:07:11 +00:00
phamt
5ff3e2c42d Enable noderes.primarynic to be specified and used during nodeset.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16922 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 21:07:17 +00:00
lissav
7245c20ef8 fix 3668 Ubuntu also
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 16:43:58 +00:00
lissav
ba524d3dba fix defect 3668
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 16:35:06 +00:00
phamt
f2d4b07d2b Fixed the target disk address to be the same as the source disk address in cloning.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 12:30:20 +00:00
phamt
bad07970cf Fixed the target disk address to be the same as the source disk address in cloning.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16915 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 12:26:42 +00:00
xq2005
5263081254 ubuntu and debian ship SHA.pm instand of SHA1.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16914 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 07:21:49 +00:00
xq2005
e5e572f940 ubuntu and debian ship SHA.pm instand of SHA1.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16912 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 07:18:25 +00:00
xq2005
b5f3b1b526 ubuntu and debian ship SHA.pm instand of SHA1.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 07:15:39 +00:00
xq2005
4e38b17f76 xHRM support ubuntu/debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16910 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 06:46:31 +00:00
wanghuaz
2cf7521735 don't uninstall the packages from osimage with rmkit -f
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-08 03:09:07 +00:00
xq2005
e54dbe69e4 get the timzone automatic on ubuntu/debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16895 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-05 07:10:50 +00:00
daniceexi
8db9e8be80 defect 3673: fix a typo which affects the nodeset next
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-05 07:09:49 +00:00
xq2005
4bc071aa8d roolback to the last version
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16891 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-05 06:58:05 +00:00
xq2005
01ae96dcb5 xCAT::TableUtils->enablessh in postage.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-05 06:15:07 +00:00
xq2005
a728938094 add the double quote for --otherpkgdir option in genimage.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-05 01:57:36 +00:00
wanghuaz
5881cc4268 Fixed a potential problem with kitcomponent.prerequisite that in some cases prerequisite is not removed from KIT_RMPKGS.otherpkg.pkglist during addkitcomp.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-04 05:54:04 +00:00
daniceexi
01d68774a2 Make nodeset can pass parameter --noupdateinitrd to mkinstall command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16878 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-04 05:20:16 +00:00
daniceexi
d3f0f4013f Make nodeset can pass parameter --noupdateinitrd to mkinstall command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16876 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-04 05:10:50 +00:00
daniceexi
57889f408a Enhance of initrd hack: Additional drivers loading from osdistroupdate and support the --noupdateinitrd for nodeset command to avoid the initrd hack
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16874 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-04 05:06:50 +00:00
creativezj
bb811495cb fix nodeimport same ip error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16868 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-03 13:42:15 +00:00
jjhua
37c0f9a382 in some of the mlnxofedinstall script from Mellanox OFED iso, there is not --nodeps to uninstall the libibverbs package. But the new pe kits are depended on the libibberbs. So I add the rpm -e --nodeps --allmatches libibverbs in mlnxofed_ib_install to uninstall the libibverbs before invoking the mlnxofedinstall script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16865 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-03 06:10:51 +00:00
phamt
81b7bb502b Added option under rinv to collect z/VM user profile names.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-02 20:43:58 +00:00
phamt
ba92de3034 Added option under rinv to collect z/VM user profile names.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16861 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-02 20:34:09 +00:00
leiaibj
f7acefece1 Node provision failed after replacing one compute node: We can not call makedhcp twice in a single plugin.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16858 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-02 02:29:09 +00:00