Comments (2)
For anyone else following along, esr-images
contains the "Extended Support Release" images as detailed here and is a very limited set of devices:
- beaglebone-black
- ccon-01
- fincm3
- genericx86-64-ext
- intel-nuc
- jetson-tx2
- raspberry-pi
- raspberrypi3-64
- raspberrypi3
- raspberrypi4-64
- revpi-connect
- rockpi-4b-rk3399
- skx2
... so, esr-images
is not what I wanted, as it is missing the 3 device types I actually need 😅
As for the errors, there seem to be certain device types where everything has permissions set to not allow public access for reading files, but still allows listing files. For example, the error above is trying to read https://resin-production-img-cloudformation.s3.amazonaws.com/images/imx8mmebcrs08a1/2.100.3/device-type.json which gives access denied
(as does every other file in images/imx8mmebcrs08a1/*
), this causes contractSync
to be able to enumerate the files but not fetch the device-type.json
and thus the open-balena-api log gets flooded with these errors on first sync.
Seems like there are two possible fixes:
- Fix
resin-production-img-cloudformation
permissions on these device types to either prohibit both LIST and GET, or permit GET. - Create a new ENV variable that can be set for open-balena-api that allows for a list of device-types we actually want. For example:
INCLUDE_IMAGES=iot-gate-imx8,generic-amd64,generic-aarch64
which could filter both thedevice type contracts
pulled from https://github.com/balena-io/contracts and thedevice type information
pulled from https://resin-production-img-cloudformation.s3.amazonaws.com/images/ ... as I would assume no open-balena instance actually needs every possible device type - and if they do, they can just not setINCLUDE_IMAGES
and it would fall back to the current behavior of grabbing everything.
from open-balena.
Closing in favor of balena-io/open-balena-api#1433
from open-balena.
Related Issues (20)
- Cannot provision on balenaOS 2.88.5 HOT 5
- connect to devices behind an SSH Bastion Host by using ssh ProxyCommand or ProxyJump HOT 3
- Registry without volume HOT 2
- Update openVPN certificates and deploy to devices HOT 1
- Supported devices HOT 2
- Error reporting initial configuration when provisioning device HOT 5
- Dependency Dashboard HOT 1
- Renew api/root certificate
- "balena os configure" induces hundreds of AccessDenied errors in api container and crashes HOT 6
- OpenBalena - Mention KVM as Preferred Virtualization HOT 2
- Quickstart script prompting for PEM password when using OpenSSL 3
- Dependency Dashboard
- balena devices supported returns empty array HOT 1
- balena API endpoints for post requests not working HOT 6
- 503 - Service Unavailable HOT 5
- Up to date version of open-balena api requires API_HOST, not HOST env var HOT 1
- device is online=false HOT 1
- deploy multi docker-compose file without replace services HOT 1
- Restricted API keys HOT 2
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 open-balena.