Bug 1880738 - origin e2e test deletes original worker
Summary: origin e2e test deletes original worker
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cloud Compute
Version: 4.6
Hardware: Unspecified
OS: Unspecified
low
high
Target Milestone: ---
: 4.10.0
Assignee: Joel Speed
QA Contact: Milind Yadav
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-19 14:51 UTC by Michael Gugino
Modified: 2022-03-12 04:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-12 04:34:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift origin pull 26469 0 None open Bug 1880738: Minimise test disruption by removing newest workers in scale down 2021-09-15 09:36:44 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-12 04:34:54 UTC

Description Michael Gugino 2020-09-19 14:51:34 UTC
https://prow.ci.openshift.org/view/gcs/origin-ci-test/logs/periodic-ci-openshift-release-master-ocp-4.6-e2e-vsphere-serial/1307118468956426240

origin e2e tests have a small amount of tests around the machine-api.  Just scale up one machine, then scale down, make sure that machine joined the cluster.  This runs towards the end of the tests so as to not disrupt other tests.

Unlike our more comprehensive e2e tests for our own repos, this test does not create a new machineset.  Default machineset options cause us to delete a random machine on scale down, which is probably not what we want.

We should use the annotation to specify which machine we want to remove on scale down to be least disruptive.

Comment 3 Joel Speed 2020-09-30 11:19:06 UTC
@MGugino are you happy to handle this during the next sprint? This definitely isn't a release blocker but is high priority as it affects testing across many components

Do you think it best to annotate the machine to be removed or should we instead create a new MachineSet for this test?

Comment 4 Michael Gugino 2020-10-06 15:02:18 UTC
We intend to refactor these tests generally by making our specific tests 'steps' that other test suites can run limited parts of.  We are planning on doing that in the near future.

Comment 5 Joel Speed 2020-11-13 14:14:09 UTC
A recent change to the test configuration (migrating everything to steps) means that this is now unblocked, we can take a look at this next sprint

Comment 6 Michael McCune 2020-12-04 21:33:17 UTC
the PRs associated with this issue are under review

Comment 7 Joel Speed 2021-01-19 16:11:04 UTC
This isn't really considered an urgent issue, we are looking into solving this issue but it will take a longer time to come up with a good solution for this

Comment 16 Milind Yadav 2021-12-20 03:35:53 UTC
Using the test-grid - https://testgrid.k8s.io/redhat-openshift-ocp-release-4.10-informing#periodic-ci-openshift-release-master-nightly-4.10-e2e-vsphere-serial

I was able to confirm the newest machine is now getting deleted , attached events.json from the test in private comments 



Moved to Verified.

Comment 22 errata-xmlrpc 2022-03-12 04:34:40 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 (Moderate: OpenShift Container Platform 4.10.3 security 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/RHSA-2022:0056


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