{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/36564","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/36564/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/36564/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/36564/events","html_url":"https://github.com/ansible/ansible/issues/36564","id":299248777,"number":36564,"title":"Unable to update Zone Extensible Attribute","user":{"login":"Sunil788","id":5936426,"avatar_url":"https://avatars1.githubusercontent.com/u/5936426?v=4","gravatar_id":"","url":"https://api.github.com/users/Sunil788","html_url":"https://github.com/Sunil788","followers_url":"https://api.github.com/users/Sunil788/followers","following_url":"https://api.github.com/users/Sunil788/following{/other_user}","gists_url":"https://api.github.com/users/Sunil788/gists{/gist_id}","starred_url":"https://api.github.com/users/Sunil788/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sunil788/subscriptions","organizations_url":"https://api.github.com/users/Sunil788/orgs","repos_url":"https://api.github.com/users/Sunil788/repos","events_url":"https://api.github.com/users/Sunil788/events{/privacy}","received_events_url":"https://api.github.com/users/Sunil788/received_events","type":"User","site_admin":false},"labels":[{"id":686214011,"url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.5","name":"affects_2.5","color":"ededed","default":false},{"id":48276055,"url":"https://api.github.com/repos/ansible/ansible/labels/bug_report","name":"bug_report","color":"fbca04","default":false},{"id":496359346,"url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":593252542,"url":"https://api.github.com/repos/ansible/ansible/labels/net_tools","name":"net_tools","color":"fbca04","default":false},{"id":339653091,"url":"https://api.github.com/repos/ansible/ansible/labels/networking","name":"networking","color":"c7def8","default":false},{"id":636327968,"url":"https://api.github.com/repos/ansible/ansible/labels/support:community","name":"support:community","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":{"login":"privateip","id":414626,"avatar_url":"https://avatars1.githubusercontent.com/u/414626?v=4","gravatar_id":"","url":"https://api.github.com/users/privateip","html_url":"https://github.com/privateip","followers_url":"https://api.github.com/users/privateip/followers","following_url":"https://api.github.com/users/privateip/following{/other_user}","gists_url":"https://api.github.com/users/privateip/gists{/gist_id}","starred_url":"https://api.github.com/users/privateip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privateip/subscriptions","organizations_url":"https://api.github.com/users/privateip/orgs","repos_url":"https://api.github.com/users/privateip/repos","events_url":"https://api.github.com/users/privateip/events{/privacy}","received_events_url":"https://api.github.com/users/privateip/received_events","type":"User","site_admin":false},"assignees":[{"login":"privateip","id":414626,"avatar_url":"https://avatars1.githubusercontent.com/u/414626?v=4","gravatar_id":"","url":"https://api.github.com/users/privateip","html_url":"https://github.com/privateip","followers_url":"https://api.github.com/users/privateip/followers","following_url":"https://api.github.com/users/privateip/following{/other_user}","gists_url":"https://api.github.com/users/privateip/gists{/gist_id}","starred_url":"https://api.github.com/users/privateip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privateip/subscriptions","organizations_url":"https://api.github.com/users/privateip/orgs","repos_url":"https://api.github.com/users/privateip/repos","events_url":"https://api.github.com/users/privateip/events{/privacy}","received_events_url":"https://api.github.com/users/privateip/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ansible/ansible/milestones/11","html_url":"https://github.com/ansible/ansible/milestone/11","labels_url":"https://api.github.com/repos/ansible/ansible/milestones/11/labels","id":2644825,"number":11,"title":"2.5.0","description":"","creator":{"login":"gundalow","id":940557,"avatar_url":"https://avatars1.githubusercontent.com/u/940557?v=4","gravatar_id":"","url":"https://api.github.com/users/gundalow","html_url":"https://github.com/gundalow","followers_url":"https://api.github.com/users/gundalow/followers","following_url":"https://api.github.com/users/gundalow/following{/other_user}","gists_url":"https://api.github.com/users/gundalow/gists{/gist_id}","starred_url":"https://api.github.com/users/gundalow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gundalow/subscriptions","organizations_url":"https://api.github.com/users/gundalow/orgs","repos_url":"https://api.github.com/users/gundalow/repos","events_url":"https://api.github.com/users/gundalow/events{/privacy}","received_events_url":"https://api.github.com/users/gundalow/received_events","type":"User","site_admin":false},"open_issues":80,"closed_issues":399,"state":"open","created_at":"2017-07-17T13:35:32Z","updated_at":"2018-02-28T15:58:38Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2018-02-22T07:35:55Z","updated_at":"2018-02-28T15:58:38Z","closed_at":"2018-02-28T15:58:38Z","author_association":"NONE","body":"<!---\r\nVerify first that your issue/request is not already reported on GitHub.\r\nAlso test if the latest release, and devel branch are affected too.\r\n-->\r\n\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest -->\r\n - Bug Report\r\n\r\n##### COMPONENT NAME\r\n<!---\r\nName 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\n-->\r\n- nios_zone\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from \"ansible --version\" between quotes below -->\r\n```\r\nansible 2.5.0b2\r\n  config file = None\r\n  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']\r\n  ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible-2.5.0b2-py2.7.egg/ansible\r\n  executable location = /usr/local/bin/ansible\r\n  python version = 2.7.12 (default, Nov 20 2017, 18:23:56) [GCC 5.4.0 20160609]\r\n```\r\n\r\n##### OS / ENVIRONMENT\r\n<!---\r\nMention 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\n-->\r\n- Ubuntu 16.04.3 LTS\r\n\r\n##### SUMMARY\r\n<!--- Explain the problem briefly -->\r\nUnable to update Extensible Attribute for an existing Zone\r\n##### STEPS TO REPRODUCE\r\n<!---\r\nFor 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- Run a playbook to create Zone with Extensible Attribute\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```yaml\r\n    - name: Create Zone with Extensible Attribute\r\n      nios_zone:\r\n        name: ansibletest.com\r\n        extattrs:\r\n          Site: India\r\n        provider: \"{{ provider }}\"\r\n        state: present\r\n\r\n```\r\nZone is created with EA Successfully\r\n- Now run again playbook to update the EA from Site: India to Site: USA\r\n```yaml\r\n    - name: Update Zone with Extensible Attribute\r\n      nios_zone:\r\n        name: ansibletest.com\r\n        extattrs:\r\n          Site: USA\r\n        provider: \"{{ provider }}\"\r\n        state: present\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\n- EA should get successfully updated for the given Zone\r\n##### ACTUAL RESULTS\r\n<!--- What actually happened? If possible run with extra verbosity (-vvvv) -->\r\n\r\n<!--- Paste verbatim command output between quotes below -->\r\n```\r\nThe full traceback is:\r\n  File \"/tmp/ansible_Stl3vo/ansible_modlib.zip/ansible/module_utils/net_tools/nios/api.py\", line 146, in _invoke_method\r\n    return method(*args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/********_client/connector.py\", line 41, in callee\r\n    return func(*args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/********_client/connector.py\", line 430, in update_object\r\n    code=r.status_code)\r\n\r\nfatal: [10.35.2.77]: FAILED! => {\r\n    \"changed\": false,\r\n    \"code\": \"Client.Ibap.Proto\",\r\n    \"failed\": true,\r\n    \"invocation\": {\r\n        \"module_args\": {\r\n            \"comment\": null,\r\n            \"extattrs\": {\r\n                \"Site\": \"USA\"\r\n            },\r\n            \"fqdn\": \"ansibletest.com\",\r\n            \"grid_primary\": null,\r\n            \"grid_secondaries\": null,\r\n            \"name\": \"ansibletest.com\",\r\n            \"provider\": {\r\n                \"host\": \"10.35.2.77\",\r\n                \"http_pool_connections\": 10,\r\n                \"http_pool_maxsize\": 10,\r\n                \"http_request_timeout\": 10,\r\n                \"max_results\": 1000,\r\n                \"max_retries\": 3,\r\n                \"password\": \"VALUE_SPECIFIED_IN_NO_LOG_PARAMETER\",\r\n                \"silent_ssl_warnings\": true,\r\n                \"ssl_verify\": false,\r\n                \"username\": \"admin\",\r\n                \"wapi_version\": \"1.4\"\r\n            },\r\n            \"state\": \"present\",\r\n            \"view\": \"default\"\r\n        }\r\n    },\r\n    \"msg\": \"Field is not allowed for update: fqdn\",\r\n    \"operation\": \"update_object\",\r\n    \"type\": \"AdmConProtoError\"\r\n}\r\n        to retry, use: --limit @/root/Ansible_Tests/zone-testcases.retry\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/369285928","html_url":"https://github.com/ansible/ansible/issues/36564#issuecomment-369285928","issue_url":"https://api.github.com/repos/ansible/ansible/issues/36564","id":369285928,"user":{"login":"gundalow","id":940557,"avatar_url":"https://avatars1.githubusercontent.com/u/940557?v=4","gravatar_id":"","url":"https://api.github.com/users/gundalow","html_url":"https://github.com/gundalow","followers_url":"https://api.github.com/users/gundalow/followers","following_url":"https://api.github.com/users/gundalow/following{/other_user}","gists_url":"https://api.github.com/users/gundalow/gists{/gist_id}","starred_url":"https://api.github.com/users/gundalow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gundalow/subscriptions","organizations_url":"https://api.github.com/users/gundalow/orgs","repos_url":"https://api.github.com/users/gundalow/repos","events_url":"https://api.github.com/users/gundalow/events{/privacy}","received_events_url":"https://api.github.com/users/gundalow/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T15:58:38Z","updated_at":"2018-02-28T15:58:38Z","author_association":"CONTRIBUTOR","body":"https://github.com/ansible/ansible/pull/36673 is merged so closing this"}}
{"actor":{"display_login":"gundalow"}}