Jarrod Johnson
9179e02464
Fix diskless imgutil compatibility issues with EL9
2022-11-08 14:25:21 -05:00
Jarrod Johnson
48ac07e71d
Correct placement of initialization of the confluent_websrv variable
2022-11-08 11:33:43 -05:00
Jarrod Johnson
635b559c87
Fix IPv6 syntax for ssh certs in EL8 diskless
2022-11-08 10:51:31 -05:00
Jarrod Johnson
6865e3259e
Detect broken ipv4 and try ipv6
2022-11-08 09:45:08 -05:00
Jarrod Johnson
3d37692360
Add IPv6 to the imageboot script for EL profiles
2022-11-08 09:16:20 -05:00
Jarrod Johnson
20e6e1e521
Refresh functions to cope with v6-only usage
2022-11-08 08:52:29 -05:00
Jarrod Johnson
645abc2db7
Add [] to escape ipv6 prior to fetch of functions
2022-11-07 13:54:17 -05:00
Jarrod Johnson
578b05604b
Reject fe80:: as always not same
...
For our purposes, this same-subnet check doesn't
apply to link-local
2022-11-07 13:50:45 -05:00
Jarrod Johnson
e6e89bcee5
Steer v6 boot appropriately to v6 server
2022-11-07 13:25:26 -05:00
Jarrod Johnson
a21af719c2
Get ipv6 compatible deploycfg api call
2022-11-07 11:43:51 -05:00
Jarrod Johnson
13f3d4c1a6
First pass at adding ipv6-only boot for diskless el8
2022-11-07 11:07:45 -05:00
Jarrod Johnson
bd416f5000
Fix ipv4-free configuration in netutil
2022-11-03 14:43:49 -04:00
Jarrod Johnson
ca1f459364
Add remote scan to autosense startup
2022-11-03 13:59:14 -04:00
Jarrod Johnson
7e02987a8c
Extend rescan to cover remote switches
2022-11-03 13:31:57 -04:00
Jarrod Johnson
327a45ef33
WIP toward rescan hitting the renotify on subscripbed switches
2022-11-03 10:49:58 -04:00
Jarrod Johnson
f1a0d22fe5
Fix subscription handling for the discovery api
2022-11-03 09:58:57 -04:00
Jarrod Johnson
1e78f11c2b
Fix nodediscover CLI for subscribe/unsubscribe
2022-11-03 09:38:39 -04:00
Jarrod Johnson
7561b68b57
Rework subscriptions API
...
It's clear that the service will need
to explicitly track subscriptions
to enable rescan, for example,
and thus might as well restructure
the API around this information.
2022-11-03 09:21:15 -04:00
Jarrod Johnson
a6090877ff
Implement subscribe/unsubscribe in nodediscover
...
This provides a self-evident entry point from
CLI to extending the discovery to
affluent switches that support it.
This function will work with newer affluent
and Lenovo XCC2 systems.
2022-11-01 14:16:00 -04:00
Jarrod Johnson
eec20a6457
Rename discovery remote to subscription
...
This will implement a consistent vocabulary
2022-11-01 13:51:54 -04:00
Jarrod Johnson
52de243090
Merge pull request #116 from andywray/master
...
Update nodeconsole -w to work with arbitrary terminal types
2022-11-01 13:40:11 -04:00
Andrew Wray
9742a5d81b
Merge branch 'master' of https://github.com/lenovo/confluent
2022-11-01 13:30:18 -04:00
Andrew Wray
e20e978e04
Add xterm as default terminal for nodeconsole -w
2022-11-01 13:25:20 -04:00
Jarrod Johnson
299785a7b8
Add manifest data for diskless images
2022-11-01 13:01:14 -04:00
Andrew Wray
8a3105cd51
Update nodeconsole -w to work in arbitrary terminal programs.
2022-11-01 11:29:41 -04:00
Jarrod Johnson
4802c52854
If attempt to auto-restart service, reduce severity of result
...
Provide feedback as a warning rather than aborting the command entirely
2022-11-01 10:05:24 -04:00
Jarrod Johnson
4a3834b481
Add missing sample syncfiles to suse15 profiles
2022-11-01 09:26:17 -04:00
Jarrod Johnson
13065a3c9d
Add missing bits of suse 15 diskless profile
2022-11-01 09:10:17 -04:00
Jarrod Johnson
817038c6cf
Specify the valid values for apiarmed
...
Further, add more warning text around apiarmed, as it is a serious security
decision to take on continuous.
2022-11-01 08:37:03 -04:00
Jarrod Johnson
e0feb104ff
Add facilities to subscribe/unsubscribe from discovery agents
...
This connects the new affluent discovery facility
to local discovery view.
2022-10-28 16:58:30 -04:00
Jarrod Johnson
3afd6ecb5d
Temporarily enable IPv6
...
NetworkManage may go further out of it's way disabling ipv6, disable using proc to
overcome that
2022-10-28 12:10:03 -04:00
Jarrod Johnson
fd14221ab5
Avoid truncating console logging of firstboot
...
With significant firstboot output, there was a tendency
for tail to be killed before it relayed all the content.
Change to run the firstboot in a subshell in the background,
and have tail explicitly run until that subshell naturally
exits and then tail will cleanly exit
2022-10-28 09:30:12 -04:00
Jarrod Johnson
d534f29c57
Implement fastpath for delegated discovery
...
When an enlisted discovery agent
notifies, skip slow searches and use
the agents information directly.
2022-10-27 15:42:58 -04:00
Jarrod Johnson
f6d8294e83
Check IP viability before commencing configuration
...
This avoids a pointless partial configuration from proceeding.
2022-10-27 15:41:13 -04:00
Jarrod Johnson
6c806c8171
Fix tentative path for real path
2022-10-27 10:03:18 -04:00
Jarrod Johnson
8bf067cac8
Fix issues in the auth nets logic
2022-10-25 12:52:22 -04:00
Jarrod Johnson
0d2a1b856b
Fixes for the auth_nets configuration
2022-10-25 12:35:18 -04:00
Jarrod Johnson
4864d6abb0
Add mechanism to extend authentication to remote networks
...
This allows user to designate certain networks to be treated as
if they were local.
This enables the initial token grant to be allowed to a remote network.
This still requires that the api be armed (which should generally be a narrow window of
opportunity) and that the
request be privileged, it
just allows remote networks to be
elevated to be as trusted as local.
2022-10-25 11:26:44 -04:00
Jarrod Johnson
5794cd5d12
Modify firstboot to fall through to ipv6 if ipv4 failed
2022-10-25 08:21:42 -04:00
Jarrod Johnson
9964b33414
Fall back to v6 in more scenarios
2022-10-24 17:03:00 -04:00
Jarrod Johnson
be2959f365
Fall through to ipv6 if v4 is blank
2022-10-24 16:42:02 -04:00
Jarrod Johnson
31bf8f2a11
Numerous fixes for the cmdline directed deployment in EL8
2022-10-24 16:13:59 -04:00
Jarrod Johnson
6df9ca54ca
Ensure access to dracut utility funcitons in pre-trigger hook
2022-10-24 15:52:40 -04:00
Jarrod Johnson
c57090a670
Correct order of find and replace strings in by-mac boot
2022-10-24 13:26:06 -04:00
Jarrod Johnson
29ad1bd57e
Add various ways to look up boot file
2022-10-24 12:31:23 -04:00
Jarrod Johnson
f245f5cac5
Inject a hook for cmdline to specify confulent server
...
This enables a more manual approach
to indicate the deployment server.
This carries the assumption that a
normal OS autonetwork config
will get the node to the right network.
This is one step toward enabling a scenario where the target is remote and the DHCP is not going to relay, but instead the deployment feeds the DHCP a confluent URL entry point to get going.
Using this parameter precludes:
-Enhanced NIC auto selection. If the OS auto-selection fails to
identify the correct interface, the profile will need nic name baked in.
-Auto-select deployment server from several. This will mean that any
HA will require IP takeover be externally handled
This is of course on top of the manual process of
indicating confluent in kernelargs.
2022-10-17 13:07:18 -04:00
andywray
3da2ac61cc
Update nodeconsole man page with more -w examples
2022-10-15 21:52:14 -04:00
andywray
a25443c81d
Update help, check for null env variable
2022-10-15 21:29:56 -04:00
andywray
bd00059667
Update man page for -w with arbitrary terminal types
2022-10-15 21:09:31 -04:00
andywray
2c58320f32
Update nodeconsole -w to work with arbitrary terminal types
2022-10-15 21:03:35 -04:00