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

Switch back public network to be not shared by default #1862

Merged

Conversation

slawqo
Copy link
Contributor

@slawqo slawqo commented Jun 12, 2024

Public network created by default by the ci-framework is visible for all tenants to e.g. create Floating IPs from it and that is typically enough for most of our tests.
It is also required to not have shared network in the deployment to run tests from the tempest.api.compute.admin.test_auto_allocate_network module.

Public network was changed to be shared by the commit [1] and it was done because some tests from the whitebox_neutron_tempest_plugin needs to plug directly into the public network and for that network needs to be visible for the project used during the test.
But this made tests for the auto_allocate_network to be skipped.

So lets by default create public network as not 'shared' to run auto_allocate_network tests in the u/c ci.
We may try to modify whitebox_neutron_tempest_plugin tests which require shared network to make them run in slightly different way.

Related: #OSPRH-6541

As a pull request owner and reviewers, I checked that:

  • Appropriate testing is done and actually running
  • Appropriate documentation exists and/or is up-to-date:
    • README in the role
    • Content of the docs/source is reflecting the changes

@github-actions github-actions bot marked this pull request as draft June 12, 2024 09:44
Copy link

Thanks for the PR! ❤️
I'm marking it as a draft, once your happy with it merging and the PR is passing CI, click the "Ready for review" button below.

Public network created by default by the ci-framework is visible for all
tenants to e.g. create Floating IPs from it and that is typically enough
for most of our tests.
It is also required to not have shared network in the deployment to run
tests from the `tempest.api.compute.admin.test_auto_allocate_network`
module.

Public network was changed to be shared by the commit [1] and it was
done because some tests from the whitebox_neutron_tempest_plugin needs
to plug directly into the public network and for that network needs to
be visible for the project used during the test.
But this made tests for the auto_allocate_network to be skipped.

So lets by default create public network as not 'shared' to run
auto_allocate_network tests in the u/c ci.
We may try to modify whitebox_neutron_tempest_plugin tests which require
shared network to make them run in slightly different way.

Related: #OSPRH-6541
Copy link
Contributor

@SeanMooney SeanMooney left a comment

Choose a reason for hiding this comment

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

this looks good to me

if we need a shared network for specific test and the tempest test dose not create it we can add an addition dedicated shared network in the future

@fyanac
Copy link
Contributor

fyanac commented Jun 13, 2024

/lgtm

Copy link
Contributor

openshift-ci bot commented Jun 13, 2024

@fyanac: changing LGTM is restricted to collaborators

In response to this:

/lgtm

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.

@viroel
Copy link
Contributor

viroel commented Jun 13, 2024

/approve

Copy link
Contributor

openshift-ci bot commented Jun 13, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: viroel

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

The pull request process is described 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

@openshift-merge-bot openshift-merge-bot bot merged commit 147745c into openstack-k8s-operators:main Jun 13, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants