airship-in-a-pod: set libvirt tty=false

This sets the airship-in-a-pod libvirt container to have `tty: false`.
With `tty: true`, the libvirt container would fail with the following
error in some environments (mostly baremetal, but VMs as well):

Error: failed to create containerd task: failed to create shim:
OCI runtime create failed: container_linux.go:380: starting container
process caused: process_linux.go:545: container init caused:
setctty: operation not permitted: unknown

The RC for the error is unknown, but `tty: true` appears to be a leftover
debugging tool, so this change disables it by default.

Change-Id: I427bd1bdbe86c8a742b871c4f8fc18e4be58660b
Closes: #578
changes/72/796072/1
Matt McEuen 2 years ago
parent 77f0b32e5a
commit 4e2f772f0d
  1. 3
      tools/airship-in-a-pod/airship-in-a-pod.yaml

@ -21,7 +21,8 @@ spec:
- name: libvirt
image: ianhowell/libvirt:latest
tty: true
# Set to true for debugging
tty: false
securityContext:
privileged: true
#SYS_ADMIN required for systemd, need to work out reqs for libvirt

Loading…
Cancel
Save