2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-09-05 12:37:54 +00:00
Commit Graph

141 Commits

Author SHA1 Message Date
Vinícius Ferrão 0a6f4506f1 Merge pull request #7585 from VersatusHPC/fix/xcat-profile-errexit
fix(xcat-client): make profile probe safe under errexit
2026-07-17 12:23:52 -03:00
Vinícius Ferrão 1c6c256065 fix(xcat-client): make profile probe safe under errexit 2026-07-11 20:29:53 -03:00
Daniel Hilst 4b24558835 fix(xcat-core): drop RHEL-only perl build deps on SUSE
The perl-xCAT component specs BuildRequire perl-Pod-Html and (in
xCAT-client) perl-generators, neither of which exists on openSUSE/SLES,
so rpmbuild aborts at dependency resolution before the build can start.
perl-generators is a RHEL/Fedora-only helper that emits perl dependency
metadata; SUSE's rpm generates those itself. Pod::Html ships inside the
core perl package on SUSE, with no separate perl-Pod-Html subpackage to
require. Guard both BuildRequires with %if !0%{?suse_version} so the SUSE
build resolves while EL/Fedora builds are unchanged.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-06-29 09:00:10 -03:00
Vinícius Ferrão 3f833fcabd Fix csh syntax error in /etc/profile.d/xcat.csh
The PERL5LIB conditional block added in commit 3cc4a39c8 used bash
if-then-fi syntax instead of csh if-then-endif syntax, causing
"Illegal variable name" errors for tcsh/csh users logging into
the xCAT manager node.

Fixes: #7379
2026-05-11 01:56:31 -03:00
Vinícius Ferrão 4165b26a04 fix: remove Docker container lifecycle management (dead code since 2016)
Docker container lifecycle management (mgt=docker, mkdocker, rmdocker,
lsdocker) was added in 2015-2016 as an experiment targeting Docker API
v1.22 on Ubuntu only. Documentation and man pages were deliberately
removed in 2019 (PRs #6222 and #6324) with the original developer's
approval, noting that "the interface of Docker has become very simple
right now, so there is no value for xCAT to offer such functions."

The plugin was still being shipped but has had no functional code changes
since April 2016, was never listed as a valid mgt value in Schema.pm,
and no user ever filed an issue about it.

Removed:
- xCAT-server/lib/xcat/plugins/docker.pm (1,142 lines)
- xCAT/postscripts/setupdockerhost
- xCAT-server/share/xcat/scripts/setup-dockerhost-cert.sh
- xCAT-test/autotest/testcase/dockercommand/ (test cases)
- Docker attribute definitions in Schema.pm
- Client symlinks (mkdocker, rmdocker, lsdocker)
- Usage entries and dockerhost cert handling in credentials.pm
- Docker attribute documentation in man7 pages

The "Running xCAT in Docker" documentation (dockerized_xcat/) is
retained as it documents containerizing xCAT itself, not the removed
mgt=docker feature.

Closes #7518
2026-05-03 12:11:33 -03:00
Daniel Hilst Selli e8b043f7c3 build: Add buildrpms.sh to build RPMs for multiple EL targets
Fix warning in xCAT/xCAT.spec about macro inside comments
Fix missing build dependencies in .spec files
Enable passsing gitinfo as command line argument in perl-xCAT.spec

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-12-02 15:27:27 -03:00
Daniel Hilst Selli 460451cef2 fix: Fix installation warnings regarding egrep and grep
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-11-28 13:06:02 -03:00
Mark Gurevich 3cc4a39c84 Add Perl library path to xcat.csh 2023-02-01 16:05:24 -05:00
Mark Gurevich 37486f5bed Add Perl library path to xcat.sh 2023-01-31 14:23:57 -05:00
Mark Gurevich 4c18f63eb5 Add perl packages for building on CentOS8 (6) 2022-08-09 16:01:33 -04:00
Mark Gurevich 8c8567f7d0 Add perl packages for building on CentOS8 (5) 2022-08-03 16:13:22 -04:00
Mark Gurevich 6e627d6f05 Remove Recommends tag, not supported on CentOS7 build container 2022-05-17 15:12:47 -04:00
Mark Gurevich 8825dd02ee Add perl packages for building on CentOS8 (4) 2022-05-17 09:50:31 -04:00
Mark Gurevich a041131184 Add perl packages for building on CentOS8 (3) 2022-05-17 09:07:49 -04:00
Mark Gurevich 7143fe2609 Add perl packages for building on CentOS8 (2) 2022-05-16 14:09:05 -04:00
Mark Gurevich 816d2647c1 Add perl packages for building on CentOS8 2022-05-16 09:18:17 -04:00
cxhong 9387fdd33b Add cpio command as required for xCAT-client packages 2020-10-13 12:09:04 -04:00
Mark Gurevich 85f3f56b88 Revert "Remove kit links"
This reverts commit ac3ae5630f.
2019-10-03 11:47:04 -04:00
Mark Gurevich ac3ae5630f Remove kit links 2019-07-22 13:46:45 -04:00
chenglch abab9d89c5 Add makegocons command
This patch enable goconserver service and manage the node sessions
with a new `makegocons` command.

Implement: #4215
2017-11-16 17:56:26 +08:00
Chuck Brazie acbdfdcad1 Update xCAT-client.spec 2017-08-31 08:21:29 -04:00
Chuck Brazie e9029f484f Merge branch 'master' into ZVM_XCAT_DEV 2017-08-09 09:31:22 -04:00
zet809 376f1b723d Merge pull request #3510 from cxhong/pdudiscover
Support pdudiscover command to discover PDU
2017-07-24 21:25:48 +08:00
chenglch e8df039d42 Make getadapter work during discovery process
This patch redesign the original getadapter plugins. Currently,
getadapter do not work as a common command but only a chain command
works during discovery.
2017-07-20 16:03:52 +08:00
Casandra Qiu c3159a5b20 Support pdudiscover command to discover PDU 2017-07-19 17:18:31 -04:00
Chuck Brazie f385a5c793 Update xCAT-client.spec 2017-06-20 09:42:13 -04:00
Chuck Brazie a4b658037f merge of xCAT_Client plus add one new file missed in xCAT
Change-Id: Iaa3b073333e75c64f7a0da35fb6dd1228e822059
2017-02-01 14:13:16 -05:00
GONG Jie 65c2911888 Make all the rpm packages have the exactly same version and release numbers 2017-01-03 12:47:14 +08:00
Jarrod Johnson edb1d181e9 Provide hook for saner versioning
The traditional approach was not adequately
hooked into git.  It should do nothing by
default differently.
2016-09-28 08:43:35 -04:00
chenglch c6e663d1fd Use fifo pipe to enhance getadapter
Currently the getadapter implementation store the nics information
in multiple files. This implementaion will store the records in the
database and add the following changes:

1. Add taskstate table to record the getadapter request.
2. Add route_request hook in xcatd to avoid of too much process.
3. Add adapterinfo column to keep the adapter information.
4. Use fifo pipe to send/recv the adapter message and wake up the waiting process.
5. Use alarm signal to handle the timeout event.
2016-01-25 01:53:54 -05:00
ertaozh 7e90b5f77b docker lifecycle management commands framework 2016-01-14 01:54:58 -05:00
amy0701 5e0c59b620 add link for bmcdiscover. 2015-07-16 02:58:40 -04:00
linggao 0ea24f1db9 added new command makentp to setup ntp servers on mn and sn. 2015-06-11 12:17:01 -04:00
Casandra Qiu f4e8d1c233 Create a plugin to handle switchdiscover command 2015-05-06 16:49:47 -04:00
daniceexi b2eb57d072 Add default value for attribute site.xcatsslversion=TLSv1 to avoid using sslv3 which might cause POODLE Attach 2015-02-12 09:44:01 -05:00
ligc 18a3c26864 fix for bug 4265: remove getxcatdocs from PCM build 2014-08-31 23:24:42 -04:00
mellor 0d90767a46 defect 4229 update xCAT-client spec and add man for rescanplugins in xCAT 2.9 only 2014-07-29 12:35:38 -04:00
lissav 540e11c599 link in commands 2014-02-13 13:55:15 -05:00
John Simpson 49f714850b Adding a new plugin confgifpc to support discovery and configuring of NeXtScale FPCs 2013-10-18 16:18:14 -04:00
daniceexi 22290197a7 add the link for new command geninitrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-15 03:06:28 +00:00
lissav 62b988207f remove postage xCAT command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16322 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 14:08:38 +00:00
daniceexi 5b4d1a01d6 add link for nodediscoverdef command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16313 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 08:26:27 +00:00
asirxing 2d555c821a Merge lskit/lskitcomp/lskitdeployparam codes to xCAT trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15843 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-07 06:17:34 +00:00
lissav 5d3e1f3d53 add /share/xcat/tools for aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 13:13:27 +00:00
lissav fbfe3777b4 add /opt/xcat/share/xcat/tools to the path on linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 13:04:37 +00:00
leiaibj b327574f26 1. support minus network incremental value. 2. resolve can not discover nodes issue. 3. create new command noderegenips: for supporting reconfigure nic ips without reinstall
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 08:55:14 +00:00
jjhua ecca0ef7de According to wu xian's request, remove the osdistroupdate code from xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14398 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 08:33:29 +00:00
leiaibj 66dab45eba enable -v -h for profiled nodes related commands, and also, create man pages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14196 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 09:19:19 +00:00
bp-sawyers 34c4df71cd add genesis and elilo requires to xCATsn and straighten out XML requires
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 09:12:25 +00:00
wanghuaz 716b19a658 Added symbol link for addkitcomp/rmkitcomp/chkkitcomp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-21 08:42:09 +00:00