Jarrod Johnson
32fe6b2fff
Fix 'matchesnodename' behavior if ip manually specified
2020-08-11 15:34:55 -04:00
Jarrod Johnson
468f9758e5
Fix update boot
...
update boot would leave
leftover content, truncate to
get rid of it.
2020-08-07 13:45:10 -04:00
Jarrod Johnson
022ba77298
Fix dhcp configuration
...
dhcp method was not accurately fed into os deployment
2020-08-07 11:42:13 -04:00
Jarrod Johnson
86c0d79d73
Fix RHEL 7 support
...
It was not correctly fingerprinting RHEL 7.
2020-08-06 20:40:31 -04:00
Jarrod Johnson
972dc9780c
Fix creation of distinfo.yaml
2020-08-06 09:07:41 -04:00
Jarrod Johnson
1d436d68ee
Fix initprofile
...
initprofile was not being pointed to the specific
directory, which is required
for multi-disk sets like
older SUSE.
2020-08-06 08:43:11 -04:00
Jarrod Johnson
0a3936164e
Fix role management for users and groups
2020-08-05 15:02:30 -04:00
Jarrod Johnson
a9497b16e8
Fix handling of unset crypted attributes
2020-08-05 14:17:58 -04:00
Jarrod Johnson
c8cda426be
Fix crossed wires between user and usergroup
...
The requests were not being routed correctly
2020-08-05 12:57:35 -04:00
Jarrod Johnson
bf706f82cf
Fix a typo in httpapi
2020-08-05 08:28:30 -04:00
Jarrod Johnson
b2731325f6
Refactor image copy
...
Break up image import into three phases, for breaking out the separate
phases to indpendent commands.
2020-08-04 13:09:34 -04:00
Jarrod Johnson
2e8d002876
Preserve distribution fingerprint
...
Useful for breaking out the
profile copy over stage.
2020-08-03 14:21:30 -04:00
Jarrod Johnson
8fca5d23c0
Correct scope of ipmethod
...
ipmethod was trying to be set outside the useful scope.
2020-08-03 12:01:40 -04:00
Jarrod Johnson
704e8379f0
Have firmwaredhcp become static to OS
2020-08-03 11:43:22 -04:00
Jarrod Johnson
585988b22a
Add firmwaredhcp method
...
In a case where static is
desired for the OS, but
PXE or HTTP boot will
receive an IP address from
a DHCP server, offer firmwaredhcp.
This tells confluent to refrain from offering an IP during firmware, but still telling the OS to use static.
2020-08-03 11:42:27 -04:00
Jarrod Johnson
2f4f9a39a6
Add osdeploy function to trust nodes
...
osdeploy initialize -l will
endeavor to do to the local
management node the same thing the deployment does to the nodes.
2020-07-30 14:44:02 -04:00
Jarrod Johnson
fa934ce334
Fix insertion of manager
...
The manager insertion failed
with the domain from nodes removed.
2020-07-29 13:52:28 -04:00
Jarrod Johnson
dd91213969
Fix mistakes in the hostname support
2020-07-29 13:39:48 -04:00
Jarrod Johnson
e93c3241ed
Provide for more hostnames
...
This permits ssh infrastructure
to have multihomed nodes
handled more effeectively.
2020-07-29 13:08:03 -04:00
Jarrod Johnson
c75a433ff8
Reduce trace activity around common connectivity issue
...
If the target has a resolution or other common socket issues,
do not make large trace logs.
2020-07-29 08:49:42 -04:00
Jarrod Johnson
908c566b73
Allow deletion of blank volume names
2020-07-28 11:16:38 -04:00
Jarrod Johnson
8225a2297e
Add '..' to range operators
...
The perl-style range operator exists in some tools, we
might as well support that alongside the usual '-'
operator and ':' python style operator.
2020-07-27 11:54:24 -04:00
Jarrod Johnson
5f1ba49a12
Fix behavior with unspecified domain name
...
Ensure string is only checked if it is a string.
2020-07-22 13:56:55 -04:00
Jarrod Johnson
92018c725f
Fix ssdp python3 issue
...
Attempt to use str to split bytes.
2020-07-17 13:58:00 -04:00
Jarrod Johnson
fd46bae24f
Fix for removing groups providing multiple values
...
I don't know how this was missed for so long,
but removing a group providing multiple values would produce an error and fail.
2020-07-17 11:48:49 -04:00
Jarrod Johnson
ac308fbd9c
Fix python3 issues in ssdp code
...
In the ssdp code, there were python3 specific issues.
2020-07-15 13:06:54 -04:00
Jarrod Johnson
81835d66be
Fix ssh disconnect handling in python 3
...
In python 3, '' will never match b''. Just
use the value as a boolean to catch either ''
or b''.
2020-07-15 10:33:28 -04:00
Jarrod Johnson
74af077651
Fix python3 problem with backspace
...
In python3, a single element reference of a bytes
is an int, not equal to a b'' of the same length and
value. Change to use slices to have python2 and python3
act the same.
2020-07-14 09:03:38 -04:00
Jarrod Johnson
ca9655cd5e
Cover the more common use case
...
With confluent running as non-root, it is now very much more
likely that it is a directory permission issue.
Since the root user is commonly asking a lesser privileged service to do the operation.
2020-07-09 11:46:06 -04:00
Jarrod Johnson
2bfbfeb4d3
Add ntp to deploycfg data
2020-07-09 11:35:11 -04:00
Jarrod Johnson
771c3a2984
Rework error message to look nicer
2020-07-09 11:12:00 -04:00
Jarrod Johnson
55ee203974
Improve error handling in pxe
...
If a name resolution error happens,
put an event in events for the
cleaner error.
2020-07-09 10:56:09 -04:00
Jarrod Johnson
d5ff9b4cb5
Add missing traceback import to pxe
...
This concludes fixing the
susceptability to total
loss of pxe thread.
2020-07-09 10:44:05 -04:00
Jarrod Johnson
48804ed23f
Initialize needed tracelog
...
pxe was trying to use tracelog
without actually initializing it
2020-07-09 10:25:28 -04:00
Jarrod Johnson
d80a58304c
Fix incorrect indentation
...
The exception was incorrectly
over indented.
2020-07-09 10:10:20 -04:00
Jarrod Johnson
994c53191c
Improve resience of snoop threads
...
slp could crash in active_scan,
removing it's ability to passively scan.
pxe snoop could crash and go away persistently.
2020-07-09 09:53:25 -04:00
Jarrod Johnson
68c4652662
Fix per-collective globals
...
set_global is explicitly not
collective enabled, however
collective was causing partial
propagation.
Fix by removing the global carry over and having
commit_clear restore the non-key globals.
2020-07-09 09:10:24 -04:00
Jarrod Johnson
4ecae144d9
Attempt to have both short and long names
...
In ssh, long or short name may matter and user may use short
or long names as node names.
Try to make ssh equipped to be apathetic about the choice.
2020-07-02 12:40:30 -04:00
Jarrod Johnson
fa6d42b1b3
Clear stagedprofile
...
staged profile should be cleared on completion.
2020-07-01 15:35:17 -04:00
Jarrod Johnson
2c30d4069c
Correct syntax error in selfservice
2020-07-01 15:20:06 -04:00
Jarrod Johnson
78e5d343e7
Implement a 'staged' phase of profile
...
This allows a limbo where remote deployment is blocked
but final deployment is not yet flagged.
2020-07-01 14:01:28 -04:00
Jarrod Johnson
22085e38f5
Change bound to 'tpm2'.
...
This is a bit more logical and flexible for the future.
2020-07-01 13:33:59 -04:00
Jarrod Johnson
1a664f669c
Use client provided hint for net selection
...
More precise then trying to do by IP subnet
2020-06-30 14:58:04 -04:00
Jarrod Johnson
cadb222904
Add missing bit from last commit
2020-06-26 15:21:00 -04:00
Jarrod Johnson
3fed7ea075
Implement more context data in discovery
...
Let the client know the management
interface and whether that subnet has the nicest match
for a primary network.
2020-06-26 15:15:13 -04:00
Jarrod Johnson
32dff34f29
Add floppy to setboot options
...
'floppy' is used for small
hard disk boot in some scenarios.
2020-06-22 12:13:14 -04:00
Jarrod Johnson
ac2e41bd78
First pass at RHV4 support
...
Derive from EL8 with some EL7 vintage accomodations
2020-06-18 12:36:00 -04:00
Jarrod Johnson
d40426ff54
More cleanly error on unknown media
...
Rather than raise ugly unexpected
errors and pollute trace log,
cleanly handle the likelihood
of unknown media.
2020-06-18 11:11:53 -04:00
Jarrod Johnson
1c579723cc
Check current SMM IP before pushing config
...
If the user requests the same ip address that
is already present, leave the network configuration
alone.
2020-06-18 09:02:09 -04:00
Jarrod Johnson
d4736e0aad
Do not respond to deployment calls without quorum
2020-06-17 11:09:05 -04:00