cf-drain-cli
cf-drain-cli copied to clipboard
Space drain create fails with route conflict
I'm creating a space drain in each of my spaces (development, staging, production). The first space completes fine, but the additional invocations fail because the route already exists. Is the route even needed?
$ cf drain-space --drain-name ${app_name}-space-drain ${logstash_url}
Downloading latest space drain from github...
Done downloading space drain from github.
Creating app logstack-space-drain in org gsa-datagov / space management as [email protected]...
OK
Using route logstack-space-drain.app.cloud.gov
Binding logstack-space-drain.app.cloud.gov to logstack-space-drain...
The route logstack-space-drain.app.cloud.gov is already in use.
TIP: Change the hostname with -n HOSTNAME or use --random-route to generate a new route and then push again.
We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.
The labels on this github issue will be updated when the story is started.