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
Jarrod Johnson
b8ddf149bd
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:40:39 -04:00
Jarrod Johnson
bf158bc5aa
Prep for diskless specific profile categories
2021-06-03 18:20:47 -04:00
Jarrod Johnson
8228c345bc
Fix the build path of the stateless path
2021-06-03 18:12:18 -04:00
Jarrod Johnson
8eecd03d4b
Correct path name in build process
2021-06-03 17:50:01 -04:00
Jarrod Johnson
044ae53ae3
Add symlink for site, and placeholder for addons
...
Will need to detect the proper 'category' for
the addons link.
2021-06-03 17:20:41 -04:00
Jarrod Johnson
1a30876a2d
Begin work to package diskless support
...
First will work on the 'addons' portion of the needed
work.
2021-06-03 17:17:42 -04:00
Jarrod Johnson
e0c59cc341
Fixup c utilities and add start_root
...
The diskless will use start_root to boot the 'main' OS as a container.
2021-06-03 17:06:10 -04:00
Jarrod Johnson
93c21d4148
Commit to python3 ofr imgutil
...
The imgutil will never be supported with python2,
so we will go ahead and commit to python.
2021-06-03 16:52:22 -04:00
Jarrod Johnson
e23a88a4c3
Have resolv.conf more reliably work
...
Also, make sure it is read-only in the exec case
2021-06-03 15:47:17 -04:00
Jarrod Johnson
1289f95584
Merge branch '3.2'
2021-06-03 14:22:38 -04:00
Jarrod Johnson
db965f133e
Add a 'pack' and attempt to bind /etc/resolv.conf on exec
...
This facilitates custom manual image work
2021-06-02 17:26:46 -04:00
Jarrod Johnson
a2edf46b8a
Improve ctrl-c and other behaviors of osdeploy import
...
More reliably delete an import attempt to avoid odd behaviors.
2021-05-27 16:10:55 -04:00
Jarrod Johnson
2073926256
Improve ctrl-c and other behaviors of osdeploy import
...
More reliably delete an import attempt to avoid odd behaviors.
2021-05-27 16:10:06 -04:00
Jarrod Johnson
734e12f0f1
Amend long wait to only apply to shutdown
...
The previous 30 seconds was a good amount to
wait for everything but a graceful shutdown.
The new 5 minute wait is too long to wait to
find out a system can't turn on.
Apply the 5 minute wait only on clean shutdown
request.
2021-05-27 09:57:07 -04:00
Jarrod Johnson
deb2b98e7f
Merge pull request #59 from zhougj4/master
...
[merge-LXCA] pull request
2021-05-27 09:54:44 -04:00
Zhou Guangjun
32c84993b0
[merge-LXCA] fix problem in merge with upstream - htmlify the dict
...
Details:
Revision: d9cc888e68abe7794ade82a251c4dffe9108a014
Author: Michael Du <duxd2@LENOVO.COM>
Date: 2017/8/2 21:06:22
2021-05-27 09:58:05 +08:00
Jarrod Johnson
48ff1fd12c
Fix background mode of urlmount
...
Need the recheck thread managed in the background process if using
urlmount the normal way.
2021-05-26 18:21:06 -04:00
Jarrod Johnson
bca5d9497f
Implement failback facility
...
Treat the url list as an ordered list of priority. Occasionally check
the more preferred paths for health if they had been detected as bad.
2021-05-26 17:54:33 -04:00
Jarrod Johnson
9be039b8e5
Continue advancing the img build and exec utility
2021-05-26 15:18:01 -04:00
Jarrod Johnson
a3266ad01c
Begin next draft of genimage
...
Write in python and support sourcing
only from local directories if desired.
2021-05-25 17:27:07 -04:00
Jarrod Johnson
74e011e964
Implement node name subtitution in nodeshell
...
If wanting to ssh to 'altenative interfaces', provide -s to facilitate that
behavior, with added flexibility
compared to previous incarnations.
2021-05-25 15:46:49 -04:00
Jarrod Johnson
e1a4f370b2
Implement node name subtitution in nodeshell
...
If wanting to ssh to 'altenative interfaces', provide -s to facilitate that
behavior, with added flexibility
compared to previous incarnations.
2021-05-25 15:46:22 -04:00
Jarrod Johnson
66372bea0c
Fix hang on ctrl-e,c,p,o
...
Leave the function to
consume termdata if data
is available.
2021-05-25 14:27:37 -04:00
Jarrod Johnson
a7e7e647f3
Fix hang on ctrl-e,c,p,o
...
Leave the function to
consume termdata if data
is available.
2021-05-25 14:26:49 -04:00
Jarrod Johnson
9bdef5bbb9
Fix typo in confetty
2021-05-25 11:58:20 -04:00
Jarrod Johnson
d250a3e850
Fix typo in confetty
2021-05-25 11:58:01 -04:00
Jarrod Johnson
49b69a2e19
Explicitly provide content-length 0 on 204
...
For some vintages of eventlet+apache, this is required
to avoid invalid responses from the server.
2021-05-25 10:19:11 -04:00
Jarrod Johnson
af10e0ea91
Explicitly provide content-length 0 on 204
...
For some vintages of eventlet+apache, this is required
to avoid invalid responses from the server.
2021-05-25 10:18:13 -04:00
Jarrod Johnson
8455d30687
Disable selinux for now in a built image
2021-05-24 18:30:48 -04:00
Jarrod Johnson
903160f748
Fix the draft genimage script
2021-05-24 17:37:47 -04:00
Jarrod Johnson
52005dd6ae
Further flesh out diskless profile
2021-05-24 16:20:54 -04:00
zhougj4
7363af866f
Merge branch 'lenovo:master' into master
2021-05-24 10:46:50 +02:00
Jarrod Johnson
9ca42081de
Try to add onboot service to diskless
...
It didn't quite work yet, but commit the progress so far.
2021-05-21 17:07:32 -04:00
Jarrod Johnson
6c6b766f37
Fix non-root node to node ssh in diskless
2021-05-21 13:18:29 -04:00
Jarrod Johnson
a9b412fb81
Add node to node ssh to diskless
2021-05-21 12:41:58 -04:00