openstack-ironic/devstack
Steve Baker b2f297d91c Fixes for console containers functional testing
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>
2025-10-16 14:28:10 +13:00
..
files devstack bindep - [platform:rpm] 2025-02-25 14:10:50 +00:00
lib Fixes for console containers functional testing 2025-10-16 14:28:10 +13:00
tools/ironic devstack: network simulator support for sonic 2025-03-31 06:27:18 -07:00
upgrade ci: grenade: restart neutron services 2025-08-11 15:42:15 -07:00
common_settings Follow up to change on testing CI on ARM 2024-06-24 20:00:53 +01:00
plugin.sh Add ironic-novncproxy service 2025-02-19 20:17:57 +00:00
settings network testing: hooking in an external network simulator 2025-03-21 16:09:25 -07:00