{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/42041","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/42041/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/42041/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/42041/events","html_url":"https://github.com/ansible/ansible/issues/42041","id":336584970,"node_id":"MDU6SXNzdWUzMzY1ODQ5NzA=","number":42041,"title":"Openshift DeploymentConfig fails to re-deploy","user":{"login":"ehelms","id":293363,"node_id":"MDQ6VXNlcjI5MzM2Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/293363?v=4","gravatar_id":"","url":"https://api.github.com/users/ehelms","html_url":"https://github.com/ehelms","followers_url":"https://api.github.com/users/ehelms/followers","following_url":"https://api.github.com/users/ehelms/following{/other_user}","gists_url":"https://api.github.com/users/ehelms/gists{/gist_id}","starred_url":"https://api.github.com/users/ehelms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehelms/subscriptions","organizations_url":"https://api.github.com/users/ehelms/orgs","repos_url":"https://api.github.com/users/ehelms/repos","events_url":"https://api.github.com/users/ehelms/events{/privacy}","received_events_url":"https://api.github.com/users/ehelms/received_events","type":"User","site_admin":false},"labels":[{"id":686214011,"node_id":"MDU6TGFiZWw2ODYyMTQwMTE=","url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.5","name":"affects_2.5","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":572364907,"node_id":"MDU6TGFiZWw1NzIzNjQ5MDc=","url":"https://api.github.com/repos/ansible/ansible/labels/deprecated","name":"deprecated","color":"fef2c0","default":false},{"id":496359346,"node_id":"MDU6TGFiZWw0OTYzNTkzNDY=","url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":503572087,"node_id":"MDU6TGFiZWw1MDM1NzIwODc=","url":"https://api.github.com/repos/ansible/ansible/labels/needs_triage","name":"needs_triage","color":"0e8a16","default":false},{"id":383076471,"node_id":"MDU6TGFiZWwzODMwNzY0NzE=","url":"https://api.github.com/repos/ansible/ansible/labels/python3","name":"python3","color":"fbca04","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":942378949,"node_id":"MDU6TGFiZWw5NDIzNzg5NDk=","url":"https://api.github.com/repos/ansible/ansible/labels/traceback","name":"traceback","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-28T11:38:49Z","updated_at":"2018-06-28T16:44:16Z","closed_at":null,"author_association":"CONTRIBUTOR","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\nOpenshift DeploymentConfig fails to update when using strategy parameters.\r\n\r\n```\r\nAn exception occurred during task execution. To see the full traceback, use -vvv. The error was: KeyError: 'rolling_params'\r\nfailed: [localhost] (item=postgres) => changed=false \r\n  item: postgres\r\n  module_stderr: |-\r\n    Traceback (most recent call last):\r\n      File \"/tmp/ansible_QTTRvd/ansible_module_openshift_raw.py\", line 204, in <module>\r\n        main()\r\n      File \"/tmp/ansible_QTTRvd/ansible_module_openshift_raw.py\", line 200, in main\r\n        OpenShiftRawModule().execute_module()\r\n      File \"/tmp/ansible_QTTRvd/ansible_modlib.zip/ansible/module_utils/k8s/raw.py\", line 142, in execute_module\r\n      File \"/tmp/ansible_QTTRvd/ansible_modlib.zip/ansible/module_utils/k8s/helper.py\", line 136, in object_from_params\r\n      File \"/tmp/ansible_QTTRvd/ansible_modlib.zip/ansible/module_utils/k8s/helper.py\", line 301, in __set_obj_attribute\r\n      File \"/tmp/ansible_QTTRvd/ansible_modlib.zip/ansible/module_utils/k8s/helper.py\", line 301, in __set_obj_attribute\r\n      File \"/tmp/ansible_QTTRvd/ansible_modlib.zip/ansible/module_utils/k8s/helper.py\", line 271, in __set_obj_attribute\r\n    KeyError: 'rolling_params'\r\n  module_stdout: ''\r\n  msg: MODULE FAILURE\r\n  rc: 1\r\n```\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\nopenshift_raw\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.5.5\r\n  config file = /home/ehelms/workspace/upstream/forklift/containers/ansible.cfg\r\n  configured module search path = ['/home/ehelms/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']\r\n  ansible python module location = /usr/local/lib/python3.6/site-packages/ansible\r\n  executable location = /usr/local/bin/ansible\r\n  python version = 3.6.2 (default, Sep  1 2017, 12:03:48) [GCC 7.1.1 20170802 (Red Hat 7.1.1-7)]\r\n```\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\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\nUse an Openshift DeploymentConfig with the following section:\r\n\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```yaml\r\n  strategy:\r\n    rollingParams:\r\n      timeoutSeconds: 900\r\n    type: Rolling\r\n\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\n\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\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/401099295","html_url":"https://github.com/ansible/ansible/issues/42041#issuecomment-401099295","issue_url":"https://api.github.com/repos/ansible/ansible/issues/42041","id":401099295,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTA5OTI5NQ==","user":{"login":"fabianvf","id":2431974,"node_id":"MDQ6VXNlcjI0MzE5NzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2431974?v=4","gravatar_id":"","url":"https://api.github.com/users/fabianvf","html_url":"https://github.com/fabianvf","followers_url":"https://api.github.com/users/fabianvf/followers","following_url":"https://api.github.com/users/fabianvf/following{/other_user}","gists_url":"https://api.github.com/users/fabianvf/gists{/gist_id}","starred_url":"https://api.github.com/users/fabianvf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabianvf/subscriptions","organizations_url":"https://api.github.com/users/fabianvf/orgs","repos_url":"https://api.github.com/users/fabianvf/repos","events_url":"https://api.github.com/users/fabianvf/events{/privacy}","received_events_url":"https://api.github.com/users/fabianvf/received_events","type":"User","site_admin":false},"created_at":"2018-06-28T16:44:16Z","updated_at":"2018-06-28T16:44:16Z","author_association":"CONTRIBUTOR","body":"This should be fixed in the k8s module coming in Ansible 2.6 (k8s_raw and openshift_raw will both now execute the k8s module so existing code should still work fine)."}}
{"actor":{"display_login":"fabianvf"}}