Victor Hu
d80bda8eb4
Plugin should not return error in certain places because it will attempt to look at another plugin
2019-05-09 17:20:10 -04:00
Victor Hu
5188f3a526
Add non zero return code to the error callback
2019-05-07 10:36:19 -04:00
Victor Hu
1cbe1ee8f4
Add some debug into copycds to help when issues come up, allow for user to specify options to copycds
2019-05-02 15:51:15 -04:00
GONG Jie
3089a256e5
Handle the exit code properly
2019-03-12 18:10:41 +08:00
GONG Jie
0278e8962c
Handle the output of cpio properly
2019-03-12 18:10:31 +08:00
GONG Jie
dd394f6f6e
Handle the exit code of child process properly
2019-03-12 18:10:23 +08:00
yangsong
01541aba74
correct several issues on site.httpport in diskless provision ( #5774 )
2018-11-07 18:19:35 +08:00
yangsbj
5d90a4212c
change HTTPPORT in /proc/cmdline to XCATHTTPPORT to avoid potential confilic
2018-11-04 21:54:30 -05:00
yangsbj
1fb78eb97d
add HTTPPORT=xxx in kcmdline for diskless/statelite
2018-11-02 05:00:26 -04:00
Yuan Bai
d94406edae
Merge branch 'master' into sle15support
2018-08-20 17:10:12 +08:00
Jarrod Johnson
a39707fa94
Restore classic nodeset arguments
...
People are opting into the classic arguments, continue helping them so
long as it works.
2018-08-06 14:01:44 -04:00
yangsong
c49e41da99
support environment variables in osimage customized files ( #5281 )
...
* * osimage table schema change: add a "environvar" col in osimage table to hold environment variables used in osimage customized files
* osimage object schema change: add a environvar attribute, which refers to osimage.environvar
* the environment variables specified in "environvar" attribute will be exported during invocation of postinstall scripts in genimage
* support variables in synclists
* support environment variables in genimage,mkinstall,getpostscript
* support environment variables for xdcp -i -F in packimage
2018-06-15 14:51:41 +08:00
GONG Jie
d8b9cf1f6e
Remove trailing spaces in file xCAT-server/lib/xcat/plugins/anaconda.pm
2017-12-31 23:59:59 +00:00
Bin Xu
d447882fd5
Adjust the server used for kernel/initrd and imgurl for petitboot ( #4416 )
...
- URL for kernel/initrd, get the value from below value tftpserver -> xcatmaster -> myipfn
- URL for image, get the value from below value nfsserver -> tftpserver -> xcatmaster -> myipfn
2017-12-13 18:14:04 +08:00
yangsong
7cc62be2b0
fix issue https://github.com/xcat2/xcat-core/issues/4411 ( #4462 )
...
* fix issue Compute nodes fail to get provisioned #4411 : covert imgsrv and xcatmaster to their ip addresses in case the hostname cannot be resolved inside initrd for diskless
2017-12-07 14:50:34 +08:00
zet809
d958b50d60
Merge pull request #4037 from robin2008/petitboot-error-handle-4-noderange
...
Enhance nodeset error handling not to exit with one node error when operating a node range
2017-10-17 14:34:44 +08:00
Bin Xu
76aa2ca666
Missing one possible error for node ip checking
2017-10-10 12:51:38 +08:00
Bin Xu
57aa417987
Not return directly for nodeset when hit one node failure
2017-09-30 10:29:32 +08:00
chenglch
3408e93e6b
Do not query noderes table in subvars subroutine
...
This patch refactor the interface to get xcatmaster and tftpserver
attributes in the subvars subroutine to improve the performance.
partial-issue: #3958
2017-09-25 16:33:23 +08:00
Victor Hu
7d72c6d832
Change the auto-detect for copycds to be a little more generic for RHEL ISOs ( #3416 )
...
* Change the auto-detect for copycds to be a little more generic
* Fix type and use scalar to count number of words in the discinfo description
2017-07-13 17:19:49 -05:00
yangsong
f5126227ce
refine the PR 3268:support service node pool ( #3323 )
...
Fix the issue that grub2 config file is wrong when node.tftpserver="<xcatmaster>"
2017-06-23 16:18:03 +08:00
immarvin
89bc7608f1
fix issue RHEL update caused boot failure due to selinux #2996
2017-05-25 05:30:30 -04:00
immarvin
991ae3e153
fix issue [DEV] nodes provisioned with redhat osimages created by xCAT 2.12.3 or earlier missed yum repo to MN in xCAT 2.12.4 or later #2856 : process the multiple dirs in pkgdir
2017-04-13 01:21:06 -04:00
yangsong
a761e64c0c
fix issue #2856 : [DEV] nodes provisioned with redhat osimages created by xCAT 2.12.3 or earlier missed yum repo to MN in xCAT 2.12.4 or later ( #2857 )
...
* fix issue [DEV] nodes provisioned with redhat osimages created by xCAT 2.12.3 or earlier missed yum repo to MN in xCAT 2.12.4 or later #2856
* fix issue [DEV] nodes provisioned with redhat osimages created by xCAT 2.12.3 or earlier missed yum repo to MN in xCAT 2.12.4 or later #2856
2017-04-13 11:31:54 +08:00
Victor Hu
f9f442a85b
add support to auto detect beta pegas iso files
2017-03-08 12:02:22 -05:00
yangsong
f834844774
Merge pull request #2351 from chenglch/xcattable
...
Do not update bootparams table when running nodeset
2017-01-18 01:15:52 -06:00
ypbj
1ff745dbfe
fix copycds can't auto copycd centos iso
2016-12-26 21:31:38 -05:00
chenglch
97f9d4da8f
Do not update bootparams table when running nodeset
...
With the nytprof tool, the buttleneck is the time to update the bootparams
table.To optimize the performance on large scale nodes, this patch tranfer
the bootparams hash through variable reference.
posible impact: getdestiny can not get the information about bootparams.
partial-issue: #2024
2016-12-23 13:45:20 +08:00
bybai
be8c255874
fix 2025 Re-enable the creation of statelite when copycds on RHEL 7
2016-11-20 22:07:00 -05:00
immarvin
907c4971a9
fix issue [CUSTOMER] the old diskless image built by xCAT can not be used after xcat 2.12.2 #2130
2016-11-17 03:31:30 -05:00
Jarrod Johnson
e7a7da10cb
Fix backwards compatibility
...
If a user has an existing rootimg.gz, use that so
that an upgrade does not require re doing packimage for
no particular reason.
2016-11-09 10:20:29 -05:00
immarvin
1e6714a99d
fix issue when using copycds -p, stateful install has yum point to the wrong repository. #1852
2016-11-07 22:20:28 +08:00
penguhyang
4e89b75454
auto recognize rhhpc iso on copycds ( #2034 )
2016-11-01 10:15:51 +08:00
immarvin
2298d9eb24
fix issue:[Customer]a network configuration of interface named bootnic will be created on CN when the site.managedaddressmode=static #1837
2016-09-16 09:31:45 -04:00
penguhyang
79426ad21e
add new option to indicate compress method ( #1669 )
2016-08-11 03:09:43 -05:00
Victor Hu
878d43addc
Add a section to attempt to autodetect the RHEL OS to bypass ( #1644 )
...
the need to update the discinfo database
2016-08-07 23:21:06 -05:00
penguhyang
5cd203cdf5
enhance packimage -m txc ( #1602 )
2016-08-02 16:45:31 +08:00
Mark Gurevich
0a3fbd8d51
perltidy all perl files
2016-07-20 11:40:27 -04:00
penguhyang
5d46d48f6a
Fix issue of packimage -m txc ( #1554 )
...
* redefine the code to make distint
* fix issue of packimage -m txc
2016-07-20 07:06:33 -05:00
immarvin
1829169839
fix issue [customer] the rhels7.2 diskful installation with kernel and kernel modules updated by"geninitrd" failed with "Pane is dead" inside anaconda #1562 ; add a dracut hook in intrd to update the kernle modules inside the stage2 installer LiveOs
2016-07-20 03:59:54 -04:00
immarvin
9344ec5558
fix issue geninitrd fails when pkgdir has more than one directory #1538 ; fix geninitrd fails to identify a ppc64le kernel #1539
2016-07-14 21:54:57 -04:00
penguhyang
0a0f1d76d7
fix #1083 , redhat sles, diskless, enable the diskless installation can be forwarded to MN when xcatdebugmode=2
2016-06-16 00:14:28 -04:00
penguhyang
c6d543ad42
make a fixed value scope for xcatdebugmode
2016-03-25 05:45:38 -04:00
Victor Hu
becc0312cc
Add support for parsing pkvm version from .discinfo when doing copycds
2016-03-10 21:31:16 -05:00
zet809
d39d5b567c
Merge pull request #386 from xuweibj/I302
...
to fix Issue 302, modified my_ip_facing and related functions
2015-11-12 14:01:14 +08:00
XuWei
f2b9f6e94a
to fix Issue 302, modified my_ip_facing and related functions
2015-11-12 00:33:03 -05:00
immarvin
505826e7e9
fix issue [fvt]2.11 rcons will stay in anaconda interface in rh7.2 ppc64le
2015-10-26 04:48:16 -04:00
huweihua
d96d9a5590
fix some indent issue
2015-08-18 23:38:16 -04:00
huweihua
a81a5e1a45
fix the indent issue and combine trace message
2015-08-18 04:11:59 -04:00
huweihua
a35ca71281
add trace information
2015-08-13 23:31:30 -04:00