Bug 1830080 - When deleting Revisions from a Knative Service, update the traffic as needed.
Summary: When deleting Revisions from a Knative Service, update the traffic as needed.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.5.0
Assignee: Jeff Phillips
QA Contact: Gajanan More
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-30 19:37 UTC by Jeff Phillips
Modified: 2020-07-13 17:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-13 17:34:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Animated Gif of deleting a revision (2.43 MB, image/gif)
2020-04-30 19:37 UTC, Jeff Phillips
no flags Details
deleting revision ask to update the traffic (225.99 KB, image/png)
2020-05-14 12:16 UTC, Gajanan More
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 5256 0 None closed Bug 1830080: Prompt user to update traffic on revision deletion 2020-06-24 01:32:23 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:34:22 UTC

Description Jeff Phillips 2020-04-30 19:37:34 UTC
Created attachment 1683431 [details]
Animated Gif of deleting a revision

Description of problem:

When there are 2 revisions in a Knative Service, if one is deleted, the other should automatically receive 100% of the traffic.

This animated gif shows that since the Knative Service only has 50% of the traffic after deleting a revision, click on the route results in error 1/2 the time.

Also, if you delete the last revision for a knative service, the revision is removed from the display only momentarily, the revision is recreated and then reappears.

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


How reproducible:

Always

Steps to Reproduce:
1. Create a knative service with a single revision
2. Delete the revision
3. Add a revision to the knative service, set the traffic distribution such that both revisions receive traffic
4. Delete one of the revisions.


Actual results:

After step 2, the revision is removed, but in a moment comes back
After step4, the revision is removed and the remaining revision only receives partial traffic.

Expected results:

After step 2, an error dialog should be displayed informing the user that you cannot delete the last revision.

After step 4, a dialog should be presented to force the user to update the traffic distribution prior to deleting the revision.

Additional info:

Comment 3 Gajanan More 2020-05-14 12:16:48 UTC
Created attachment 1688416 [details]
deleting revision ask to update the traffic

Comment 4 Gajanan More 2020-05-14 12:17:08 UTC
I have validated the bugzilla on
Build: 4.5.0-0.ci-2020-05-13-231257
Browser: Google Chrome Version 81.0.4044.129
Please have a look at the shared screenshots
Marking this as verified.

Comment 5 errata-xmlrpc 2020-07-13 17:34:07 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, 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-2020:2409


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