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

Issues to deploy the solution #78

Open
saramonteiro opened this issue Apr 10, 2022 · 1 comment
Open

Issues to deploy the solution #78

saramonteiro opened this issue Apr 10, 2022 · 1 comment

Comments

@saramonteiro
Copy link

saramonteiro commented Apr 10, 2022

This issue is for a: (mark with an x)

- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

This is an issue only to report the problems I faced trying to deploy this solution and how far I got to reach:

Because of the usage of Python 3.5, I needed to update the Dockerfiles to use a pip version < 21, since from pip version 21+ support for Python 3.5 an Python 2.7 was dropped. See https://pip.pypa.io/en/stable/news/#id176.

I also needed to update the requirements to use the azure-iot-device package instead of azure-iothub-device-client. See: https://pypi.org/project/iothub-client/ and https://pypi.org/project/azure-iot-device/.

After doing these changes, I finally got to build the images and deploy it.
I also updated the edgeHub and edgeAgent to version 1.2.
After a while, finally the camera and the classifier were listed in the device using the command sudo iotedge list. But both failed.
I went to the troubleshooting in the portal and here is the log:
myrasp_$edgeAgent_Logs.txt

From this point on, I was not able identify what the problem really is to fix it.

I am using a Raspberry Pi 4 as the IoT Edge Device.

@bufu2012
Copy link

Totally correct @saramonteiro

As well it is possible to update the ubuntu version to the current one (ubuntu:20.04) and edit the requirements to use the azure-iot-device package instead of azure-iothub-device-client

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