Giter Site home page Giter Site logo

Comments (6)

brujack avatar brujack commented on August 24, 2024

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.

swalberg avatar swalberg commented on August 24, 2024

Hi, I'm sorry that this has sat unaddressed for so long. Is the problem still happening?

from knife-vsphere.

swalberg avatar swalberg commented on August 24, 2024

Closing. If you're still having this problem, please re-open the issue and we'll continue the conversation.

from knife-vsphere.

venkateshseerapu avatar venkateshseerapu commented on August 24, 2024

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.

brent-c-mills avatar brent-c-mills commented on August 24, 2024

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.

swalberg avatar swalberg commented on August 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.