Skip to content

pkg/asset/cluster: tectonicClusterID or kubernetes.io/cluster/<name> deletion - #535

Merged
openshift-merge-robot merged 2 commits into
openshift:masterfrom
wking:or-delete-logic
Oct 25, 2018
Merged

openshift-merge-robot merged 2 commits into
openshift:masterfrom
wking:or-delete-logic

Conversation

@wking

@wking wking commented Oct 25, 2018

Copy link
Copy Markdown
Member

We're having trouble getting our resources tagged consistently, with [elastic IPs, NAT gateways, etc. missing kubernetes.io/cluster/<name> ][1]. Meanwhile, [the ingress operator will be creating elastic load balancers that lack tectonicClusterID`2. This change deletes everything we can find with either tag while we sort out something cleaner.

@openshift-ci-robot openshift-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Oct 25, 2018
Comment thread pkg/asset/cluster/cluster.go Resolved
Comment thread pkg/asset/cluster/cluster.go Resolved
Generated with:

  $ rm -rf "$(go env GOPATH)/pkg/dep/sources"
  # to avoid errors like "Unable to update checked out version: fatal: reference is not a tree"
  # possibly [1]
  $ dep ensure -update

using:

  $ dep version
  dep:
   version     : v0.5.0
   build date  :
   git hash    : 22125cf
   go version  : go1.10.3
   go compiler : gc
   platform    : linux/amd64
   features    : ImportDuringSolve=false

I haven't reviewed all of these changes, but I want this to pull in
openshift/hive@b1cad987 (contrib/pkg/awstagdeprovision: Allow for OR
filters, 2018-10-18, openshift/hive#47).

[1]: golang/dep#928 (comment)
…deletion

We're having trouble getting our resources tagged consistently, with
elastic IPs, NAT gateways, etc. missing kubernetes.io/cluster/<name>
[1].  Meanwhile, the ingress operator will be creating elastic load
balancers that lack tectonicClusterID [2].  This change deletes
everything we can find with either tag while we sort out something
cleaner.

[1]: openshift#458 (comment)
[2]: openshift#458 (comment)
@wking

wking commented Oct 25, 2018

Copy link
Copy Markdown
Member Author

The router failed to come up, but here are the cleanup logs from the last e2e-aws run:

$ oc project ci-op-4ir2nrcd
$ oc logs --timestamps -f e2e-aws -c teardown | tee /tmp/teardown.log

which generated teardown.log.

@abhinavdahiya

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 25, 2018
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya, wking

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [abhinavdahiya,wking]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants