-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined namespace prefix: //soapenv:Body/* #106
Comments
the same for me, Did you fixed your issue ? BTW could you tell me which version of ESX you use ? this your IaaS platform or through a provider such as rackspace or other ? Thanks |
Any news on this guys, I ended up with the same thing.. VM is correctly deployed but vagrant throws Undefined namespace prefix: //soapenv:Body/* ... Any Solutions? |
This may be a problem with the rubygem that provides the vSphere connectivity for this plugin, rbvmomi. See vmware-archive/rbvmomi#67. Try setting "vsphere.insecure = true" in your Vagrantfile, and let us know if that fixes the problem. |
Thanks for trying to help @jwbraucher I appreciate it unfortunately that setting in my Vagrantfile didn't work for me. I have tried different templates and I am still having the error after 3-4 minutes after fire, vagrant breaks, but cloning continues on vmware. I am using dummy box and template is on the host. Now I didn't timed, but I bet it breaks on same time after fire on both templates. It's like it is timeouting something, and the error pops... Don't know, I am stuck |
OK, I think we need more information to help figure out what's happening. What version of vCenter are you using? Can you post your Vagrantfile and the full debug output? |
Thank you again for trying to help. Ok, for the info required. The Vmware Vcenter Server version is 5.1.0 Build 1123961 it's Enterprise Plus license. The Vagrant version installed on my workstation box (Ubuntu 15.04) is Vagrant 1.7.4. This is vagrant File ...(I will leave out the host ip and credentials for the obvious reasons) VAGRANTFILE_API_VERSION = "2"
end And finally this is the log generated with VAGRANT_LOG=debug vagrant up --provider=vsphere ==> default: Calling vSphere CloneVM with the following settings: Once again, thank you for trying to help. |
I'm glad to help. If this is actually a bug, I'd like to find the cause and hopefully help get it fixed. It's interesting that the CloneVM operation is still being initiated even with these error messages. That says to me that you are mostly configured correctly. I wonder if this might be a permissions problem, though I would expect to see a more informative error message if that were the case. You might be able to find more information in your vCenter server logs, though it can sometimes be difficult to find those. Double-check the permissions you have granted to the vsphere account that you have in your Vagrantfile. Here are the vCenter permissions that we are using in our environment (you may not need all of these depending on the features you are using in your environment) : |
You just might be right. All this could be permission related. Since I am 'renting' the Cloud from a provider I do not have full Administrator privileges and permissions. I am assigned in a role of Data center and Network Administrator, and as such I can: Datacenter Administrator Perform actions on global items, folders, datacenters, datastores, hosts, virtual machines, resources, and alarms. Since I have no access for sessions, and permission privileges groups, I couldn't know the exact permission assigned to me, as well I don't have access to the logs. So, that's that. Dead end for me. Since I said that even if Vagrant breaks, the machine continue and finishes with cloning from template on the Vsphere, I wonder what will happen when I run vagrant provision after the VM finishes with deploy. I will test that, and write of results. |
@motarski did you have any chance figuring out the problem ? is this permissions or something else ? |
Maybe it can help, I've been able to use https://gist.github.com/rubiojr/1195252 without issue. |
Were you able to resolve this issue? I am unable to use vsphere because of that. |
My VM is correctly cloned in my vsphere infrastructure after a 'vagrant up --debug --provider=vsphere' however I'm left with the following error:
ERROR warden: Error occurred: Undefined namespace prefix: //soapenv:Body/*
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
ERROR warden: Error occurred: Undefined namespace prefix: //soapenv:Body/*
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
ERROR warden: Error occurred: Undefined namespace prefix: //soapenv:Body/*
INFO warden: Beginning recovery process...
INFO warden: Calling recover: #Vagrant::Action::Builtin::Call:0x000001028c6a38
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Recovery complete.
ERROR warden: Error occurred: Undefined namespace prefix: //soapenv:Body/*
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO environment: Released process lock: machine-action-a5f8f05af32062e6f04c680ec9e775b1
INFO environment: Running hook: environment_unload
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 3 hooks defined.
INFO runner: Running action: #Vagrant::Action::Builder:0x000001029bfa70
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #
ERROR vagrant: Undefined namespace prefix: //soapenv:Body/*
ERROR vagrant: /Users/kevinmitchell/.vagrant.d/gems/gems/vagrant-vsphere-0.16.0/lib/vSphere/action/connect_vsphere.rb:23:in rescue in call' /Users/kevinmitchell/.vagrant.d/gems/gems/vagrant-vsphere-0.16.0/lib/vSphere/action/connect_vsphere.rb:14:incall'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in call' /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/config_validate.rb:25:incall'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in call' /Users/kevinmitchell/.vagrant.d/gems/gems/vagrant-berkshelf-3.0.1/lib/berkshelf/vagrant/action/configure_chef.rb:13:incall'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in call' /Users/kevinmitchell/.vagrant.d/gems/gems/vagrant-berkshelf-3.0.1/lib/berkshelf/vagrant/action/load_shelf.rb:13:incall'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in call' /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/env_set.rb:19:incall'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in call' /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/handle_box.rb:56:incall'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in call' /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builder.rb:116:incall'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in block in run' /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/util/busy.rb:19:inbusy'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in run' /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/machine.rb:196:inaction_raw'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/machine.rb:173:in block in action' /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:474:inlock'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/machine.rb:161:in call' /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/machine.rb:161:inaction'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run'
INFO interface: error: Undefined namespace prefix: //soapenv:Body/*
Undefined namespace prefix: //soapenv:Body/*
INFO interface: Machine: error-exit ["VagrantPlugins::VSphere::Errors::VSphereError", "Undefined namespace prefix: //soapenv:Body/*"]
Anyone have an idea what this is all about ? (Undefined namespace prefix: //soapenv:Body/*)
Thanks,
Nicola
The text was updated successfully, but these errors were encountered: