blesta / module-proxmox

11 stars 17 forks source link

Not compatible with Proxmox 7.3-3 LXC #18

Closed Ella-Alinda closed 1 year ago

Ella-Alinda commented 1 year ago

Describe

I can't create an LXC server through this plugin, because the error flag in the code "proxmox/apis/commands/proxmox_vserver.php" line 72, openvz should be lxc, even if it is modified here, an error will still be thrown.

Environment

Blesta Version: Blesta 5.5.3 Proxmox Version: 7.3-3 OS Version: Arch Linux x86 PHP Version: 7.4..33

Additional code

Before

xxxx.com
{"data":null}

After

xxxx.com
{"data":null,"errors":{"ip_address":"property is not defined in schema and the schema does not allow additional properties","cpus":"property is not defined in schema and the schema does not allow additional properties","disk":"property is not defined in schema and the schema does not allow additional properties"}}
TeYroXOfficial commented 1 year ago

Current version of proxmox doesn't have support for lxc, I send pull request many months ago but still nothing. You can use my fork if you want to use LXC https://github.com/TeYroXOfficial/module-proxmox

JReissmueller commented 1 year ago

This was resolved by #20 and improved by a few other PRs