vmware-archive / vagrant-vmware-appcatalyst

Vagrant provider for VMware AppCatalyst®
Apache License 2.0
73 stars 16 forks source link

Unattended code received 500: VIX Error: One of the parameters was invalid, code: 3, operation: vix.Connect #22

Closed jhgorse closed 8 years ago

jhgorse commented 8 years ago

Steps I take

brew cask install appcatalyst
appcatalyst-daemon
edit Vagrantfile
vagrant up --provider=vmware_appcatalyst

Note: when I first ran this, VMware Fusion was running in the background. Subsequently, it has been shut down along with its vms, yet this error persists.

Vagrant output:

==> gantry-test-1: Checking if box 'hashicorp/precise64' is up to date...
==> gantry-test-2: Checking if box 'hashicorp/precise64' is up to date...
==> gantry-test-2: An error occurred. The error will be shown after all tasks complete.
==> gantry-test-1: An error occurred. The error will be shown after all tasks complete.
An error occurred while executing multiple actions in parallel.
Any errors that occurred are shown below.

An error occurred while executing the action on the 'gantry-test-1'
machine. Please handle this error then try again:

Unattended code received 500: VIX Error: One of the parameters was invalid, code: 3, operation: vix.Connect

An error occurred while executing the action on the 'gantry-test-2'
machine. Please handle this error then try again:

Unattended code received 500: VIX Error: One of the parameters was invalid, code: 3, operation: vix.Connect

-daemon log for this event (note repeats):

appcatalyst-daemon 2016/07/06 08:33:53 Called: clone_vm_handler
appcatalyst-daemon 2016/07/06 08:33:53 Clone VM by specifying source reference...
appcatalyst-daemon 2016/07/06 08:33:53 source: /private/tmp/apcat/.vagrant/machines/gantry-test-1/vmware_appcatalyst/vagrant-2aa9f6ab-7ce3-4c60-9e3c-75ef8d034473/precise64.vmx , target: /Users/jhg/Documents/AppCatalyst/vagrant-2aa9f6ab-7ce3-4c60-9e3c-75ef8d034473/vagrant-2aa9f6ab-7ce3-4c60-9e3c-75ef8d034473.vmx
appcatalyst-daemon 2016/07/06 08:33:53 Called: clone_vm_handler
appcatalyst-daemon 2016/07/06 08:33:53 Clone VM by specifying source reference...
appcatalyst-daemon 2016/07/06 08:33:53 source: /private/tmp/apcat/.vagrant/machines/gantry-test-2/vmware_appcatalyst/vagrant-bcfc75ce-f212-4d2f-a3a0-9277414ceb20/precise64.vmx , target: /Users/jhg/Documents/AppCatalyst/vagrant-bcfc75ce-f212-4d2f-a3a0-9277414ceb20/vagrant-bcfc75ce-f212-4d2f-a3a0-9277414ceb20.vmx
appcatalyst-daemon 2016/07/06 08:33:54 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:54 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-2/vmware_appcatalyst/vagrant-bcfc75ce-f212-4d2f-a3a0-9277414ceb20/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:54 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:54 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-1/vmware_appcatalyst/vagrant-2aa9f6ab-7ce3-4c60-9e3c-75ef8d034473/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:54 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:54 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-1/vmware_appcatalyst/vagrant-2aa9f6ab-7ce3-4c60-9e3c-75ef8d034473/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:54 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:54 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-2/vmware_appcatalyst/vagrant-bcfc75ce-f212-4d2f-a3a0-9277414ceb20/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:54 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:54 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-2/vmware_appcatalyst/vagrant-bcfc75ce-f212-4d2f-a3a0-9277414ceb20/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:54 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:54 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-1/vmware_appcatalyst/vagrant-2aa9f6ab-7ce3-4c60-9e3c-75ef8d034473/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:54 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:54 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-2/vmware_appcatalyst/vagrant-bcfc75ce-f212-4d2f-a3a0-9277414ceb20/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:54 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:54 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-1/vmware_appcatalyst/vagrant-2aa9f6ab-7ce3-4c60-9e3c-75ef8d034473/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:54 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:54 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-2/vmware_appcatalyst/vagrant-bcfc75ce-f212-4d2f-a3a0-9277414ceb20/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:54 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:54 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-1/vmware_appcatalyst/vagrant-2aa9f6ab-7ce3-4c60-9e3c-75ef8d034473/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:55 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:55 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-2/vmware_appcatalyst/vagrant-bcfc75ce-f212-4d2f-a3a0-9277414ceb20/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:55 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:55 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-1/vmware_appcatalyst/vagrant-2aa9f6ab-7ce3-4c60-9e3c-75ef8d034473/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:55 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:55 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-2/vmware_appcatalyst/vagrant-bcfc75ce-f212-4d2f-a3a0-9277414ceb20/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:55 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:55 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-1/vmware_appcatalyst/vagrant-2aa9f6ab-7ce3-4c60-9e3c-75ef8d034473/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:55 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:55 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-2/vmware_appcatalyst/vagrant-bcfc75ce-f212-4d2f-a3a0-9277414ceb20/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:55 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:55 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-1/vmware_appcatalyst/vagrant-2aa9f6ab-7ce3-4c60-9e3c-75ef8d034473/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:55 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:55 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-2/vmware_appcatalyst/vagrant-bcfc75ce-f212-4d2f-a3a0-9277414ceb20/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:55 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:55 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-1/vmware_appcatalyst/vagrant-2aa9f6ab-7ce3-4c60-9e3c-75ef8d034473/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:55 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:55 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-2/vmware_appcatalyst/vagrant-bcfc75ce-f212-4d2f-a3a0-9277414ceb20/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:55 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:55 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-1/vmware_appcatalyst/vagrant-2aa9f6ab-7ce3-4c60-9e3c-75ef8d034473/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:55 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:55 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-2/vmware_appcatalyst/vagrant-bcfc75ce-f212-4d2f-a3a0-9277414ceb20/precise64.vmx
appcatalyst-daemon 2016/07/06 08:33:55 Called: get_state_handler
appcatalyst-daemon 2016/07/06 08:33:55 vmxFile: /private/tmp/apcat/.vagrant/machines/gantry-test-1/vmware_appcatalyst/vagrant-2aa9f6ab-7ce3-4c60-9e3c-75ef8d034473/precise64.vmx

vmware-vix-2353.log: http://hastebin.com/wozabusija is this a license issue?

...
vix| I125: Vix_InitializeGlobalState(): VixCheckLocalLicenses() failed, 32
...
jhgorse commented 8 years ago

also,

→ appcatalyst vm list
Info: VMs found in '/Users/jhg/Documents/AppCatalyst'
vagrant-2aa9f6ab-7ce3-4c60-9e3c-75ef8d034473
vagrant-bcfc75ce-f212-4d2f-a3a0-9277414ceb20

→ appcatalyst vm create test123
Error: Unable to connect to VIX host: One of the parameters was invalid
Exit 255

vmware-vix-4000.log: http://hastebin.com/bateyafuha

frapposelli commented 8 years ago

@jhgorse it's most likely a licensing issue, see here: http://blogs.vmware.com/cloudnative/appcatalyst-update/

jhgorse commented 8 years ago

@frapposelli so... what is next? I would really like to continue to use VMware (I own Fusion, not Pro) to do the sorts of things that vagrant does and at the same time maintain a "free" toolchain path for others as well.

I think what is currently limiting that is the lack of the clone feature in the VIX vmrun tool for regular non-Pro Fusion.

zackhsi commented 8 years ago

Download the new version that @frapposelli linked to. It's the last release and works until December.

# kill old version of appcatalyst
sudo pkill appcatalyst-daemon
# download new version of appcatalyst
open http://bit.ly/getappcatalyst
jhgorse commented 8 years ago

@zackhsi good eye. I stopped reading at: "The technology preview for AppCatalyst will end on the 30th of June 2016."

@frapposelli what would it take to get the app-catalyst-daemon interface on VMware Fusion?