hi jamie
I am having trouble with automation through whmcs. When i order a product with the custom field "hostname" an instance is created. But the instance needs to be created according to an account plan.
So I have set all plans to use "By system Owner" For this to work I need to set a custom field in WHMCS called "Username"
However I am getting the error "--host parameter required" in WHMCS. Matt believes this is an error on cloumins side. This is my last reply to Matt:
On a cloudmin system only system owners can have account plans. The Username custom field is what should create a system owner on the cloudmin system and he would get a Xen instance according to the account plan I made.
Every account plan is set to "By system owner" thus the field Username should be set in WHMCS according to your previous answer. I have set this field but the module returns the error -host parameter required.
So adding the cutom field Hostname will create a Xen instance but the wrong one and I am in a loop. Why isn't Username working? It should send the command "cloudmin create-owner" yes?
I could succesfully create a system owner over a shell with: cloudmin create-owner --name ronald --email mymail@gmail.com --pass mypasswd --plan 128MB
what should I do? Ronald
Comments
Submitted by JamieCameron on Thu, 03/04/2010 - 11:45 Comment #1
Yes, account plans in Cloudmin apply to system owners, not systems.
If you want to create both a system and an owner, you need to first create the owner (with the appropriate
plan
parameter), then create the system with theowner
parameter set to the username of the owner you just created.Does that help? If not, it sounds like I need to talk to Matt..
Hi Yes you need to talk to Matt...
Creating the VPS with only Username doesnt create a system owner. Creating the VPS with Hostname, creates the VPS but no owner thus no account plan.
Using both Custom Fields creates a VPS as if only Hostname has been entered...VPS is created not according to Account Plan. :(
Adding to this:
upon checkout, the vps is created but the browser is getting a time-out. WHMCS is running CGI mode and serving a different cloudmin server. The time-out is very confusing for a client.
thank you ronald
Submitted by JamieCameron on Thu, 03/04/2010 - 13:18 Comment #3
Do you have an email address for him?
Submitted by JamieCameron on Thu, 03/04/2010 - 13:19 Comment #4
Do you have an email address for him?
I only have support@whmcs.com
Submitted by JamieCameron on Thu, 03/04/2010 - 13:31 Comment #6
Ok, I have emailed him ..
Submitted by JamieCameron on Sun, 03/14/2010 - 13:17 Comment #7
Ronald - did you get this working in the end? I emailed Matt from WHMCS, and he said the issue had been resolved..
ah,
my ticket at whmcs is still on hold.
I have just contacted him on the progress...
thanks
ronald
i updated the system with the rcent new cloudmin module but Im getting this:
The order placed for has received its first payment but an error occured and the account could not be automatically setup on the server
Client ID: 2
Product/Service: 256MB
Domain:
Error: Creates a new Cloudmin system owner.
I updated the ticket with Matt..
Submitted by bvi@postcy.com on Sat, 02/12/2011 - 11:54 Comment #10
hi
i have this problem too what is the solution here? i get the following error "--host parameter required
thanks