Unable to create redirect_prefix without specifying a full URL
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octavia |
New
|
Undecided
|
Unassigned |
Bug Description
I want all my requests to be redirected with the path '/api/v1' as instructed by HAProxy [https:/
[https:/
[https:/
[https:/
[https:/
[https:/
I can submit a patch if this is confirmed.
To summarize, you would like to be able to do something like:
openstack loadbalancer l7policy create --action REDIRECT_PREFIX --redirect-prefix /api/v2 --name l7p1 listener1
openstack loadbalancer l7rule create --compare-type STARTS_WITH --type PATH --value /api/v2 --invert l7p1
Right now --redirect-prefix /api/v2 is rejected because it doesn't contain a scheme or an hostname
Let's discuss it with the team, I don't know if there's a reason to not allow it.