Jarrod Johnson
ce1d89c741
Set nodename as hostname prior to post for el class distros
2021-11-04 07:56:04 -04:00
Jarrod Johnson
cbee00d3bb
Fix initial collective join
...
Initial collective join combined
with the orderly collective startup
hit a chicken and egg problem.
Disable initting on first enrollment
to let enrollment drive
that specific initialization to
restore behavior.
2021-07-19 10:26:05 -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
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
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
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
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
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
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
93d4847763
Conditionally apply agent to sshutil
...
Older OSes (RHEL7/SLES12) cannot
do ssh-keygen with an agent.
Degrade to classic confluent behavior when that happens.
2021-05-18 12:28:42 -04:00
Jarrod Johnson
b283b50cc6
Improve error on nodeconfig parse errors
...
The current error is vague and confusing, clarify with
more data showing what went wrong.
2021-05-18 10:34:09 -04:00
Jarrod Johnson
1f320af8e5
Add error message for long profile names
...
If a profile name pushes the filename field of dhcp
beyond what it can support, log an event and
do not offer a corrupted
dhcp offer packet.
2021-05-18 09:44:27 -04:00
Jarrod Johnson
5fea265dc8
Change CSV to have unix style line endings
...
The excel dialog has nice minimal quoting, but DOS line endings.
Unix dialog has good line endings, but excessive quoting.
Create a hybrid dialect and use it for nodesensors output.
2021-05-13 10:39:03 -04:00
Jarrod Johnson
b74d648e7f
Fix refactored inline command run
...
This addresses the mistake in
refactoring the inline command
shortcut
2021-05-12 13:49:06 -04:00
Jarrod Johnson
380f21853c
Merge branch 'master' into 3.2
2021-05-11 08:10:41 -04:00
Jarrod Johnson
9900d76b0c
Merge remote-tracking branch 'lenovo/master'
2021-05-11 08:09:57 -04:00
Jarrod Johnson
aa7701ea3c
More usefully indicate unfound interfaces
...
Rather than no data, provide
not found error when requesting a currently unsupported name.
2021-05-11 08:02:19 -04:00
Jarrod Johnson
3044c662ad
Merge pull request #55 from vmaneagit/patch-45
...
Update nodesupport.ronn
2021-05-11 07:59:24 -04:00
Jarrod Johnson
7e02d1d008
Merge pull request #57 from vmaneagit/patch-43
...
Update collective.ronn
2021-05-11 07:56:55 -04:00
Jarrod Johnson
f321e06e6e
Merge pull request #51 from vmaneagit/patch-49
...
Update nodersync.ronn
2021-05-11 07:50:47 -04:00
Jarrod Johnson
5c0af9ebc7
Merge pull request #50 from vmaneagit/patch-50
...
Update nodersync.ronn
2021-05-11 07:50:18 -04:00
Jarrod Johnson
c146b50b5b
Merge pull request #49 from vmaneagit/patch-51
...
Update nodereseat.ronn
2021-05-11 07:49:37 -04:00
Jarrod Johnson
cae8b2d0f8
Merge pull request #48 from vmaneagit/patch-52
...
Update noderemove.ronn
2021-05-11 07:49:24 -04:00
Jarrod Johnson
2664adefa4
Merge pull request #47 from vmaneagit/patch-53
...
Update nodepower.ronn
2021-05-11 07:49:10 -04:00
Jarrod Johnson
c5f03ee62d
Merge pull request #46 from vmaneagit/patch-54
...
Update nodelicense.ronn
2021-05-11 07:49:00 -04:00
Jarrod Johnson
a932e91b17
Merge pull request #45 from vmaneagit/patch-56
...
Update nodegroupattrib.ronn.tmpl
2021-05-11 07:48:45 -04:00
Jarrod Johnson
1c00aa3c4e
Merge pull request #44 from vmaneagit/patch-57
...
Update confetty.ronn
2021-05-11 07:48:35 -04:00
Jarrod Johnson
bd889f4c78
Merge pull request #43 from vmaneagit/patch-58
...
Update collate.ronn
2021-05-11 07:48:17 -04:00
Jarrod Johnson
409a0796a1
Merge pull request #42 from vmaneagit/patch-59
...
Update nodesupport.ronn
2021-05-11 07:48:04 -04:00
Jarrod Johnson
70ffef6b06
Merge pull request #41 from vmaneagit/patch-55
...
Update nodelicense.ronn
2021-05-11 07:47:53 -04:00
Jarrod Johnson
77a043faa6
Change apiclient to append if outputting to existing file
2021-05-05 17:45:39 -04:00
Jarrod Johnson
d69eb6ef12
Change apiclient to append if outputting to existing file
2021-05-05 17:45:04 -04:00
Jarrod Johnson
984c3044fe
Invalidate sealed token on new token
...
If a new token grant occurs, do not
retain stale token sealed, as it can be misleading.
2021-05-05 09:18:28 -04:00
Jarrod Johnson
8543129fb9
Invalidate sealed token on new token
...
If a new token grant occurs, do not
retain stale token sealed, as it can be misleading.
2021-05-05 09:17:42 -04:00
Jarrod Johnson
257edff3a7
Redo ssh certs on firstboot for SUSE
...
For whatever reason, SUSE loses the certificate during firstboot.
2021-05-03 16:47:24 -04:00
Jarrod Johnson
763feda63b
Fix missed references to old variable names
2021-05-03 15:54:39 -04:00
Jarrod Johnson
508e5b4a46
Fix suse run_remote_parts
...
Behave more consistently
2021-05-03 15:36:27 -04:00
Jarrod Johnson
7676c4fd26
Restore EL8 treatment
...
The changes caused EL8 to lose some required special treatment.
2021-05-03 15:18:33 -04:00
Jarrod Johnson
c3b954a743
Move suse15 to log like rhel
2021-05-03 14:50:04 -04:00
Jarrod Johnson
a94a341582
Fix ansible path compatibility.
2021-05-03 14:31:28 -04:00
Jarrod Johnson
08dfd55ea0
Rename variables in the ubuntu initramfs portion
2021-05-03 13:28:28 -04:00
Jarrod Johnson
cf6975ded3
Fix python2/3 handling in el8 pre.sh
2021-05-03 13:11:52 -04:00
Jarrod Johnson
d17b1d060c
Prepend confluent_ to vars and switch to explicitly requesting directory
...
The 'profile' variable notably induces dracut to be excruciatingly slow,
mitigate chance by putting confluent before apikey, mgr, and profile.
Further, it has been requested to have the scripts use same name on
server for directory moving forward. Implement this request while
allowing existing OS profiles to keep working.
2021-05-03 12:48:08 -04:00
Jarrod Johnson
fcb4b33e8e
Include stderr in the script execution logs
2021-05-03 08:57:59 -04:00
Jarrod Johnson
121e0727cf
Add Rocky linux recognition
2021-05-03 08:36:57 -04:00
Jarrod Johnson
b5b9631b3f
Correct typo in pre script
2021-04-30 16:27:16 -04:00
Jarrod Johnson
c09f96b8c9
Remove pivot_root from genesis
...
It is not used (if we did use something, it would be switch_root).
2021-04-30 16:20:58 -04:00
Jarrod Johnson
196ed31bee
Retry node api token retrieval, with message
2021-04-30 15:17:02 -04:00
Jarrod Johnson
bb05f72583
Add source_remote_parts
...
This function will enable a script to invoke multiple
pieces in same variable/function context
2021-04-30 14:33:02 -04:00