Bug 916506
| Summary: | Can not retrieve domain info after migration if domain has applications with aliases | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | OKD | Reporter: | Jianwei Hou <jhou> | ||||||
| Component: | Pod | Assignee: | Lili Nader <lnader> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 2.x | CC: | bmeng, dmcphers, mfisher, qgong | ||||||
| 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: | 2013-03-15 14:00:46 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Jianwei Hou
2013-02-28 07:54:07 UTC
Created attachment 703835 [details]
REST API
Alias does not work for new created app too. On an upgrade and migration env. # rhc app show ruby19 ruby19 @ http://ruby19-bmengdev1.dev.rhcloud.com/ (uuid: 512f230c14db5167c40000f8) ---------------------------------------------------------------------------------- Created: 4:27 AM Gears: 1 (defaults to small) Git URL: ssh://512f230c14db5167c40000f8.rhcloud.com/~/git/ruby19.git/ SSH: 512f230c14db5167c40000f8.rhcloud.com Aliases: foo.bar.com ruby-1.9 (Ruby 1.9) ------------------- Gears: 1 small # ping ruby19-bmengdev1.dev.rhcloud.com PING ec2-54-235-231-197.compute-1.amazonaws.com (54.235.231.197) 56(84) bytes of data. # curl -H "host: foo.bar.com" 54.235.231.197 curl: (7) couldn't connect to host The code for US2448 was removed master last night. So the older apps should work again after upgrade. The new apps would have to be deleted and re-created. Verified on migration env that from devenv_stage_331 to devenv_2878 1.Could show domain that has applications with aliases [qgong@dhcp-10-92 non_scalable]$ rhc domain show Applications in qgong1 domain ----------------------------- redmine @ http://redmine-qgong1.dev.rhcloud.com/ (uuid: 513051ace5a26827c60001ff) --------------------------------------------------------------------------------- Created: 2:58 PM Gears: 1 (defaults to small) Git URL: ssh://513051ace5a26827c60001ff.rhcloud.com/~/git/redmine.git/ SSH: 513051ace5a26827c60001ff.rhcloud.com Aliases: bar.qgong.com ruby-1.8 (Ruby 1.8) ------------------- Gears: Located with mysql-5.1 mysql-5.1 (MySQL Database 5.1) ------------------------------ Gears: Located with ruby-1.8 Connection URL: mysql://127.1.252.1:3306/ Database Name: redmine Password: Gjf2euYiFNRy Username: adminGZz8G1b .... And alias could work qgong@dhcp-10-92 non_scalable]$ curl http://bar.qgong.com <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Redmine</title> <meta name="description" content="Redmine" /> <meta name="keywords" content="issue,bug,tracker" /> <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" /> <meta content="authenticity_token" name="csrf-param" /> <meta content="ipgD+VpzNZ/n3aDtG+rnvvYsm1NH/u5+E8ygawRH8Fs=" name="csrf-token" /> <link rel='shortcut icon' href='/favicon.ico?1362121266' /> <link href="/stylesheets/application.css?1362121266" media="all" rel="stylesheet" type="text/css" /> <script src="/javascripts/prototype.js?1362121266" type="text/javascript"></script> <script src="/javascripts/effects.js?1362121266" type="text/javascript"></script> <script src="/javascripts/dragdrop.js?1362121266" type="text/javascript"></script> <script src="/javascripts/controls.js?1362121266" type="text/javascript"></script> <script src="/javascripts/rails.js?1362121266" type="text/javascript"></script> <script src="/javascripts/application.js?1362121266" type="text/javascript"></script> <script type="text/javascript"> //<![CDATA[ Event.observe(window, 'load', function(){ new WarnLeavingUnsaved('The current page contains unsaved text that will be lost if you leave this page.'); }); //]]> </script> <!--[if IE 6]> <style type="text/css"> * html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); } body {behavior: url(/stylesheets/csshover.htc?1362121266);} </style> |