Plan uri returned from create plans cannot be used in more complex environments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Solum |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
When POSTing /v1/plans, the plan URI returned maps to a [PROTOCOL]
Example:
- client makes a POST to https:/
- example.com is a load balancer than sends a request to 25.0.0.0:443
- nginx listens on port 443 on that node and forwards the request to solum's port 9777
- plan is created and the URL is set to http://
The user cannot use the above url because:
- s/he doesn't have access to localhost
- s/he doesn't have access to port 9777
Possible solution here is to use a relative URI in the redirect instead of a URL.