Code Monkey home page Code Monkey logo

Comments (5)

lionelvillard avatar lionelvillard commented on June 19, 2024 1

@paolo yes this is more an issue about exposing the error at the CR level (inside status). Originally I had only the Binding object stuck in Pending state, and I had not idea why.

Now it is all working like a charm :-)

from cloud-operators.

lionelvillard avatar lionelvillard commented on June 19, 2024

logs:


{"level":"info","ts":1571344992.572309,"logger":"binding","msg":"Binding could not read service","cloudant":"Service.ibmcloud.ibm.com \"cloudant\" not found"}

from cloud-operators.

pdettori avatar pdettori commented on June 19, 2024

The plan Alias should be applied to a Service CR, not to a Binding (see https://github.com/IBM/cloud-operators/blob/master/docs/user-guide.md#referencing-an-existing-service ). Is this issue more about not getting some message about the error in the status then about binding ?

from cloud-operators.

vazirim avatar vazirim commented on June 19, 2024

This should be written as:

apiVersion: ibmcloud.ibm.com/v1alpha1
kind: Service
metadata:
    name: cloudant
spec:
    plan: Alias
    serviceName: cloudant
    serviceClass: cloudantnosqldb
---
apiVersion: ibmcloud.ibm.com/v1alpha1
kind: Binding
metadata:
  name: binding-cloudant
spec:
  serviceName: cloudant

The binding is failing because we are getting a 500 error from Bluemix. Investigating...

from cloud-operators.

vazirim avatar vazirim commented on June 19, 2024

In the original yaml, the plan:alias is ignored, the Binding object is just waiting for its service to be online and that is what the log message is indicating.

from cloud-operators.

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.