You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some actions (e.g. installing patches) it is required to wait until they are finished before the next step (e.g. rebooting the host) is executed. For this specific example, we can't rely on the Uyuni task scheduler, as requests are in mixed order sometimes. A module like stdevel.uyuni.wait_for_task could be a benefit. Another option would be to add wait parameters to the corresponding modules.
timedelta is now imported from datetime
the function wait_for_action is used to wait for an action to finish
it requires action_id, system_id, timeout=3600, interval=30 as parameters
This should solve stdevel#38
For some actions (e.g. installing patches) it is required to wait until they are finished before the next step (e.g. rebooting the host) is executed. For this specific example, we can't rely on the Uyuni task scheduler, as requests are in mixed order sometimes. A module like
stdevel.uyuni.wait_for_task
could be a benefit. Another option would be to addwait
parameters to the corresponding modules.Requires #37.
The text was updated successfully, but these errors were encountered: