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

Add support for deploying with docker to devstack #124

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

vyzigold
Copy link
Contributor

In upstream openstack CI on older stable branches (for example stable/yoga), we use ubuntu based VMs, which don't yet have the podman package it their package manager and the installation fails. For these distros, we need to use docker instead.

I added a code, that would install docker if it fails to install podman. It also configures docker to be usable by the stack user.

I should note, that I wasn't able to create a ubuntu 20.04 or ubuntu 18.04 VM, which should be the affected ubuntus so I tested with debian 10 instead, which also doesn't have podman. I wasn't able to get the whole devstack deployed though, because debian 10 isn't supported and it failed because of unrelated issues, but the devstack got far enough to execute the install_container_executable here. It correctly installed docker and I was able to execute the rest of the steps in this plugin manually without issues.

@vyzigold vyzigold force-pushed the jwysogla-add_devstack_docker_support branch from f73f809 to b8a9990 Compare November 23, 2023 10:56
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/5907ae12606a42d5b1e852142b8717c5

stf-crc-ocp_412-nightly_bundles NODE_FAILURE Node request 200-0006664841 failed in 0s
stf-crc-ocp_412-local_build NODE_FAILURE Node request 200-0006664842 failed in 0s
stf-crc-ocp_413-nightly_bundles NODE_FAILURE Node request 200-0006664843 failed in 0s
✔️ stf-crc-ocp_413-local_build SUCCESS in 37m 51s

@leifmadsen
Copy link
Member

We can ignore rdoproject.org/github-check job here since it isn't covered by CI.

@paramite paramite enabled auto-merge (squash) November 23, 2023 17:57
@paramite paramite disabled auto-merge November 23, 2023 17:57
@paramite paramite merged commit 4d514d5 into master Nov 23, 2023
14 checks passed
@paramite paramite deleted the jwysogla-add_devstack_docker_support branch November 23, 2023 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants