rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
441 stars 243 forks source link

Non-User-Friendly Error when creating Replicasets #7784

Open jameson-mcghee opened 1 year ago

jameson-mcghee commented 1 year ago

Setup

Describe the bug When attempting to create a Replicaset without inputting valid Volume Mount information, a non-user-friendly error message is presented.

To Reproduce

  1. Spin up a v2.7-head Rancher server
  2. Attempt to create a new Replicaset on the local cluster without inputting valid Volume Mount information

Result A non-user-friendly error message is generated which states "ReplicaSet.apps "" is invalid: [spec.template.spec.volumes[0].awsElasticBlockStore.volumeID: Required value, spec.template.spec.containers[0].volumeMounts[0].name: Not found: "", spec.template.spec.containers[0].volumeMounts[0].mountPath: Required value]"

Expected Result A more user-friendly clear and concise error message is generated, instructing the user what is wrong

Screenshots image

gaktive commented 1 year ago

Pushing out a release since QA's plate for testing the next release is quite full.