Skip to content
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

VM Vsphere clone VM error: AttributeError: 'PyVmomiHelper' object has no attribute 'module' #49487

Closed
caezsar opened this issue Dec 4, 2018 · 7 comments
Assignees
Labels
affects_2.7 This issue/PR affects Ansible v2.7 cloud module This issue/PR relates to a module. support:community This issue/PR relates to code supported by the Ansible community. vmware VMware community

Comments

@caezsar
Copy link

caezsar commented Dec 4, 2018

SUMMARY

When trying to clone a new VM I get this error:

ISSUE TYPE

The error was: AttributeError: 'PyVmomiHelper' object has no attribute 'module'

COMPONENT NAME

lib/ansible/modules/cloud/vmware/vsphere_copy.py

ANSIBLE VERSION
 ansible --version
ansible 2.7.2
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, Oct 30 2018, 23:45:53) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]


EXPECTED RESULTS
ACTUAL RESULTS

@caezsar caezsar changed the title VM Vsphere image built error VM Vsphere clone VM built error Dec 4, 2018
@caezsar caezsar changed the title VM Vsphere clone VM built error VM Vsphere clone VM error: AttributeError: 'PyVmomiHelper' object has no attribute 'module' Dec 4, 2018
@ansibot
Copy link
Contributor

ansibot commented Dec 4, 2018

Files identified in the description:
None

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibot ansibot added affects_2.7 This issue/PR affects Ansible v2.7 needs_triage Needs a first human triage before being processed. support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels Dec 4, 2018
@samdoran samdoran removed the needs_triage Needs a first human triage before being processed. label Dec 4, 2018
@ansibot
Copy link
Contributor

ansibot commented Dec 4, 2018

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibot
Copy link
Contributor

ansibot commented Dec 4, 2018

@ansibot ansibot added cloud module This issue/PR relates to a module. support:community This issue/PR relates to code supported by the Ansible community. vmware VMware community and removed support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels Dec 4, 2018
@Akasurde
Copy link
Member

Akasurde commented Dec 5, 2018

@caezsar Thanks for reporting this issue. This was introduced due to #47313 and resolved by #49421. Could you please check if #49421 fixes the issue for you ? Thanks.

@Akasurde Akasurde self-assigned this Dec 5, 2018
@Akasurde
Copy link
Member

Akasurde commented Dec 5, 2018

Backport for 2.7.5 merged - #49461

@caezsar
Copy link
Author

caezsar commented Dec 5, 2018

Yes...that solved the issue!
Thanks for support!

@caezsar caezsar closed this as completed Dec 5, 2018
@caezsar
Copy link
Author

caezsar commented Dec 5, 2018

Solved via #49421

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.7 This issue/PR affects Ansible v2.7 cloud module This issue/PR relates to a module. support:community This issue/PR relates to code supported by the Ansible community. vmware VMware community
Projects
None yet
Development

No branches or pull requests

4 participants