2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-09-05 20:47:55 +00:00
Commit Graph

110 Commits

Author SHA1 Message Date
Vinícius Ferrão ca1b0cbd67 fix(genesis): protect Power architecture fallback 2026-08-25 11:26:46 -03:00
Vinícius Ferrão f5d1bd8e73 fix(genesis): complete boot consumer wiring 2026-08-25 11:26:45 -03:00
Daniel Hilst 33a400d37d Merge pull request #7715 from VersatusHPC/cleanup/deprecated-provisioning-deadcode
fix(xcat-server): remove the unreachable deprecated provisioning paths
2026-08-19 06:58:48 -03:00
Vinícius Ferrão 7572adaf22 refactor(destiny): drop the unreachable legacy nodeset path
setdestiny reports the deprecated install, netboot and statelite states and
returns, and the legacy path that set nodetype.provmethod from the target sits
directly after that return. It has not run since the deprecation landed in
57aa41798, and it still reads like live code when following setdestiny.

Remove it. The deprecated states are still rejected exactly as before, and the
osimage path is untouched.
2026-08-08 01:08:04 -03:00
Vinícius Ferrão 445257c500 fix(destiny): keep a node on boot when its destiny is advanced again
When a chain has run down to a single remaining step, nextdestiny replaces that
step with 'standby'. For a completed provision the remaining step is 'boot',
which setdestiny writes into chain.currchain once an install or netboot destiny
is applied, so the replacement discards the destiny that boots the node.

Some installers advance the destiny more than once. On the extra advance the
node silently moves from 'boot' to 'standby' and no longer has a destiny that
boots the system it just installed.

Keep 'boot' when it is the remaining step, and leave every other exhausted
chain falling to 'standby' as before, so a finished install still does not
reinstall the node on its next boot.

Co-authored-by: Jarrod Johnson <10814490+jjohnson42@users.noreply.github.com>
2026-08-06 23:30:25 -03:00
Markus Hilger 2643c1edd6 Remove useless executable bit 2024-05-07 16:19:25 +02:00
Mark Gurevich 6f4c59fece Verify nbk kernel file is present before defaulting to use it 2020-09-10 14:39:41 -04:00
GONG Jie 168b501c56 Remove trailing spaces in file xCAT-server/lib/xcat/plugins/destiny.pm 2017-12-31 23:59:59 +00:00
Mark Gurevich ecec67cfca Stop rinstall processing if runimage is invalid (#5447) 2018-08-13 22:53:22 +08:00
Mark Gurevich 38fcae5b23 rinstall flag and option (#5437) 2018-07-27 11:09:41 +08:00
Casandra Qiu 6bc2d8d51e Fix ERR message when running ondiscover in the chain table 2018-05-14 22:30:42 -04:00
ertaozh 1f401f3952 Refine the PR in case ondiscover=xxx can not be fully set to currstate 2018-05-11 03:50:25 -04:00
ertaozh 5db248d14e Force chain to be standby if only runcmd/ondiscover is specified for chain attribute 2018-05-10 04:34:09 -04:00
XuWei 9d5dede0d1 update node status when enter shell/standby 2018-04-25 04:46:12 -04:00
cxhong 8f61ee5ace Add ondiscover support for chain table (#4903)
* Add ondiscover support for chain table

* For ondiscover, run nextdestiny after the current operation is done

* Don't set OpenPower server boot from network if boot
2018-03-29 17:50:04 +08:00
Bin Xu 15a149583d More mac address prechecking to destiny plugin 2017-09-30 13:09:54 +08:00
Bin Xu 57aa417987 Not return directly for nodeset when hit one node failure 2017-09-30 10:29:32 +08:00
Bin Xu 1db1308eb3 Fix 3722, move setNodesAttribute out of the node loop 2017-08-18 17:55:28 +08:00
yangsong 06ab2e627d fix issue [CORAL]incorrect petitboot configuration for nodeset shell in flat hierarchical #3414 (#3419) 2017-07-10 15:57:32 +08:00
Bin Xu fe6b771add Fix #3087: nodeset improvement - using multi-process to parallelize (#3118)
* Fix #3087: nodeset improvement - using multi-process to parallelize
 - before deliver the request to xcatd, we can split the request to multiple sub-requests which contains different noderange
 - in that, xcatd could hanle those sub-requests in parallel, just like some issue multiple commands.

* refine according to the review comments:
 - not using POSIX::ceil
 - Callback is reserved for filter method

* refine codes according review comments

* make the comments right and more readable.
2017-06-01 04:22:22 -05:00
yangsong 5c4dd31844 fix issue [fvt]2.13.4 nodeset osimage have no right output if command wrong #2971 (#3147)
* fix issue#2971:  one CLI arguments validation issue is not correct for nodeset/rinstall/winstall
2017-05-31 17:36:09 +08:00
Victor Hu 799d143e90 Merge pull request #2593 from zet809/fix_issue_2362
fix issue 2362: If packimage is not run, osimage in the chain table w…
2017-03-16 15:42:32 -04:00
ertaozh b425feb494 fix issue 2362: If packimage is not run, osimage in the chain table will fail on netboot images 2017-03-14 23:22:54 -04:00
chenglch 78e4f4deb4 Fix addkcmdline issue which can not customise the boot params
close-issue: #2614
2017-03-10 12:21:46 +08:00
zet809 1ca955a33d Merge pull request #2514 from xcat2/2.13.nodeset_performance
merge 2.13.nodeset performance branch to master branch
2017-02-21 16:07:31 +08:00
chenglch e05f183a8f Use bulk operation to update chain table for multiple nodes
Do not query bootparams table in yaboot
patial-issue: #2024
2017-02-20 13:48:50 +08:00
chenglch 34296b9229 Update bootparams in destiny to support discovery without DB access 2017-02-15 17:20:24 +08:00
ertaozh 91bfeeb16c Fix issue 2362: if packimage is not run, osimage in the chain table will fail on netboot images 2017-01-10 04:27:05 -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
Mark Gurevich 0a3fbd8d51 perltidy all perl files 2016-07-20 11:40:27 -04:00
XuWei f2b9f6e94a to fix Issue 302, modified my_ip_facing and related functions 2015-11-12 00:33:03 -05: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
immarvin 0d6189159d fix defect #4738 [fvt]2.10:nodeset still give error info if using wrong netboot mode 2015-07-09 23:00:23 -04:00
immarvin 6d765fadf4 modify the checking of netboot value to be warning 2015-07-08 03:59:13 -04:00
immarvin b9e1e11ece refine the message when the noderes.netboot is invalid 2015-06-09 04:52:47 -04:00
immarvin 7e8112eb96 fix defect #4690 [DEV]refine the message and noderes table description 2015-06-04 03:12:49 -04:00
immarvin ce7c2b6012 add recommend netboot value for vios 2015-05-25 04:49:48 -04:00
immarvin 8df10bf612 add support on the noderes.netboot checking of nodeset 2015-05-24 22:48:15 -04:00
ertaozh ff20b96dba 1. appending "statement" within makedhcp rather than from nodeset, find corrent tftpserver for petitboot booting; 2. Use hvc0 for ppc64 genesis shell 2015-05-13 03:40:35 -04:00
zhaoertao 0705721307 fix bug 4357:After run nodeset <node> runimage' may fail 2014-11-05 06:07:30 -05:00
huweihua 5302abb4a9 fix bug: in sysclone, provmethod attribute gets cleared 2014-06-04 23:27:09 -04:00
qyin a966ac3d73 fix the nodeset - noupdate initrd issue 2014-05-21 14:53:05 +08:00
qyin 5de62313a9 fix the nodeset - noupdate initrd issue 2014-05-21 14:39:26 +08:00
mellor af9b887d23 defect 4026 add service node to error msg 2014-04-02 13:05:07 -04:00
lissav 4c88b1b469 defect 3941 2014-03-25 08:11:11 -04:00
daniceexi 35376641b4 To make bmcsetup cmd to update node status to be [bmcready] in genesis; And make chain mechanism to support [shutdown] key word which is used to poweroff the node 2014-01-13 07:55:03 -05:00
ligc c78350a9bf fix for bug 3922, use getNodesAttribs instead of getNodeAttribs 2013-12-05 09:46:44 +08:00
daniceexi 9fbd6a0f7d Code drop for new requirement: Add a new flag --ignorekernelchk for nodeset, geninitrd and genimage commands to skip the kernel version checking when injecting drivers from osimage.driverupdatesrc 2013-11-19 06:29:46 -05:00