Bug 1477302

Summary: [paid] Update resume restriction to prevent resuming at 23:59 on last day, and not the entire last day
Product: OpenShift Online Reporter: Will Gordon <wgordon>
Component: Accounts and BillingAssignee: Timothy Williams <tiwillia>
Status: ASSIGNED --- QA Contact: yasun
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: abhgupta, aos-bugs, jfiala, yasun, yufchang
Target Milestone: ---Keywords: NeedsTestCase, OnlinePro
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Error message when resuming the subscription none

Description Will Gordon 2017-08-01 16:56:34 UTC
Description of problem:
I want to resume my Pro plan on the last day of the month 


Version-Release number of selected component (if applicable):
OpenShift Master:
v3.5.5.30 (online version 3.5.1.76)
Kubernetes Master:
v1.5.2+43a9be4

How reproducible:
always

Steps to Reproduce:
1. Cancel plan at any time during the month
2. Attempt to resume plan at any time on the last day of the month

Actual results:
Our apologies
An error occurred. Visit our support resources.

Error ID 5461a94d-76da-11e7-aedc-0a580a83024e

Expected results:
Able to resume plan

Additional info:

Comment 2 Mark Turansky 2018-01-25 16:52:12 UTC
This can be retested. Should be fixed by a recent Aria bug fix and our PR https://github.com/openshift/online/pull/1540

End of month testing is coming in just a few days.

Comment 3 yasun 2018-01-26 03:19:18 UTC
We will test it at the last day of this month.

Comment 4 Bing Li 2018-01-30 08:28:04 UTC
Subscription can be resumed normally on the last day of month.

Move to verified.

Comment 5 Bing Li 2018-01-31 02:19:05 UTC
Re-open this bug: now I can't resume the pending subscription cancellation. But it worked well on the AM of last day of month(Aria STG time) when I verified this bug in comment 4.

Comment 6 Bing Li 2018-01-31 02:38:27 UTC
Created attachment 1388717 [details]
Error message when resuming the subscription

Comment 7 Bing Li 2018-01-31 02:39:28 UTC
Error message will show when resuming the subscription on the last day of month(see attachment in comment 6):

 Subscription has already been canceled.

Comment 8 Abhishek Gupta 2018-03-22 23:53:47 UTC
Mark: At this point we know quite a bit more about the behavior of plan continuation and invoice processing. Lets change this to allow plan resumption up until the last minute on the last day.