fix(appstore): DNS, per-server golden template, bind-mount perms, delete race
App Store install/update pipeline reliability fixes: - explicit nameserver (APPSTORE_NAMESERVER) on App Store LXCs and the golden template build CT, instead of inheriting a node resolver that may be unreachable from the container network (e.g. Tailscale-only DNS) - golden template storage/resolution moved from one global setting to per-server_id (migration 37: app_operations.server_id) — building it on one Proxmox server no longer overwrites the template configured for another - golden template automated build fixed: vzdump export step no longer fails on "unable to parse directory volume name 'vztmpl/probe'" - bind-mount host directories are pre-created with permissive ownership before `docker compose up`, fixing Permission denied for non-root containers (e.g. MariaDB) writing to Docker-auto-created root-owned dirs - delete/teardown now waits for Proxmox to actually confirm the destroy task finished (was silently proceeding after a short timeout, letting a new install reuse the VMID while the node was still wiping the old disk) - pct create retries a few times on transient "got lock" config errors - failed pipeline steps now report the tail of command output (4000 chars) instead of the head, so the real error isn't buried under pull/progress noise - install error box in the UI wraps long text and scrolls instead of stretching the dialog Also carries forward in-progress script catalog / instances / RBAC changes that were already uncommitted in the working tree before this session. Bump to v1.9.1, update WIKI.md/docs/CHANGELOG accordingly. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -37,6 +37,7 @@ NEW_DEFAULT_ROLES = [
|
||||
"vm:restart": True,
|
||||
"vm:console": True,
|
||||
"vm:migrate": True,
|
||||
"vm:remote_migrate": True,
|
||||
"vm:execute": True,
|
||||
"vm:manage": True,
|
||||
# LXC
|
||||
@@ -49,6 +50,7 @@ NEW_DEFAULT_ROLES = [
|
||||
"lxc:restart": True,
|
||||
"lxc:console": True,
|
||||
"lxc:migrate": True,
|
||||
"lxc:remote_migrate": True,
|
||||
# Templates
|
||||
"template:view": True,
|
||||
"template:create": True,
|
||||
|
||||
@@ -311,6 +311,13 @@ def _create_permissions() -> PermissionRegistry:
|
||||
category="Virtual Machines",
|
||||
requires=["vm:view"]
|
||||
))
|
||||
registry.register(Permission(
|
||||
resource="vm", action="remote_migrate",
|
||||
display_name="Remote Migrate VMs",
|
||||
description="Migrate VMs to a different, independently registered Proxmox cluster",
|
||||
category="Virtual Machines",
|
||||
requires=["vm:migrate"]
|
||||
))
|
||||
registry.register(Permission(
|
||||
resource="vm", action="execute",
|
||||
display_name="Execute Commands",
|
||||
@@ -389,7 +396,14 @@ def _create_permissions() -> PermissionRegistry:
|
||||
category="Containers",
|
||||
requires=["lxc:view"]
|
||||
))
|
||||
|
||||
registry.register(Permission(
|
||||
resource="lxc", action="remote_migrate",
|
||||
display_name="Remote Migrate Containers",
|
||||
description="Migrate containers to a different, independently registered Proxmox cluster",
|
||||
category="Containers",
|
||||
requires=["lxc:migrate"]
|
||||
))
|
||||
|
||||
# Template permissions
|
||||
registry.register(Permission(
|
||||
resource="template", action="view",
|
||||
|
||||
Reference in New Issue
Block a user