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

reboot and reopen handling for #30

Closed
TMHBOFH opened this issue Dec 8, 2023 · 2 comments
Closed

reboot and reopen handling for #30

TMHBOFH opened this issue Dec 8, 2023 · 2 comments

Comments

@TMHBOFH
Copy link

TMHBOFH commented Dec 8, 2023

At the moment, reboot and reopen will handled by worker and not for the hole device.
This means that the commands are executed several times for the same device.

[12/8/2023, 4:12:11 PM]Sending reboot request for sn04_003 to remote listener
[12/8/2023, 4:12:11 PM]Sending reboot request for sn04_001 to remote listener
[12/8/2023, 4:12:11 PM]Sending reboot request for sn04_002 to remote listener
[12/8/2023, 4:12:12 PM]Beginning device query
[12/8/2023, 4:12:12 PM]Finished device query
[12/8/2023, 4:12:31 PM]Posting device summary
[12/8/2023, 4:12:32 PM]Finished posting device summary
[12/8/2023, 4:12:42 PM]Beginning device query
[12/8/2023, 4:12:42 PM]Finished device query
[12/8/2023, 4:13:11 PM]Sending reboot request for sn04_003 to remote listener
[12/8/2023, 4:13:11 PM]Sending reboot request for sn04_001 to remote listener
[12/8/2023, 4:13:11 PM]Sending reboot request for sn04_002 to remote listener
[12/8/2023, 4:13:12 PM]Beginning device query
[12/8/2023, 4:13:12 PM]Finished device query
[12/8/2023, 4:13:32 PM]Posting device summary
[12/8/2023, 4:13:32 PM]Finished posting device summary
[12/8/2023, 4:13:42 PM]Beginning device query
[12/8/2023, 4:13:42 PM]Finished device query
[12/8/2023, 4:14:11 PM]Sending reboot request for sn04_003 to remote listener
[12/8/2023, 4:14:11 PM]Sending reboot request for sn04_001 to remote listener
[12/8/2023, 4:14:11 PM]Sending reboot request for sn04_002 to remote listener
[12/8/2023, 4:14:12 PM]Beginning device query
[12/8/2023, 4:14:12 PM]Finished device query
[12/8/2023, 4:14:32 PM]Posting device summary
[12/8/2023, 4:14:33 PM]Finished posting device summary
[12/8/2023, 4:14:42 PM]Beginning device query
[12/8/2023, 4:14:42 PM]Finished device query
[12/8/2023, 4:15:11 PM]Sending reboot request for sn04_003 to remote listener
[12/8/2023, 4:15:11 PM]Sending reboot request for sn04_001 to remote listener
[12/8/2023, 4:15:11 PM]Sending reboot request for sn04_002 to remote listener

@Kneckter
Copy link
Owner

You can pull the latest to fix this (47f48a9). It will check the parent device for other workers and set them to already reopened/rebooted.

@TMHBOFH
Copy link
Author

TMHBOFH commented Dec 13, 2023

thanks for your work, it works as aspected.

@TMHBOFH TMHBOFH closed this as completed Dec 13, 2023
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