Skip to content
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

NO-JIRA: openstack/e2e: allow to change AZ name #5138

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

EmilienM
Copy link
Member

What this PR does / why we need it:

In some environments, we'll want to change the name of the availability
zone where the nodepool AZ will be tested on.
Let's allow that with this change.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Nov 15, 2024
@openshift-ci-robot
Copy link

@EmilienM: This pull request explicitly references no jira issue.

In response to this:

What this PR does / why we need it:

In some environments, we'll want to change the name of the availability
zone where the nodepool AZ will be tested on.
Let's allow that with this change.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@EmilienM
Copy link
Member Author

/test e2e-openstack

@openshift-ci openshift-ci bot added the area/testing Indicates the PR includes changes for e2e testing label Nov 15, 2024
Copy link
Contributor

openshift-ci bot commented Nov 15, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: EmilienM
Once this PR has been reviewed and has the lgtm label, please assign jparrill for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@@ -562,9 +562,8 @@ func (p *options) DefaultOpenStackOptions() hypershiftopenstack.RawCreateOptions
OpenStackExternalNetworkID: p.configurableClusterOptions.OpenStackExternalNetworkID,
NodePoolOpts: &openstacknodepool.RawOpenStackPlatformCreateOptions{
OpenStackPlatformOptions: &openstacknodepool.OpenStackPlatformOptions{
Flavor: p.configurableClusterOptions.OpenStackNodeFlavor,
ImageName: p.configurableClusterOptions.OpenStackNodeImageName,
AvailabityZone: p.configurableClusterOptions.OpenStackNodeAvailabilityZone,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't want all Nodepools to have AZ specified, so we remove it from here. This change is expected.

if globalOpts.configurableClusterOptions.OpenStackNodeAvailabilityZone != "" {
return globalOpts.configurableClusterOptions.OpenStackNodeAvailabilityZone
}
return defaultAvailabilityZone
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the default AZ "nova" is safe, as it's present in most clouds. Though it's good we can easily override it.

@EmilienM
Copy link
Member Author

/retest

2 similar comments
@EmilienM
Copy link
Member Author

/retest

@EmilienM
Copy link
Member Author

/retest

@EmilienM
Copy link
Member Author

/test e2e-openstack

In some environments, we'll want to change the name of the availability
zone where the nodepool AZ will be tested on.
Let's allow that with this change.
@EmilienM
Copy link
Member Author

/test e2e-openstack

1 similar comment
@EmilienM
Copy link
Member Author

/test e2e-openstack

Copy link
Contributor

openshift-ci bot commented Nov 23, 2024

@EmilienM: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-openstack d7c8fba link false /test e2e-openstack

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing Indicates the PR includes changes for e2e testing jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants