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 playbook to migrate systemd unit to podman #4319

Merged
merged 6 commits into from
Oct 1, 2019

Conversation

guits
Copy link
Collaborator

@guits guits commented Aug 7, 2019

this commit adds a new playbook to force systemd units for containers to
use podman instead of docker.
This is needed in the rhel8 upgrade context so after the base OS is upgraded containers can be started using podman.

Signed-off-by: Guillaume Abrioux gabrioux@redhat.com

@guits guits force-pushed the guits-podman_migration_dedicated_playbook branch from 4144714 to cf0b268 Compare August 7, 2019 14:00
@guits guits force-pushed the guits-podman_migration_dedicated_playbook branch 2 times, most recently from 2cafab2 to a717554 Compare September 18, 2019 14:42
@guits guits changed the title [skip ci] add playbook to migrate systemd unit to podman add playbook to migrate systemd unit to podman Sep 18, 2019
@guits guits force-pushed the guits-podman_migration_dedicated_playbook branch from a717554 to 8f8dcfe Compare September 18, 2019 14:45
@guits guits removed the DNM Do NOT merge label Sep 18, 2019
@guits guits force-pushed the guits-podman_migration_dedicated_playbook branch 2 times, most recently from fc0fe90 to ed99c34 Compare September 18, 2019 15:04
@guits guits force-pushed the guits-podman_migration_dedicated_playbook branch 6 times, most recently from 0f48575 to 922793d Compare September 30, 2019 16:20
@dsavineau
Copy link
Contributor

jenkins test dev-centos-container-podman

@dsavineau
Copy link
Contributor

@guits found the issue. I think you removed a taks during the iscsi containerized/systemd refact.
There's a task to create the log directories which isn't present in this PR.

91bef94#diff-8543c5196317a6a1ae0edd3392ba0f23R2

Without this task, the rbd-target-{api,gw} services don't start.

This commit isolates the systemd unit files generation for containers into
separate yml files in order to be able importing each corresponding roles
without playing all tasks.
This is needed so we can run ceph-ansible to render systemd unit files
so they call podman instead of docker.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
this commit adds a new playbook to force systemd units for containers to
use podman instead of docker.
This is needed in the rhel8 upgrade context so after the base OS is upgraded
containers can be started using podman.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
This commit moves containerized deployment related files to `./tasks/
directory. This is needed to make `docker-to-podman.yml` working since
we use `tasks_from:` option.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
This commit moves containerized deployment related files to `./tasks/`
directory. This is needed to make `docker-to-podman.yml` working since
we use `tasks_from:` option.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
This commit moves containerized deployment related files to `./tasks/`
directory. This is needed to make `docker-to-podman.yml` working since
we use `tasks_from:` option.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
rename this file to be more generic.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
@dsavineau dsavineau force-pushed the guits-podman_migration_dedicated_playbook branch from 922793d to 3cae54b Compare September 30, 2019 19:23
@dsavineau
Copy link
Contributor

@guits I've rebased this PR to include the missing code

@guits
Copy link
Collaborator Author

guits commented Oct 1, 2019

jenkins test pipeline

@guits
Copy link
Collaborator Author

guits commented Oct 1, 2019

jenkins test dev-centos-non_container-all_daemons

@guits
Copy link
Collaborator Author

guits commented Oct 1, 2019

jenkins test dev-centos-container-all_daemons

@dsavineau dsavineau merged commit ed8616a into master Oct 1, 2019
@dsavineau dsavineau deleted the guits-podman_migration_dedicated_playbook branch October 1, 2019 14:27
guits added a commit that referenced this pull request Aug 10, 2021
pr #4319 introduced some uesless `become: true` on systemd tasks.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
guits added a commit that referenced this pull request Aug 18, 2021
pr #4319 introduced some uesless `become: true` on systemd tasks.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
mergify bot pushed a commit that referenced this pull request Aug 18, 2021
pr #4319 introduced some uesless `become: true` on systemd tasks.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 1db8fa8)
mergify bot pushed a commit that referenced this pull request Aug 18, 2021
pr #4319 introduced some uesless `become: true` on systemd tasks.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 1db8fa8)
mergify bot pushed a commit that referenced this pull request Aug 18, 2021
pr #4319 introduced some uesless `become: true` on systemd tasks.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 1db8fa8)
dsavineau pushed a commit that referenced this pull request Aug 18, 2021
pr #4319 introduced some uesless `become: true` on systemd tasks.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 1db8fa8)
dsavineau pushed a commit that referenced this pull request Aug 18, 2021
pr #4319 introduced some uesless `become: true` on systemd tasks.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 1db8fa8)
dsavineau pushed a commit that referenced this pull request Aug 18, 2021
pr #4319 introduced some uesless `become: true` on systemd tasks.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 1db8fa8)
stuartgrace-bbc pushed a commit to bbc/ceph-ansible that referenced this pull request Jan 30, 2024
pr ceph#4319 introduced some uesless `become: true` on systemd tasks.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants