I introduced this problem here: "Showing 0 of 1 device pending authorization": device missing in authorization interface not knowing if the two issues where related. Since it seems not to be the case I’m opening a new topic for clarity and better issue tracking
Using Mender Open Source 2.5.0
Creating a deployment targeting a group fails with: “Error creating deployment. internal error [Request ID: ac3001e3]”
Instead if targeting ‘all devices’ there is no error and the deployment goes as expected.
On “Release” tab I click on “CREATE A DEPLOYMENT WITH THIS RELEASE”. Then I select one of the groups I have. Then “NEXT”. Then “CREATE”. Here I have the error.
If instead I select “All devices” instead of a group the error doesn’t happen.
set 30 18:44:21 mender run: mender-deployments_1 | time="2020-09-30T16:44:21Z" level=error msg="tenant ID not present in the context" file=app.go func="app.(*Deployments).CreateDeployment" line set 30 18:44:21 mender run: mender-deployments_1 | time="2020-09-30T16:44:21Z" level=error msg="Internal error" file=view.go func="view.(*RESTView).RenderInternalError" line=58 request_id=e8395 set 30 18:44:21 mender run: mender-deployments_1 | time="2020-09-30T16:44:21Z" level=info msg="500 1078μs POST /api/management/v1/deployments/deployments/group/lorac-dev HTTP/1.1 - Mozilla/5.0
Here the logs of the service from boot, with a failed deployment to a group and a successful deployment to “All devices”:
The machine has Debian Buster installed, docker and docker-compose from Debian repositories:
I previously run on the same machine v2.4.0 of Mender, and I never encountered this problem.
Thank you for your help