Comments (4)
template_name
should be whatever you named your template or virtual machine in vsphere.
from vagrant-vsphere.
It took me a while to work out which view in vSphere web would give the right name detail, unfortunately it is not just what you named it, but also the folder it is hiding in.
In this sample screenshot, If you had a VM located something like prvdvnam800 and you wanted to create a new VM in the vagrant subfolder
vsphere.template_name = 'Engineering/NAM/gdomjan/prvdvnam800'
vsphere.vm_base_path = 'Engineering/NAM/gdomjan/vagrant'
You may need the datacenter name (?if you have more than 1)
vsphere.data_center_name = 'Main'
If your giving the vm a name, you may want to make it unique in case of multiple users of vagrant
vsphere.name = 'PRVDVNAM800' + "_#{(Time.now.to_f * 1000.0).to_i}_#{rand(100000)}"
from vagrant-vsphere.
This saved my time/posterior this morning.
why isn't this bundled with the documentation / wiki on https://github.com/nsidc/vagrant-vsphere ?
from vagrant-vsphere.
This is awesome information, thx.
My VM built correctly however I'm left with the following error:
==> default: -- Target VM: pcc-198-27-72-129_datacenter1868/vm/Discovered_virtual_machine/VM_Network/Development/vagrant-test
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: #<VagrantPlugins::VSphere::Errors::VSphereError: Undefined namespace prefix: //soapenv:Body/>
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:in
call'
/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:in
call'
/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:in
call'
/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:in
call'
/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:in
call'
/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:in
call'
/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:in
call'
/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:in
busy'
/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:in
action_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:in
lock'
/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:in
action'
/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
from vagrant-vsphere.
Related Issues (20)
- How to define multi-machine vagrantfile using different vm templates? HOT 2
- error-exit ["VagrantPlugins::VSphere::Errors::VSphereError", "execution expired"]
- undefined method `[]' for nil:NilClass after setting host name
- No setting for command timeout
- Is this project still maintained? HOT 1
- vagrant-vsphere install fails on vagrant 2.2.7
- Vagrant Configures with IPv6 instead of IPv4 HOT 1
- Specifying IPv4 address removes default gateway HOT 1
- Vagrantfile to manage existing VMs HOT 1
- Authentication to vCenter with 2FA TOTP
- Is there still active maintainers for this project ? HOT 1
- 400 Error when downloading vsphere-dummy box
- "can't modify frozen String" error on vagrant-vsphere 1.14.0 HOT 1
- vagant loop weird HOT 2
- Which vSphere Version?
- Cannot install in vagrant 2.3.4 from Debian HOT 2
- Prompt vsphere password programatically HOT 1
- Test issue for GH actions
- Test issue for GH actions - part two
- Test out GH actions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vagrant-vsphere.