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

openBalena: deviceType.getAllSupported() and config.getDeviceTypes() produce unexpected results #1104

Open
pdcastro opened this issue Jun 21, 2021 · 2 comments

Comments

@pdcastro
Copy link

pdcastro commented Jun 21, 2021

Expected Behavior

openBalena users expect that the CLI's balena devices supported command would list the devices actually supported by openBalena (issue balena-io/balena-cli#2281). In turn, it is somewhat expected that the SDK's deviceType.getAllSupported() or config.getDeviceTypes() methods would list the devices actually supported by openBalena when targeting openBalena's API server. The device types supported by openBalena are currently documented in openBalena's README:

https://github.com/balena-io/open-balena#differences-between-openbalena-and-balenacloud
Differences between openBalena and balenaCloud
Supported devices
openBalena: Raspberry Pi family, the Intel NUC, the NVIDIA Jetson TX2, and the balenaFin
balenaCloud: All the devices listed in balena's reference documentation

Actual Behavior

References:

@thgreasi
Copy link
Member

@pdcastro but the SDK already reports as supported only the DT's that the API returns as known, which are based on what is found in the S3 bucket defined in the oB's docker-compose.yml .
I see your point but I'm almost tempted to say that this works as expected atm.
Maybe it's an issue of just setting the correct items in the balenaOS S3 bucket 🤔

@pdcastro
Copy link
Author

pdcastro commented Sep 6, 2021

Connects-to: balena-io/open-balena/issues/129

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants