This repository contains the code used to build the Ubuntu-based Delphix Appliance, leveraging open-source tools such as Debian's live-build, Docker, Ansible, OpenZFS, and others.
Apache License 2.0
19
stars
41
forks
source link
DLPX-87792 Fix timeout when starting an upgrade container #737
Sometimes systemd goes out to lunch, and needs to be restarted. We attempted to fix this previously in #713 but seem to have missed a couple spots.. e.g. if systemd is unresponsive when we go to start a container, that start request may get dropped on the floor.
Solution
This PR address the issue by restarting systemd just prior to starting the container. Also, this also fixes the issue when we terminate the container, too.
Problem
Sometimes systemd goes out to lunch, and needs to be restarted. We attempted to fix this previously in #713 but seem to have missed a couple spots.. e.g. if systemd is unresponsive when we go to start a container, that start request may get dropped on the floor.
Solution
This PR address the issue by restarting systemd just prior to starting the container. Also, this also fixes the issue when we terminate the container, too.