Bug 1105843 - enhance oo-admin-ctl-app with ability to add/remove alias
Summary: enhance oo-admin-ctl-app with ability to add/remove alias
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Linux
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Lili Nader
QA Contact: libra bugs
URL:
Whiteboard:
Depends On: 1109646
Blocks: 1109549
TreeView+ depends on / blocked
 
Reported: 2014-06-08 07:11 UTC by ray
Modified: 2015-05-15 00:28 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1109549 (view as bug list)
Environment:
Last Closed: 2014-07-15 10:30:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
here is my cname (210.13 KB, image/png)
2014-06-08 07:11 UTC, ray
no flags Details
it's my domin (155.33 KB, image/png)
2014-06-12 01:43 UTC, ray
no flags Details
adn this is my new cloudfare setting (266.56 KB, image/png)
2014-06-12 01:50 UTC, ray
no flags Details

Description ray 2014-06-08 07:11:45 UTC
Created attachment 903209 [details]
here is my cname

Description of problem:
i already changed the CNAME to the openshift app's address.why it allways says' Alias soga.ga is already registered.'but i try another random domain(such as soga.so) is ok.
and when i run ' rhc app show -a myapp' i cannot saw the Alias while openshift say it is already registered.
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
bug?

Comment 1 ray 2014-06-08 09:25:13 UTC
i changed to use Cloudflare DNS:  still doesn't work for my openshift app.allways say"Alias soga.ga is already registered.
soga.ga
is an alias of python-tvvocold.rhcloud.com
Automatic

CNAME
*
is an alias of python-tvvocold.rhcloud.com
Automatic

CNAME
www
is an alias of python-tvvocold.rhcloud.com

Comment 2 Andy Grimm 2014-06-11 14:21:50 UTC
Someone already has configured an alias for www.soga.ga for their openshift site, but I see that you have the permission to change the DNS records for the domain.  We have not had this situation arise before, so I will need to discuss with the team to see whether we can remove the alias for the other app.

Comment 3 ray 2014-06-12 01:43:25 UTC
Created attachment 907893 [details]
it's my domin

it's my domain

Comment 4 ray 2014-06-12 01:44:07 UTC
(In reply to Andy Grimm from comment #2)
> Someone already has configured an alias for www.soga.ga for their openshift
> site, but I see that you have the permission to change the DNS records for
> the domain.  We have not had this situation arise before, so I will need to
> discuss with the team to see whether we can remove the alias for the other
> app.
check out the new Attachments,i can prove that!

Comment 5 ray 2014-06-12 01:50:01 UTC
Created attachment 907894 [details]
adn this is my new cloudfare setting

Comment 7 Lili Nader 2014-06-12 19:53:53 UTC
Ray,
What is your username on openshift?

Comment 8 Lili Nader 2014-06-12 19:59:32 UTC
Ray,
Do you have multiple accounts on Openshift?

Comment 10 ray 2014-06-13 00:11:39 UTC
(In reply to Lili Nader from comment #8)
> Ray,
> Do you have multiple accounts on Openshift?

tvvocold
no,i donot

Comment 13 Lili Nader 2014-06-13 05:34:22 UTC
Ray, we are working on resolving the issue.

Comment 14 ray 2014-06-13 11:14:46 UTC
(In reply to Lili Nader from comment #13)
> Ray, we are working on resolving the issue.

OK,,,ASAP,plz

Comment 15 openshift-github-bot 2014-06-13 18:25:44 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/c197c5a07f2e36c8c9cd359e71e2d0d2e885732c
Bug 1105843 - added add/remove alias functionality to oo-admin-ctl-app

Comment 16 Andy Grimm 2014-06-13 19:11:38 UTC
Ray, you should now be able to claim the aliases for www.soga.ga and origin.soga.ga

Comment 17 ray 2014-06-15 05:59:34 UTC
(In reply to Andy Grimm from comment #16)
> Ray, you should now be able to claim the aliases for www.soga.ga and
> origin.soga.ga

thx!

Comment 18 Liang Xia 2014-06-17 02:57:26 UTC
Verified on QE's environment ( devenv_4874 ) with following steps, works fine.

1. Create 2 apps named app1, app2.  Apps created successfully.
2. Create alias for app1,  app1.alias.  Alias added successfully.
3. Try to add the same alias to app2.  Show alias already registered.
4. Remove alias via admin using oo-admin-ctl-app.  Show success.
5. Add the same alias to app2.   Alias added successfully.
6. Try to add the same alias to app1 again.  Show alias already registered.




Hi ray,

Could you kindly confirm that whether you can use the aliase for www.soga.ga and origin.soga.ga so we can moving on (verify this bug or assign back to dev to fix ).

Thanks,
Liang

Comment 19 Liang Xia 2014-06-18 05:20:41 UTC
Move to verified based on #comment 18


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