For the past couple of days I’ve been geeting random errors when deploying and updating machines.
It seems random because if I retry to deploy again, often it works.
This just happened now:
-------
Updating existing machines in '...' with rolling strategy
-------
✖ [1/4] Machine 328744d4ae4585 [app] update failed: failed to update VM 328744d4ae4585: request returned non-2xx status, 502
[2/4] Waiting for job
[3/4] Waiting for job
[4/4] Waiting for job
-------
WARN failed to release lease for machine 9e784902f52083: lease not found
WARN failed to release lease: lease not found
Error: failed to update VM 328744d4ae4585: request returned non-2xx status, 502 (Request ID: 01HG19P45EH3NXW9HQ8FV3QM0J-qro)
This is a very small Node app with this docker config:
FROM node:18-alpine3.15
USER root
WORKDIR /usr/src/app
COPY package.json .
COPY package-lock.json .
RUN npm i --production
COPY . .
ENV NODE_ENV production
ENV PORT 8080
ENV HOST 0.0.0.0
CMD ["node", "index.js"]
Is there an on-going issue with machines I’m not aware of?
Edit:
For example. Just retried and now only 2 machines were updated:
-------
Updating existing machines in '...' with rolling strategy
-------
✔ [1/4] Machine 328744d4ae4585 [app] update succeeded
✔ [2/4] Machine 32874599c32085 [app] update succeeded
✖ [3/4] Machine 91857e4c441498 [app] update failed: failed to update VM 91857e4c441498: request returned non-2xx status, 502
✖ [4/4] Machine 9e784902f52083 [app] update canceled
-------