Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cf unset-space-role takes wrong api hostname and fails #1134

Closed
ssurenr opened this issue May 8, 2017 · 3 comments
Closed

cf unset-space-role takes wrong api hostname and fails #1134

ssurenr opened this issue May 8, 2017 · 3 comments
Labels

Comments

@ssurenr
Copy link

ssurenr commented May 8, 2017

Command

cf unset-space-role xxx sampleorg samplespace SpaceDeveloper

What occurred

Error performing request: dial tcp: lookup api.sys.us1.covapp.iodevelopers: no such host

What you expected to occur

After deleting user, I expected a OK message.

CLI Version

cf version 6.22.2+a95e24c-2016-10-27 and cf version 6.26.0+9c9a261fd.2017-04-06

CC API Endpoint Version

2.36.0

CF Trace

REQUEST: [2017-05-08T12:40:22+05:30]
DELETE /?async=true HTTP/1.1
Host: api.sys.us1.covapp.iodevelopers
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Connection: close
Content-Type: application/json
User-Agent: go-cli 6.22.2+a95e24c / darwin

Platform & Shell Details

Mac OS X Sierra Terminal

Any other relevant information

The URL construction is wrong. Appending "developer" to API URL

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/145014529

The labels on this github issue will be updated when the story is started.

@dkoper
Copy link

dkoper commented May 8, 2017

Hi @ssurenr

I was able to reproduce it. We'll investigate. Thanks for the report!

Regards,
Dies Koper
CF CLI PM

@dkoper
Copy link

dkoper commented Jun 9, 2017

Resolved in 6.27.0. Thanks for reporting.
https://github.com/cloudfoundry/cli#downloads

Cheers,
Dies Koper
CF CLI PM

@dkoper dkoper closed this as completed Jun 9, 2017
@cf-gitbot cf-gitbot removed the accepted label Jun 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants