Commit Graph

5634 Commits

Author SHA1 Message Date
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
wanghuaz
fb6844fb64 Fixing bug 3409, added the handle for postscripts, missing in last checkin.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16857 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 10:18:13 +00:00
daniceexi
171c5a189f defect 3660: display the correct message when run nodediscoverdef command defines a request a node which has not correct IP.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16855 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 09:11:24 +00:00
wanghuaz
9d2b7e46b0 Fixing bug 3659: adjust the file order to work in some specific scenario
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16849 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 07:47:11 +00:00
ligc
58c5cfaafb undo the last checkin, rerun buildxcat fixed the build failure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16844 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 04:38:27 +00:00
ligc
20383d8ba8 fix the build problem with cons/mic on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16843 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 03:25:11 +00:00
wanghuaz
7e808dc649 fixing several kit related bugs: 3657,3629,3409. the major change is now addkitcomp -a will add its dependency recursively, instead of two levels before. and in each level, it will check if the dependency fits to the osimage. So now user just need to add the highest level of product to osimage, addkitcomp -a will find it dependencies, check them and go to next level based on its kitcomponnent settings in the kit.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 02:29:19 +00:00
daniceexi
ca435eb5d1 add symbol link from share/xcat/cons/kvm to share/xcat/cons/mic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16840 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-30 04:40:16 +00:00
daniceexi
bbeddd775a Code drop for Xeon Phi (mic) support. The plugin to handle the rpower, rinv, nodeset, rcons commands for mic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16838 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-30 04:30:33 +00:00
daniceexi
6ab9ab0e29 dir for mic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-30 04:29:29 +00:00
daniceexi
cc619af68b Code drop for Xeon Phi (mic) support. Run on host to flash the mic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-30 04:29:00 +00:00
daniceexi
9bd662e82a Code drop for Xeon Phi (mic) support. Run on host node to configure the mic (network,hostname,onboot,vlog)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-30 04:28:19 +00:00
daniceexi
abf8941676 Code drop for Xeon Phi (mic) support. Add the rscan to scan mic from x86 host node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16825 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-30 03:57:00 +00:00
daniceexi
1d9e405667 Code drop for Xeon Phi (mic) support. add the handling of tar format src to call the copytar command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-30 03:56:29 +00:00
phamt
536bc94da7 Changed tabs to spaces. Fixed error in xcatconf4z script.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16819 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-28 18:14:52 +00:00
wanghuaz
68e4dd3d70 Fixing bug 3653: with more than 9 new_install_list sessions in otherpkgs.pkglist, perl 'sort' take the integers as string, and so does not sort the order correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16817 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-28 06:27:23 +00:00
jbjohnso
18f0040778 Restore xcatws understanding of existing code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16815 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-27 19:08:49 +00:00
lissav
58d0965249 fix defect 3461
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16807 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-27 14:03:26 +00:00
jjhua
c448c7f09a accept Bruce's suggestion, not re-copy the hash every time. And it's really more efficient to have an inner foreach that just adds the keys to the hash
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16783 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-27 01:25:45 +00:00
lissav
98295e06b1 fix defect 3641
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16775 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-26 18:09:22 +00:00
jbjohnso
2a998b99d9 Have rvitals avoid requesting the same sensor multiple times
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-26 14:33:52 +00:00