cloudfoundry-attic / cfdev

A fast and easy local Cloud Foundry experience on native hypervisors, powered by LinuxKit with VPNKit
Apache License 2.0
227 stars 64 forks source link

bosh login failed #87

Closed betht1220 closed 5 years ago

betht1220 commented 5 years ago

I tried to "bosh login" using credential "ops_manager" and its $BOSH_CLIENT_SECRET, but got Failed to authenticate with UAA

Where can I find credentials to "bosh login" - Thanks

cf-gitbot commented 5 years ago

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

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

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

aemengo commented 5 years ago

Running “cf dev bosh env” should output the environment variables. “cf dev bosh” should give you instructions on how to load these variables into your shell.

Does that work for you?

betht1220 commented 5 years ago

yes, it works. Thank you @aemengo

betht1220 commented 5 years ago

Don't know why I have to issue the load command every so often to bosh login. I should only need to load it once, correct? Also, can you tell me the URL to credhub associated with the pcfdev cloud foundry deployment? or this is not the right forum for pcfdev.?

aemengo commented 5 years ago

Don't know why I have to issue the load command every so often to bosh login. I should only need to load it once, correct?

Yes, you should only have to load it once, once per shell session. If you are entering new console windows, you'll have to perform the load command again.

Also, can you tell me the URL to credhub associated with the pcfdev cloud foundry deployment?

The BOSH director credhub can be found at 10.144.0.2:8844. The internal credhub that utilized for PAS deployment is not accessible from outside of the VM

is this the right forum for pcfdev.?

Yes, it is :)