Bug 819984 - domain#update doesn't handle all gears (particularly scaled ones)
Summary: domain#update doesn't handle all gears (particularly scaled ones)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ---
Assignee: Ram Ranganathan
QA Contact: libra bugs
URL:
Whiteboard:
: 819993 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-08 19:29 UTC by Dan McPherson
Modified: 2015-05-15 01:53 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-14 17:22:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dan McPherson 2012-05-08 19:29:27 UTC
Description of problem:

scale gears aren't updated when update namespace
we need to do a check in stage and prod for whether any existing apps are in this state.  May require a migration fix.


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


How reproducible:


Steps to Reproduce:
1. Create a scaled app
2. Update namespace
3.
  
Actual results:
gears aren't changed on node or in dns


Expected results:
they should be


Additional info:

Comment 2 Dan McPherson 2012-05-09 14:28:39 UTC
Hi Xiaoli,

  I think it was just just the dns that was broken.  Not the env var but the actual DNS entry.  So if you would ping the old gear the dns entry was still there.  But pinging the gear in the new namespace would have not found anything in dns.

Comment 3 Krishna Raman 2012-05-09 15:03:51 UTC
*** Bug 819993 has been marked as a duplicate of this bug. ***

Comment 4 Peter Ruan 2012-05-11 03:39:04 UTC
verified with devevn-stg_189

Comment 5 Xiaoli Tian 2012-05-11 10:44:16 UTC
Checked again on devenv-stage_193, 

This bug may be partially fixed: 

The DNS itself is fixed, the old gear dns can not be accessed anymore and the new gear dns could be accessed.

But the entry in haproxy.cfg is still not updated, the new domain is doma001, but it's still using the old domain "doma00" :

" server gear-4fdd18229c-doma00 10.118.193.75:35536 check fall 2 rise 3 inter 2000 cookie 4fdd18229c-doma00 "

Should this be fixed as well?

Comment 6 Dan Mace 2012-05-11 13:18:50 UTC
@xiaoli,

We have a bz logged for the haproxy.cfg issue:

https://bugzilla.redhat.com/show_bug.cgi?id=811671

Comment 7 Xiaoli Tian 2012-05-11 13:43:12 UTC
Thanks, Dan Mace

I've updated summary of bug 811671, then let that bug to track it.


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