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
vmware_vswitch doesn't specify host #24647
Comments
Any updates on this? Currently running into the same issue. |
@Shasties Could you please provide output of govc find / command against your VMware setup ? |
When I run it against mine I get a full hierarchy of Datacenter through to datastores, hosts and networks A snippet:
|
Hi @Akasurde Yes - that seems to work. Thanks. |
resolved_by_pr #30498 |
Great job. Thanks. |
Fix adds esxi_hostname as Ansible module argument for user to define ESXi hostname to deploy VMware vSwitch. Fixes: ansible#24647 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Fix adds esxi_hostname as Ansible module argument for user to define ESXi hostname to deploy VMware vSwitch. Fixes: #24647 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
ISSUE TYPE
COMPONENT NAME
vmware_vswitch
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Ubuntu 16.04 LTS
SUMMARY
I'd expect that when running the vmware_vswitch module it would apply the vswitch to the host that the playbook was run against, however it doesn't seem to specify a host at all, and consequently seems to apply the playbook to the wrong host via the vsphere.
STEPS TO REPRODUCE
EXPECTED RESULTS
I expected the vSwitch to be added to the host the playbook was run against via the vSphere specified in hostname.
ACTUAL RESULTS
vSphere showed an attempt to add a switch to a different esxi host and it failed with the error: A general system error occurred: Invalid fault
The text was updated successfully, but these errors were encountered: