GithubHelp home page GithubHelp logo

Comments (9)

geoand avatar geoand commented on May 30, 2024

I would suggest you give this a look first, since I have very little service broker experience and will probably take a lot longer to figure out the issue.

from k8s-infra.

cmoulliard avatar cmoulliard commented on May 30, 2024

issue reported Fail if no etcd hosts group is defined has nothing to do with Service Catalog but due to missing parameter not defined within the simple inventory file ...

from k8s-infra.

cmoulliard avatar cmoulliard commented on May 30, 2024

I will try using the cloud inventory template and ansible-playbook -i inventory/cloud_host playbook/cluster.yml --tags "up"

from k8s-infra.

geoand avatar geoand commented on May 30, 2024

Interesting...

We use the simple inventory file since the only that is needed for all the other roles is the IP address of the machine.

I propose that we keep it simple, and document that the service-catalog can only be used with the cloud_inventory

from k8s-infra.

geoand avatar geoand commented on May 30, 2024

Using the cloud_inventory does work with all roles, that is not a problem

from k8s-infra.

cmoulliard avatar cmoulliard commented on May 30, 2024

No luck as playbook reports

TASK [openshift_service_catalog : Label 192.168.99.50 for APIServer and controller deployment] ***********************************************************************
fatal: [192.168.99.50]: FAILED! => {"changed": false, 
"msg": {"cmd": "/usr/local/bin/oc label node 192.168.99.50 node-role.kubernetes.io/master=true --overwrite", "results": {}, "returncode": 1, 
"stderr": "Error from server (NotFound): nodes \"192.168.99.50\" not found\n", "stdout": ""}}

This is because when oc cluster up is launched using our playbook's role, then the node is created using localhost instead of the ip 192.168.99.50

oc get nodes
NAME        STATUS    ROLES     AGE       VERSION
localhost   Ready     <none>    1m        v1.9.1+a0ce1bc657

from k8s-infra.

geoand avatar geoand commented on May 30, 2024

Interesting...

Although I can definitely understand why would want to have the service-broker work on a cluster provisioned with the cluster role, currently it seems to pose too many problems.
I propose that clearly document that the service-catalog role only be used on a cluster provisioned with openshift-ansibile using the cloud_host inventory file

from k8s-infra.

cmoulliard avatar cmoulliard commented on May 30, 2024

I agree. We will document as you suggested that servicecatalog can't be used with cluster role

from k8s-infra.

geoand avatar geoand commented on May 30, 2024

Sounds good to me :)

from k8s-infra.

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.