WHMCS Module and Proxmox server IP issue

Jun 10, 2019
5
1
1
34
hello, I am having trouble with an issue i cant seem to figure out. I have module gardens proxmox whmcs module installed and setup. I have a centos7 template setup for full clone with cloud-init setup. I have my 10 unused IP addresses setup in whmcs module ip manager.

When i create a vm from my client portal it grabs the next available ip as it should, creates the vm as it should but when the vm boots up and i check the ip it is not the ip that it grabbed from whmcs or in the welcome email.

it uses the same ip every single time xxx.xxx.xxx.220 its always the same ip.

I have no idea where to look.

Doesn't matter what template i use it always uses that ip.

any suggestions?
 
so for example, i have 10 ip in my ip manager, if will grab 1 for each vm, in the welcome email it will show each ip that it grabbed per vm, but when i console in both vm are sharing an ip and do not get assigned the ip that the welcome email showed
 
It seems i have fixed this issue. I deleted and re added all my avaliable ip to the ip manager

Then re setup the products configuration within whmcs and the issue is resolved. Not quite sure what i had messed up but cloud-init is working as it should and applying ip from my pool as needed.
 
  • Like
Reactions: hamovip
This is not an PVE issue, it's more an issue of your AddOn. I wrote my own WHMCS / PVE AddOn and i don't find any issue using the API most of the time, it was a problem from the script itself (missing parameters, wrong types, etc.)
 
  • Like
Reactions: encrypted
i mean as of testing yesterday after reconfiguring all the products everything seems to be working fine. Going to keep testing a few more times but i was able to successfully create a handful of vm's with no issue.
 
Hey,
Facing an issue in ip management when clicking on New IP address it shows null. Can anyone help me to figure out the problem.

1695107802661.png
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!