Thanks to visit codestin.com
Credit goes to github.com

Skip to content

For cluster certs expiring in less than 1 day, it shows expires in 0 days in Rotate Cluster Certificates window #21220

@sowmyav27

Description

@sowmyav27

What kind of request is this (question/bug/enhancement/feature request): bug

Steps to reproduce (least amount of steps as possible):

  1. Have a cluster(DO cluster-3 nodes) in v2.2.4 - with custom image, giving 30 minutes of expiry for the cluster.
  2. Upgrade to v2.2-head with UI tag 2.2.81.
  3. Warning shown on the UI - This cluster has certs expiring in 30 days or less. Please rotate your certificates now.
  4. Click on Rotate Certificates

Expected Result:
As the cluster is expiring in less than 30 minutes, user can expect a message like - "expires in less than 1 day" or something appropriate, as text expires in 0 days gives an incorrect impression that the cluster has already expired.

Actual Result:
For all individual services, text expires in 0 days is displayed
Screen Shot 2019-06-27 at 9 53 00 AM

Other details that may be helpful:

Environment information

  • Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.2-head UI tag 2.2.81
  • Installation option (single install/HA): single

Metadata

Metadata

Labels

kind/bug-qaIssues that have not yet hit a real release. Bugs introduced by a new feature or enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions