| Summary: | confusing port names in rhc-port-forward | ||
|---|---|---|---|
| Product: | OKD | Reporter: | Linqing Lu <lilu> |
| Component: | Containers | Assignee: | Jhon Honce <jhonce> |
| Status: | CLOSED UPSTREAM | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 1.x | CC: | gshipley, jhonce, max.andersen, rmillner |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-13 22:12:48 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Linqing Lu
2012-02-01 09:32:51 UTC
What output would you expect to see there? We can't auto detect the protocol, and the app name (in the case of java) has the same process id for each port. (In reply to comment #1) > What output would you expect to see there? We can't auto detect the protocol, > and the app name (in the case of java) has the same process id for each port. Since each port here comes from a service we provided when user enabling (like embed) it, I think at least we can maintain a mapping list between services and ports. This list could be updated during services enabling/disabling. And 'rhc-list-ports' can find detailed service info according to corresponding entry in the list then. Does this make sense? Just a thought. I would expect something like: Binding httpd/http -> 127.0.251.2:8080... Binding httpd/http -> 127.0.251.3:8080... Binding java/http -> 127.0.251.1:8080... Binding java/jpda -> 127.0.251.1:8787... Binding mongod/db -> 127.0.251.1:27017... Binding mysqld/db -> 127.0.251.1:3306... Basically: process name/type of connection note, I deliberately put it in a non-spaced string to make it easy to parse ;) To put in context this is the list i'm getting on int, right now: Binding java -> 127.6.29.129:3528... Binding java -> 127.6.29.129:4447... Binding java -> 127.6.29.129:5445... Binding java -> 127.6.29.129:5455... Binding java -> 127.6.29.129:8080... Binding java -> 127.6.29.129:9990... Binding java -> 127.6.29.129:9999... ...how should user know which is which ? or a tool that would like to choose the right port to connect to? |