Skip to content

Exception: NoMethodError: undefined method `get_resource_pool' #22

Description

@navylite

Versions:

  • Version of knife-vcenter:
    2.0.3
  • Version of chef:
    Chef Development Kit Version: 3.7.23
    chef-client version: 14.10.9

Platform Details

  • Version of vCenter: 6.7.0 build 11727113
  • Version of ESXi: VMware ESXi, 6.7.0, 10302608

Scenario:

knife vcenter vm clone -VVV example-01 --datacenter DC --template example_template

Steps to Reproduce:

Executing the knife command from my jenkins server at the command line in linux.
knife.rb is configured and the following commands work.
knife vcenter datacenter list
knife vcenter host list
knife vcenter vm list

Expected Result:

I am expecting to clone a VM from template

Actual Result:

ERROR: knife encountered an unexpected error
This may be a bug in the 'vcenter vm clone' knife command or plugin
Please collect the output of this command with the -VVV option before filing a bug report.
Exception: NoMethodError: undefined method `get_resource_pool' for #Chef::Knife::Cloud::VcenterService:0x00000000066f2f38

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: UntriagedAn issue that has yet to be triaged.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions