Jarrod Johnson
76f3537a79
Further advance SUSE15 diskless support
2021-06-22 16:18:32 -04:00
Jarrod Johnson
b26b46dc41
Crate dracut module for suse15
2021-06-22 14:49:15 -04:00
Jarrod Johnson
deec9b111a
Initial phase of suse diskless support
2021-06-22 14:29:28 -04:00
Jarrod Johnson
59e6dc80b3
Remove commented, non-working concept code
...
The code was going to replace XInclude with something more manual
from sed and xml comments, but yast strips the comments.
So we instead manually make hooks for the replacement items.
2021-06-22 12:21:18 -04:00
Jarrod Johnson
e34d76f7eb
OpenSUSE 15.3 support
...
A number of changes in opensuse 15.3 require modifying our
strategy.
No more XInclude. This seems to be unintentional, but it released
and so we will work around it.
Some somewhat incorrect values, as pointed out by new validation.
2021-06-22 12:19:54 -04:00
Jarrod Johnson
f0693f6ee5
Correct typo in imgutil
2021-06-15 13:45:27 -04:00
Jarrod Johnson
84634afc9c
Improve imgutil brevity
...
Allow it to take only the basename and
default to likely /var/lib/confluent locations
Draft work on tab completion for imgutil.
Technically the tab completion should be in the imgutil package,
but for now bundle with server.
2021-06-15 13:30:30 -04:00
Jarrod Johnson
5621d48ffa
Fix syntax error with new check
2021-06-15 12:23:45 -04:00
Jarrod Johnson
55a4211e71
Fix imgutil volume mounting
2021-06-15 12:12:27 -04:00
Jarrod Johnson
802ba9c708
Merge pull request #60 from vmaneagit/patch-61
...
Update collective.ronn
2021-06-15 09:42:48 -04:00
Jarrod Johnson
490827fe3a
Allow memory reclamation through deletion
...
When going to zram, things were solid for space reduction as
data was written, however memory could no longer be reclaimed.
It turns out that zram supports TRIM, and by telling xfs discard,
we have it do trim-on-demand. It is by default off out of performance
concerns, but I don't think that applies to a zram backed filesystem.
2021-06-15 09:36:44 -04:00
vmaneagit
85568091fa
Update collective.ronn
...
Added correction for:
"collective gencert collective delete" should be on 2 separate lines.
correction should be:
collective gencert
collective delete
2021-06-15 16:25:26 +03:00
Jarrod Johnson
2ecab0432c
Fix imageboot.sh issues for diskless boot
2021-06-15 08:58:21 -04:00
Jarrod Johnson
dee03e1359
Attempt to updateboot at end of pack
2021-06-15 08:41:33 -04:00
Jarrod Johnson
3f87696978
Fix typo in imageboot.sh script
2021-06-15 08:38:27 -04:00
Jarrod Johnson
38a4e20b9a
Fix issues around imageboot and source in functions
2021-06-15 08:31:45 -04:00
Jarrod Johnson
1d8d0699bc
Fix ability to copy profiles during pack
2021-06-15 08:11:31 -04:00
Jarrod Johnson
62ac393721
Fix imgutil profile path and osdeploy diskless layout
2021-06-15 08:00:09 -04:00
Jarrod Johnson
1d148afd70
Add sourcing of functions to dracut hook
2021-06-14 18:46:36 -04:00
Jarrod Johnson
e6550d8160
Fix use of label in profile.yaml
2021-06-14 16:55:32 -04:00
Jarrod Johnson
0079e5c437
Change imgutil packaging and pkglist path
2021-06-14 16:46:23 -04:00
Jarrod Johnson
cce2c6d6db
Add missing Release and remove stale binaries from git
2021-06-14 16:16:19 -04:00
Jarrod Johnson
e32e40f451
Correct build script typo
2021-06-14 16:14:13 -04:00
Jarrod Johnson
e50423881d
Correct spec name in imgutil build script
2021-06-14 16:12:43 -04:00
Jarrod Johnson
82b94e3ff9
Add build script for imgutil
2021-06-14 16:12:01 -04:00
Jarrod Johnson
03cb065342
Fix inconsistency with naming of profiles
2021-06-14 16:09:48 -04:00
Jarrod Johnson
cb4b8ab06f
First pass at packaging imgutil
2021-06-14 16:02:52 -04:00
Jarrod Johnson
ac2474f43e
Attempt to fixup ownership, if applicable on the output
2021-06-14 15:17:54 -04:00
Jarrod Johnson
e678ca24f9
Attempt to pull in osdeploy profile information
2021-06-14 14:59:59 -04:00
Jarrod Johnson
60aef0767c
Pull in the diskless profile content for os deploy
2021-06-14 14:38:38 -04:00
Jarrod Johnson
15f5ec9362
Rename common to 'default'
2021-06-14 14:37:40 -04:00
Jarrod Johnson
870c8255f4
Move diskless to el8-diskless
...
The code so far is EL8 specific, properly
organize it.
2021-06-14 14:36:23 -04:00
Jarrod Johnson
795645f90a
Extract boot logic from 'addons.cpio'
...
Make it easier to see and customize image boot script
behavior, leaving addons.cpio only to bring up network
and set up ssh.
2021-06-14 14:33:35 -04:00
Jarrod Johnson
99a42af907
Add zram module to stateless images
2021-06-14 14:31:57 -04:00
Jarrod Johnson
24d33256ca
Fix typo in dracut configuration
2021-06-14 13:45:44 -04:00
Jarrod Johnson
334ec3a74f
Refactor for multi-os support and improve initramfs experience
...
Organize el8 specific content to separate spaces for future
development of other OS support
Also, make the diskless initramfs a natural result of
dracut activity, so that normal rpm updates and oob driver
installs produce the expected initramfs without further
intervention.
2021-06-14 13:09:25 -04:00
Jarrod Johnson
261def8de2
Rename and refactor imgutil to separate rpm
2021-06-14 07:39:01 -04:00
Jarrod Johnson
25f65a278f
Notation on untethered option
2021-06-11 16:18:59 -04:00
Jarrod Johnson
f565030087
Switch to zram for overlay
...
Further mitigate unevictable memory penalty
for written files in stateless.
2021-06-11 16:16:17 -04:00
Jarrod Johnson
8edd2a28e4
Merge branch '3.2'
2021-06-10 18:51:56 -04:00
Jarrod Johnson
7122c17ce0
Remove pyte requirement
...
We no longer use pyte, remove the requirement.
2021-06-08 16:43:06 -04:00
Jarrod Johnson
14bb841b2d
Fix nodebmcreset partial success
...
The error handling is improved, to
catch both noderange global issues as well
as partial completions.
2021-06-08 09:13:56 -04:00
Jarrod Johnson
f5f16dac7a
Fix nodebmcreset partial success
...
The error handling is improved, to
catch both noderange global issues as well
as partial completions.
2021-06-08 09:12:33 -04:00
Jarrod Johnson
fa3220f3d1
Actually fix up the osdeploy build
...
For now, stub out the diskless profile dir, which doesn't quite
exist yet.
2021-06-04 17:45:52 -04:00
Jarrod Johnson
14bc4df92e
Fix path mistake in osdeploy build script
2021-06-04 17:33:14 -04:00
Jarrod Johnson
1645d47b73
Fix clortho
...
The suggested correection for clortho was in fact
incorrect. Revert back and cast it.
2021-06-04 17:19:19 -04:00
Jarrod Johnson
bbe9bc3e06
Constrain plugin collections to flat by default
...
When asking for a path that exceeds the plugincollection,
thten provide generic 'not found' behavior.
2021-06-04 14:48:31 -04:00
Jarrod Johnson
03a75ec67d
Error if noderange includes too many )
...
By default, pyparsing consumes only as much of the
input as matches the grammar. Tell it to consume all
of the noderange and error if there's more string than
matches our grammar.
2021-06-04 14:21:45 -04:00
Jarrod Johnson
58157b23d7
Error if noderange includes too many )
...
By default, pyparsing consumes only as much of the
input as matches the grammar. Tell it to consume all
of the noderange and error if there's more string than
matches our grammar.
2021-06-04 14:19:06 -04:00
Jarrod Johnson
269300119a
Skip newer agent behaviors with incompatible old ssh
...
The previous attempt to support older ssh failed to completely
enact old behavior when needed.
2021-06-04 13:41:47 -04:00