-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Conversation
4144714
to
cf0b268
Compare
2cafab2
to
a717554
Compare
a717554
to
8f8dcfe
Compare
fc0fe90
to
ed99c34
Compare
0f48575
to
922793d
Compare
jenkins test dev-centos-container-podman |
@guits found the issue. I think you removed a taks during the iscsi containerized/systemd refact. 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>
922793d
to
3cae54b
Compare
@guits I've rebased this PR to include the missing code |
jenkins test pipeline |
jenkins test dev-centos-non_container-all_daemons |
jenkins test dev-centos-container-all_daemons |
pr #4319 introduced some uesless `become: true` on systemd tasks. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pr #4319 introduced some uesless `become: true` on systemd tasks. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pr ceph#4319 introduced some uesless `become: true` on systemd tasks. 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