Coder Social home page Coder Social logo

Comments (12)

drmrbrewer avatar drmrbrewer commented on June 2, 2024 1

I'll keep an eye on it. The context here is that I have an automated process which scales up when high server (swarm) load is detected. Once the new server has been spun up and has been added to the swarm, I wait a short time and then re-scale app instances (to ensure that the new server is actually used, i.e. so that existing services are spread across all available nodes including the new one). I'll check that there isn't a timing issue relating to that, but it's worked flawlessly for a long time now and I've not noticed a problem before now where a new node was not utilised.

from caprover-cli.

githubsaturn avatar githubsaturn commented on June 2, 2024 1

Fixed in 94adca0

v2.0.2

from caprover-cli.

drmrbrewer avatar drmrbrewer commented on June 2, 2024 1

OK I've upgraded to v2.0.2 and will see how it goes. So far, so good.

from caprover-cli.

githubsaturn avatar githubsaturn commented on June 2, 2024

This could be a CLI or the server bug. The build pipeline has recently been refactored.

  1. Can you please downgrade your CLI via npm install -g [email protected] and see whether you're still experiencing the issue?
  2. What version of CapRover are you running on your server?

from caprover-cli.

drmrbrewer avatar drmrbrewer commented on June 2, 2024
  1. Can you please downgrade your CLI via npm install -g [email protected] and see whether you're still experiencing the issue?

Downgraded, and so far I haven't seen this issue.

  1. What version of CapRover are you running on your server?

The very latest... as always... 1.5.2.

I should add that I happened to notice that a newly-added docker swarm node had no load, despite re-scaling several of my apps, whereas other nodes had high load. I did a docker node ps rxlzfd3eiywjt8zsmyv7i1bdd on that node, and there were lots of `Rejected 2 minutes ago "No such image: registry.myserv…" (truncated message). Not sure whether this is related or not to the new CLI.

from caprover-cli.

githubsaturn avatar githubsaturn commented on June 2, 2024

No such image: registry.myserv... has nothing to do with CLI. Most probably, it's even not related to CapRover per se... It's either:

  • Firewall issue: make sure necessary ports are open: https://caprover.com/docs/firewall.html
  • registry issue: if you're using a 3rd party registry, make sure your password and etc is correct.
  • Docker issue: just a bug in Docker swarm?

from caprover-cli.

drmrbrewer avatar drmrbrewer commented on June 2, 2024

nothing to do with CLI

You said above that "This could be a CLI or the server bug. The build pipeline has recently been refactored."

So it could be a CapRover server bug not a CLI bug then?

firewall: possibly but I use a server image that has firewall disabled by default (and I've never had a problem before) so I doubt it.

registry: I don't use a 3rd party registry.

docker issue: possible I guess.

from caprover-cli.

githubsaturn avatar githubsaturn commented on June 2, 2024

So it could be a CapRover server bug not a CLI bug then?

Correct. There's a small chance that it's a CapRover server bug. Is it easy to reproduce with any newly added node?

from caprover-cli.

drmrbrewer avatar drmrbrewer commented on June 2, 2024

@githubsaturn though to be clear, the issue reported in the original post definitely seems to be a bug that needs addressing? That is in response to a manual deploy, nothing to do with auto scaling. Not showing build progress in the CLI (only in the build logs panel of the caprover server) doesn't seem correct.

from caprover-cli.

githubsaturn avatar githubsaturn commented on June 2, 2024

I was hoping this was a server issue, but since you downgraded to the previous version of CLI, you're not seeing this issue. So it tells me this is a CLI issue. I'll look into this asap.

from caprover-cli.

drmrbrewer avatar drmrbrewer commented on June 2, 2024

When will this be available to try?

from caprover-cli.

githubsaturn avatar githubsaturn commented on June 2, 2024

Now

from caprover-cli.

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.