mirror of
https://opendev.org/openstack/ironic.git
synced 2026-01-16 23:01:47 +00:00
Console containers are run as systemctl --user units with the stack user. Unlike in the locally running case, in a job there may be no active user session running to allow these units to run. This change ensures there is a stack user service running, and "loginctl enable-linger" will start one again at boot time. These actions are only taken when ir-novnc is enabled. This change also installs the package slirp4netns for the required user-mode networking, and adds fake-graphical to the list of enabled console interfaces when ir-novnc is enabled. enabled_console_interfaces is passed to tempest.conf so that tempest can run tests or not based on whether fake-graphical is enabled. Additionally the console container will bind to a high port on localhost instead of a high port on the host IP. This still allows ironic-novncproxy to connect to the vnc endpoint while avoiding iptables rules. Change-Id: Ibcd5b7b05c466d898ba69bff35a1e767be3699a3 Signed-off-by: Steve Baker <sbaker@redhat.com> |
||
|---|---|---|
| .. | ||
| ironic | ||