Description of problem: -> Upgrading from 3.7.23 to 3.7.44 fails with the error -> Deleting the project request template before upgrading seems to alleviatre the problem. Version-Release number of the following components: rpm -q openshift-ansible rpm -q ansible ansible --version How reproducible: Upgrade from 3.7.23 to 3.7.44 without deleting the project request template Steps to Reproduce: 1. 2. 3. Actual results: ``` TASK [openshift_project_request_template : Create or update project request template] *** fatal: [hostname.example.com]: FAILED! => {"changed": true, "cmd": ["oc", "--config", "/etc/origin/master/admin.kubeconfig", "--namespace", "default", "apply", "--filename", "/tmp/openshift-ansible-KnDekj.yaml"], "delta": "0:00:01.164031", "end": "2018-05-02 15:01:51.351039", "msg": "non-zero return code", "rc": 1, "start": "2018-05-02 15:01:50.187008", "stderr": "The templates \\"project-request\\" is invalid: metadata.resourceVersion: Invalid value: 0x0: must be specified for an update", "stderr_lines": ["The templates \\"project-request\\" is invalid: metadata.resourceVersion: Invalid value: 0x0: must be specified for an update"], "stdout": "", "stdout_lines": []} ``` Expected results: Upgrade should complete Additional info: Logs attached
This is simply running `oc apply` against the template from comment 3. It seems like `oc apply` is not behaving as expected.
rpm versions: openshift-ansible-3.7.42-1.git.2.9ee4e71.el7.noarch ansible-2.4.3.0-1.el7.ans.noarch #ansible --version ansible 2.4.3.0 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible python version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] I will get back with the requested information (templates)
yes, export strips important information the exact template as it exists retrieved from the API, and the exact template being applied are what is needed
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days