Bug 833029 - Symbolic link and http proxy config files are not cleaned up from source node after move mysql gear from one node to another node.
Summary: Symbolic link and http proxy config files are not cleaned up from source node...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Ram Ranganathan
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-18 12:18 UTC by Johnny Liu
Modified: 2015-05-14 22:55 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-25 18:27:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Johnny Liu 2012-06-18 12:18:24 UTC
Description of problem:
After move mysql gear from source node to target node, check the souce node, found the Symbolic link for mysql gear is still listed there.

Version Release number of selected component (if applicable):
devenv_1850

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Johnny Liu 2012-06-18 12:25:45 UTC
Not only symbolic link for mysql gear is not deleted, but also http proxy files files are also left.

[root@ip-10-72-198-196 stickshift]# rhc-admin-move --gear_uuid 2fa64831207044bdab1ee43d4507502b -i  ip-10-110-81-169
<--snip-->
Successfully moved 'myapp1' with gear uuid '2fa64831207044bdab1ee43d4507502b' from 'ip-10-72-198-196' to 'ip-10-110-81-169


[root@ip-10-72-198-196 stickshift]# ls .httpd.d/2fa64831207044bdab1ee43d4507502b_jialiu_2fa6483120
00000_default.conf  mysql-5.1.conf

Comment 2 Jhon Honce 2012-06-18 17:28:42 UTC
Please include the commands you used to create the gear. I have not been able to reproduce with a 2-node setup.

Comment 3 Ram Ranganathan 2012-06-19 01:13:26 UTC
Fixed with git commits 44abb1a735c8b23c97ccbc59f14e15575f8bb861  and  d2494625f7cf56f14402000d05ab5eb07634f36a.  

There were fixes needed for deconfigure to occur in the gear move code + there are fixes to create/remove the unobsfucated links.

Comment 4 Rony Gong 🔥 2012-06-19 08:34:07 UTC
verified on devenv_1857

both mysql gear foler and symbol link delete in source node, and in .http.d can't see the mysql gear information.

Comment 5 Johnny Liu 2012-06-20 07:18:11 UTC
This bug has been fixed, so clean needinfo flag.


Note You need to log in before you can comment on or make changes to this bug.