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

Please provide builds for Debian 12 armhf & arm64 #7118

Closed
stefanb2 opened this issue Sep 29, 2023 · 36 comments
Closed

Please provide builds for Debian 12 armhf & arm64 #7118

stefanb2 opened this issue Sep 29, 2023 · 36 comments

Comments

@stefanb2
Copy link

Raspberry Pi 5 is coming soon. Along with its release Raspi OS will be rebased to Debian 12.

F.ex. moby-engine already supports this platform.

Please provide builds for Debian 12 armhf & arm64 and also push them to the production package repository.

@stefanb2
Copy link
Author

To whom it may concern: initial testing shows that Debian 11/arm64 packages install & work fine on Debian 12/arm64.

Copy link

This issue is being marked as stale because it has been open for 30 days with no activity.

@gimmi
Copy link

gimmi commented Mar 18, 2024

Please also add support for amd64 that as of 04-2024 is still missing

@bishal41
Copy link
Contributor

@stefanb2 apologies for the late response. We triaged this few months ago and have an item in our backlog for Debian 12 support. We will keep you posted on the progress.

@gimmi your ask is also for Debian12 amd64 support correct?

@gimmi
Copy link

gimmi commented Apr 12, 2024

Yes, we need amd64 support.

So far I've managed to have a Debian12 + iotedge working by "backporting" some Debian11 packages and use the IotEdge Debian 11 build as follows:

wget http://ftp.it.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1w-0+deb11u1_amd64.deb -O /tmp/libssl1.1.deb
chmod 777 /tmp/libssl1.1.deb
apt install /tmp/libssl1.1.deb

wget https://github.com/Azure/azure-iotedge/releases/download/1.4.33/aziot-identity-service_1.4.8-1_debian11_amd64.deb -O /tmp/aziot-identity-service.deb
chmod 777 /tmp/aziot-identity-service.deb
apt install /tmp/aziot-identity-service.deb

wget https://github.com/Azure/azure-iotedge/releases/download/1.4.33/aziot-edge_1.4.33-1_debian11_amd64.deb -O /tmp/aziot-edge.deb
chmod 777 /tmp/aziot-edge.deb
apt install /tmp/aziot-edge.deb

That works, but is not optimal and can have unexpected side effects.

@gimmi
Copy link

gimmi commented May 13, 2024

Hello,

iotedge 1.5 LTS has just been released, which dropped support for Debian 10.

Do we have some update on Debian 12 support?

@ljubisa-dobric
Copy link

Hello all,
I am also interested in Debian 12 or Ubuntu 24.04 support? Is there any plan when this will be released?

@bishal41
Copy link
Contributor

Hi, we are targeting end of August 2024 to include Debian 12 support.

@engineirik
Copy link

Hi, we are targeting end of August 2024 to include Debian 12 support.

Hi, this is good news. Is the plan still on track? Can we expect it to be available at the end of August 2024?

@bishal41
Copy link
Contributor

Barring we don't run into any technical hurdles; we are still targeting to add Debian 12 support by end of August 2024.

@Muximize
Copy link

Will Ubuntu 24.04 LTS be supported too?

@zaphod-pab
Copy link

thank you folks for working on this. eagerly awaiting aziot-edge support for ubuntu noble.

@egil
Copy link

egil commented Aug 26, 2024

@bishal41 are the end of August 2024 still looking good?

We have a few PI 5 devices that do not play nice with Ubuntu 22.04 so it would be extremely helpful to us :)

@wbunthof
Copy link

Another up for Debian 12 AMD64.
Want to use it in WSL, and all our edge devices are going to be migrated to Debian 12.

@zaphod-pab
Copy link

@bishal41 are the end of August 2024 still looking good?

We have a few PI 5 devices that do not play nice with Ubuntu 22.04 so it would be extremely helpful to us :)

I am in the exact same situation. Our RPi5 devices are running on 23.10 (using the 22.04 iotedge packages) and we'd love to get to a clean setup with LTS

@egil
Copy link

egil commented Aug 26, 2024

@zaphod-pab are you able to share a guide on getting 23.10 (or 24.04) running on a RPi5? We are fighting with it and not winning right now :)

@zaphod-pab
Copy link

@zaphod-pab are you able to share a guide on getting 23.10 (or 24.04) running on a RPi5? We are fighting with it and not winning right now :)

nothing really fancy, I'm afraid. we're using

not sure if any of this helps ... I'm afraid I can't share much more detail as I am no expert in how to set up the azure side of things

@bishal41
Copy link
Contributor

bishal41 commented Aug 26, 2024

Hi, both Debian 12 and Ubuntu 24.04 release are in progress, it's week to week at this point. Below are the PRs where you can monitor the progress.

@bishal41
Copy link
Contributor

Hi all, Debian 12 and Ubuntu 24.04 are now available via our latest release, see https://github.com/Azure/azure-iotedge/releases for more details

@gimmi
Copy link

gimmi commented Sep 10, 2024

Nice! will test in the newxt few days.

@zaphod-pab
Copy link

Thank you for the great work!

@engineirik
Copy link

Awesome! Thanks!

@richardNieuwlandAlten
Copy link

@bishal41 , tnx a lot. But i'm not sure how to install this version, when i follow the 'normal edge install' i get an E: unable to locate package aziot-edge. In the documentation for installing specific version (https://learn.microsoft.com/en-us/azure/iot-edge/how-to-provision-single-device-linux-symmetric?view=iotedge-1.5&tabs=azure-portal%2Cubuntu#offline-or-specific-version-installation-optional) it's stating: Find the aziot-identity-service file that matches your IoT Edge device's architecture. Right-click on the file link and copy the link address. But where an i find this ?

@martin-stangel
Copy link

Unfortunatelly, it seems that currently only armhf architecture is supported for Debian 12. arm64 is not yet and Raspberry needs arm64. You can check:

The 1st one contains aziot-edge, the 2nd one does not.

@bishal41 Could you please comment on availability of debian package for arm64 architecture? Thanks a lot!

@bishal41
Copy link
Contributor

@martin-stangel all supported platforms, and the architecture support are listed here --> https://learn.microsoft.com/en-us/azure/iot-edge/support?view=iotedge-1.5

Anything beyond what is not listed in the link above is not in the scope.

@gimmi
Copy link

gimmi commented Sep 18, 2024

amd64 build are not available in the Microsoft package repository for Debian 12, however you can download it from release page and install like in the following example:

wget https://github.com/Azure/azure-iotedge/releases/download/1.5.10/aziot-identity-service_1.5.3-1_debian12_amd64.deb -O /tmp/aziot-identity-service.deb
chmod 777 /tmp/aziot-identity-service.deb
sudo apt install /tmp/aziot-identity-service.deb

wget https://github.com/Azure/azure-iotedge/releases/download/1.5.10/aziot-edge_1.5.10-1_debian12_amd64.deb -O /tmp/aziot-edge.deb
chmod 777 /tmp/aziot-edge.deb
sudo apt install /tmp/aziot-edge.deb

@Clockwork-Muse
Copy link

.... Raspberry Pi4 and later only come in Armv8/Arm64 and the default distro is Debian-based, so essentially the Tier 1 support is only for Pi3 and before. Presumably many other devices are also going to be migrating to Arm64 as well (and/or RISC V, but that's a bit future).

@martin-stangel
Copy link

@gimmi Thanks a lot! This will work for me.

Unfortunately, the official tutorial from Microsoft mentions only installation via apt-get install from packages-microsoft-prod.deb, so I didn't know I am supposed to download the deb files manually.

Perhaps, the tutorial could be updated by Microsoft.

@stefanb2
Copy link
Author

stefanb2 commented Sep 19, 2024

@bishal41

@martin-stangel all supported platforms, and the architecture support are listed here --> https://learn.microsoft.com/en-us/azure/iot-edge/support?view=iotedge-1.5

Anything beyond what is not listed in the link above is not in the scope.

To quote from this page:

Tier 2

The systems listed in the following table are considered compatible with Azure IoT Edge, but aren't actively tested or maintained by Microsoft.

Important

Support for these systems is best effort and may require you reproduce the issue on a tier 1 supported system.

What I DO NOT see in that policy:

  • we do not generate and release artifacts on GitHub for Tier 2 platforms.
  • we do not push release artifacts from GitHub to the package repository for Tier 2 platforms.

Why is then that the only packages missing for an Azure IoT Edge installation on a Tier 2 platform from the package repository, are aziot-edge & aziot-identity-service?

Instead of repeating the same Tier 2 nonsense every time this topic is raised, the Azure IoT Edge project should choose between

  • remove all Tier 2 platform packages from the package repository, f.ex. moby-engine, or
  • remove the manual filter for Tier 2 platforms from the release script for aziot-edge & aziot-identity-service

Do one, but not both, and stop confusing people.

@patheikkinen
Copy link

Instead of repeating the same Tier 2 nonsense every time this topic is raised, the Azure IoT Edge project should choose between

* remove all Tier 2 platform packages from the package repository, f.ex. `moby-egnine`, or

* remove the manual filter for Tier 2 platforms from the release script for  `azure-edge` & `azure-identity-service`

Do one, but not both, and stop confusing people.

My vote would go for the second option (in the hypothetical case that anyone asked :) ).

@damonbarry
Copy link
Member

@martin-stangel We can look into promoting Debian 12 amd64 and aarch64 to Tier 1 and publishing the deb files to packages.microsoft.com. We already have most of what we need to do that.

@stefanb2 I think part of the confusion here is that moby-engine is not part of the IoT Edge product. We take a dependency on it, but it's published and serviced by an entirely different team on its own schedule and with its own support policies.

You said:

Why is then that the only packages missing for an Azure IoT Edge installation on a Tier 2 platform from the package repository, are aziot-edge & aziot-identity-service?

...but the thing is, aziot-edge and aziot-identity-service are the only two packages that comprise IoT Edge.

@stefanb2
Copy link
Author

@damonbarry

@martin-stangel We can look into promoting Debian 12 amd64 and aarch64 to Tier 1 and publishing the deb files to packages.microsoft.com. We already have most of what we need to do that.

Nobody has requested that. This view is only supported when interpreting something into the policy ("we do not push to package repository for Tier 2") what the documented Azure IoT Edge policy doesn't say.

@stefanb2 I think part of the confusion here is that moby-engine is not part of the IoT Edge product. We take a dependency on it, but it's published and serviced by an entirely different team on its own schedule and with its own support policies.

This argument is based on company internals, not something that is written in the Azure IoT Edge documentation.

...but the thing is, aziot-edge and aziot-identity-service are the only two packages that comprise IoT Edge.

A distinction that a customer doesn't get when reading the official Azure IoT Edge documentation. Without Azure IoT Edge a customer wouldn't consider to install Moby artifacts from the Microsoft package repository.

@martin-stangel
Copy link

martin-stangel commented Sep 25, 2024

@martin-stangel We can look into promoting Debian 12 amd64 and aarch64 to Tier 1 and publishing the deb files to packages.microsoft.com. We already have most of what we need to do that.

@damonbarry That would make life for me easier. Thank you.

However, I would still suggest to update also documentation.
This block of documentation doesn't mention downloading deb files manually from release page at all. So installation steps for Tier 2 platforms could be added there.

On top of that, the topmost release at release page currently contains only source code. So every time I looked there I didn't see deb files there (which are only stored for the penultimate release)

@damonbarry
Copy link
Member

@martin-stangel @stefanb2 I agree that the documentation can be clarified, both in terms of policy and implementation; we'll work on that. We can also update the language on the release pages in GitHub to be more precise about the component versions that map to a given product version, and where you can find the corresponding bits.

@bishal41
Copy link
Contributor

Hey folks - we took the feedback and updated the docs. Debian 12 is also now listed as Tier 1 supported OS platform for all architectures. Thanks!

@stefanb2
Copy link
Author

It seems that a certain place has frozen over.

Hey folks - we took the feedback and updated the docs. Debian 12 is also now listed as Tier 1 supported OS platform for all architectures. Thanks!

@bishal41 Thanks. Finally I can remove all special installation code from the pi-gen scripts...

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

No branches or pull requests