Bug 1124022
Summary: | oo-broker clean-up code is unreliable | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Miciah Dashiel Butler Masters <mmasters> |
Component: | Pod | Assignee: | Abhishek Gupta <abhgupta> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.x | CC: | fli, jokerman, mmccomas |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-10-10 00:49:51 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
Miciah Dashiel Butler Masters
2014-07-28 20:31:31 UTC
Commit pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/4229cd1222b35789b63feccdf82e355a7443d43a oo-broker: improve clean-up code Use trap EXIT in oo-broker and oo-broker-modify in order to clean up the cidfile and container more reliably. This commit fixes bug 1124022. Verified on devenv_5027 there was not a file in /tmp/openshift/ [root@ip-10-63-162-136 ~]# oo-broker oo-admin-ctl-user -l fli --setmaxgears 20 from /var/www/openshift/broker/config/environment.rb:14:in `<top (required)>' from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require' from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require' from /usr/sbin/oo-admin-ctl-user:645:in `<main>' ^C[root@ip-10-63-162-136 ~]ls /tmp/openshift/ [root@ip-10-63-162-136 ~]# |