{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/43821","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/43821/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/43821/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/43821/events","html_url":"https://github.com/ansible/ansible/issues/43821","id":348694504,"node_id":"MDU6SXNzdWUzNDg2OTQ1MDQ=","number":43821,"title":"Cannot change MTU of vSwitch with devel version","user":{"login":"Straevaras","id":785616,"node_id":"MDQ6VXNlcjc4NTYxNg==","avatar_url":"https://avatars1.githubusercontent.com/u/785616?v=4","gravatar_id":"","url":"https://api.github.com/users/Straevaras","html_url":"https://github.com/Straevaras","followers_url":"https://api.github.com/users/Straevaras/followers","following_url":"https://api.github.com/users/Straevaras/following{/other_user}","gists_url":"https://api.github.com/users/Straevaras/gists{/gist_id}","starred_url":"https://api.github.com/users/Straevaras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Straevaras/subscriptions","organizations_url":"https://api.github.com/users/Straevaras/orgs","repos_url":"https://api.github.com/users/Straevaras/repos","events_url":"https://api.github.com/users/Straevaras/events{/privacy}","received_events_url":"https://api.github.com/users/Straevaras/received_events","type":"User","site_admin":false},"labels":[{"id":835286067,"node_id":"MDU6TGFiZWw4MzUyODYwNjc=","url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.6","name":"affects_2.6","color":"ededed","default":false},{"id":785271699,"node_id":"MDU6TGFiZWw3ODUyNzE2OTk=","url":"https://api.github.com/repos/ansible/ansible/labels/bug","name":"bug","color":"fbca04","default":true},{"id":61528803,"node_id":"MDU6TGFiZWw2MTUyODgwMw==","url":"https://api.github.com/repos/ansible/ansible/labels/cloud","name":"cloud","color":"c7def8","default":false},{"id":814251818,"node_id":"MDU6TGFiZWw4MTQyNTE4MTg=","url":"https://api.github.com/repos/ansible/ansible/labels/has_pr","name":"has_pr","color":"1d76db","default":false},{"id":496359346,"node_id":"MDU6TGFiZWw0OTYzNTkzNDY=","url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":636327968,"node_id":"MDU6TGFiZWw2MzYzMjc5Njg=","url":"https://api.github.com/repos/ansible/ansible/labels/support:community","name":"support:community","color":"ededed","default":false},{"id":427121291,"node_id":"MDU6TGFiZWw0MjcxMjEyOTE=","url":"https://api.github.com/repos/ansible/ansible/labels/vmware","name":"vmware","color":"d93f0b","default":false}],"state":"closed","locked":false,"assignee":{"login":"Akasurde","id":633765,"node_id":"MDQ6VXNlcjYzMzc2NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/633765?v=4","gravatar_id":"","url":"https://api.github.com/users/Akasurde","html_url":"https://github.com/Akasurde","followers_url":"https://api.github.com/users/Akasurde/followers","following_url":"https://api.github.com/users/Akasurde/following{/other_user}","gists_url":"https://api.github.com/users/Akasurde/gists{/gist_id}","starred_url":"https://api.github.com/users/Akasurde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akasurde/subscriptions","organizations_url":"https://api.github.com/users/Akasurde/orgs","repos_url":"https://api.github.com/users/Akasurde/repos","events_url":"https://api.github.com/users/Akasurde/events{/privacy}","received_events_url":"https://api.github.com/users/Akasurde/received_events","type":"User","site_admin":false},"assignees":[{"login":"Akasurde","id":633765,"node_id":"MDQ6VXNlcjYzMzc2NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/633765?v=4","gravatar_id":"","url":"https://api.github.com/users/Akasurde","html_url":"https://github.com/Akasurde","followers_url":"https://api.github.com/users/Akasurde/followers","following_url":"https://api.github.com/users/Akasurde/following{/other_user}","gists_url":"https://api.github.com/users/Akasurde/gists{/gist_id}","starred_url":"https://api.github.com/users/Akasurde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akasurde/subscriptions","organizations_url":"https://api.github.com/users/Akasurde/orgs","repos_url":"https://api.github.com/users/Akasurde/repos","events_url":"https://api.github.com/users/Akasurde/events{/privacy}","received_events_url":"https://api.github.com/users/Akasurde/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-08-08T11:58:37Z","updated_at":"2018-08-09T17:58:07Z","closed_at":"2018-08-09T13:30:05Z","author_association":"NONE","body":"<!---\r\nVerify first that your issue/request is not already reported on GitHub.\r\nTHIS FORM WILL BE READ BY A MACHINE, COMPLETE ALL SECTIONS AS DESCRIBED.\r\nAlso test if the latest release, and devel branch are affected too.\r\nALWAYS add information AFTER (OUTSIDE) these html comments.\r\nOtherwise it may end up being automatically closed by our bot. -->\r\n\r\n##### SUMMARY\r\n<!--- Explain the problem briefly -->\r\nUsing a recent PR https://github.com/ansible/ansible/pull/43414 to fix an error (reference https://github.com/ansible/ansible/issues/42619) with vSwitch configuration, I noticed that I'm not able to update the MTU of a vSwitch if it has no NICs listed.\r\n\r\n##### ISSUE TYPE\r\n - Bug Report\r\n\r\n##### COMPONENT NAME\r\n<!--- Insert, BELOW THIS COMMENT, the name of the module, plugin, task or feature.\r\nDo not include extra details here, e.g. \"vyos_command\" not \"the network module vyos_command\" or the full path-->\r\nvmware_vswitch\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste, BELOW THIS COMMENT, verbatim output from \"ansible --version\" between quotes below -->\r\n```\r\nansible 2.6.2\r\n```\r\nWith changes made in https://github.com/ansible/ansible/pull/43414/files/7ab62b1a0866ef37cf856dc8bb2f53757f4f152c\r\n\r\n##### CONFIGURATION\r\n<!--- If using Ansible 2.4 or above, paste, BELOW THIS COMMENT, the results of \"ansible-config dump --only-changed\"\r\nOtherwise, mention any settings you have changed/added/removed in ansible.cfg\r\n(or using the ANSIBLE_* environment variables).-->\r\n\r\n##### OS / ENVIRONMENT\r\n<!--- Mention, BELOW THIS COMMENT, the OS you are running Ansible from, and the OS you are\r\nmanaging, or say \"N/A\" for anything that is not platform-specific.\r\nAlso mention the specific version of what you are trying to control,\r\ne.g. if this is a network bug the version of firmware on the network device.-->\r\nCentOS 7 3.10.0-862.9.1.el7.x86_64\r\n\r\n##### STEPS TO REPRODUCE\r\n<!--- For bugs, show exactly how to reproduce the problem, using a minimal test-case.\r\nFor new features, show how the feature would be used. -->\r\n\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```yaml\r\n- hosts: all\r\n  gather_facts: no\r\n  vars:\r\n    - hypervisor_username: <user>\r\n    - hypervisor_password: <pass>\r\n    - esx_hostname: <ip>\r\n  tasks:\r\n    - name: Add/Update vSwitch\r\n      vmware_vswitch:\r\n        hostname: \"{{esx_hostname}\"\r\n        username: \"{{hypervisor_username}}\"\r\n        password: \"{{hypervisor_password}}\"\r\n        validate_certs: no\r\n        switch: \"{{item.name}}\"\r\n        nics: \"{{item.nics}}\"\r\n        mtu: \"{{item.mtu}}\"\r\n        state: present\r\n      delegate_to: localhost\r\n      with_items:\r\n        - {name: INTERNAL, mtu: 9000, nics: []}\r\n```\r\n\r\n<!--- You can also paste gist.github.com links for larger files -->\r\n\r\n##### EXPECTED RESULTS\r\n<!--- What did you expect to happen when running the steps above? -->\r\nExpected the MTU of an existing vSwitch named INTERNAL to change to 9000.  The MTU before was at 1500.\r\n\r\n##### ACTUAL RESULTS\r\n<!--- What actually happened? If possible run with extra verbosity (-vvvv) -->\r\nMTU did not change to 9000, instead stayed at 1500.\r\n<!--- Paste verbatim command output between quotes below -->\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/411843973","html_url":"https://github.com/ansible/ansible/issues/43821#issuecomment-411843973","issue_url":"https://api.github.com/repos/ansible/ansible/issues/43821","id":411843973,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTg0Mzk3Mw==","user":{"login":"Straevaras","id":785616,"node_id":"MDQ6VXNlcjc4NTYxNg==","avatar_url":"https://avatars1.githubusercontent.com/u/785616?v=4","gravatar_id":"","url":"https://api.github.com/users/Straevaras","html_url":"https://github.com/Straevaras","followers_url":"https://api.github.com/users/Straevaras/followers","following_url":"https://api.github.com/users/Straevaras/following{/other_user}","gists_url":"https://api.github.com/users/Straevaras/gists{/gist_id}","starred_url":"https://api.github.com/users/Straevaras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Straevaras/subscriptions","organizations_url":"https://api.github.com/users/Straevaras/orgs","repos_url":"https://api.github.com/users/Straevaras/repos","events_url":"https://api.github.com/users/Straevaras/events{/privacy}","received_events_url":"https://api.github.com/users/Straevaras/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T17:58:07Z","updated_at":"2018-08-09T17:58:07Z","author_association":"NONE","body":"@Akasurde Yes it does, thank you!"}}
{"actor":{"display_login":"Straevaras"}}