Comments (6)
Some more debugging: with options --template sles11_sp3_template_base_image --datastore msa_large_vdisk01
I get error: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/rbvmomi-1.5.1/lib/rbvmomi/vim/Task.rb:11:in `wait_for_completion': CannotAccessVmConfig: Unable to access the virtual machine configuration: Unable to access file [msa_large_vdisk01] sles11_sp3_template_vm-2/sles11_sp3_template_vm-2.vmtx (RbVmomi::Fault)
Interesting that template name sles11_sp3_template_base_image is getting parsed as sles11_sp3_template_vm-2/sles11_sp3_template_vm-2.vmtx
from knife-vsphere.
Hi, I'm sorry that this has sat unaddressed for so long. Is the problem still happening?
from knife-vsphere.
Closing. If you're still having this problem, please re-open the issue and we'll continue the conversation.
from knife-vsphere.
Yes, I'm getting this when try spin off new VM
below is the exception message:
ERROR: RbVmomi::Fault: NotFound: The object or item referred to could not be found.
Could some one please help me to resolve this issue
from knife-vsphere.
I am hitting this issue as well. When I attempt to build a new VM using a text ESX host with datastore01 build on local storage, there is no issue at all. However, when I move this into one of the production environments, I get:
CannotAccessVmConfig: Unable to access the virtual machine configuration: Unable to access file [datastore-odd-01] RHEL6Template/RHEL6Template.vmtx
In the command string, I define the template using:
--template "RHEL6Template"
Running a "knife vsphere template list", I get:
Template Name: RHEL6Template
from knife-vsphere.
Hi, I missed the updates here. We resolved the problem in #254 -- use --resource_pool
to specify a cluster that has access to the template and/or datastore.
from knife-vsphere.
Related Issues (20)
- Restoring Files of the VM in vCenter Level HOT 2
- Restoring files from the VM in vCenter level HOT 1
- Remove deprecated template_file and distro options HOT 3
- Setting a winrm_user in knife.rb breaks linux bootstrapping in certain cases
- Hostname is not assigned to the VM HOT 3
- upgrade ESX with chef HOT 2
- VM Migrate HOT 5
- knife vsphere vm execute fails with no program args HOT 1
- vm state --state suspended may not be suspending HOT 7
- Not able to run knife vsphere command HOT 16
- IP and hostname not assigned if using open-vm-tools HOT 4
- Dependabot can't parse your Gemfile
- knife vsphere vm vmdk add error HOT 1
- vm list recursive - bug! HOT 6
- knife-vsphere with SSL (knife ssl) help! HOT 1
- enhancing doc around resource pool settings w.r.t standalone managed esxi hosts HOT 2
- clone gives Exception: NameError: undefined local variable or method `connection' HOT 12
- Does "knife vsphere vm execute VMNAME COMMAND ARGS" work for Windows Guest?
- How to find the slowness on knife vsphere vm vmdk add? HOT 1
- Content Libraries
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 knife-vsphere.