Error when creating vmware5 account

Started by shetab, November 26, 2013, 03:27:58 PM

shetab

Hello

When create a vmware5 account I get the following error message which is not descriptive enough.

19:42 Module (Vmware5): Invalid configuration for device '2'.

Please help me to find the problem and fix it. Also like other vps modules it does not provide much management feature in the client are.

Best Regards.

shetab

Hi.

This issue is only with vCenter. I connected the module to ESXi host directly and it now can create VMs.

UCG_Keith

I know that this is a old thread but has anyone gottent he vmware 5 module to work with vCenter 5?

Thanks

lowprofile

Quote from: UCG_Keith on March 26, 2014, 02:37:32 PM
I know that this is a old thread but has anyone gottent he vmware 5 module to work with vCenter 5?

Thanks


Hi

I just tested it with VMware 5.1 - It certainly does work.  I am surprised...
I connected to vCenter and not direct to the esxi host.

Let me know if you need further information... My setup was quite straight.

UCG_Keith

I am glad to know.  I spent the 199$ even though I am grandfathered.  I installed it and it appears to be the same 1.26 version that I had in the past.  Additionally, I have attempted to provision a test build and get the following error:

hostbill Module (Vmware5): Object accountManager is not available

OF course, there is no good articles at HB to troubleshoot the issue.

Any thoughts?

Thanks

lowprofile

How is your setup?

Some information about the design of your setup may help  :)

UCG_Keith

#6
Hello,

I have attached a screen of the setup for one of the products.  We use vCenter 5 with multiple datastores to choose from.  As this product is a "public" cloud, we assign it to a vlan and provision it with 2 NIC's; one for public ip and the second for private network and console.  The cloud server includes 1 vCore, 1 GB RAM and 40 GB HDD.  The client can choose additional HDD, vCores and RAM in addition to additional public IP's.

From the second screenshot, I have reduced the options for the client to choose from in hopes that this was causing the issues.

Here is an error log when attempting to provision after adding the Guest OS:

Uh oh! Something went wrong ...
Exception:
Required property device is missing from data object of type VirtualDeviceConfigSpec

while parsing serialized DataObject of type vim.vm.device.VirtualDeviceSpec
at line 2, column 2170

while parsing property "deviceChange" of static type ArrayOfVirtualDeviceConfigSpec

while parsing serialized DataObject of type vim.vm.ConfigSpec
at line 2, column 234

while parsing call information for method CreateVM_Task
at line 2, column 169

while parsing SOAP body
at line 2, column 154

while parsing SOAP envelope
at line 2, column 0

while parsing HTTP request for method createVm
on object of type vim.Folder
at line 1, column 0 IN /home/******/public_html/v2/includes/modules/Hosting/vmware5/lib/Vmwarephp/Service.php(59), stack trace:
#0 /home/******/public_html/v2/includes/modules/Hosting/vmware5/lib/Vmwarephp/Service.php(59): SoapClient->__call('CreateVM_Task', Array)
#1 /home/******/public_html/v2/includes/modules/Hosting/vmware5/lib/Vmwarephp/Service.php(24): Vmwarephp\Service->makeSoapCall()
#2 /home/******/public_html/v2/includes/modules/Hosting/vmware5/lib/Vmwarephp/ManagedObject.php(42): Vmwarephp\Service->__call('CreateVM_Task', Array)
#3 /home/******/public_html/v2/includes/modules/Hosting/vmware5/lib/vmware_create_vm.php(229): Vmwarephp\ManagedObject->__call('CreateVM_Task', Array)
#4 /home/******/public_html/v2/includes/modules/Hosting/vmware5/lib/vmware_operations.php(77): VmwareCreateVm->createVm()
#5 /home/******/public_html/v2/includes/modules/Hosting/vmware5/class.vmware5.php(295): VmwareOperations->createVm()
#6 /home/******/public_html/v2/includes/modules/Site/accounts/models/class.accounts_model.php(2264): Vmware5->Create()
#7 /home/******/public_html/v2/includes/components/order/class.order.php(501): Accounts_Model->createAccount()
#8 /home/******/public_html/v2/includes/components/order/class.order.php(242): Order->activateServices()
#9 /home/******/public_html/v2/includes/modules/Site/orders/models/class.orders_model.php(141): Order->acceptOrder()
#10 /home/******/public_html/v2/includes/modules/Site/orders/admin/class.orders_controller.php(424): Orders_Model->markAsAccepted()
#11 /home/******/public_html/v2/hbf/core/class.controller.php(257): orders_Controller->edit()
#12 /home/******/public_html/v2/hbf/core/types/class.admin_frontcontroller.php(129): Controller::dispatchControl()
#13 /home/******/public_html/v2/hbf/core/class.frontcontroller.php(124): Admin_FrontController->dispatch()
#14 /home/******/public_html/v2/hbf/core/class.frontcontroller.php(107): FrontController->handleRequest()
#15 /home/******/public_html/v2/aportal/index.php(15): FrontController::init()
#16 {main}

Thanks