Hi,
Can you also clarify the OS that you are using the balena-cli on and whether it’s an npm installation or a standalone one?
Since I see that this image is quite large, can you also try deploying a different test application and confirm whether that also errors?
Thanks for the extra details.
Could you also try a balena deploy with balena-cli v11.31.22 of a test application on a test starter application on balena-cloud?
This could help us rule out whether this might be an issue specific to your open-balena instance.
I can confirm I’m getting the same issue which started a few hours ago. A balena deploy <app-name> --logs gives me these errors:
[Build] Built 4 services in 0:05
[Info] Creating release...
[Info] Pushing images to registry...
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: tag does not exist: registry2.balena-cloud.com/v2/REDACTED:latest
at Stream.<anonymous> (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/docker-progress/index.js:53:19)
at Stream.emit (events.js:315:20)
at Stream.EventEmitter.emit (domain.js:485:12)
at drain (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/through/index.js:36:16)
at Stream.stream.queue.stream.push (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/through/index.js:45:5)
at Parser.parser.onToken (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/JSONStream/index.js:132:18)
at Parser.proto.write (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/jsonparse/jsonparse.js:135:34)
at Stream.<anonymous> (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/JSONStream/index.js:23:12)
at Stream.stream.write (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/through/index.js:26:11)
at IncomingMessage.ondata (_stream_readable.js:707:22)
at IncomingMessage.emit (events.js:315:20)
at IncomingMessage.EventEmitter.emit (domain.js:485:12)
at addChunk (_stream_readable.js:296:12)
at readableAddChunk (_stream_readable.js:272:9)
at IncomingMessage.Readable.push (_stream_readable.js:213:10)
at HTTPParser.parserOnBody (_http_common.js:130:24)
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: tag does not exist: registry2.balena-cloud.com/v2/REDACTED:latest
at Stream.<anonymous> (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/docker-progress/index.js:53:19)
at Stream.emit (events.js:315:20)
at Stream.EventEmitter.emit (domain.js:485:12)
at drain (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/through/index.js:36:16)
at Stream.stream.queue.stream.push (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/through/index.js:45:5)
at Parser.parser.onToken (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/JSONStream/index.js:132:18)
at Parser.proto.write (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/jsonparse/jsonparse.js:135:34)
at Stream.<anonymous> (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/JSONStream/index.js:23:12)
at Stream.stream.write (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/through/index.js:26:11)
at IncomingMessage.ondata (_stream_readable.js:707:22)
at IncomingMessage.emit (events.js:315:20)
at IncomingMessage.EventEmitter.emit (domain.js:485:12)
at addChunk (_stream_readable.js:296:12)
at readableAddChunk (_stream_readable.js:272:9)
at IncomingMessage.Readable.push (_stream_readable.js:213:10)
at HTTPParser.parserOnBody (_http_common.js:130:24)
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: tag does not exist: registry2.balena-cloud.com/v2/REDACTED:latest
at Stream.<anonymous> (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/docker-progress/index.js:53:19)
at Stream.emit (events.js:315:20)
at Stream.EventEmitter.emit (domain.js:485:12)
at drain (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/through/index.js:36:16)
at Stream.stream.queue.stream.push (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/through/index.js:45:5)
at Parser.parser.onToken (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/JSONStream/index.js:132:18)
at Parser.proto.write (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/jsonparse/jsonparse.js:135:34)
at Stream.<anonymous> (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/JSONStream/index.js:23:12)
at Stream.stream.write (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/through/index.js:26:11)
at IncomingMessage.ondata (_stream_readable.js:707:22)
at IncomingMessage.emit (events.js:315:20)
at IncomingMessage.EventEmitter.emit (domain.js:485:12)
at addChunk (_stream_readable.js:296:12)
at readableAddChunk (_stream_readable.js:272:9)
at IncomingMessage.Readable.push (_stream_readable.js:213:10)
at HTTPParser.parserOnBody (_http_common.js:130:24)
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: tag does not exist: registry2.balena-cloud.com/v2/REDACTED:latest
at Stream.<anonymous> (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/docker-progress/index.js:53:19)
at Stream.emit (events.js:315:20)
at Stream.EventEmitter.emit (domain.js:485:12)
at drain (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/through/index.js:36:16)
at Stream.stream.queue.stream.push (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/through/index.js:45:5)
at Parser.parser.onToken (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/JSONStream/index.js:132:18)
at Parser.proto.write (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/jsonparse/jsonparse.js:135:34)
at Stream.<anonymous> (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/JSONStream/index.js:23:12)
at Stream.stream.write (/home/linuxbrew/.linuxbrew/Cellar/balena-cli/11.31.22/libexec/lib/node_modules/balena-cli/node_modules/through/index.js:26:11)
at IncomingMessage.ondata (_stream_readable.js:707:22)
at IncomingMessage.emit (events.js:315:20)
at IncomingMessage.EventEmitter.emit (domain.js:485:12)
at addChunk (_stream_readable.js:296:12)
at readableAddChunk (_stream_readable.js:272:9)
at IncomingMessage.Readable.push (_stream_readable.js:213:10)
at HTTPParser.parserOnBody (_http_common.js:130:24)
[Info] Saving release...
[Success] Deploy succeeded!
[Success] Release: REDACTED
\
\
\\
\\
>\/7
_.-(6' \
(=___._/` \
) \ |
/ / |
/ > /
j < _\
_.-' : ``.
\ r=._\ `.
<`\\_ \ .`-.
\ r-7 `-. ._ ' . `\
\`, `-.`7 7) )
\/ \| \' / `-._
|| .'
\\ (
>\ >
,.-' >.'
<.'_.''
<'
I reverted all of my changes and found that the exact same deploy from this morning that worked fine is now failing.
Looks like you’re at the balena-cli v11.31.22 and balena deploy failed, can you please confirm that?
If possible, can you please downgrade to some old versions and see which one is working for you? It will really help us narrow down the problem.
Hey, https://github.com/balena-io/balena-cli/pull/1774 should fix those error messages. As far as I can tell the generated releases from my testing still look correct though so the releases should work
[Error] Deploy failed
images.push is not iterable (cannot read property Symbol(Symbol.iterator))
TypeError: images.push is not iterable (cannot read property Symbol(Symbol.iterator))
at authorizePush (/usr/local/lib/node_modules/balena-cli/build/utils/compose.js:397:12)
at /usr/local/lib/node_modules/balena-cli/build/utils/compose.js:456:40
From previous event:
at /usr/local/lib/node_modules/balena-cli/build/utils/compose.js:456:18
at processImmediate (internal/timers.js:456:21)
at process.topLevelDomainCallback (domain.js:137:15)
From previous event:
at /usr/local/lib/node_modules/balena-cli/build/utils/compose.js:452:14
From previous event:
at Object.deployProject (/usr/local/lib/node_modules/balena-cli/build/utils/compose.js:449:10)
at /usr/local/lib/node_modules/balena-cli/build/actions/deploy.js:104:24
at processImmediate (internal/timers.js:456:21)
at process.topLevelDomainCallback (domain.js:137:15)
From previous event:
at /usr/local/lib/node_modules/balena-cli/build/actions/deploy.js:103:22
From previous event:
at /usr/local/lib/node_modules/balena-cli/build/actions/deploy.js:86:8
From previous event:
at deployProject (/usr/local/lib/node_modules/balena-cli/build/actions/deploy.js:52:72)
at /usr/local/lib/node_modules/balena-cli/build/actions/deploy.js:199:16
at processImmediate (internal/timers.js:456:21)
at process.topLevelDomainCallback (domain.js:137:15)
From previous event:
at /usr/local/lib/node_modules/balena-cli/build/actions/deploy.js:198:22
From previous event:
at Command.action (/usr/local/lib/node_modules/balena-cli/build/actions/deploy.js:195:8)
at /usr/local/lib/node_modules/balena-cli/node_modules/capitano/build/command.js:98:37
at runNextTicks (internal/process/task_queues.js:62:5)
at processImmediate (internal/timers.js:429:9)
at process.topLevelDomainCallback (domain.js:137:15)
i downgrade the cli to 11.31.17 and deploy the build successfully.
The “tag does not exist” error was fixed in CLI v11.31.23
The “images.push is not iterable” error was fixed in CLI v11.31.24
They were caused by maintenance work on the CLI codebase (a conversion away from CoffeeScript) which unfortunately fell through the testing cracks. The affected CLI releases were 11.31.18 to 11.31.22. Sorry for the trouble this has caused, and thanks to everyone in this thread who reported the errors and helped us get them resolved.