Conditional Updates are recommended updates associated with known risks.
When no risks apply, the update is recommended – this can be performed by the cluster administrator on both the web console and the OpenShift CLI (oc). When an update is not recommended because a risk might apply, the cluster administrator can view the update from the OpenShift CLI (oc). If the cluster administrator evaluates the potential known risks and decides it is acceptable for the current cluster, they can waive the safety guards and proceed with the update.
Background
The OpenShift update service (OSUS) provides update information to OpenShift Container Platform (OCP) clusters. By default, every OCP cluster connects to the Red Hat hosted OSUS instance for update information. For disconnected or restricted networks, cluster administrators can install their own OSUS.
The OSUS can sometimes remove an update path to protect OpenShift clusters from bugs. This change in update path impacts all OCP clusters for that particular version. This has caused some customer frustration when a bug is only applicable for OCP clusters with specific platforms or configurations.
With OCP 4.10, the OSUS will also provide conditional update recommendations to the Cluster Version Operator (CVO). The CVO evaluates the conditional recommendations and decides if the conditional update is recommended for the cluster or not. For disconnected clusters, it behaves in the same manner as a connected cluster as the conditional updates rely on the local OSUS instance. CVO processing for conditional update recommendations is new in 4.10, so updates from 4.9 to 4.10 will not have access to this new functionality. Updates within 4.10 (z-stream), and updates from 4.10 to future minor releases will be able to benefit from this feature.
The user experience is exactly the same for conditional updates if they are recommended for the cluster. This reduces the frustration of having update paths removed for bugs which do not impact your cluster.
For conditional updates which are not recommended for the cluster, the cluster administrator has convenient access to metadata, such as risk description and documentation links, to evaluate the risk.Note: conditional updates that are not recommended don't show up on the OpenShift web console in 4.10.
Here are some oc CLI examples that show how conditional updates work:
- To list recommended updates, use oc adm upgrade, which will display the presence of any supported but not recommended updates:
$ oc adm upgrade
Cluster version is 4.10.0-fc.1
Upstream is unset, so the cluster will use an appropriate default.
Channel: candidate-4.10 (available channels: candidate-4.10)
Recommended updates:
VERSION IMAGE
4.10.0-rc.5 quay.io/openshift-release-dev/ocp-release@sha256:5ebccbbcbeeb3987f9ee3fa7f593c5e24bdd89efd9c6b2e6d525346e4a235ced
…
4.10.0-fc.4 quay.io/openshift-release-dev/ocp-release@sha256:664ad79f4a5f321c4acd51c737dfce9363e48470dc35732be4b7d156aa7b3936
Additional updates which are not recommended based on your cluster configuration are available, to view those re-run the command with --include-not-recommended.
- To find out about any risks, use the --include-not-recommended:
Upstream is unset, so the cluster will use an appropriate default. Channel: candidate-4.10 (available channels: candidate-4.10)
Recommended updates:
VERSION IMAGE
4.10.0-rc.5 quay.io/openshift-release-dev/ocp-release@sha256:5ebccbbcbeeb3987f9ee3fa7f593c5e24bdd89efd9c6b2e6d525346e4a235ced
…
4.10.0-fc.4 quay.io/openshift-release-dev/ocp-release@sha256:664ad79f4a5f321c4acd51c737dfce9363e48470dc35732be4b7d156aa7b3936
Supported but not recommended updates:
Version: 4.10.0-fc.2
Image: quay.io/openshift-release-dev/ocp-release@sha256:85c6ce1cffe205089c06efe363acb0d369f8df7ad48886f8c309f474007e4faf
Recommended: False
Reason: ModifiedAWSLoadBalancerServiceTags
Message: On AWS clusters for Services in the openshift-ingress namespace… This will not cause issues updating between 4.10 releases. This conditional update is just a demonstration of the conditional update system. https://bugzilla.redhat.com/show_bug.cgi?id=2039339
- Now, let’s update against recommendations with a description of applicable risks:
$ oc adm upgrade --to 4.10.0-fc.2
error: the update 4.10.0-fc.2 is not one of the recommended updates, but is available as a conditional update.To accept the Recommended=False risk and to proceed with update use --allow-not-recommended.
Reason: ModifiedAWSLoadBalancerServiceTags
Message: On AWS clusters for Services in the openshift-ingress namespace… This will not cause issues updating between 4.10 releases. This conditional update is just a demonstration of the conditional update system. https://bugzilla.redhat.com/show_bug.cgi?id=2039339
- To update regardless of any applicable risks, use --allow-not-recommended, which will displays a warning message in case you want to quickly abort:
$ oc adm upgrade --allow-not-recommended --to 4.10.0-fc.2
warning: with --allow-not-recommended you have accepted the risks with 4.10.0-fc.2 and bypassed Recommended=False ModifiedAWSLoadBalancerServiceTags: On AWS clusters for Services in the openshift-ingress namespace…
This will not cause issues updating between 4.10 releases. This conditional update is just a demonstration of the conditional update system. https://bugzilla.redhat.com/show_bug.cgi?id=2039339
Updating to 4.10.0-fc.2
저자 소개
채널별 검색
오토메이션
기술, 팀, 인프라를 위한 IT 자동화 최신 동향
인공지능
고객이 어디서나 AI 워크로드를 실행할 수 있도록 지원하는 플랫폼 업데이트
오픈 하이브리드 클라우드
하이브리드 클라우드로 더욱 유연한 미래를 구축하는 방법을 알아보세요
보안
환경과 기술 전반에 걸쳐 리스크를 감소하는 방법에 대한 최신 정보
엣지 컴퓨팅
엣지에서의 운영을 단순화하는 플랫폼 업데이트
인프라
세계적으로 인정받은 기업용 Linux 플랫폼에 대한 최신 정보
애플리케이션
복잡한 애플리케이션에 대한 솔루션 더 보기
오리지널 쇼
엔터프라이즈 기술 분야의 제작자와 리더가 전하는 흥미로운 스토리
제품
- Red Hat Enterprise Linux
- Red Hat OpenShift Enterprise
- Red Hat Ansible Automation Platform
- 클라우드 서비스
- 모든 제품 보기
툴
체험, 구매 & 영업
커뮤니케이션
Red Hat 소개
Red Hat은 Linux, 클라우드, 컨테이너, 쿠버네티스 등을 포함한 글로벌 엔터프라이즈 오픈소스 솔루션 공급업체입니다. Red Hat은 코어 데이터센터에서 네트워크 엣지에 이르기까지 다양한 플랫폼과 환경에서 기업의 업무 편의성을 높여 주는 강화된 기능의 솔루션을 제공합니다.