Uploaded image for project: 'Machine Config Operator'
  1. Machine Config Operator
  2. MCO-1031

Impact assesment for OCPBUGS-27261: Environment file /etc/kubernetes/node.env is overwritten after a node restart

XMLWordPrintable

    • Icon: Spike Spike
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • False
    • None
    • False
    • 0
    • 0

      Impact of OCPBUGS-27261:

      Which 4.y.z to 4.y'.z' updates increase vulnerability?

      • Customers on AWS upgrading from 4.13.z to 4.14.x. No current fix.
      • Tracking now in OCPBUGS-29290

      Which types of clusters?

      • AWS clusters that are using the custom domain setting in their VPC DHCP configuration (I don't believe there's a way to identify this from within a cluster)
      • To identify if affected, must determine if using default or custom domain name in DHCP configuration (BYOVPC only, IPI doesn't support this)
        • Get DHCP options ID:
          aws ec2 describe-vpcs --vpc-id <vpc-id> --region <region> | jq -r '.Vpcs[].DhcpOptionsId'
        • Get domain name values:
          aws ec2 describe-dhcp-options --dhcp-options-ids <dhcp-opt-id> --region <region> | jq -r '.DhcpOptions[].DhcpConfigurations[] | select(.Key == "domain-name") | .Values[]'
        • If there are multiple values or the value is not .ec2.internal or .<region>.ec2.internal then the cluster is affected

      What is the impact? Is it serious enough to warrant removing update recommendations?

      • Node names are changed after a reboot (which happens during upgrade). This means new credentials and a new, redundant Node object is created for the same, already existing node. This fails at the CSR approval stage.
      • Nodes go into an unready state until the node is manually fixed, and it will re-break if the node is restarted at some later date before an upgrade to a fixed version.

      How involved is remediation?

      Is this a regression?

      • Yes

            joelspeed Joel Speed
            lmohanty@redhat.com Lalatendu Mohanty
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: