dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

An error occurred when daemonset modified Scaling and Upgrade Policy

Open kingsd041 opened this issue 2 years ago • 1 comments

Setup

  • Rancher version: v2.7.8
  • Rancher UI Extensions:
  • Browser type & version: chrome 117.0.5938.149

Describe the bug

An error occurred when daemonset modified Scaling and Upgrade Policy To Reproduce

  1. Navigate to daemonset and modify Scaling and Upgrade Policy to On Delete
  2. Save

Result Unable to save with error message:

DaemonSet.apps "demo" is invalid: spec.updateStrategy: Unsupported value: apps.DaemonSetUpdateStrategy{Type:"Delete", RollingUpdate:(*apps.RollingUpdateDaemonSet)(nil)}: supported values: "RollingUpdate", "OnDelete"

Expected Result

Screenshots

image

Additional context

kingsd041 avatar Oct 09 '23 01:10 kingsd041

Based on https://github.com/rancher/dashboard/blob/master/cypress/e2e/blueprints/nav/fake-cluster.ts, if the Daemonsets are browsable, we might be able to test this on an e2e. Possible automation-candidate

aalves08 avatar Apr 17 '24 16:04 aalves08

@yonasberhe23 @IsaSih @izaac added an e2e test for this issue https://github.com/rancher/dashboard/pull/10872. it's merged

aalves08 avatar May 07 '24 09:05 aalves08

Let's use the current provision capabilities. RKE2 clusters can be provisioned using AWS and Azure using the framework now. Keeping open.

izaac avatar May 08 '24 18:05 izaac

Moving to done. E2E looks good.

izaac avatar May 16 '24 02:05 izaac