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)
- 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
- I can't connect to device - balena ssh <uuid device> - Host <UUID> not found: 2(SERVFAIL) HOT 1
- Ansible playbook to deploy open balena server and admin dashboard
- Quickstart does not work HOT 20
- haproxy:2.9-alpine can not build HOT 3
- DBUS: Communication with NetworkManager not possible anymore from docker container application HOT 1
- make auto-pki Command Takes Excessively Long Time to Complete HOT 3
- configure and connect minio buckets HOT 1
- API service responds with error 520 and constant AccessDenied error in the logs HOT 8
- 'make up' not working HOT 4
- Steps to Change Domain in OpenBalena v3.8.2 and v4.0.13 HOT 7
- What's new in version 4.x? HOT 6
- OpenVPN Issue with "Bad encapsulated packet length from peer" HOT 1
- `make auto-pki` command waits forever HOT 3
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.