GithubHelp home page GithubHelp logo

Comments (4)

jmrodri avatar jmrodri commented on June 14, 2024 1

@abessifi I think you need to add the namespace to the openshift section of the broker configmap. So determine the namespace of the broker and the secret, they should be the same. Then update the broker configmap and in the openshift section:

openshift:
  host: ""
  ca_file: ""
  bearer_token_file: ""
  image_pull_policy: "IfNotPresent"
  sandbox_role: "edit"
  keep_namespace: false
  keep_namespace_on_error: true
  namespace: PUTNAMESPACEOFBROKERHERE

Then restart the broker so it can re-read the config. Based one what I've seen in the code I think that will fix it. Because the error Unable to load secret 'aws-access-secret' from namespace '' occurs because the namespace being passed to the function is read from the openshift section of the config.

from ansible-service-broker.

jmrodri avatar jmrodri commented on June 14, 2024

Thanks for posting, I will investigate this issue.

from ansible-service-broker.

abessifi avatar abessifi commented on June 14, 2024

Thanks @jmrodri.
I can give any further details if required.

from ansible-service-broker.

abessifi avatar abessifi commented on June 14, 2024

Thanks @jmrodri

Now it works correctly!

[2019-03-06T22:36:21.319Z] [INFO] - Request: "GET /aws-service-broker/v2/catalog HTTP/1.1\r\nHost: aws-asb.aws-service-broker.svc:1338\r\nAccept-Encoding: gzip\r\nUser-Agent: Go-http-client/1.1\r\nX-Broker-Api-Version: 2.13\r\n\r\n"
[2019-03-06T22:36:21.319Z] [INFO] - AnsibleBroker::Catalog
10.129.4.1 - - [06/Mar/2019:22:36:21 +0000] "GET /aws-service-broker/v2/catalog HTTP/1.1" 200 390087

I just opened an issue to update the OCP official documentation according to your fix.

from ansible-service-broker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.