http://bugzilla.opensuse.org/show_bug.cgi?id=1153111 Bug ID: 1153111 Summary: Podman throws segmentation fault when playing Kubernetes YAML file Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kubic Assignee: kubic-bugs@opensuse.org Reporter: ish@hacklog.in QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hello, I tested a simple Kubernetes YAML file for pod creation on openSUSE MicroOS (version 20191002). $ podman play kube test-pod.yml The output is as follows: +++++++++++++++++++++++++ panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x55f3477112fc] goroutine 1 [running]: github.com/containers/libpod/pkg/adapter.kubeContainerToCreateConfig(0x55f3481c04a0, 0xc0000b2028, 0xc0004028c8, 0x3, 0xc0004028d0, 0xc, 0x0, 0x0, 0x0, 0x0, ...) /home/abuild/go/src/github.com/containers/libpod/pkg/adapter/pods.go:688 +0x24c github.com/containers/libpod/pkg/adapter.(*LocalRuntime).PlayKubeYAML(0xc00023f670, 0x55f3481c04a0, 0xc0000b2028, 0x55f34922c9c0, 0x7ffe81109c5b, 0xc, 0x12, 0x0, 0x55f346897f36) /home/abuild/go/src/github.com/containers/libpod/pkg/adapter/pods.go:585 +0xf08 main.playKubeCmd(0x55f34922c9c0, 0x0, 0x0) /home/abuild/go/src/github.com/containers/libpod/cmd/podman/play_kube.go:67 +0x113 main.glob..func72(0x55f3491c7160, 0xc00039fb90, 0x1, 0x1, 0x0, 0x0) /home/abuild/go/src/github.com/containers/libpod/cmd/podman/play_kube.go:25 +0x88 github.com/containers/libpod/vendor/github.com/spf13/cobra.(*Command).execute(0x55f3491c7160, 0xc0000b8070, 0x1, 0x1, 0x55f3491c7160, 0xc0000b8070) /home/abuild/go/src/github.com/containers/libpod/vendor/github.com/spf13/cobra/command.go:826 +0x467 github.com/containers/libpod/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x55f3491c6c60, 0xc0000a0cf0, 0x7ffe81109c4a, 0x6) /home/abuild/go/src/github.com/containers/libpod/vendor/github.com/spf13/cobra/command.go:914 +0x2fe github.com/containers/libpod/vendor/github.com/spf13/cobra.(*Command).Execute(...) /home/abuild/go/src/github.com/containers/libpod/vendor/github.com/spf13/cobra/command.go:864 main.main() /home/abuild/go/src/github.com/containers/libpod/cmd/podman/main.go:148 +0x8a +++++++++++++++++++++++++ Content of the YAML file. +++++++++++++++++++++++++ apiVersion: v1 kind: Pod metadata: name: test-pod spec: containers: - name: web image: nginx:latest - name: app image: opensuse/leap:latest +++++++++++++++++++++++++ Podman info shows the following. host: BuildahVersion: 1.10.1 Conmon: package: conmon-2.0.1-1.1.x86_64 path: /usr/bin/conmon version: 'conmon version 2.0.1, commit: unknown' Distribution: distribution: '"opensuse-microos"' version: "20191002" MemFree: 1370787840 MemTotal: 1894633472 OCIRuntime: package: runc-1.0.0~rc8-1.4.x86_64 path: /usr/bin/runc version: |- runc version 1.0.0-rc8 spec: 1.0.1-dev SwapFree: 0 SwapTotal: 0 arch: amd64 cpus: 2 eventlogger: file hostname: microos kernel: 5.3.1-1-default os: linux rootless: true uptime: 16m 40.43s registries: blocked: null insecure: null search: - docker.io store: ConfigFile: /home/ish/.config/containers/storage.conf ContainerStore: number: 2 GraphDriverName: overlay GraphOptions: - overlay.mount_program=/usr/bin/fuse-overlayfs GraphRoot: /home/ish/.local/share/containers/storage GraphStatus: Backing Filesystem: btrfs Native Overlay Diff: "false" Supports d_type: "true" Using metacopy: "false" ImageStore: number: 2 RunRoot: /tmp/run-1000 VolumePath: /home/ish/.local/share/containers/storage/volumes I'm submitting the bug here before asking about it upstream in order to eliminate the possibility of its existence on an openSUSE build only. Regards, Ish -- You are receiving this mail because: You are the assignee for the bug.