mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-11 12:46:49 +00:00
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 |
||
|---|---|---|
| .. | ||
| api | ||
| migrations | ||
| templates | ||
| templatetags | ||
| tests | ||
| __init__.py | ||
| addresses.py | ||
| apps.py | ||
| forms.py | ||
| jobs.py | ||
| models.py | ||
| report.py | ||
| states.py | ||
| urls.py | ||
| utils.py | ||
| views.py | ||