Bug 974034
Summary: | [Origin_runtime_card#137] Cannot list ssl port for app which created via ssl enabled cartridge | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | OpenShift Online | Reporter: | Meng Bo <bmeng> | ||||||||
Component: | Containers | Assignee: | Rob Millner <rmillner> | ||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 2.x | CC: | mfisher | ||||||||
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-06-24 14:54:30 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
Meng Bo
2013-06-13 10:26:36 UTC
The cartridge itself has to open up the port for listening in order for it to show up in rhc-list-ports. Its not enough to just add the ports to the manifest. Also, on devenv/Hosted, cartridges are not allowed to listen to port 8443. If I modify a DIY cartridge to listen to both the SSL and non-SSL connection on different IPs, then I get the following: [rm1-rmillner0130.dev.rhcloud.com 51ba2b5a59e8b7347d000001]\> rhc-list-ports ruby -> 127.0.250.129:8080 ruby -> 127.0.250.130:8080 Created attachment 760942 [details]
Manifest for modified DIY cart.
Created attachment 760943 [details]
start hook for modified diy cart
Created attachment 760944 [details]
diy server that listens to both ports.
Attached the files I changed in the DIY cart. One caveat is that it doesn't seem to actually start SSL on the SSL connection configuration but you can test it for connectivity by going to the following URL: http://${OPENSHIFT_GEAR_DNS}:${OPENSHIFT_DIY_SSL_PROXY_PORT}/ Test on devenv_3361, By Rob's method, App with ssl port 8080 specified can list the ports with different IPs. Access the http:${OPENSHIFT_GEAR_DNS}:${OPENSHIFT_DIY_SSL_PROXY_PORT}/ We can find it is using the OPENSHIFT_DIY_SSL_IP via tcpdump. Move the bug to verified. |