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
ba7a0f7eab
Merge pull request #158 from Obihoernchen/vlan
...
Add VLAN/PKEY support to confignet (fix #157 )
2024-08-13 11:10:19 -04: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
0961174425
Remove redundant code
2024-08-09 19:55:42 +02:00
Markus Hilger
005adec437
Add error handling for interface_names
2024-08-09 19:45:19 +02:00
Markus Hilger
6943c2dc0f
Make sure VLAN/PKEY connections are created last
...
Needed for VLANs on bond connections etc.
2024-08-09 19:38:45 +02: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
8b70213c0d
Merge branch 'master' into async
2024-08-09 07:56:30 -04:00
Jarrod Johnson
8fd39c36bb
Fix some mistakes in confignet
2024-08-09 07:55:42 -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
ca4955101d
Improve "realness" of imgutil exec context
...
Utilities that expected /dev/pts will now be satisfied,
as a new /dev/pts is mounted.
Further, systemd added a check in various utilities that
was fouled by the previous method of appearing to have a
root filesystem.
Before, after chroot, we would bind mount / to itself, and this
made things using /proc/mounts, /proc/self/mountinfo, df, mount,
etc happy that there is a real looking root filesystem.
However, by doing it after the chroot, systemd could statx on '..' and
get a different mnt id than /. So it had to be done prior to the
chroot. However it also had to be done before other mounts as
bind mounting over it would block the submounts.
This more closely imitates the initramfs behavior, where '/' starts life
as a 'real' filesystem before being mounted up and switched into.
This behavior was made to imitate the 'start_root.c' behavior as that
seems to be more broadly successful.
2024-08-07 08:40:10 -04:00
Jarrod Johnson
187fda4bb8
Add debootstrap dependency for imgutil
2024-08-07 07:58:08 -04:00
Jarrod Johnson
7ab7600492
Add cpio dependency for imgutil
2024-08-07 07:56:11 -04:00
Jarrod Johnson
f2b9a4fa5d
Improve handling of ssh service being pre-hooked
2024-08-06 12:25:21 -04:00
Jarrod Johnson
ef1f51ef98
Wire in bmc config clear to redfish
2024-08-06 10:05:39 -04:00