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

update variables to make host upgrade work with rhel7 #567

Merged
merged 3 commits into from
Aug 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
{{ chassis_id.stdout }}

when:
- el_ver|int == 8
- ovirt_openvswitch_pre.version is version('2.11', '==')
- ovirt_openvswitch_post.version is version('2.15', '>=')
- ovn_central is defined
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@
ignore_errors: yes

- name: Get host certificate info
command: openssl x509 -noout -ext subjectAltName -in "{{ ovirt_vdsm_trust_store }}/{{ ovirt_vdsm_cert_file }}"
shell: >
openssl x509 -in "{{ ovirt_vdsm_trust_store }}/{{ ovirt_vdsm_cert_file }}" -text -noout
-certopt no_subject,no_header,no_version,no_serial,no_signame,no_validity,no_subject,no_issuer,no_pubkey,no_sigdump,no_aux
| awk '/X509v3 Subject Alternative Name/','/X509v3 Basic Constraints/'
register: host_certificate

- name: Check if host certificate contains subject alternative name
Expand Down