Code Monkey home page Code Monkey logo

Comments (11)

farhatahmad avatar farhatahmad commented on August 12, 2024 1

Hi @lookas1,

Thanks for reporting this. I've located the cause and am working on the fix for this issue.

from scalelite.

iceraven721 avatar iceraven721 commented on August 12, 2024 1

Thanks for posting this. I eagerly await the fix as I was seeing the same issue when I turned off instances in the pool. If it helps, here's the results of the ./bin/rake status command

~ $ ./bin/rake status
rake aborted!
Net::OpenTimeout: execution expired
/srv/scalelite/app/controllers/concerns/api_helper.rb:49:in `get_post_req'
/srv/scalelite/lib/tasks/status.rake:11:in `block (2 levels) in <main>'
/srv/scalelite/lib/tasks/status.rake:10:in `each'
/srv/scalelite/lib/tasks/status.rake:10:in `block in <main>'
Tasks: TOP => status

from scalelite.

lookas1 avatar lookas1 commented on August 12, 2024

I think the issue is more severe than initially thought. Servers offline in disabled status make greenlight throw same errors on the home page. It seems we need to remove offline servers manually from Scalelite to make cluster work.

from scalelite.

lookas1 avatar lookas1 commented on August 12, 2024

@farhatahmad thanks for taking a look into it. We really appreciate your work around scalelite. Do you think it would be possible to return rake:servers details in XML or JSON so we could parse it for automated hosts add/remove process? Is there any switch or anything like that to set output format?

from scalelite.

farhatahmad avatar farhatahmad commented on August 12, 2024

@lookas1 It's definitely possible, but not at the moment. At the moment it just prints directly to the console.

from scalelite.

lookas1 avatar lookas1 commented on August 12, 2024

@farhatahmad if you can point me the file this issue is located in maybe I could help you fixing it.

from scalelite.

farhatahmad avatar farhatahmad commented on August 12, 2024

https://github.com/blindsidenetworks/scalelite/blob/v1/lib/tasks/servers.rake#L4

That's the rake server task that prints out the list of servers

from scalelite.

farhatahmad avatar farhatahmad commented on August 12, 2024

@iceraven721 The status rake task failing is a separate issue which I've fixed with this PR

from scalelite.

iceraven721 avatar iceraven721 commented on August 12, 2024

@farhatahmad Ah ok. Wasn't sure if it was related since I was having the same issue as this thread. What's the best method to update the new files on the live environment?

Thanks

from scalelite.

farhatahmad avatar farhatahmad commented on August 12, 2024

@iceraven721 You can't update until we release a new version. Once we do, we'll post an announcement with the new features and the instructions to update

from scalelite.

iceraven721 avatar iceraven721 commented on August 12, 2024

@farhatahmad Ah ok. Sounds good.

from scalelite.

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.