Jarrod Johnson
848e5acea1
Make nfs available to diskless
...
This allows nfs based flows to be built by users
2022-12-12 12:35:00 -05:00
Jarrod Johnson
e4dc57a810
Fix syntax of grep
2022-12-09 14:57:47 -05:00
Jarrod Johnson
0d5f48b116
Be more patient and more noisy about DHCP attempt over time
2022-12-09 13:05:10 -05:00
Jarrod Johnson
0a9fd8351b
Correct firstboot on remote media deployment
2022-12-09 11:19:06 -05:00
Jarrod Johnson
f55c25a52c
Avoid mangling ipv4 in url in media deployment
2022-12-09 10:59:50 -05:00
Jarrod Johnson
93f6641a16
Carry deployment hook through to firstboot
2022-12-09 10:33:23 -05:00
Jarrod Johnson
7e2ae4de62
Restore ipv4-only media based deployment
2022-12-09 10:11:09 -05:00
Jarrod Johnson
82fe68216a
Save deployer to mgr when media directed
...
Pre-empt the IPv4/v6 fallback designed.
2022-12-09 09:04:11 -05:00
Jarrod Johnson
fb98cbaa4a
Restore fallback to plain MANAGER specification
...
This is used in the media based deployment
2022-12-08 09:28:32 -05:00
Jarrod Johnson
2d5a016ad4
Tweak various issues for static analysis.
...
For autocons, though it's copying from a static source, use strncpy anyway,
despite the length being hardcoded already. This makes static analysis happier.
Terminate the buff with a NULL. This is superfluous as the strcpies that preceed
are guaranteed to null terminate, or exit the program.
In clortho, free(tmps), which is a valid leak, though clortho isn't long running.
Also, explicitly return 0, which is ultimately returned by main().
Static analysis could not figure out that padneeded implies that keylen is short of
chunk size, so change the check to be expressly the scenario that static analysis
was worried about directly, rather than indirectly.
Hint to static analysis that we don't care about the time as a time value by masking the
lower 32 bit explicitly. This was already happening, but static analysis was afraid
that we wanted this as time instead of just some mutating value.
2022-12-06 15:35:49 -05:00
Jarrod Johnson
0cb3e3d216
Add rebase to osdeploy man page
2022-12-02 11:35:10 -05:00
Jarrod Johnson
adbf96f23f
Use bytearray in PXE processing
...
Python 2 and 3 are inconsistent
with how they treat memoryview,
but they are consistent on bytearray
treatment
Since rqv is merely a cheaply sliceable view of rq, use rq directly
for functions where the difference
between 2 and 3 would matter.
2022-12-02 11:24:00 -05:00
Jarrod Johnson
c3576e4bd3
Enhance tab completion and extend some documentation and usage
2022-12-02 08:23:21 -05:00
Jarrod Johnson
84783c0c19
Add error check to noderange for nodedeploy
2022-12-01 14:09:25 -05:00
Jarrod Johnson
58a4c22aa2
Allow custom privilege levels through messages layer
...
If a user has created custom roles, designate custom. as
a prefix to indicate they really
mean what they say
2022-11-30 11:40:36 -05:00
Jarrod Johnson
dce80de9d5
Correct syntax error in sample script
2022-11-30 11:09:57 -05:00
Jarrod Johnson
c0f669cbdf
Add DHCP bringup to confluent= el8diskless
...
For routed, if user specifies confluent=, use that as a clue to
initiate a dhcp transaction to
facilitate routed requests.
2022-11-30 11:09:39 -05:00
Jarrod Johnson
2e20341ea0
Have imgutil exec attempt to provide source repos
2022-11-30 10:15:12 -05:00
Jarrod Johnson
57d01ddcaa
Base all web forwarding from 3901
...
This makes the web forwarding more predictable for
firewall rules
2022-11-28 15:17:59 -05:00
Jarrod Johnson
05bbd8f63a
Further refine pxe logging and fix external DHCP pxe
2022-11-22 11:08:45 -05:00
Jarrod Johnson
bb54ca0f8f
Fix mistake caused by erant paste
2022-11-22 09:31:39 -05:00
Jarrod Johnson
2c7b58d47a
Put brakes on configuration if no gateway and target is remote
...
This configuration would certainly destroy remote connectivity.
2022-11-22 09:24:18 -05:00
Jarrod Johnson
7341164f36
Have pure proxyDHCP trigger discovery and logs
...
For users that fully delegate core DHCP, provide discovery and
logging for PXE as it comes in.
2022-11-22 09:09:21 -05:00
Jarrod Johnson
626aca0691
Implement proxyDHCP remote operation
...
Provide means to function if we are
only the proxyDHCP service, delegated
from DHCP server.
2022-11-21 13:26:37 -05:00
Jarrod Johnson
132e40cdcb
Fix syntax mistak in attribute update
2022-11-21 10:18:58 -05:00
Jarrod Johnson
90a8d80b45
Rework trusted networks to attribute
...
This allows more flexibility and less oddity with how remote subnets are treated.
2022-11-21 09:57:27 -05:00
Jarrod Johnson
9eb2d25e37
Fix the subscribe/unsubscribe behavior in nodediscover client
2022-11-18 14:30:10 -05:00
Jarrod Johnson
963b35cd32
More aggressive timeout redfish checking
...
To make scans go faster, be more aggressive in
giving up on non-responsive targets.
2022-11-18 14:24:58 -05:00
Jarrod Johnson
9837ad7932
Add multi-address registration
...
This enables scanning a range or subnet
2022-11-18 14:14:31 -05:00
Jarrod Johnson
2c1e88d927
Provide usage when arguments omitted for nodegroupattrib
2022-11-17 14:04:16 -05:00
Jarrod Johnson
4af1dd5dd3
Omit extraneous related rpms
2022-11-15 11:46:52 -05:00
Jarrod Johnson
b6487df32a
Add missing ipmitool COPYING file to build
2022-11-14 16:20:42 -05:00
Jarrod Johnson
cee3943e4d
If node was found by key lookup, skip the sysdisco attempt
2022-11-14 15:26:52 -05:00
Jarrod Johnson
03e632b630
Add register to nodediscover command
...
This connects the remote registration
api to the usual CLI usage
2022-11-14 09:42:59 -05:00
Jarrod Johnson
6a9024d87e
Fix bad/unsupported targets in registration
2022-11-11 15:00:59 -05:00
Jarrod Johnson
9fa8a7124e
Pull the typical XCC scanning to remote registration path
2022-11-11 14:33:54 -05:00
Jarrod Johnson
c6079a1ee6
Add ability to register remote systems in discovery
...
To start with, support Lenovo XCC systems
2022-11-11 12:16:41 -05:00
Jarrod Johnson
ed94804b90
Change timezone substitution strategy
...
This uses a more self-evident breadcrumb to intuitively override
for users not wanting to use the confluent facility for timezone
adjustment.
There are other 'peculiar' substitutions that may prefer a breadcrumb
but they may require structure that would be tricky to implement
while also passing validation.
2022-11-10 08:57:04 -05:00
Jarrod Johnson
35abe0b9ad
Fix IPv6 address support in geist plugin
2022-11-09 15:11:25 -05:00
Jarrod Johnson
81c14db9dd
Pull EL8 IPv6 diskless to EL8
2022-11-08 16:37:00 -05:00
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