Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-44262

ROSA HCP AWS Tags are not clearing

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          Cluster Tags added to VPC subnets are not cleaned up after cluster uninstallation/deletion

      Version-Release number of selected component (if applicable):

         4.14.28 

      How reproducible:

          100%

      Steps to Reproduce:

          1. Create a ROSA HCP cluster
          2. Delete/uninstall the cluster
          3. Observe the AWS Tags on the VPC Subnets used in the cluster
          

      Actual results:

          AWS Tags created on the VPC resources are cleaned up after cluster uninstallation

      Expected results:

          AWS Tags created on the VPC resources are cleaned up after cluster uninstallation

      Additional info:

          rosa create cluster \
        --hosted-cp \
        --version 4.14.28 \
        --cluster-name bala-hcp-vpc \
      ......
        --subnet-ids subnet-0482d3f9228d1ba17,subnet-038bfa64a510816f2
      
      $ aws ec2 describe-subnets --subnet-id subnet-0482d3f9228d1ba17 | jq .Subnets[].Tags
      [
        {
          "Key": "kubernetes.io/cluster/2e0huffqi0e4cjvu5vchk10svh8llv2s",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2ef08itn7qa9ta8gvcq4msj832jmph20",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2ei4hsf3hu00016qnnr3tvgtth6eco3k",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2eo68510msdetr3gfleereb1rdo5jcb4",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2eg3n1fino9effone65o2dai56sl2kkv",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2eepeacsjgn9kd1k8pp6t3c37hp7b5cf",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2eiq8grj77t3ht0vet0pgdq4o36pcq9e",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2drtssr20mksluu20nads7n5fjidmlg4",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2ee5c0p9nrvp9ekatj59hrhnbo45gdc1",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2e9hmckl6gbrue5o4an2q7jsovivkgi9",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2e669nlai0ki1oe42qalv5bc596d890v",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2eola9n291tlr8ej99lp71go2rtna5uq",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2e1mts62n7k33d612hr0tq7n7q23kcfe",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2e2si7o3ee9bnmnturbdkvbqjbbteb8o",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2emor5d35upvt3ifro0a2e3ijsafcivf",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2edjlr54jv5crpvkt1b7monvi6iek2ah",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2e0e6f8c2jr3pjlikqpbn8ljqivf1gtm",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2e1np8541ls35k52hb0mjtnkhsm11tmg",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2e5i3ig1b8b9g1rdakdhoe66gb9m17dg",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2eq06jaievd26e63d5cip0e6ss4qendl",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2duhthlughje7s0cr5plfk7e8mqhpshb",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2es5badginif3hggos9ob7jtea4piq5e",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2eknklmirf0im6ecpvlupje60heja4jr",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2dtpm3hie4okmdoii6m5m0tb1b3t4sfb",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/cluster/2earp61i8triur7cgn4fgspsm81udklv",
          "Value": "shared"
        },
        {
          "Key": "kubernetes.io/role/internal-elb",
          "Value": "1"
        },
        {
          "Key": "kubernetes.io/cluster/2dt57f6ul4djaj1f5jio25elaaj2tvg9",
          "Value": "shared"
        },
        {
          "Key": "Name",
          "Value": "byovpc-subnet-private1-us-east-1a"
        }
      ]

              cewong@redhat.com Cesar Wong
              rh-ee-bchandra Balachandran Chandrasekaran
              Jie Zhao Jie Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: