Jarrod Johnson
d5e4d1b90a
Add navigating nonce login for xcc discovery
...
The nonce login from newer firmware is now required.
2021-11-12 11:27:58 -05:00
Jarrod Johnson
cde45bb170
Commence draaft work on ubuntu diskless
...
Provide a initramfs hook (akin to dracut module) and
a potential pkglist to cover what debootstrap does not
provide by default.
2021-11-11 16:41:13 -05:00
Jarrod Johnson
524f0d460f
Have imgutil exec manifest / mount
...
When execing, make the environment see
the '/' normally in mount/df contexts.
2021-11-11 12:05:53 -05:00
Jarrod Johnson
2b6418bc33
Script to walk identify light along a noderange
2021-11-10 15:19:37 -05:00
Jarrod Johnson
9a6d422fd8
Fix the python3 of rsp read
2021-11-09 16:01:45 -05:00
Jarrod Johnson
ef10237cfe
Update smm rules to relax
2021-11-09 15:58:17 -05:00
Jarrod Johnson
94761ba7c6
Refresh SMM fix expiration sample
2021-11-09 15:54:27 -05:00
Jarrod Johnson
b59c88beed
Explain more about need for -c versus =''
...
The concept of inherited and blank override is confusing
and warrants more documentation.
2021-11-09 08:26:35 -05:00
Jarrod Johnson
cbed20bb7f
Fix suse15 firstboot.sh
...
It was stripping the wrong value from the path.
2021-11-09 07:10:38 -05:00
Jarrod Johnson
61eecd672c
Add confignet to default firstboot/onboot as appropriate for el8 and
...
suse15
2021-11-08 16:34:26 -05:00
Jarrod Johnson
8df1c5b8e4
Make confignet available as a 'common' script
2021-11-08 16:23:56 -05:00
Jarrod Johnson
766230bcd3
Fix loop extending pkgs
...
The attempt at include support modified incorrect
list.
2021-11-06 14:38:44 -04:00
Jarrod Johnson
f1bc82cd08
Fix logic of websocket handling
...
Do not fall through to non-websocket path after handling the websocket
2021-11-05 14:15:39 -04:00
Jarrod Johnson
b139f9cd2c
Consistently return string from consume_termdata
...
If None is allowed to return, it can mess up caller.
2021-11-05 11:30:43 -04:00
Jarrod Johnson
a23d5b9b55
Provide both v4 and v6 in deploycfg
...
When implicitly working by lookup, both v4 and v6
were provided, but first match only
on explicit specification.
Correct this discrepency.
2021-11-04 17:20:49 -04:00
Jarrod Johnson
df7d34dc28
Add attribute support for confluent2hosts
...
Implement something akin to makehosts
from xCAT.
2021-11-04 14:44:06 -04:00
Jarrod Johnson
e749f8f8d5
Prioritize columns over rows
...
Do not make columns when the noderange is too small
to warrant them
2021-11-04 12:44:47 -04:00
Jarrod Johnson
5ceaa0e4fe
Change logreader to python3
2021-11-04 10:53:50 -04:00
Jarrod Johnson
5270f604eb
Fix missing el9 from spec install section
2021-11-04 08:00:37 -04:00
Jarrod Johnson
4e9020c3a7
Add SUSE support for confignet
2021-11-02 14:04:11 -04:00
Jarrod Johnson
366a2feaaf
Provide api for node to just fetch all it's attributes
2021-11-02 11:21:19 -04:00
Jarrod Johnson
db7cb6450b
Temporarily stop firewalld and add pause to try to wait for address assignment
2021-11-02 09:43:42 -04:00
Jarrod Johnson
ea310e472a
Improve preservation of existing connections/settings
...
When teaming up nics, salvage
things like dns settings from members.
When a connection already seems to exist, modify it rather than delete and replace,
for less disruption.
Running repeatedly should now be safer.
2021-11-01 12:34:37 -04:00
Jarrod Johnson
a5f96ccc5d
Correct whitespace mistake in previous commit
2021-11-01 11:09:45 -04:00
Jarrod Johnson
5e0aced2ea
Merge branch 'master' of github.com:lenovo/confluent
2021-11-01 07:01:56 -04:00
Jarrod Johnson
28a13da118
Fix non-noderange alert specification.
...
The change in to accomodate nodarange without per-node
distinct input claimed the single input data exclusively
for multimode.
Correct by pulling the singleton code to be common if the
check breaks from the for loop.
2021-11-01 06:59:54 -04:00
Jarrod Johnson
6df8170401
Draft confignet implementation
...
This will team and set up additional interfaces,
but, for one, no dns. Need to merge with deploycfg info, since
networkmanager is intent on making dns a
connection oriented thing.
2021-10-29 17:16:16 -04:00
Jarrod Johnson
224663d0c8
Fix execution of confluent functions after run_remote_python
2021-10-29 13:50:04 -04:00
Jarrod Johnson
729408a0cb
Fix run_remote aafter the cleanup was added
...
The removal of the temp dir needed to be linked with
whether the script was dedicated or shared tmp with a run_remote_parts.
2021-10-29 13:01:59 -04:00
Jarrod Johnson
b1ee751c7b
Add newline to error output
2021-10-29 09:43:52 -04:00
Jarrod Johnson
9428c1fb8e
Merge pull request #77 from vmaneagit/patch-80
...
Update nodelicense.ronn
2021-10-29 09:40:39 -04:00
Jarrod Johnson
391963e3f3
Merge pull request #78 from vmaneagit/patch-79
...
Update nodelicense
2021-10-29 09:40:25 -04:00
Jarrod Johnson
78163f1d09
Correct issue in parameter rename for apiclient
2021-10-29 07:23:26 -04:00
Jarrod Johnson
8ef70d463f
Draft client for net configuration
...
Common code to struction networks into structure for configuration.
This organizes and autodetects
overlap, in prep for auto-teaming.
2021-10-28 17:09:09 -04:00
Jarrod Johnson
aff0c82b0b
Fix apiclient with explicit host
2021-10-28 16:15:21 -04:00
Jarrod Johnson
925ea3e95a
Refactor apiclient and allow specific host
...
For getnetcfg, will need to select
spsecific interfaces. While
tocuhing that anyway, simplify the
v4/v6 paths to be more agnostic.
2021-10-28 15:48:58 -04:00
Jarrod Johnson
5b128238e7
Fix netcfg self api call
2021-10-28 15:47:07 -04:00
Jarrod Johnson
6f967a3afa
Bind apiclient search to make for viable firewall rule
2021-10-28 12:55:42 -04:00
Jarrod Johnson
a2a9a38147
Fix mistaken sort
2021-10-28 12:30:06 -04:00
Jarrod Johnson
7eeba4e42a
Rdeuce netlink traffic to get net config
...
Avoid superfluous calls to
get addresses and reuse
result through the lifetime
of a reply.
2021-10-27 17:25:54 -04:00
Jarrod Johnson
5a7f0db899
Fix use of autodetected plen
2021-10-27 17:19:22 -04:00
Jarrod Johnson
00b22bb18b
Improve autosense of other nics
2021-10-27 17:12:03 -04:00
Jarrod Johnson
621ded7256
Prioritize 'none' and support names in _address fields
2021-10-27 17:03:26 -04:00
Jarrod Johnson
ce8e671584
Have includes interpret section names
...
If <including> a syncfiles, then
be sure to honor MERGE/APPENDONCE in those files without perturbing flow
of the parent file.
2021-10-27 15:47:52 -04:00
Jarrod Johnson
41ba28e525
Connect network configuration to selfservice
...
This permits a client to ask via various nics for pertinent configuration .
2021-10-27 15:35:22 -04:00
Jarrod Johnson
ce9b0bf556
Support terminating include with >
...
The previous thought of <base.pkglist is fine, but upon seing <base.pkglist>, that looks better.
2021-10-27 14:21:30 -04:00
Jarrod Johnson
74775fd2be
Remove errant period in attributes
2021-10-27 13:11:24 -04:00
Jarrod Johnson
feb12b95cb
Add facility to enable confignet
...
Provide function to populate
a map of all networking, relative to the interface facing thte client.
2021-10-27 11:52:09 -04:00
Jarrod Johnson
154a328194
Merge pull request #81 from PenghuiCui/master
...
Add check for attribute value to avoid exception when attribute is None
2021-10-26 07:35:10 -04:00
Jarrod Johnson
8eb6ce0b69
Specify absolute path for mktemp
...
mktemp defaults to relative, to produce the correct
behavior, must be absolute template.
2021-10-25 12:03:26 -04:00