Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run podman integration tests on MacOS #6773

Closed
valaparthvi opened this issue Apr 26, 2023 · 1 comment · Fixed by #6774
Closed

Unable to run podman integration tests on MacOS #6773

valaparthvi opened this issue Apr 26, 2023 · 1 comment · Fixed by #6774
Assignees
Labels
area/odo-on-podman Issues or PRs related to running odo against Podman area/testing Issues or PRs related to testing, Quality Assurance or Quality Engineering kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/*` and requires one.
Milestone

Comments

@valaparthvi
Copy link
Contributor

/kind bug
/area testing

It is not possible to run podman integration tests on MacOS due to the custom containers.conf file our tests are using.

We use a very simple containers.conf file with just the namespace. MacOS requires the network configuration which is missing from the file since podman on MacOS runs inside a VM.

Reproduction:

$ cat containers.conf
[engine]
namespace="somethign"

$ CONTAINERS_CONF=containers.conf podman pod ls
Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM
Error: unable to connect to Podman socket: Get "http://d/v4.3.1/libpod/_ping": dial unix ///var/folders/_r/3xp61_nn34sgqn4bkt8cddrc0000gn/T/podman-run--1/podman/podman.sock: connect: no such file or directory

We could use an existing conf file and append the namespace to it to fix this issue.

@valaparthvi valaparthvi added the area/odo-on-podman Issues or PRs related to running odo against Podman label Apr 26, 2023
@valaparthvi valaparthvi self-assigned this Apr 26, 2023
@openshift-ci openshift-ci bot added kind/bug Categorizes issue or PR as related to a bug. area/testing Issues or PRs related to testing, Quality Assurance or Quality Engineering labels Apr 26, 2023
@github-actions github-actions bot added the needs-triage Indicates an issue or PR lacks a `triage/*` and requires one. label Apr 26, 2023
@github-project-automation github-project-automation bot moved this to Done ✅ in odo Project Apr 27, 2023
@valaparthvi
Copy link
Contributor Author

valaparthvi commented Apr 27, 2023

@kadel I have closed this for now, because Philippe's PR #6774 provided a workaround by exporting PODMAN_USE_NAMESPACES=false and skipping the creation of a custom containers.conf file. If you still think this issue must be fixed, feel free to reopen it.

@rm3l rm3l added this to the v3.10.0 🚀 milestone May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/odo-on-podman Issues or PRs related to running odo against Podman area/testing Issues or PRs related to testing, Quality Assurance or Quality Engineering kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/*` and requires one.
Projects
Archived in project
2 participants