Jarrod Johnson
13d4d1dd98
Ensure that python3 will execute before doing migrate
...
If python3 is not the executable name, prevent the restoration
attempt from happening.
2022-06-10 11:19:21 -04:00
Jarrod Johnson
db5c31030d
Migrate DB on start
...
If python2 db format detected, use python2 to
dump to text, then python3 to restore to
get the python3 native version
2022-06-09 16:23:35 -04:00
Jarrod Johnson
6f484aab53
Allow restore to replace unsupported format
...
Going from python 2 to python 3, the dbm format
goes from the default to unsupported.
This allows a python3 confluentdbutil restore to handle
a python2 dump of unsupported format.
2022-06-09 15:49:06 -04:00
Jarrod Johnson
44cf56857e
Add fallbacks to PyCrypto compatible names
...
Cryptodome is not always packaged with the
explicit form, fall back to the Crypto names
hoping that the user wouldn't be trying to use
PyCrypto is this day and age.
2022-06-09 10:48:12 -04:00
Jarrod Johnson
17e223e21c
Suppress stray fakecmdline output
2022-06-09 09:15:56 -04:00
Jarrod Johnson
5ee6d0ca5d
Fix ordering of arguments
...
The -text was between startdate and its argument
2022-06-09 08:30:03 -04:00
Jarrod Johnson
2825af19c4
Do not clutter the pem file with text
2022-06-09 08:04:15 -04:00
Jarrod Johnson
e9ac43f49e
Add autocons to bootloader config
...
In newer suse, the fake cmdline trick is fouled, so carry into
autoyast file
2022-06-09 07:55:42 -04:00
Jarrod Johnson
5ee0572f54
Change to using 'full' openssl ca
...
OpenSSL does not allow access to custom start
date without the full 'ca' facility, do the
work to set up the full CA and then
backdate certificates.
This does open the way for managed CA if required.
2022-06-08 17:10:11 -04:00
Jarrod Johnson
3da67db806
Fix early bailout of nodeconfig
...
Do not have nodeconfig bail out on first sign of trouble, attempt to continue.
2022-06-08 13:43:25 -04:00
Jarrod Johnson
826c9eedb0
Document -l in nodeconsole man page
2022-06-08 11:14:51 -04:00
Jarrod Johnson
af19e98ce8
Remove use of eventlet in client side
...
The client side does not use eventlet, so allow
fallback to the normal socket and select
to keep the client module whole in the
face of that missing.
2022-06-08 11:03:56 -04:00
Jarrod Johnson
0dcd1442c9
Avoid nodeshell/noderun getting stuck on stdin
...
Some applications will tend to hang on stdin if
stdin is readable. Provide /dev/null to suppress that behavior.
2022-06-08 10:21:08 -04:00
Jarrod Johnson
2f904d10e9
Fix identity yaml parsing
...
Switch to sed rather than trying to use head. There may or
may not be a second match, so need sed logic to understand
whether it's a match or not to keep or throw out.
2022-06-08 09:23:56 -04:00
Jarrod Johnson
fdaecf2cbc
Relay input errors to caller in dispatch
2022-06-07 13:36:31 -04:00
Jarrod Johnson
8bb565e938
Implement error on invalid attribute filter
...
This will cause noderange to probably error out.
Note that invalid attribute names starting with net, power, or custom are treated as always valid.
2022-06-07 11:45:06 -04:00
Jarrod Johnson
0b20e0b634
Fix confuent scan for python 3.9
...
Python 3.9 removes the scope from the string
address, put it back if missing since it's required
to actually be usable.
2022-06-07 10:55:56 -04:00
Jarrod Johnson
b32c343a0c
Switch to importlib for newer python
...
imp is deprecated, despite being much simpler,
so use importlib in python3.6+ distributions.
2022-06-07 10:35:08 -04:00
Jarrod Johnson
942121d73a
Remove unavaiable clear from el9 diskless
2022-06-07 09:48:52 -04:00
Jarrod Johnson
55f42bc909
Add el9 imgutil
2022-06-07 09:06:59 -04:00
Jarrod Johnson
84037420d1
Add el9 tree for diskless
2022-06-06 13:18:37 -04:00
Jarrod Johnson
e7bea0df45
Advance work on EL9 diskless support
2022-06-06 13:10:22 -04:00
Jarrod Johnson
94955dd091
Bring down track number
...
Use 2 heads with 4 sectors per track to get the track number down for
reasonable images.
Newer mtools forbids large track numbers.
2022-06-06 11:57:19 -04:00
Jarrod Johnson
739890471d
Support newer python that removes fromstring
...
Python 3.9 does not understand the fromstring function anymore.
2022-06-06 11:37:39 -04:00
Jarrod Johnson
0baa2eecab
Break out on deployment failure
2022-06-06 11:05:22 -04:00
Jarrod Johnson
46fec89460
Fix routed deployment api key usage
2022-06-06 10:15:54 -04:00
Jarrod Johnson
997bd3ac34
Implement outlet control for Eaton PDU
2022-06-03 17:06:37 -04:00
Jarrod Johnson
799050fea2
In-progress Eaton PDU support
2022-06-03 16:26:07 -04:00
Jarrod Johnson
80186f2c77
Add a delta pdu plugin
...
This has received limited testing, and the PDUs cannot be used with secure protocols
2022-06-03 10:24:44 -04:00
Jarrod Johnson
ae4b5c5100
Amend nodeping behavior and documentation
2022-06-02 16:04:19 -04:00
Jarrod Johnson
83acdab216
Amend python 3.9 compatibility fix
...
Avoid checking None for is_alive or isAlive
2022-05-31 11:23:27 -04:00
Jarrod Johnson
b42dafb085
Fix python 3.9 compatibility
...
In python 3.9, the % is no longer included
in the first member of the address tuple.
Handle both scenarios by adding '%' in for versions
that seem to want to remove it.
2022-05-31 11:01:09 -04:00
Jarrod Johnson
b5f5ba69d2
Fix python 3.9 compatibility
...
Python 3.9 renamed an attribute on a threading object, try
both names to support old and new python
2022-05-31 10:18:42 -04:00
Jarrod Johnson
6d07dac46c
Fix ipmi missing logging state and trim el9 dependencies
2022-05-27 16:10:08 -04:00
Jarrod Johnson
e4e859c798
Fix invocation of monotonic_time
2022-05-26 18:07:19 -04:00
Jarrod Johnson
ff698ea06b
Merge branch 'webauthn'
2022-05-26 17:42:15 -04:00
Jarrod Johnson
9c7e23f29e
Add missing nodepower statuses
2022-05-26 17:41:54 -04:00
Jarrod Johnson
b638bb69f9
Change webauthn to use confluent user db
...
This allows persistence with the rest of the
configuration.
2022-05-26 17:41:16 -04:00
Jarrod Johnson
7072a85d79
Transition to multi-authenticator support
...
Provide a way to store a plurality of keys for a user.
This enables use of 'backup' authenticators.
2022-05-26 16:34:18 -04:00
Jarrod Johnson
9b6114f523
Break if stuck in loop for over a minute
2022-05-26 15:01:47 -04:00
Jarrod Johnson
3c3d6bb314
Fix auth handling of the session/info
2022-05-25 17:40:35 -04:00
Jarrod Johnson
f6a17b5f32
Have validate serve as session info request
...
This should facilitate login.
Further, provide a quick persistence for the
credential test backend
2022-05-25 15:58:20 -04:00
Jarrod Johnson
4773acb37d
Adapt geist to work with python2
2022-05-25 10:58:35 -04:00
Jarrod Johnson
e0079b5a86
Amend webauthn validation api
2022-05-25 10:58:02 -04:00
Jarrod Johnson
c93f09bc91
Provide hook to get registered credentials
...
This has to relax the session in getting and requesting validation.
2022-05-24 19:17:31 -04:00
Jarrod Johnson
9b39c96135
Begin work on webauthn support
...
Provide appropriate registration options as a first
step.
2022-05-24 10:22:34 -04:00
Jarrod Johnson
48d46bcfae
Add resolv setup to genesis
2022-05-24 08:27:36 -04:00
Jarrod Johnson
371942b0ce
Add myhostname to improve name resolution errors in genesis
2022-05-24 08:17:04 -04:00
Jarrod Johnson
a3cce144bc
Extend manager principals for ssh
...
When doing osdeploy initialize -l (not recommended usually),
add on more forms of the name and ip addresses
to be consistent with node ssh behavior.
2022-05-24 07:24:56 -04:00
Jarrod Johnson
f9d47bb0d3
Fix markingrequest as not implemented
...
The Geist PDU support inadvertently took down
unrelated parts of a request, fix by
properly showing not implemented in
a node specific way.
2022-05-20 08:35:43 -04:00