Jarrod Johnson
9441221150
Have cooltera plugin adapt
...
As new sensors appear, be more adaptive
to continue tracking existing sensors.
2023-09-08 11:30:57 -04:00
Jarrod Johnson
b14b34bdbd
Add limited sensor support for Eaton PDUs
2023-08-22 12:28:07 -04:00
Jarrod Johnson
9a1c9eb43f
Improve ssh concurrency on websocket
...
ssh module was pausing input for the
entire websocket while doing the simple 'write' operation.
Change to background the actual
logon processing,
rather than blocking what should be a fairly trivial write operation.
2023-08-03 09:56:36 -04:00
Jarrod Johnson
89bd798f8b
Increasing time again, outlet count didn't factor
2023-08-02 15:20:29 -04:00
Jarrod Johnson
cbf2cdcdc5
Scale timeout with number of outlets
...
Delta PDUs seem to serialize outlet operation.
2023-08-01 16:08:51 -04:00
Jarrod Johnson
c07248d58e
Fix outlet control on Geist PDUs.
2023-06-27 08:04:16 -04:00
Jarrod Johnson
795b4c513d
Rework for connected temperature sensors
...
PDUs behave differently when a sensor module is
connected. Handle
that difference and
provide the relevant data.
2023-06-26 12:32:45 -04:00
Jarrod Johnson
0db7d4f9d2
Stall readback of PDU after outlet control
...
There is some lag after requesting an outlet change and
the outlet state actually changing.
2023-05-26 10:43:04 -04:00
Jarrod Johnson
8f4982e850
Fix build mistake in the cooltera plugin
2023-05-15 08:30:44 -04:00
Jarrod Johnson
a167d19441
Add module for cooltera nodesensors
2023-05-10 13:24:20 -04:00
Jarrod Johnson
e5fff430be
Explicitly clear logonwaiters on discard of a session
...
When a session is being discarded, it
may inadvertently hold onto logonwaiters.
The IPMI session may be reused, but the context is new and those
dead contexts can consume memory unreasonably.
2023-04-19 10:22:33 -04:00
Jarrod Johnson
55da173b27
Correct missing parameter in Geist
...
Geist support was missing a variable in the refactor.
2023-04-19 10:20:34 -04:00
Jarrod Johnson
717df579aa
Add firmware to Geist support
2023-03-17 16:02:55 -04:00
Jarrod Johnson
70b973b1cf
Refactor measurements in Geist
...
Use common code
for sensor translation.
2023-03-17 15:34:26 -04:00
Jarrod Johnson
48696ef63d
Begin adding sensors to Geist PDUs
2023-03-17 14:37:03 -04:00
Jarrod Johnson
b4182cd4b5
Fix formation of error message
...
Use format to take in the parameters regardless of type
2023-02-27 14:55:01 -05:00
Jarrod Johnson
70d8a1059c
Consistently treat bytes as bytes in ssh
...
In Python3 systems,
there would be confusion
about bytes versus str.
Fix this so that ssh can work more consistently.
2023-02-24 15:47:20 -05:00
Jarrod Johnson
abc639e32b
Preferentially support HTTPS on Eaton PDU
...
While Eaton does not do HTTPS by default,
it can be configured to do so.
Support when available.
Mitigate downgrade attack by
stickying the cert fingerprint.
If fingerprint is present, then refuse
to even think about port 80.
2023-02-15 17:03:35 -05:00
Jarrod Johnson
8e1cc63ac0
Correct spelling of keyword argument in ipmi
2023-01-31 15:00:22 -05:00
Jarrod Johnson
7f31ae5b57
Fix syntax error
2023-01-13 11:15:51 -05:00
Jarrod Johnson
a09e1a3f8b
Handle IPv6 not set on IPMI nodes
2023-01-13 11:07:13 -05:00
Jarrod Johnson
453d1f9ceb
Add IPv6 configuration support
...
For redfish and IPMI devices,
support new IPv6 static configuration
controls
2023-01-13 10:01:28 -05:00
Jarrod Johnson
35abe0b9ad
Fix IPv6 address support in geist plugin
2022-11-09 15:11:25 -05: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
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
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
0c08d8f6d3
Provide helpful error on bad user/password in delta pdu
2022-09-21 16:19:13 -04:00
Jarrod Johnson
a445107c7f
Fix setting privilege level alone for ipmi
...
The logic incorrectly had it depend on password also being present.
2022-08-19 09:10:52 -04:00
Jarrod Johnson
dde66c53c9
Dynamically ascertain name scheme for Delta pdu
...
Some delta pdus have different name schemes
than others, take the hit of
awkward parsing to autodetect.
2022-08-17 10:20:26 -04:00
Jarrod Johnson
2256b341b9
Tolerate '/' in hardwaremanagement.manager
...
This paves the way to allowing CIDR syntax to
indicate prefix length for remote XCCs
2022-07-21 09:54:00 -04:00
Jarrod Johnson
0a10311fea
Add more verbose ssh connection feedback
...
Make the nature of connecting more explicit and errors
more reliably holding the session up and asking for relog
2022-06-17 15:35:06 -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
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
9b6114f523
Break if stuck in loop for over a minute
2022-05-26 15:01:47 -04:00
Jarrod Johnson
4773acb37d
Adapt geist to work with python2
2022-05-25 10:58:35 -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
Jarrod Johnson
459c9a5210
Wait for a login attempt to run its course
...
If an existing session was not quite logged in, but
may be getting there, join in and wait for result
instead of starting over again.
2022-05-12 16:39:58 -04:00
Jarrod Johnson
c328fea49a
Cleaner output on cli
...
Based on feedback, remove the added 'inlet_' from pdu
output.
Also, fix geist plugin to block unsupported
features for now.
2022-05-11 16:01:43 -04:00
Jarrod Johnson
caba650143
Add nodepower arguments for PDU operations
2022-05-11 14:59:54 -04:00
Jarrod Johnson
e4d7be649a
Fix single inlet operations
2022-05-11 13:31:19 -04:00
Jarrod Johnson
d8a0f111db
Implement changing PDU state on set
2022-05-11 08:53:24 -04:00
Jarrod Johnson
8dbcc804ed
Pull outlets into the generic hierarchy
...
This will more easily facilitate adding pdus without dependent nodes.
2022-05-10 16:05:37 -04:00
Jarrod Johnson
6229cb23e8
Begin PDU implementation
2022-05-10 16:00:08 -04:00
Jarrod Johnson
2925c291cf
Increase ipmi concurrency
...
128 can be a bit limiting, try 512 for improved responsiveness
2022-05-05 09:28:09 -04:00
Jarrod Johnson
94ab644f5c
Create mechanism to create node identity images
...
These images are used in the flow of routed deployment.
2022-03-16 15:41:07 -04:00