project-pegaprox icon indicating copy to clipboard operation
project-pegaprox copied to clipboard

[Bug] The "Re-configure Cluster" icon does not work for Proxmox clusters

Open j0c00 opened this issue 7 months ago • 3 comments

Describe the bug

The "Re-configure Cluster" icon does not work for Proxmox clusters, the other icons work fine ("Rename Cluster", "Delete", "Assign to Group")

Steps to Reproduce

Expected behavior

Environment

  • PegaProx Version: PegaProx, Beta 0.9.8
  • Installation Method: Manual (git clone)
  • OS: Debian 13.4
  • Browser: Firefox 150.0 (64-bit) and Microsoft Edge for Business, Version 147.0.3912.86 (Official build) (64-bit)
  • Behind Reverse Proxy? No
  • UI? Modern Layout, Midnight Blue

Logs


Screenshots

Checklist

  • [X] I have searched existing issues to make sure this is not a duplicate
  • [X] I am using the latest version of PegaProx

j0c00 avatar Apr 27 '26 09:04 j0c00

Hey @j0c00 — quick question because I can't see anything in the code that would gate this on cluster type. The button onClick just does setReconfigureCluster(cluster), no Proxmox-vs-XCP-ng branching. So either there's a runtime error swallowed somewhere or the modal opens but is empty / behind something.

Could you open the browser DevTools (F12), Console tab, click the icon, and paste anything red that shows up? Network tab too — does any request to /api/auth/verify-password or /api/clusters/.../config/export go out?

Also: does the small password-prompt dialog appear at all when you click, or literally nothing happens?

Cheers, Marcus

mkellermann97 avatar Apr 27 '26 09:04 mkellermann97

This is what I see after F12 key:

Uncaught ReferenceError: setReconfigureCluster is not defined
    onClick https://pegaprox-01.example.com/:4238
    React 11

What exactly do you mean by the "Network tab"?

j0c00 avatar Apr 27 '26 13:04 j0c00

Tested working fine. Thanks.

j0c00 avatar Apr 28 '26 19:04 j0c00