-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patch 1.6.1 Without yaml lint fixes #709
Conversation
…elease branch (#669) Signed-off-by: shefali-malhotra <[email protected]>
* Add Powerscale port variable * Template auth variables * Update go files * Add Powerscale port variable handling * Fix scenarios for PowerScale * Update powerscale template files
* Fix pmaxCreds not set correctly in e2e * Update scenarios.yaml
This reverts commit ca89db9.
This reverts commit e783973.
This reverts commit 8591919.
This reverts commit d919c70.
pscaleSecretMap = map[string]string{"REPLACE_CLUSTERNAME": "PSCALE_CLUSTER", "REPLACE_USER": "PSCALE_USER", "REPLACE_PASS": "PSCALE_PASS", "REPLACE_ENDPOINT": "PSCALE_ENDPOINT"} | ||
pscaleAuthSecretMap = map[string]string{"REPLACE_CLUSTERNAME": "PSCALE_CLUSTER", "REPLACE_USER": "PSCALE_USER", "REPLACE_PASS": "PSCALE_PASS", "REPLACE_AUTH_ENDPOINT": "PSCALE_AUTH_ENDPOINT", "REPLACE_PORT": "PSCALE_AUTH_PORT", "REPLACE_ENDPOINT": "PSCALE_ENDPOINT"} | ||
pscaleAuthSidecarMap = map[string]string{"REPLACE_CLUSTERNAME": "PSCALE_CLUSTER", "REPLACE_ENDPOINT": "PSCALE_ENDPOINT", "REPLACE_AUTH_ENDPOINT": "PSCALE_AUTH_ENDPOINT", "REPLACE_PORT": "PSCALE_AUTH_PORT"} | ||
pscaleSecretMap = map[string]string{"REPLACE_CLUSTERNAME": "PSCALE_CLUSTER", "REPLACE_USER": "PSCALE_USER", "REPLACE_PASS": "PSCALE_PASS", "REPLACE_ENDPOINT": "PSCALE_ENDPOINT", "REPLACE_PORT": "PSCALE_PORT"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these changes required for 1.6.1 and not 1.6.0?
@@ -67,7 +67,7 @@ var ( | |||
pflexCrMap = map[string]string{"REPLACE_STORAGE_NAME": "PFLEX_STORAGE", "REPLACE_STORAGE_TYPE": "PFLEX_STORAGE", "REPLACE_ENDPOINT": "PFLEX_ENDPOINT", "REPLACE_SYSTEM_ID": "PFLEX_SYSTEMID", "REPLACE_VAULT_STORAGE_PATH": "PFLEX_VAULT_STORAGE_PATH", "REPLACE_ROLE_NAME": "PFLEX_ROLE", "REPLACE_QUOTA": "PFLEX_QUOTA", "REPLACE_STORAGE_POOL_PATH": "PFLEX_POOL", "REPLACE_TENANT_NAME": "PFLEX_TENANT", "REPLACE_TENANT_ROLES": "PFLEX_ROLE", "REPLACE_TENANT_VOLUME_PREFIX": "PFLEX_TENANT_PREFIX"} | |||
|
|||
// Auth V2 | |||
pscaleCrMap = map[string]string{"REPLACE_STORAGE_NAME": "PSCALE_STORAGE", "REPLACE_STORAGE_TYPE": "PSCALE_STORAGE", "REPLACE_ENDPOINT": "PSCALE_ENDPOINT", "REPLACE_SYSTEM_ID": "PSCALE_CLUSTER", "REPLACE_VAULT_STORAGE_PATH": "PSCALE_VAULT_STORAGE_PATH", "REPLACE_ROLE_NAME": "PSCALE_ROLE", "REPLACE_QUOTA": "PSCALE_QUOTA", "REPLACE_STORAGE_POOL_PATH": "PSCALE_POOL_V2", "REPLACE_TENANT_NAME": "PSCALE_TENANT", "REPLACE_TENANT_ROLES": "PSCALE_ROLE", "REPLACE_TENANT_VOLUME_PREFIX": "PSCALE_TENANT_PREFIX"} | |||
pscaleCrMap = map[string]string{"REPLACE_STORAGE_NAME": "PSCALE_STORAGE", "REPLACE_STORAGE_TYPE": "PSCALE_STORAGE", "REPLACE_ENDPOINT": "PSCALE_ENDPOINT", "REPLACE_SYSTEM_ID": "PSCALE_CLUSTER", "REPLACE_VAULT_STORAGE_PATH": "PSCALE_VAULT_STORAGE_PATH", "REPLACE_ROLE_NAME": "PSCALE_ROLE", "REPLACE_QUOTA": "PSCALE_QUOTA", "REPLACE_STORAGE_POOL_PATH": "PSCALE_POOL_V2", "REPLACE_TENANT_NAME": "PSCALE_TENANT", "REPLACE_TENANT_ROLES": "PSCALE_ROLE", "REPLACE_TENANT_VOLUME_PREFIX": "PSCALE_TENANT_PREFIX", "REPLACE_PORT": "PSCALE_PORT"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these changes required for 1.6.1 and not 1.6.0?
@@ -328,7 +328,7 @@ func (step *Step) deleteCustomResource(res Resource, crNumStr string) error { | |||
func (step *Step) validateCustomResourceStatus(res Resource, crNumStr string) error { | |||
crNum, _ := strconv.Atoi(crNumStr) | |||
cr := res.CustomResource[crNum-1] | |||
time.Sleep(60 * time.Second) | |||
time.Sleep(20 * time.Second) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this change required for 1.6.1 and not 1.6.0?
@@ -346,13 +346,13 @@ func (step *Step) validateCustomResourceStatus(res Resource, crNumStr string) er | |||
|
|||
func (step *Step) validateDriverInstalled(res Resource, driverName string, crNumStr string) error { | |||
crNum, _ := strconv.Atoi(crNumStr) | |||
time.Sleep(60 * time.Second) | |||
time.Sleep(20 * time.Second) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this change required for 1.6.1 and not 1.6.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't believe this change is required for anything, it just reduces the amount of unnecessary delay in the testing substantially to accelerate the test runs.
return checkAllRunningPods(context.TODO(), res.CustomResource[crNum-1].Namespace, step.clientSet) | ||
} | ||
|
||
func (step *Step) validateDriverNotInstalled(res Resource, driverName string, crNumStr string) error { | ||
crNum, _ := strconv.Atoi(crNumStr) | ||
time.Sleep(60 * time.Second) | ||
time.Sleep(20 * time.Second) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this change required for 1.6.1 and not 1.6.0?
@@ -379,7 +379,7 @@ func (step *Step) removeNodeLabel(res Resource, label string) error { | |||
func (step *Step) validateModuleInstalled(res Resource, module string, crNumStr string) error { | |||
crNum, _ := strconv.Atoi(crNumStr) | |||
cr := res.CustomResource[crNum-1] | |||
time.Sleep(60 * time.Second) | |||
time.Sleep(20 * time.Second) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this change required for 1.6.1 and not 1.6.0?
@@ -424,7 +424,7 @@ func (step *Step) validateModuleInstalled(res Resource, module string, crNumStr | |||
func (step *Step) validateModuleNotInstalled(res Resource, module string, crNumStr string) error { | |||
crNum, _ := strconv.Atoi(crNumStr) | |||
cr := res.CustomResource[crNum-1] | |||
time.Sleep(60 * time.Second) | |||
time.Sleep(20 * time.Second) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this change required for 1.6.1 and not 1.6.0?
@@ -889,7 +889,7 @@ func (step *Step) runCustomTest(res Resource) error { | |||
func (step *Step) enableModule(res Resource, module string, crNumStr string) error { | |||
crNum, _ := strconv.Atoi(crNumStr) | |||
cr := res.CustomResource[crNum-1] | |||
time.Sleep(60 * time.Second) | |||
time.Sleep(20 * time.Second) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this change required for 1.6.1 and not 1.6.0?
@@ -1303,6 +1303,16 @@ func (step *Step) AuthorizationV1Resources(storageType, driver, port, proxyHost, | |||
// get env variables | |||
if os.Getenv(endpointvar) != "" { | |||
endpoint = os.Getenv(endpointvar) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this change required for 1.6.1 and not 1.6.0?
@@ -1,8 +1,8 @@ | |||
[{ | |||
"username":"-", | |||
"password":"-", | |||
"intendedEndpoint":"https://REPLACE_ENDPOINT", | |||
"endpoint":"https://REPLACE_AUTH_ENDPOINT:REPLACE_PORT", | |||
"intendedEndpoint":"https://REPLACE_ENDPOINT:REPLACE_PORT", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this change required for 1.6.1 and not 1.6.0?
…-operator into patch-1.6.1-no-yamllint
@@ -478,7 +482,6 @@ | |||
- "authorization" | |||
- "powerscale" | |||
- "observability" | |||
# - "sanity" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand removing a commented-out tag, but should this tag actually be existent? What are the guidelines for a sanity test, and should this be included among them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is a great question and the quick answer is, not to my knowledge. This is something that can be improved in future releases.
Description
CSM-Operator changes for CSM 1.11.1, without yaml lint fixes.
GitHub Issues
List the GitHub issues impacted by this PR:
Checklist:
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration