Skip to content

Connecting the WebUI to an existing cloud #2

@thisismana

Description

@thisismana

Hello,

I got stuck while trying to connect the webUI to our cloudfoundry installation. I changed a lot of properties in the uhuru_webui.yml but still cannot login. I am getting this error:

{"timestamp":1394724369.9763494,"message":"Error while trying to add Owner role to the cloud controller admin for sys-org and monitoring - error response:[
\"/usr/local/rvm/gems/ruby-1.9.3-p484/gems/cf-uaa-lib-2.0.1/lib/uaa/http.rb:112:in `json_parse_reply'\", 
\"/usr/local/rvm/gems/ruby-1.9.3-p484/gems/cf-uaa-lib-2.0.1/lib/uaa/token_issuer.rb:78:in `request_token'\", 
\"/usr/local/rvm/gems/ruby-1.9.3-p484/gems/cf-uaa-lib-2.0.1/lib/uaa/token_issuer.rb:245:in `client_credentials_grant'\", 
\"/home/uhuru-ui/uhuru-webui/lib/users_setup.rb:88:in `get_uaa_client'\", 
\"/home/uhuru-ui/uhuru-webui/lib/users_setup.rb:106:in `uaa_get_users'\", 
\"/home/uhuru-ui/uhuru-webui/lib/webui.rb:80:in `initialize'\", 
\"/usr/local/rvm/gems/ruby-1.9.3-p484/gems/sinatra-1.4.4/lib/sinatra/base.rb:1454:in `new'\", 
\"/usr/local/rvm/gems/ruby-1.9.3-p484/gems/sinatra-1.4.4/lib/sinatra/base.rb:1454:in `new'\", 
\"/home/uhuru-ui/uhuru-webui/lib/runner.rb:102:in `block in run!'\", 
\"/usr/local/rvm/gems/ruby-1.9.3-p484/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `call'\", 
\"/usr/local/rvm/gems/ruby-1.9.3-p484/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run_machine'\", 
\"/usr/local/rvm/gems/ruby-1.9.3-p484/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run'\", 
\"/home/uhuru-ui/uhuru-webui/lib/runner.rb:92:in `run!'\", 
\"webui:11:in `<main>'\"]","log_level":"error","source":"uhuru-webui.runner","data":{},"thread_id":6723600,"fiber_id":21925300,"process_id":24807,"file":"/home/uhuru-ui/uhuru-webui/lib/webui.rb","lineno":98,"method":"rescue in initialize"}

The uaa-URL should be correct. The user I picked is admin. The usersecret is the admin's password. Is that correct or do I need to provide some other "secret"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions