Jarrod Johnson
922dfe18c4
Enable bmcsetup for Lenovo SR635/SR655
...
The SR635/SR655 has a particular scheme for dedicated/shared
and hard coded correlated lan channels. Implement
support for those scenarios.
2019-11-12 11:17:35 -05:00
Jarrod Johnson
69e2fc0b5a
Merge branch 'lenovobuild2.14' of github.com:jjohnson42/xcat-core into lenovobuild2.14
2019-11-05 14:38:18 -05:00
Jarrod Johnson
74c832c3e2
Mitigate risk of kdump enable process problems
...
During kdump enablement, it was potentially mounting under /tmp
or /var/tmp. This is a very risky move as at the same time, it
is common to have boot activity 'cleaning' tmp. Move the
mount point elsewhere.
Additionally, try making it RO, and deferring the two write options
to be done by user.
2019-11-05 14:36:51 -05:00
Jarrod Johnson
c2acfbc56b
Add CentOS disc detection in a more generic way
2019-11-05 08:50:13 -05:00
Jarrod Johnson
dc3db7dba1
Merge branch 'lenovobuild2.14' of github.com:jjohnson42/xcat-core into lenovobuild2.14
2019-10-24 14:58:13 -04:00
Jarrod Johnson
acbbeb8629
Fix warning on unitialized value $mask
...
If not set, jump to returning undef.
2019-10-24 14:57:49 -04:00
Jarrod Johnson
949532f362
Add sleep after port change
...
The BMC net configuration was not yet ready in the wake
of having had the port changed immediately. Put in an
opportunity for net cfg to catch up.
2019-10-23 08:46:32 -04:00
Jarrod Johnson
aaaa5755df
Revert "Rearrange bmcsetup"
...
This reverts commit ff3e6c9557
.
2019-10-23 08:45:12 -04:00
Jarrod Johnson
0460a64b40
Merge branch 'lenovobuild2.14' of github.com:jjohnson42/xcat-core into lenovobuild2.14
2019-10-17 11:12:07 -04:00
Jarrod Johnson
ff3e6c9557
Rearrange bmcsetup
...
The password must be set first in some platforms.
2019-10-17 11:11:28 -04:00
Jarrod Johnson
249b76ebc3
Extend timeout for xcatd
...
Particularly on service nodes, it takes longer to startup
and systemd needs to be more patient.
2019-10-11 10:25:38 -04:00
Jarrod Johnson
4e12c4a074
Add missing shebangs to key scripts
2019-10-01 13:12:19 -04:00
Jarrod Johnson
6482b4600f
Remove DB/2 from the postscripts
2019-10-01 13:06:15 -04:00
Jarrod Johnson
3a3938aec7
Fix missing colon
2019-09-30 14:28:15 -04:00
Jarrod Johnson
79620132b5
Add missing dependencies for EL8
2019-09-30 14:04:23 -04:00
Jarrod Johnson
9a31968c87
Remove ambiguity for RHEL8 python
...
RHEL8 doesn't want 'python', so python2 for now.
2019-09-23 16:10:29 -04:00
Jarrod Johnson
f453b26e6f
Fix RHEL8 driverdisk injection
...
RHEL8 shuffled package around, follow new location.
2019-08-28 15:57:04 -04:00
Jarrod Johnson
bdaf5b80db
Accept the probability that the route is already added
2019-08-22 09:21:33 -04:00
Jarrod Johnson
afc999c43c
Fix incorrect interpreter
...
The incorrect interpreter was indicated
2019-08-22 09:20:22 -04:00
Jarrod Johnson
1b4af4fee0
Add new file to rpm manifest
2019-08-22 08:38:43 -04:00
Jarrod Johnson
ef47cdc8dc
Merge branch 'lenovobuild2.14' of github.com:jjohnson42/xcat-core into lenovobuild2.14
2019-08-21 16:24:26 -04:00
Jarrod Johnson
4a459177e1
Implement IPMI enablement through redfish
...
Newer firmware will disable IPMI by default.
If a user is using bmcsetup, they are preparing explictly
to use with IPMI, so use redfish to turn on the IPMI.
2019-08-21 16:23:49 -04:00
Jarrod Johnson
ddbe858c2f
Merge branch 'lenovobuild2.14' of github.com:jjohnson42/xcat-core into lenovobuild2.14
2019-08-16 16:09:19 -04:00
Jarrod Johnson
f750c06bb1
Fix support for non-efistub kernels
2019-08-16 16:08:59 -04:00
Jarrod Johnson
5d697b5c5c
Add support for modern iPXE client arch for uefi
...
iPXE moved from 9 to 7 a long time ago.
2.14.6.lenovo2
2019-08-07 13:49:55 -04:00
Jarrod Johnson
61e55bb263
Switch to iPXE compatible syntax for BOOTIF
2019-08-07 13:36:12 -04:00
Jarrod Johnson
3d7111c252
Fix omitted header from genesis ipxe file
2019-08-07 13:30:43 -04:00
Jarrod Johnson
792fe6d354
Skip :80 if possible
2019-08-07 13:23:24 -04:00
Jarrod Johnson
b375d3268c
Skip elilo for genesis in mknb
...
mknb does not need to use elilo for genesis
2019-08-07 13:17:56 -04:00
Jarrod Johnson
b7db0e21ef
Have mknb boot config also omit httpport when possible
2019-08-07 13:08:49 -04:00
Jarrod Johnson
1035841b5d
Fix makedhcp -n
...
The httpport site variable was being incorrectly interpolated into a
string.
2019-08-07 13:02:39 -04:00
Jarrod Johnson
8d5df5d6ca
Implement HMAC-SHA256 in xCAT IPMI
...
This will be compatible with some current implementations
that do not have SHA-1. HMAC-SHA1 may be still secure, but
SHA1 in any context *looks* bad even if it isn't.
2.14.6.lenovo1
2019-07-26 14:45:26 -04:00
Jarrod Johnson
a2f77ea90b
Apply httpport opt out on dhcp.pm
2019-07-19 11:37:32 -04:00
Jarrod Johnson
cd61fd9db4
Only set : port when non default
...
A case has been discovered where :80 seems to be asking for trouble.
Sidestep this case by omitting when it is not needed.
2019-07-18 09:02:23 -04:00
Jarrod Johnson
e53b62e0cf
No longer require elilo
...
elilo is now only used in the narrow window of distributions
that had UEFI support but not EFISTUB.
Such a user will already have it installed. A brand new install
should not be using elilo.
2019-06-19 09:47:11 -04:00
Jarrod Johnson
6888cad66d
Have xnba conditionally do elilo if needed
...
CentOS 6 and RHEL 6 for example do not support direct iPXE
boot. For those platforms, auto-use elilo for uefi boot.
2019-06-19 09:45:24 -04:00
Jarrod Johnson
cb8d671de6
Explicitly manage logrotate.d permissions
...
The implicit depends too much on build user today,
fix since logrotate is strict.
2019-06-17 09:12:26 -04:00
Jarrod Johnson
097f9cc50a
Remove use of elilo
...
iPXE can directly execute all but the most ancient Linux kernels
directly in UEFI boot. Remove the elilo intermediate step.
2019-06-13 15:14:07 -04:00
Jarrod Johnson
bc20c2e9a4
Do not default ciphers if version set
...
A custom TLS version can conflict with the default ciphers.
2019-06-11 13:44:00 -04:00
Jarrod Johnson
3110dc8fd7
Fix SLE15 genimage with existing passwd
...
SLE15 code was overwriting valid /etc/passwd on
partially built images.
2019-06-11 10:59:32 -04:00
Jarrod Johnson
bff53d4eae
Merge tag '2.14.6' into lenovobuild2.14
...
xCAT 2.14.6 release
2019-05-02 13:05:07 -04:00
Jarrod Johnson
dbee43b89c
Have update.log only present one update worth of log
2.14.5.lenovo2
2019-04-16 16:02:01 -04:00
Jarrod Johnson
51d87d4d36
Put stderr in the upgrade.log
2.14.5.lenovo1
2019-04-15 16:41:51 -04:00
Jarrod Johnson
47d8ae83c0
Fix some RHEL8 deploy problems
2019-04-09 15:09:03 -04:00
Jarrod Johnson
f07c819d5d
Add alternative location for grub preconfig
2019-04-09 14:37:49 -04:00
Jarrod Johnson
ed7063b577
Disable GRUB attempt to do direct serial
2019-04-09 13:05:22 -04:00
Jarrod Johnson
619bff27ef
Add notation about SLE and reboot postscript
2019-04-09 10:22:23 -04:00
Jarrod Johnson
220618f450
Merge branch 'lenovobuild2.14' of github.com:jjohnson42/xcat-core into lenovobuild2.14
2019-04-08 15:17:13 -04:00
Jarrod Johnson
7e7e8af978
Remove spurious old SLE15 attempt
2019-04-08 15:16:57 -04:00
yangsbj
6570378a61
fix issue PR #6001 resulted in test case updatenode_syncfile_EXECUTE failed #6016
2019-04-04 09:00:42 -04:00