-
Notifications
You must be signed in to change notification settings - Fork 122
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
use the rhel ga instead of custom image on azure #975
use the rhel ga instead of custom image on azure #975
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: moadqassem The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
b2422ca
to
10a8663
Compare
414ee94
to
2527a59
Compare
/retest |
/test pull-machine-controller-e2e-azure |
730959b
to
6c33e0f
Compare
@moadqassem: The following test failed, say
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/test pull-machine-controller-e2e-azure-custom-image-reference |
Signed-off-by: Moath Qasim <moad.qassem@gmail.com>
6c33e0f
to
808aa5a
Compare
@@ -204,7 +204,9 @@ write_files: | |||
{{- /* https://bugs.launchpad.net/cloud-init/+bug/1662542 */}} | |||
hostnamectl set-hostname {{ .MachineSpec.Name }} | |||
{{ end }} | |||
|
|||
{{ if eq .CloudProviderName "azure" }} | |||
yum update -y --disablerepo='*' --enablerepo='*microsoft*' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this should be gated under {{- if .OSConfig.DistUpgradeOnBoot }}
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean, in addition to if eq .CloudProviderName "azure"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why? the reason why I disabled those repos due to some openssl certificates that are not consistent by some mirrors. After upgrading to use the Gold Access images for azure and then enabled repos from MS mirrors all worked.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we use GA image, does it mean this line can be removed then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, because either cases whether you have a GA image or a custom one, rhui client would still try to access the repos. Thus this will end up with the same situation where rhui client certificates are expired and it would fail on all mirrors. I was expecting that updating yum update
alone would actually update the certificate as well, however this is not the case for RHEL 8.x
LGTM label has been added. Git tree hash: c4799ee2ff88a212fdfc99543d81b88f8d4c8213
|
Signed-off-by: Moath Qasim <moad.qassem@gmail.com>
Signed-off-by: Moath Qasim <moad.qassem@gmail.com>
Signed-off-by: Moath Qasim <moad.qassem@gmail.com>
Signed-off-by: Moath Qasim <moad.qassem@gmail.com>
Signed-off-by: Moath Qasim <moad.qassem@gmail.com>
Signed-off-by: Moath Qasim <moad.qassem@gmail.com>
* Relax container-runtime version spec Signed-off-by: Artiom Diomin <kron82@gmail.com> * Update fixtures Signed-off-by: Artiom Diomin <kron82@gmail.com> * use the rhel ga instead of custom image on azure (#975) Signed-off-by: Moath Qasim <moad.qassem@gmail.com> Co-authored-by: Moath Qasim <moad.qassem@gmail.com>
* Relax container-runtime version spec Signed-off-by: Artiom Diomin <kron82@gmail.com> * Update fixtures Signed-off-by: Artiom Diomin <kron82@gmail.com> * use the rhel ga instead of custom image on azure (#975) Signed-off-by: Moath Qasim <moad.qassem@gmail.com> Co-authored-by: Moath Qasim <moad.qassem@gmail.com>
* Relax container-runtime version spec Signed-off-by: Artiom Diomin <kron82@gmail.com> * Update fixtures Signed-off-by: Artiom Diomin <kron82@gmail.com> * use the rhel ga instead of custom image on azure (#975) Signed-off-by: Moath Qasim <moad.qassem@gmail.com> * Fix RHEL on azure Signed-off-by: Artiom Diomin <kron82@gmail.com> Co-authored-by: Moath Qasim <moad.qassem@gmail.com>
What this PR does / why we need it:
Using RHEL GA images instead of custom images.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>
format, will close the issue(s) when PR gets merged):Fixes #974
Special notes for your reviewer:
Optional Release Note: