Comments (12)
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.
Fixed in 94adca0
v2.0.2
from caprover-cli.
OK I've upgraded to v2.0.2 and will see how it goes. So far, so good.
from caprover-cli.
This could be a CLI or the server bug. The build pipeline has recently been refactored.
- Can you please downgrade your CLI via
npm install -g [email protected]
and see whether you're still experiencing the issue? - What version of CapRover are you running on your server?
from caprover-cli.
- 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.
- 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.
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.
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.
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.
@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.
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.
When will this be available to try?
from caprover-cli.
Now
from caprover-cli.
Related Issues (20)
- Confusing dashboard button aspect HOT 5
- Docker image v2.2.3 is missing
- Error "Cannot find hash of last commit on branch" HOT 18
- PR approved pending publication in NPM HOT 1
- caprover deploy: Cannot find hash of last commit on branch "master" caused by git as root error HOT 12
- GitLab CI/CD Issue HOT 2
- Error: manifest for node:18.00-alpine not found HOT 2
- stuck/hangs when deploying HOT 1
- -t option is used with tarFile and appToken HOT 1
- Something bad happened during authentication HOT 1
- captain-definition file is not a valid JSON! HOT 6
- Fetching build logs when using app access token HOT 2
- Caprover backup using CLI HOT 2
- How to see users in localMachine and change ip? HOT 1
- Is it possible to use --caproverUrl without domain ? HOT 1
- Git error messages are hidden when getting error on a branch
- Error: self signed certificate (Local network) HOT 1
- Title: Issue with Constant.ts file not reflecting environment variable override in built Constants.js HOT 1
- Add environment variables via deploy
- updateConfigAndSave missing some methods
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caprover-cli.