Re: Domain change for CF212 -> how to change the domain for a service broker correctly?
Amit Kumar Gupta
If you changed the app domain in your deployment manifest, it doesn't
delete the old shared domain (since other apps might still be using that
domain), it actually just adds a new shared app domain. If your broker is
running as an app on the platform, it's still bound to the old route using
the old domain. You need to bind a new route with a new domain to it, then
redoing your update-service-broker should work.
On Fri, Mar 11, 2016 at 7:52 AM, Rafal Radecki <radecki.rafal(a)gmail.com>
wrote:
delete the old shared domain (since other apps might still be using that
domain), it actually just adds a new shared app domain. If your broker is
running as an app on the platform, it's still bound to the old route using
the old domain. You need to bind a new route with a new domain to it, then
redoing your update-service-broker should work.
On Fri, Mar 11, 2016 at 7:52 AM, Rafal Radecki <radecki.rafal(a)gmail.com>
wrote:
Hi.
I am in process of changing the domain name for a service broker. I
managed to redeploy CF with updated deployment manifest and all vms which
form the deployment are in running state. I can login to the new endpoint
and list apps, service brokers, etc. I am not able to update the service
brokers though:
$ cf service-brokers | grep broker01
broker01 http://broker01-broker.old_domain
$ cf update-service-broker broker01 user pass
http://broker01-broker.new_domain
Updating service broker broker01 as admin...
FAILED
Server error, status code: 502, error code: 10001, message: The service
broker rejected the request to
http://broker01-broker.new_domain/v2/catalog. Status Code: 404 Not Found,
Body: 404 Not Found: Requested route ('broker01-broker.new_domain') does
not exist.
What is the correct way to update the domain for them?
BR,
Rafal.