balena-sdk-python icon indicating copy to clipboard operation
balena-sdk-python copied to clipboard

Device `restart_service` fails silently

Open pipex opened this issue 1 year ago • 1 comments

Replication steps

>>> from balena import Balena
>>> balena = Balena()
>>> credentials = { 'username':'[email protected]', 'password': '******' }
>>> balena.auth.login(**credentials)
>>> balena.models.device.restart_service('uuid', 1234)

Nothing is returned from the last command, and the service is not restarted on the dashboard.

Tested with the latest balena-sdk version (14.4.0)

pipex avatar Dec 06 '23 21:12 pipex

[pipex] This has attached https://jel.ly.fish/9f385775-5f0e-4d94-b90f-e9cc406ca908

jellyfish-bot avatar Dec 06 '23 21:12 jellyfish-bot

Fixed in v14.4.4 with https://github.com/balena-io/balena-sdk-python/pull/359

cywang117 avatar May 24 '24 19:05 cywang117