2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-05-11 17:04:19 +00:00
Commit Graph

2532 Commits

Author SHA1 Message Date
Jarrod Johnson 6f776a657c Begin work on selfservice asyncio port
Have a deploycfg call be able to proceed through.
2024-08-16 17:06:49 -04:00
Jarrod Johnson 2f415caead Fix osdeploy updateboot with asyncio 2024-08-16 17:06:16 -04:00
Jarrod Johnson 708170b06a Convert affluent method from eventlet 2024-08-16 15:17:06 -04:00
Jarrod Johnson 5eaf998391 Remove greenlet, and change 'confluent' to asyncio 2024-08-16 14:36:59 -04:00
Jarrod Johnson c43a667299 Remove some debug output 2024-08-16 14:30:50 -04:00
Jarrod Johnson bf56d40fb5 Convert neighutil to asyncio 2024-08-16 14:29:04 -04:00
Jarrod Johnson fab6a5a757 Remove eventlet from log 2024-08-16 14:04:12 -04:00
Jarrod Johnson a076472718 Merge branch 'master' into async 2024-08-16 11:27:14 -04:00
Jarrod Johnson fb10221e1b Amend affluent error handling
Be more consistent and informative
2024-08-16 11:26:52 -04:00
Jarrod Johnson d82a982857 Have affluent 'power' status actually at least reaching the service 2024-08-16 10:52:00 -04:00
Jarrod Johnson d1659cef97 Merge branch 'master' into async 2024-08-16 09:33:27 -04:00
Jarrod Johnson e6f6919ef4 Merge pull request #96 from weragrzeda/master
i reverted NTP and Eaton, Only Geist PDUs merging
2024-08-16 09:33:01 -04:00
Jarrod Johnson c0018840c7 Remove stale eventlet import from osimage 2024-08-15 16:40:40 -04:00
Jarrod Johnson 511fdfe6c1 Fix issues in the online debugger 2024-08-15 16:35:55 -04:00
Jarrod Johnson 4945c1f473 Replace 'backdoor' with 'debugger' 2024-08-15 16:03:02 -04:00
Jarrod Johnson 90b893bc28 Bring up ssh asyncio and fix other shell/console async 2024-08-15 14:45:31 -04:00
Jarrod Johnson ac4092ec4b More fixes for asyncio support console usage 2024-08-15 11:38:14 -04:00
Jarrod Johnson 556e40787c Have OpenBMC work with async changes 2024-08-15 11:28:08 -04:00
Jarrod Johnson 45187e0c54 Merge branch 'master' into async 2024-08-15 10:55:11 -04:00
Jarrod Johnson 1a40842f06 Fix osdeploy updateboot to find multiple grub.cfg 2024-08-15 10:54:52 -04:00
Jarrod Johnson 2cc61a1810 Merge branch 'master' into async 2024-08-14 16:26:55 -04:00
Jarrod Johnson 82e0d9c434 Rework ssh key init to reset key and use context management 2024-08-14 16:08:02 -04:00
Jarrod Johnson 83a4df49c7 Merge pull request #159 from adrianreber/2024-08-13-cat-keys
Do not overwrite the node SSH key with the last found public key
2024-08-14 16:04:36 -04:00
Jarrod Johnson c442c8704d Merge remote-tracking branch 'xcat/master' 2024-08-14 11:41:09 -04:00
Jarrod Johnson 28b88bdb12 Add reporting of skipped nodes in a 'skip' merge 2024-08-14 11:40:11 -04:00
Jarrod Johnson 29d0e90487 Implement confluentdbutil 'merge'
For now, implement 'skip', where conflicting nodes/groups are
ignored in new input.
2024-08-14 11:26:51 -04:00
Jarrod Johnson 21f68bb212 Apply formatting changes 2024-08-13 15:29:15 -04:00
Jarrod Johnson 45b17ba855 Get basic redfish running in asyncio 2024-08-13 15:28:52 -04:00
Adrian Reber a6a1907611 Do not overwrite the node SSH key with the last found public key
Instead of overwriting the SSH public code for the node concatenate all
found SSH keys together in one file.

Signed-off-by: Adrian Reber <areber@redhat.com>
2024-08-13 17:30:43 +02:00
Jarrod Johnson db670b695f Reuse recent_peers
To be consistent, reuse this set rather than creating a new one.
2024-08-09 16:43:27 -04:00
Markus Hilger 6833cd9c53 Add VLAN/PKEY support to confignet
Introduce new node attribute net.vlan_id to support VLAN/PKEY
configuration using confignet.
2024-08-09 17:59:34 +02:00
Jarrod Johnson 0d8173cbcb Fix nodediscover clear
Nested async iteration of multiple confluent calls fail, break
it into two distinct queries.
2024-08-09 10:03:15 -04:00
Jarrod Johnson 2fc4483bba Backport SLP performance enhancement from async branch
Same concept that could bog down async variant
could be a slowdown for normal confluent.
2024-08-08 17:09:33 -04:00
Jarrod Johnson e0fa642496 Fix SLP asyncio performance issue
SLP asyncio performance spent too much time tied up in futile
processing,
avoid duplicate deferpeers and simplify the loop iteration.
2024-08-08 17:06:57 -04:00
Jarrod Johnson 42e5a556c1 Make it easier to debug slow callback
Provide a name to create_task to make the
slow callback warning actually usable.
2024-08-08 16:25:04 -04:00
Jarrod Johnson d7d89dd233 Remove spurious import from redfish 2024-08-08 16:07:42 -04:00
Jarrod Johnson 536aa7f212 Fix XCC/XCC2 discovery for async branch 2024-08-08 14:25:47 -04:00
Jarrod Johnson 67a61c5012 Migrate XCC3 discovery to async 2024-08-08 12:45:39 -04:00
Jarrod Johnson 73cd6d52da Remove spurious reintroduction of select to slp 2024-08-08 11:05:51 -04:00
Jarrod Johnson 5be422958b Removed redundant definitions introduced by merge attempt 2024-08-08 10:10:16 -04:00
Jarrod Johnson c754dc2641 Merge branch 'master' into async 2024-08-08 09:45:15 -04:00
Jarrod Johnson 4453ba3b64 Add cpio to confluent_server
In order to do osdeploy processing, we must have cpio
2024-08-07 09:20:34 -04:00
Jarrod Johnson ef1f51ef98 Wire in bmc config clear to redfish 2024-08-06 10:05:39 -04:00
Jarrod Johnson 21b1ac7690 Remove asyncore for jammy
asyncore isn't needed before noble
2024-08-06 09:34:46 -04:00
Jarrod Johnson feaef79060 Successfully track credential currency across change 2024-08-06 09:30:13 -04:00
Jarrod Johnson 8c13816331 Fix fetch of model name for XCC3 systems 2024-08-05 15:03:00 -04:00
Jarrod Johnson e07e6ed152 Improve error handling in OpenBMC console 2024-08-05 14:56:23 -04:00
Jarrod Johnson 0afc3eb03a Port SSDP improvements to SLP
It may not apply, but better to be consistent.
2024-08-05 13:12:54 -04:00
Jarrod Johnson 0fd07e8427 Fix race condition in SSDP snoop
If an asynchronous handler is slow to
enroll a target while another target causes an iteration
of the snoop loop, the various modified structures
had been discarded in the interim.

Now persist the data structures iteration to iteration,
using 'clear()' to empty them rather than getting
brand new data structures each loop.
2024-08-05 13:09:50 -04:00
Jarrod Johnson fc5c1aa90f Fix SSDP error during merge 2024-08-05 11:32:57 -04:00