-
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
common: add centos8 support #4798
Conversation
wip |
I think we need [1] for the container part. [1] https://github.com/ceph/ceph-ansible/pull/4751/files#diff-886cee31482d6ed7a0d5d2d1219e540b |
check-rdo |
Merge Failed. This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset. |
d7cf29f
to
3667af0
Compare
jenkins test centos-non_container-lvm_batch |
9847f05
to
ca55093
Compare
56f5e39
to
6502fa3
Compare
a4eb4a4
to
fb0d08c
Compare
jenkins test centos-container-update |
jenkins test centos-container-lvm_osds |
jenkins test centos-container-lvm_batch |
jenkins test centos-non_container-update |
jenkins test centos-container-update |
jenkins test centos-container-ooo_collocation |
jenkins test centos-non_container-all_daemons |
1 similar comment
jenkins test centos-non_container-all_daemons |
jenkins test centos-container-all_daemons |
jenkins test centos-container-lvm_batch |
jenkins test centos-non_container-switch_to_containers |
jenkins test centos-container-lvm_osds |
jenkins test centos-non_container-lvm_osds |
1 similar comment
jenkins test centos-non_container-lvm_osds |
Ceph octopus only supports CentOS 8. This commit adds CentOS 8 support: - update vagrant image in tox configurations. - add CentOS 8 repository for el8 dependencies. - CentOS 8 container engine is podman (same than RHEL 8). - don't use the epel mirror on sepia because it's epel7 only. Signed-off-by: Guillaume Abrioux <[email protected]> Co-authored-by: Dimitri Savineau <[email protected]>
Since we don't have nfs-ganesha builds available on CentOS 8 at the moment on shaman then we can use the alternative repository at [1] [1] https://download.nfs-ganesha.org/3/LATEST/CentOS Signed-off-by: Dimitri Savineau <[email protected]>
Before this patch, the lvm2 package installation was done during the ceph-osd role. However we were running ceph-volume command in the ceph-config role before ceph-osd. If lvm2 wasn't installed then the ceph-volume command fails: error checking path "/run/lock/lvm": stat /run/lock/lvm: no such file or directory This wasn't visible before because lvm2 was automatically installed as docker dependency but it's not the same for podman on CentOS 8. Signed-off-by: Dimitri Savineau <[email protected]>
Since RHEL 8.1 we need to add the ganesha_t type to the permissive SELinux list. Otherwise the nfs-ganesha service won't start. This was done on RHEL 7 previously and part of the nfs-ganesha-selinux package on RHEL 8. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1786110 Signed-off-by: Dimitri Savineau <[email protected]>
e3bec89
to
4118b6b
Compare
jenkins test centos-container-update |
jenkins test centos-non_container-update |
jenkins test centos-non_container-lvm_batch |
99a95d4
to
1e7053d
Compare
jenkins test centos-container-purge |
1 similar comment
jenkins test centos-container-purge |
Some docker commands were hardcoded in tests playbooks and some conditions were not taking care of the containerized_deployment variable but only the atomic fact. Signed-off-by: Dimitri Savineau <[email protected]>
on master we can't test upgrade from stable-4.0/CentOS 7 to master/CentOS 8. This commit refact the upgrade so we test upgrade from master/CentOS 8 to master/CentOS 8 (octopus to octopus) Signed-off-by: Guillaume Abrioux <[email protected]>
nfs-ganesha makes the CI failing because of issue related to SELinux. See: - https://bugzilla.redhat.com/show_bug.cgi?id=1788563 - nfs-ganesha/nfs-ganesha#527 Until we can get this fixed, let's disable nfs-ganesha testing temporarily. Signed-off-by: Guillaume Abrioux <[email protected]>
The rtslib python library is now available in the distribution so we shouldn't have to use the shaman repository Signed-off-by: Dimitri Savineau <[email protected]>
03d7526
to
c2349e7
Compare
Remove all stopped/exited containers. Signed-off-by: Dimitri Savineau <[email protected]>
jenkins test centos-container-all_daemons |
tears came to my eyes this morning when I saw the CI passing |
Ceph octopus only supports CentOS 8.
This commit adds CentOS 8 support:
Signed-off-by: Guillaume Abrioux [email protected]
Co-authored-by: Dimitri Savineau [email protected]