Vinícius Ferrão
b22a19876a
refactor(probe): reuse command capture for netplan
2026-07-22 23:30:45 -03:00
Vinícius Ferrão
73b9368ff3
fix(xcatprobe): report listener inspection errors
2026-07-17 14:31:01 -03:00
Vinícius Ferrão
888f5360b8
fix(xcatprobe): prefer ss for listener checks
2026-07-16 21:31:08 -03:00
Vinícius Ferrão
701e9e00c0
Fix xcatprobe TFTP check failure with restrictive umask
...
The is_tftp_ready() function creates test files that inherit the
shell's umask. With umask 027, files get 640 permissions and the
TFTP daemon (running as nobody/tftp) cannot read them, causing a
false negative even when TFTP service is healthy.
Temporarily set umask to 022 during test file creation so files
are world-readable (644), then restore the original umask.
Fixes: https://github.com/xcat2/xcat-core/issues/7487
2026-05-11 13:13:05 -03:00
Vinícius Ferrão
219b0f1f5d
Add networkd fallback for netplan static IP probe
...
Detect static netplan addresses on older Ubuntu netplan releases by falling back to generated systemd-networkd configuration when netplan get is unavailable. Keep netplan get authoritative when supported.
Co-authored-by: karcaw <663031+karcaw@users.noreply.github.com >
2026-05-07 13:46:33 -03:00
Vinícius Ferrão
1babd7b0e4
fix: improve Ubuntu LTS provisioning support
2026-04-29 18:19:12 -03:00
Mark Gurevich
28fe1dfaad
Improve xcatprobe check for firewall
2021-04-23 14:49:56 -04:00
cxhong
42915fefe0
Use option type=A for nslookup
2019-11-13 09:24:57 -05:00
Kurt H Maier
e8aa0c8599
probe_utils: simplify selinux enforcing check
2019-05-07 14:05:25 -07:00
Kurt H Maier
59f8845d37
probe_utils: remove extraneous else block
2019-05-07 13:52:34 -07:00
Kurt H Maier
f89f611ca9
probe-utils.pm: refactor switch statement
...
switch() is only available if explicitly declared. switch to
a for block using elsif to return a value.
2019-05-07 13:01:17 -07:00
Kurt H Maier
330ada0a34
probe_utils: add check to see if selinux is enforcing (not just enabled)
2019-05-01 13:23:10 -07:00
xuweibj
4e1663a960
enhance pr 5715 of httpport check
2018-12-02 20:22:53 -05:00
xuweibj
6d9a912cf7
Use postscript file efibootmgr to check http service instead of syslog ( #5758 )
2018-11-16 17:33:37 +08:00
xuweibj
344c05f658
fix issue 5701, support site.httpport setting for xcatmn check
2018-10-17 22:41:25 -04:00
xuweibj
823a1530ee
fix issue 5694, not try to install tree for xCAT-probe
2018-10-12 02:52:40 -04:00
Weihua Hu
300cc96b6a
Merge pull request #5686 from xuweibj/I5677
...
fix xcatprobe xcatmn issues 5677&5678
2018-10-11 16:32:58 +08:00
xuweibj
e18b8a0615
fix issue 5633, use noempty file to check tftp service ( #5691 )
2018-10-11 14:50:44 +08:00
xuweibj
31cb4aa2b8
modified dependiing on comments
2018-10-11 02:19:03 -04:00
xuweibj
852222796d
fix xcatprobe xcatmn issues 5677&5678
2018-10-09 21:32:26 -04:00
xuweibj
4bfa23e1bb
fix issue 5633, enhance check tftp service ( #5639 )
...
* fix issue 5633, enhance check tftp service
2018-09-26 10:30:41 +08:00
GONG Jie
65f01f7d1e
Remove trailing spaces in file xCAT-probe/lib/perl/probe_utils.pm
2017-12-31 23:59:59 +00:00
Thilo Maurer
e0097dcf21
fix probing for static IP: proper escaping of backslash
2018-08-08 10:23:35 +02:00
xuweibj
a1596fa3e3
check ip whether static for networkmanager config ( #5261 )
...
* check ip whether static by networkmanager
2018-06-07 16:58:49 +08:00
xuweibj
270434e884
Add log service and log record in xcatprobe xcatmn ( #5157 )
...
* Add log service and log record in xcatprobe xcatmn
2018-05-09 16:52:13 +08:00
XuWei
e96a68d00a
Fix issue 3825, if BOOTPROTO is none consider it as static IP in xcatprobe
2017-09-01 00:35:25 -04:00
XuWei
a162ca8420
change RPM to INSTALL
2017-02-14 04:47:45 -05:00
XuWei
64b926ce63
modified table format
2017-02-10 02:22:54 -05:00
XuWei
6fdf3bef66
modified depending on comments
2017-01-24 20:36:19 -05:00
XuWei
97ca01394d
xcatprobe osdeploy performance
2017-01-23 00:46:26 -05:00
hu-weihua
9bfc34395b
modify depending on Victor's comments
2017-01-09 01:07:01 -05:00
hu-weihua
1512f118dc
Fix bug#2320 Request changing xcatprobe xcatmn output messages for checking services
2017-01-05 03:03:23 -05:00
hu-weihua
0d3beb67c9
modify depending on gongjie'comment
2016-12-21 03:07:46 -05:00
hu-weihua
e3cfd47466
add ntp check and modify http part depending on gongjie's comment
2016-12-21 02:09:02 -05:00
hu-weihua
4a0c497697
enhance http service checking, offer more error message
2016-12-19 00:47:52 -05:00
XuWei
66bc88169f
delete extra functions in probe_utils
2016-11-04 03:51:48 -04:00
hu-weihua
9abbcd4fbc
modify depending on comments
2016-09-23 02:36:52 -04:00
hu-weihua
e681e0fe99
Modify depending on Mark's comments and fixed some bugs
2016-09-21 04:01:44 -04:00
hu-weihua
93e42d9908
Restructure osdeplay code logic
2016-09-20 02:39:47 -04:00
hu-weihua
d7a683b200
fix probe bugs
2016-08-15 04:10:50 -04:00
XuWei
989548aef1
xCATprobe check xcat service node
2016-08-10 05:38:02 -04:00
Mark Gurevich
0a3fbd8d51
perltidy all perl files
2016-07-20 11:40:27 -04:00
hu-weihua
6c67f700e1
fix some bugs and change -t to -T
2016-07-04 05:18:55 -04:00
hu-weihua
1542879a7b
modify depending on comments
2016-06-28 05:43:48 -04:00
hu-weihua
8dd105afb9
implement discovery basic function
2016-06-16 22:14:48 -04:00
hu-weihua
f3c7e7f156
Add new probe command to detect DHCP, base on original detect_dhcpd tool
2016-06-07 05:28:18 -04:00
hu-weihua
1665d4146d
change the description of send_msg function
2016-05-31 05:14:24 -04:00
hu-weihua
8ae74152c1
change code logic, format and file name depending on comments come from colleagues
2016-05-31 03:26:04 -04:00