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

support for 4.5 #96

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

support for 4.5 #96

wants to merge 2 commits into from

Conversation

zshi-redhat
Copy link
Contributor

No description provided.

if [ "$OPENSHIFT_RHCOS_MAJOR_REL" == "4.4" ]; then
BUILDS_JSON="$(curl -sS https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-$OPENSHIFT_RHCOS_MAJOR_REL/builds.json)"
if [ "$OPENSHIFT_RHCOS_MAJOR_REL" == "4.4" ] || [ "$OPENSHIFT_RHCOS_MAJOR_REL" == "4.5" ]; then
BUILDS_JSON="$(curl -sS https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-4.4/builds.json)"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We would need to differentiate here between 4.4 and 4.5 in this URL.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, seems 4.5 rhcos url is available now, I will change it.

prep_bm_host.sh Outdated
@@ -161,7 +161,7 @@ printf "\nConfiguring baremetal interface (%s) and bridge (%s)...\n\n" "$BM_INTF

sudo tee "/etc/sysconfig/network-scripts/ifcfg-$BM_BRIDGE" > /dev/null << EOF
TYPE=Bridge
NM_CONTROLLED=no
NM_CONTROLLED=yes
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the reason for this change for the baremetal bridge/interface?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a 4.5 specific change, I used this PR for testing with centos 8 provision host, where if NM_CONTROLLED=no, baremetal bridge won't get static IP address assigned.

if [[ -z $OPENSHIFT_RHCOS_MAJOR_REL || (! $OPENSHIFT_RHCOS_MAJOR_REL =~ (4.1|4.2|4.3|4.4|latest)) ]]; then
OPENSHIFT_RHCOS_MAJOR_REL="4.3"
if [[ -z $OPENSHIFT_RHCOS_MAJOR_REL || (! $OPENSHIFT_RHCOS_MAJOR_REL =~ (4.1|4.2|4.3|4.4|4.5|latest)) ]]; then
OPENSHIFT_RHCOS_MAJOR_REL="4.4"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should leave this as 4.3 for now, because 4.4 requires 3 masters to successfully deploy a cluster. My concern is that people are using this to deploy 1-master clusters without explicitly specifying 4.3 or earlier. So in those cases, if we set the default to 4.4, suddenly their deployments would fail and they might not understand why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants