Jarrod Johnson
ac19f093fd
Fixes to the previous draaft
2020-07-30 15:03:36 -04:00
Jarrod Johnson
2f4f9a39a6
Add osdeploy function to trust nodes
...
osdeploy initialize -l will
endeavor to do to the local
management node the same thing the deployment does to the nodes.
2020-07-30 14:44:02 -04:00
Jarrod Johnson
d204eedb76
Have osdeploy -p enable tftp
...
This makes the procedure shorter.
2020-07-30 13:57:42 -04:00
Jarrod Johnson
fa934ce334
Fix insertion of manager
...
The manager insertion failed
with the domain from nodes removed.
2020-07-29 13:52:28 -04:00
Jarrod Johnson
dd91213969
Fix mistakes in the hostname support
2020-07-29 13:39:48 -04:00
Jarrod Johnson
e93c3241ed
Provide for more hostnames
...
This permits ssh infrastructure
to have multihomed nodes
handled more effeectively.
2020-07-29 13:08:03 -04:00
Jarrod Johnson
b4d7812926
Add some likely customizations examples
...
RedHat family is likely to be customized with firewall and selinux,
use those as examples to get things going for users.
2020-07-29 12:19:44 -04:00
Jarrod Johnson
c75a433ff8
Reduce trace activity around common connectivity issue
...
If the target has a resolution or other common socket issues,
do not make large trace logs.
2020-07-29 08:49:42 -04:00
Jarrod Johnson
56a6f24350
Merge branch '2.5'
2020-07-28 11:16:54 -04:00
Jarrod Johnson
908c566b73
Allow deletion of blank volume names
2020-07-28 11:16:38 -04:00
Jarrod Johnson
99f9e852da
Allow deletion of blank volume names
2020-07-28 11:15:48 -04:00
Jarrod Johnson
6ab176218e
Add '..' to range operators
...
The perl-style range operator exists in some tools, we
might as well support that alongside the usual '-'
operator and ':' python style operator.
2.5.2
2020-07-28 08:08:35 -04:00
Jarrod Johnson
8225a2297e
Add '..' to range operators
...
The perl-style range operator exists in some tools, we
might as well support that alongside the usual '-'
operator and ':' python style operator.
2020-07-27 11:54:24 -04:00
Jarrod Johnson
b09631fcbf
Correct mistake in chcon path
2020-07-24 16:07:15 -04:00
Jarrod Johnson
eb7791b884
Add missing example custom files
2020-07-24 16:00:16 -04:00
Jarrod Johnson
cbc25c17c4
Revise customization across RH family
2020-07-24 15:45:19 -04:00
Jarrod Johnson
235c07063c
Adjust SELinux context on remote exec
...
To facilitate firstboot, context must be changed
before execing remote content.
2020-07-24 15:32:13 -04:00
Jarrod Johnson
9304b41a12
Generic tab completion after generic noderange
...
Commands that go further than the noderange should
switch to generic completion for lack of a better
idea.
2020-07-24 14:35:54 -04:00
Jarrod Johnson
d2f1ea6cec
Tweak the customizations.
2020-07-24 11:10:01 -04:00
Jarrod Johnson
d7c219f2a8
Add a new strategy for custom content
...
This allows a profile to more easily isolate customizations
from the base profile
2020-07-24 10:59:15 -04:00
Jarrod Johnson
eabb212e58
Fix setupssh.sh without ssh_config.d
...
It was modifying the installer ssh_config
rather than the target ssh_config
2020-07-24 08:12:53 -04:00
Jarrod Johnson
33dd5e8315
Remove redundant call to nodectl
2020-07-23 15:10:30 -04:00
Jarrod Johnson
02ba6df421
Do not try to sign unsupported key
2020-07-23 14:41:59 -04:00
Jarrod Johnson
e28f6b87fc
Fix RHVH apikey location
2020-07-23 14:39:17 -04:00
Jarrod Johnson
bbab1cb949
Adjust EL7 package list
...
Packages in EL8 do not apply to EL7
2020-07-23 13:05:24 -04:00
Jarrod Johnson
232e6c34c5
Add el7 to build
2020-07-23 12:42:34 -04:00
Jarrod Johnson
ac622d84b2
Add EL7 support
2020-07-23 12:29:43 -04:00
Jarrod Johnson
c81daba66f
Merge branch '2.5'
2020-07-22 15:12:52 -04:00
Jarrod Johnson
2483f07c89
Add tar dependency for osdeploy
2020-07-22 15:11:58 -04:00
Jarrod Johnson
5f1ba49a12
Fix behavior with unspecified domain name
...
Ensure string is only checked if it is a string.
2020-07-22 13:56:55 -04:00
Jarrod Johnson
92018c725f
Fix ssdp python3 issue
...
Attempt to use str to split bytes.
2020-07-17 13:58:00 -04:00
Jarrod Johnson
fd46bae24f
Fix for removing groups providing multiple values
...
I don't know how this was missed for so long,
but removing a group providing multiple values would produce an error and fail.
2020-07-17 11:48:49 -04:00
Jarrod Johnson
9f429f5af9
Adapt EL8 change to RHVH
2020-07-16 15:23:45 -04:00
Jarrod Johnson
ded4762baf
Go to internalizing driver disk load
...
Trying to let the dd happen naturally was evidently a mistake,
load the drivers manually.
2020-07-16 15:09:24 -04:00
Jarrod Johnson
de7b83cbb4
Correct the spec file
...
It incorrectly omitted correct license.
2020-07-16 08:25:15 -04:00
Jarrod Johnson
767e65455f
Apply reset of cmdline to RHVH
2020-07-15 17:24:19 -04:00
Jarrod Johnson
9661d4d6fb
Clear cmdline between runs
2020-07-15 17:13:07 -04:00
Jarrod Johnson
8fc475a678
Fix mistakes in the initqueue hooks
...
Syntax errors were present.
2020-07-15 15:55:29 -04:00
Jarrod Johnson
99cb4748a7
Also amend the RHVH4 dracut hook
...
In addition to RHEL8, also have RHVH4 have the workaround.
2020-07-15 15:29:30 -04:00
Jarrod Johnson
d49f018981
Correct functions in profiles
...
Use functions correectly.
2020-07-15 15:22:27 -04:00
Jarrod Johnson
6dadac498f
Try another strategy for confluent initqueue
...
We want to have each iteration try not much.
But we also want to have a 'good' (primary network) match
supersede a less successful guess.
But we also want to keep guessing.
So the first 'vague' guess gets to run full hook.
If a future good guess happens, rerun the hook to update the data.
2020-07-15 15:20:17 -04:00
Jarrod Johnson
ac308fbd9c
Fix python3 issues in ssdp code
...
In the ssdp code, there were python3 specific issues.
2020-07-15 13:06:54 -04:00
Jarrod Johnson
d792822f4b
Go back to copy
...
tftp tends to chroot itself, making symlinks out of
the tftp data directory infeasible.
2020-07-15 12:53:41 -04:00
Jarrod Johnson
dfc289b154
Allow osdeploy initialize -p by itself
...
It seems a rational thing to do.
2020-07-15 11:12:27 -04:00
Jarrod Johnson
77cfa7b45c
Revise tftp initialization
...
For one, if the xCAT /tftpboot is present, roll with that.
For another, use a symlink to /opt instead of copy, to make upgrades
easier.
2020-07-15 10:59:30 -04:00
Jarrod Johnson
5ccfa36da6
Fix ssh disconnect handling in python 3
...
In python 3, '' will never match b''. Just
use the value as a boolean to catch either ''
or b''.
2020-07-15 10:34:23 -04:00
Jarrod Johnson
81835d66be
Fix ssh disconnect handling in python 3
...
In python 3, '' will never match b''. Just
use the value as a boolean to catch either ''
or b''.
2020-07-15 10:33:28 -04:00
Jarrod Johnson
3b121cdb4b
Have initqueue hook give up faster
...
Since the hook itself will get retried, we can be more aggressive
in giving up in each individual attempt.
2020-07-15 08:45:41 -04:00
Jarrod Johnson
fba82f9379
Change el8 addons to retry confluent handler
...
If DD is in play, drivers may appear later, and
we have to wait for them in a future invocation.
2020-07-14 16:43:37 -04:00
Jarrod Johnson
dad68bdf63
Conditionally include clevis-dracut
...
If not using LUKS, don't bother with clevis-dracut.
In 8.1, clevis-dracut will cause problems with network
in initrd time.
2020-07-14 14:40:05 -04:00