Bug 1612093
Summary: | Different users running upgrades from the same host causes conflict over file: /tmp/cert-expiry-report.html | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Justin Pierce <jupierce> |
Component: | Installer | Assignee: | Michael Gugino <mgugino> |
Status: | CLOSED ERRATA | QA Contact: | Gaoyun Pei <gpei> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.11.0 | CC: | aos-bugs, jokerman, mmccomas |
Target Milestone: | --- | ||
Target Release: | 3.11.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-11 07:23:29 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Justin Pierce
2018-08-03 13:03:10 UTC
Same applies to /tmp/cert-expiry-report.json We need to make sure that we're creating unique tempdir per run and using that. In openshift-ansible-3.11.0-0.12.0 Verify this bug with openshift-ansible-3.11.0-0.16.0.git.0.e82689aNone.noarch. The html and json report would be copied to user's own home dir with timestamp. 1. Run 3.10 to 3.11 upgrade as user1 TASK [openshift_certificate_expiry : Generate expiration report HTML] ******************************************************************************************************* changed: [ec2-34-228-230-143.compute-1.amazonaws.com -> localhost] => {"changed": true, "checksum": "9ef75568088c70927315572216a55a9028d7084a", "dest": "/home/user1/cert-expiry-report.20180816T061013.html", "gid": 1002, "group": "user1", "md5sum": "fc99ebbbaf23200dba73ac70dbf24e0a", "mode": "0664", "owner": "user1", "secontext": "unconfined_u:object_r:user_home_t:s0", "size": 4839, "src": "/home/user1/.ansible/tmp/ansible-tmp-1534414219.67-125264013360188/source", "state": "file", "uid": 1002} TASK [openshift_certificate_expiry : Generate results JSON file] ************************************************************************************************************ changed: [ec2-34-228-230-143.compute-1.amazonaws.com -> localhost] => {"changed": true, "checksum": "dd207e1b6bebd9f0ef5274bcfe4095c84dba2d1f", "dest": "/home/user1/cert-expiry-report.20180816T061013.json", "gid": 1002, "group": "user1", "md5sum": "9bbda912a248c6e77917a251f69b886c", "mode": "0664", "owner": "user1", "secontext": "unconfined_u:object_r:user_home_t:s0", "size": 480, "src": "/home/user1/.ansible/tmp/ansible-tmp-1534414222.05-84948013888706/source", "state": "file", "uid": 1002} 2. Run 3.10 to 3.11 upgrade as user2 TASK [openshift_certificate_expiry : Generate expiration report HTML] ******************************************************************************************************* changed: [ec2-34-228-230-143.compute-1.amazonaws.com -> localhost] => {"changed": true, "checksum": "b1afd89d0c9ad3648c0d1cef56d2fba170d654c9", "dest": "/home/user2/cert-expiry-report.20180816T061413.html", "gid": 1003, "group": "user2", "md5sum": "076cde1a8ba23d9ab3f1e4811d6bfd2e", "mode": "0664", "owner": "user2", "secontext": "unconfined_u:object_r:user_home_t:s0", "size": 4839, "src": "/home/user2/.ansible/tmp/ansible-tmp-1534414459.3-12129705807138/source", "state": "file", "uid": 1003} TASK [openshift_certificate_expiry : Generate results JSON file] ************************************************************************************************************ changed: [ec2-34-228-230-143.compute-1.amazonaws.com -> localhost] => {"changed": true, "checksum": "e408d643ed8e42a50ffd866968913913ad80f147", "dest": "/home/user2/cert-expiry-report.20180816T061413.json", "gid": 1003, "group": "user2", "md5sum": "e84b2ab2ab3cdff88b6adc5e40688013", "mode": "0664", "owner": "user2", "secontext": "unconfined_u:object_r:user_home_t:s0", "size": 480, "src": "/home/user2/.ansible/tmp/ansible-tmp-1534414461.84-191176885436782/source", "state": "file", "uid": 1003} Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:2652 |