1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/computes/tests
catborise 3aa198304a feat(storages): the storage pages on Bootstrap's tables, cards, badges and menus
- The pool list is a card per pool, two to a row, as the host
  Overview's Hardware and Software cards: its name with Active or
  Stopped and Autostart badges in the header, then its type, its path
  (an RBD pool's Ceph pool), its volume count and its space as the
  Overview shows it (computes/pool_bar.html, without the name again);
  a stopped pool's space is unavailable, not zero.
  wvmStorages.get_storages_info gives the path, autostart and percent
  used, which computes.views.host_pools computed for itself.
- A pool's page has a Space card (percent, used of size, of what: the
  filesystem of its path, its volume group or the Ceph cluster, which
  other pools may share; free) and a Pool card (state, autostart,
  type, path) instead of a two-column list mixing facts and forms.
  Start or Stop is its heading's button; autostart and deleting a
  stopped pool are in its menu; the confirmations stay.
- The volume table drops the row number; a volume's capacity and what
  it has allocated share a column hidden on a phone; its format is a
  badge; its actions are one group, Clone and a menu with Delete,
  named for the volume.
- "New pool", "New volume" and "Upload ISO" are labelled buttons
  instead of bare green pluses; their dialogs' titles name them.
- The New pool dialog is one form (design reviewed with Codex): the
  pool's type as radio cards, as the VM create page chooses its disk
  source (their style moves to webvirtcloud.css), one name, and only
  the chosen type's fields, the others hidden and disabled.
  - A directory's or a share's mount path follows the name
    (/var/lib/libvirt/<name>) until it is edited: no default path of
    another pool any more.
  - ISO images is a directory preset named iso; when the host has an
    iso pool, a card links to it instead.
  - Ceph offers the host's Ceph secrets by their names, not every
    secret by UUID; without one it says so and links the Secrets page.
  - LVM asks to agree that the device is erased, the server too.
  - AddStgPool checks each type's fields, a name or a path another
    pool has, an RBD secret that is not one of the host's Ceph secrets,
    and the names "." and "..". A refused pool, or one libvirt refuses,
    opens the dialog again with what was entered, the reasons beside
    the fields and focus on the first; the audit row for a taken name
    stays.
2026-10-28 19:27:21 +03:00
..
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_api_security.py refactor(computes): the lock helpers take claims instead of file locks 2026-10-14 23:27:57 +03:00
test_audit_rows.py feat(logs): admin changes and logins are recorded on the Logs page 2026-10-23 10:30:48 +03:00
test_capacity.py feat(computes): the Computes list on Bootstrap's cards, badges, bars and menus 2026-10-27 21:52:08 +03:00
test_compute_password.py fix(api): host API checks what the web forms check 2026-10-26 17:47:18 +03:00
test_cpu_graph.py fix(storages): pools are measured when shown, and only on a host's own pages 2026-10-27 21:30:14 +03:00
test_host_nav.py fix(computes): the host sections are a breadcrumb again; capacity lines wrap in their card 2026-10-27 16:32:39 +03:00
test_migration_address.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_operation_locks.py refactor(computes): the lock helpers take claims instead of file locks 2026-10-14 23:27:57 +03:00
test_overview.py feat(storages): the storage pages on Bootstrap's tables, cards, badges and menus 2026-10-28 19:27:21 +03:00
test_overview_status.py feat(computes): the Computes list on Bootstrap's cards, badges, bars and menus 2026-10-27 21:52:08 +03:00
test_ownership.py fix(admin): Removed VMs shows the host a VM left and confirms a delete 2026-10-26 11:48:40 +03:00
test_ownership_race.py fix(computes): a VM moved between computes keeps its owners on PostgreSQL 2026-10-23 15:31:04 +03:00
test_quota_down_host.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_reconciliation.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_validators.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_views.py fix(computes): host pages survive a down host and a vTPM secret 2026-10-26 15:36:57 +03:00