Code Monkey home page Code Monkey logo

Comments (6)

benofben avatar benofben commented on August 27, 2024

If OpsCenter responds with an HTTP 200, then it is running. So, it would be possible to just make a call to the login page like so:
curl http://path-to-ops:8888

We could potentially put this in a polling loop in the script. Need to think about the best way to do that...

from azure-resource-manager-dse.

mahthi avatar mahthi commented on August 27, 2024

Okay. Can we leave this issue open till that work is complete?

from azure-resource-manager-dse.

benofben avatar benofben commented on August 27, 2024

Reopened. Not certain this polling behavior is the best solution. I'd strongly prefer to have something that looks more like proper error handling. We understand that the APIs are changing significantly in the next release. Rather than spending a lot of effort on this now, I'd prefer to wait until those APIs stabilize.

from azure-resource-manager-dse.

benofben avatar benofben commented on August 27, 2024

I should also note, that I've turned the sleep down to 15 seconds again. The time it takes OpsCenter to come up is not dependent on the number of nodes (since the first time it starts, it is unaware how big the cluster will eventually be).

That said, waiting between calls and handling failures would be desirable.

from azure-resource-manager-dse.

mahthi avatar mahthi commented on August 27, 2024

Okay!

from azure-resource-manager-dse.

benofben avatar benofben commented on August 27, 2024

I haven't observed this issue in some time. I believe we've resolved it.

from azure-resource-manager-dse.

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.