Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Failed to configure image with the fleet provided." using latest image #22

Open
TodorKatsarski opened this issue May 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@TodorKatsarski
Copy link

Describe the bug
I'm trying to run a Balena virtual device locally and to register in Balena Cloud, however I see a warning message when I run the image and my device is not visible in my fleet in Balena Cloud. This is the message I see when I run the image:

This version of the balena CLI (15.0.3) has expired: please upgrade.
369 days have passed since the release of CLI version 16.0.0.
See deprecation policy at: https://git.io/JRHUW#deprecation-policy

The --unsupported flag may be used to bypass this deprecation check and
continue using this version of the CLI. However, note that the balenaCloud
or openBalena backends may be updated in a way that is no longer compatible
with this CLI version.

Failed to configure image with the fleet provided.

To Reproduce
Steps to reproduce the behavior:

  1. Run
docker run -it \
    --restart always \
    -v bv_pid:/app/pid \
    --device=/dev/kvm \
    --cap-add=net_admin \
    --network host \
	-e API_TOKEN="" \
	-e FLEET="" \
	-e AZURE_DEVOPS_ACCESSTOKEN="" \
	-e BALENARC_BALENA_URL="balena-cloud.com" \
    ghcr.io/balena-labs-research/balena-virt:latest

Expected behavior
Device is visible in my fleet in Balena cloud.

Device Type: Local machine used for development.

@TodorKatsarski
Copy link
Author

The cause of the issue seems to be the old Balena CLI version. The PR fixes this issue and after the fix I'm able to see my device in Balena cloud without warning messages.

@benclerix-cegeka
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants