Bug 2058699 - cluster-ingress-operator should report Unupgradeable if user has modified the aws resources annotations
Summary: cluster-ingress-operator should report Unupgradeable if user has modified the...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.10
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
: 4.9.z
Assignee: Arjun Naik
QA Contact: Arvind iyengar
URL:
Whiteboard:
Depends On: 2039339
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-25 16:36 UTC by OpenShift BugZilla Robot
Modified: 2022-12-20 09:16 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-16 11:39:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-ingress-operator pull 709 0 None Merged Bug 2058699: Upgradeable Condition in Operator and IC status 2022-03-01 17:06:23 UTC
Red Hat Product Errata RHBA-2022:0798 0 None None None 2022-03-16 11:39:45 UTC

Comment 3 Arvind iyengar 2022-03-02 08:54:59 UTC
Verified in "4.9.0-0.nightly-2022-03-01-191847" release payload. With this image used for cluster setup,  it is observed that with loadbalancer with "service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags" service level annotation, the ingress operator and the CO resource logs the warning about the presence of the annotation and marks upgradeable=false state:
---------
oc get clusterversion               
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.9.0-0.nightly-2022-03-01-191847   True        False         15m     Cluster version is 4.9.0-0.nightly-2022-03-01-191847

oc -n openshift-ingress annotate service/router-default service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags='test-cluster-qe'
service/router-default annotated

oc -n openshift-ingress get service/router-default -o yaml  
apiVersion: v1
kind: Service
metadata:
  annotations:
    service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags: test-cluster-qe <--------
    service.beta.kubernetes.io/aws-load-balancer-healthcheck-healthy-threshold: "2"
    service.beta.kubernetes.io/aws-load-balancer-healthcheck-interval: "5"
    service.beta.kubernetes.io/aws-load-balancer-healthcheck-timeout: "4"
    service.beta.kubernetes.io/aws-load-balancer-healthcheck-unhealthy-threshold: "2"
    service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: '*'
    traffic-policy.network.alpha.openshift.io/local-with-fallback: ""
  creationTimestamp: "2022-03-02T08:23:15Z"

oc get co ingress -o yaml 
  - lastTransitionTime: "2022-03-02T08:24:17Z"
    message: desired and current number of IngressControllers are equal
    reason: AsExpected
    status: "False"
    type: Progressing
  - lastTransitionTime: "2022-03-02T08:28:32Z"
    message: The "default" ingress controller reports Degraded=False.
    reason: IngressNotDegraded
    status: "False"
    type: Degraded
  - lastTransitionTime: "2022-03-02T08:49:10Z"
    message: 'Some ingresscontrollers are not upgradeable: ingresscontroller "default"
      is not upgradeable: OperandsNotUpgradeable: One or more managed resources are
      not upgradeable: load balancer service has been modified; changes must be reverted
      before upgrading: '
    reason: IngressControllersNotUpgradeable
    status: "False"
    type: Upgradeable
  extension: null
---------

Comment 6 errata-xmlrpc 2022-03-16 11:39:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.9.24 bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:0798


Note You need to log in before you can comment on or make changes to this bug.