systemctl stop should not fail the apply of the paunch command, when it attempts to stop & remove a container to be recreated again

Bug #1817319 reported by Bogdan Dobrelya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Incomplete
Medium
Unassigned

Bug Description

While testing https://review.openstack.org/#/c/635161, I sent SIGSTOP to the running mysqld and reran paunch for the updated TRIPLEO_CONFIG_HASH. As expected, paunch waited for a 60 seconds for the graceful stop attempt of the container:

Deleting container (changed config_data): mysql
Stopping and disabling systemd service for tripleo_mysql

(waits for 60 seconds here...)

Job for tripleo_mysql.service canceled.
systemctl failed

^^ although, the container has been removed in the end, that failure was undesired for the paunch, when it attempts to re-apply a config change and meets an unresponsive container. Perhaps, the exception should be caught and suppressed in paunch for that a particular case.

Changed in tripleo:
status: New → Triaged
importance: Undecided → Medium
milestone: none → stein-3
description: updated
tags: added: containers idempotency
summary: - systemctl stop should not fail the apply of the paunch command
+ systemctl stop should not fail the apply of the paunch command, when it
+ attempts to stop & remove a container to be recreated again
description: updated
Changed in tripleo:
milestone: stein-3 → train-1
Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Changed in tripleo:
milestone: train-3 → ussuri-1
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
Changed in tripleo:
status: Triaged → Incomplete
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.