Skip to content

Integration test: Proxmox server module (real-server lifecycle) #44

Description

@Panelica

Part of the server-module integration testing epic #41. help-wanted — needs access to a real Proxmox server.

The Proxmox adapter is implemented and unit/contract-tested with mocked HTTP, but it has not been verified end-to-end against a live Proxmox. Please add a Server pointing at a real Proxmox, attach a product, and drive the full lifecycle from PNLCS, reporting what works and what breaks.

Lifecycle checklist

  • testConnection — API token/ticket auth + node reachability
  • create — a VM/container is created and started; PNLCS records the VMID in module_data
  • suspend — the guest is suspended/stopped as expected
  • unsuspend — the guest resumes
  • changePassword — root/user password is reset on the guest
  • changePackage — CPU/RAM/disk resize applies (see ProxmoxResizeTest for the mocked shape)
  • usageUpdate — resource usage is read back into PNLCS
  • start / stop / reboot / shutdown — power controls act on the real guest
  • getVmStatus / getConsoleUrl — status reflects reality; console URL opens a working session
  • terminate — the guest is destroyed; storage reclaimed, no orphan VMID

For each: note the request/response, HTTP status, and any panel-side result. Screenshots/logs welcome. File issues (or link fixes) for anything that misbehaves.

Module: modules/Servers/Proxmox/ProxmoxModule.php.
Note: Proxmox VE (API2). Module: modules/Servers/Proxmox/ProxmoxModule.php (VPS-style: power controls + console). Mocked resize test exists (ProxmoxResizeTest).

No prior code needed — the deliverable is a verification report; fixes follow from what it finds. Comment on #41 to claim this panel.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:server-adapterServer adapters (Panelica, cPanel, Plesk, DA, Proxmox, Custom)help-wantedExtra attention or community input welcome

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions