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

Unable to add portgroup #819

Closed
Akasurde opened this issue Aug 20, 2017 · 5 comments · Fixed by #855
Closed

Unable to add portgroup #819

Akasurde opened this issue Aug 20, 2017 · 5 comments · Fixed by #855

Comments

@Akasurde
Copy link
Contributor

While adding portgroup, I get following error message

HostNetworkSystem:hostnetworksystem-85 does not implement: UpdateNetworkConfig
@anfernee
Copy link
Contributor

@Akasurde can you clarify what command did you run, and what version of vcsim did you use? It will be very helpful for us to address the issue.

@Akasurde
Copy link
Contributor Author

This is similar to other Ansible Playbook error.

@Akasurde
Copy link
Contributor Author

Akasurde commented Sep 30, 2017

@anfernee All these requested features are required as these are part of Ansible VMware playbook testing effort. You can check more info about this here. Thanks for your help in advance.

@dougm
Copy link
Member

dougm commented Sep 30, 2017

@Akasurde the wiki page is just a list of govmomi github issues, does not provide any detail. All we need are some steps to reproduce.

@Akasurde
Copy link
Contributor Author

Akasurde commented Oct 1, 2017

I am facing this issue while using vcsim with Ansible VMware module vmware_vmkernel.

vmware_vmkernel.py internally uses an API

host_network_config_result = host_network_system.UpdateNetworkConfig(config, "modify")

I think this function is not implemented in vcsim, so Ansible module fails.

You can use following Ansible playbook to reproduce this error against latest govcsim code.

---
- name: Port group
  hosts: localhost
  vars:
    - vcsim: 0.0.0.0
  tasks:
    - name: add vmkernel
      vmware_vmkernel:
        validate_certs: False
        hostname: "{{ vcsim }}"
        username: user
        password: pass
        vswitch_name: vswitch_0001
        portgroup_name: pg_0001
        vlan_id: 1
        ip_address: 192.168.10.1
        subnet_mask: 255.255.255.0
        enable_mgmt: True
      register: host_system_result_0001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants