1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-11 12:46:49 +00:00
webvirtcloud/vrtManager
catborise 0ac078b9cc fix(vrtManager): an RBD disk takes its pool's auth and monitors as they are
A disk of an RBD pool, at VM creation or added later, had the pool's
user, secret uuid and monitors put into its XML as strings: a user with
a quote or ampersand broke the XML, and a secret named by usage gave
IndexError on attach and uuid='None' at creation. One function now
copies the pool's auth (uuid or usage) and host elements into the
disk's source with lxml, replacing the two string builders.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
2026-11-08 14:42:20 +03:00
..
tests fix(vrtManager): an RBD disk takes its pool's auth and monitors as they are 2026-11-08 14:42:20 +03:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
connection.py refactor(vrtManager): remove the wvmConnect.close() that did nothing 2026-11-08 12:19:29 +03:00
create.py fix(vrtManager): an RBD disk takes its pool's auth and monitors as they are 2026-11-08 14:42:20 +03:00
hostdetails.py perf(computes): a host's capacity is one libvirt call, not one per VM 2026-11-07 15:25:49 +03:00
instance.py fix(vrtManager): an RBD disk takes its pool's auth and monitors as they are 2026-11-08 14:42:20 +03:00
interface.py feat(vrtManager): the libvirt layer's messages show in the reader's language 2026-11-03 00:05:34 +03:00
libvirt-ssh fix(vrtManager): libvirt connections open within a time limit 2026-10-05 09:06:52 +03:00
network.py chore: remove code nothing uses 2026-11-06 10:53:37 +03:00
nodedevs.py feat(vrtManager): the libvirt layer's messages show in the reader's language 2026-11-03 00:05:34 +03:00
nwfilters.py feat(vrtManager): the libvirt layer's messages show in the reader's language 2026-11-03 00:05:34 +03:00
rwlock.py fix(vrtManager): modernize rwlock for Python 3.12 compatibility and add tests 2026-09-24 21:49:52 +03:00
storage.py fix(vrtManager): an RBD disk takes its pool's auth and monitors as they are 2026-11-08 14:42:20 +03:00
util.py refactor(vrtManager): new VM UUIDs come from uuid.uuid4() 2026-11-08 12:24:47 +03:00
virtsecrets.py feat(vrtManager): the libvirt layer's messages show in the reader's language 2026-11-03 00:05:34 +03:00