-
Notifications
You must be signed in to change notification settings - Fork 82
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
Add NFS network for Manila to uni04delta #405
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fultonj 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 |
930af73
to
369d564
Compare
Manila Tempest tests need to connect to the NFS share for Ganesha tests, and they use a special (openstack) network for that [1]. This patch adds an NFS network with VLAN 24 and range 172.21.0.0/24 in reproducers networking-definition.yml. It also adds a multus range for this network so that the Tempest pod can access this network for testing. The NFS network is added to the OCP nodes for the same reason. The podified-multinode-hci-deployment-crc job is updated so that tempest pod is attached to the storage network since the storage network is the fallback network if the NFS network is not defined in a job (the NFS network cannot be used in this job since [2] depends on this patch). This patch allows the RGW VIP and NFS VIP to not be the same. The variables cifmw_cephadm_rgw_network, cifmw_cephadm_rgw_vip, cifmw_cephadm_nfs_network and cifmw_cephadm_nfs_vip are now used instead the shared cifmw_cephadm_vip variable. This patch updates playbook manila_create_default_resources.yml so that when CI for manila runs, a provider network is created. Variables manila_provider_network_{name,vlan,start,end,range} default to the storage network, but can be overridden to the NFS network within a job definition. [1] https://opendev.org/openstack/manila-tempest-plugin/src/branch/master/manila_tempest_tests/config.py#L99 [2] openstack-k8s-operators/architecture#405 Jira: https://issues.redhat.com/browse/OSPRH-7417 Signed-off-by: John Fulton <[email protected]>
Manila Tempest tests need to connect to the NFS share for Ganesha tests, and they use a special (openstack) network for that [1]. This patch adds an NFS network with VLAN 24 and range 172.21.0.0/24 in reproducers networking-definition.yml. It also adds a multus range for this network so that the Tempest pod can access this network for testing. The NFS network is added to the OCP nodes for the same reason. The podified-multinode-hci-deployment-crc job is updated so that tempest pod is attached to the storage network since the storage network is the fallback network if the NFS network is not defined in a job (the NFS network cannot be used in this job since [2] depends on this patch). This patch allows the RGW VIP and NFS VIP to not be the same. The variables cifmw_cephadm_rgw_network, cifmw_cephadm_rgw_vip, cifmw_cephadm_nfs_network and cifmw_cephadm_nfs_vip are now used instead the shared cifmw_cephadm_vip variable. This patch updates playbook manila_create_default_resources.yml so that when CI for manila runs, a provider network is created. Variables manila_provider_network_{name,vlan,start,end,range} default to the storage network, but can be overridden to the NFS network within a job definition. [1] https://opendev.org/openstack/manila-tempest-plugin/src/branch/master/manila_tempest_tests/config.py#L99 [2] openstack-k8s-operators/architecture#405 Jira: https://issues.redhat.com/browse/OSPRH-7417 Signed-off-by: John Fulton <[email protected]>
Manila Tempest tests need to connect to the NFS share for Ganesha tests, and they use a special (openstack) network for that [1]. This patch adds an NFS network with VLAN 24 and range 172.21.0.0/24 in reproducers networking-definition.yml. It also adds a multus range for this network so that the Tempest pod can access this network for testing. The NFS network is added to the OCP nodes for the same reason. The podified-multinode-hci-deployment-crc job is updated so that tempest pod is attached to the storage network since the storage network is the fallback network if the NFS network is not defined in a job (the NFS network cannot be used in this job since [2] depends on this patch). This patch allows the RGW VIP and NFS VIP to not be the same. The variables cifmw_cephadm_rgw_network, cifmw_cephadm_rgw_vip, cifmw_cephadm_nfs_network and cifmw_cephadm_nfs_vip are now used instead the shared cifmw_cephadm_vip variable. This patch updates playbook manila_create_default_resources.yml so that when CI for manila runs, a provider network is created. Variables manila_provider_network_{name,vlan,start,end,range} default to the storage network, but can be overridden to the NFS network within a job definition. [1] https://opendev.org/openstack/manila-tempest-plugin/src/branch/master/manila_tempest_tests/config.py#L99 [2] openstack-k8s-operators/architecture#405 Jira: https://issues.redhat.com/browse/OSPRH-7417 Signed-off-by: John Fulton <[email protected]>
Manila Tempest tests need to connect to the NFS share for Ganesha tests, and they use a special (openstack) network for that [1]. This patch adds an NFS network with VLAN 24 and range 172.21.0.0/24 in reproducers networking-definition.yml. It also adds a multus range for this network so that the Tempest pod can access this network for testing. The NFS network is added to the OCP nodes for the same reason. The podified-multinode-hci-deployment-crc job is updated so that tempest pod is attached to the storage network since the storage network is the fallback network if the NFS network is not defined in a job (the NFS network cannot be used in this job since [2] depends on this patch). This patch allows the RGW VIP and NFS VIP to not be the same. The variables cifmw_cephadm_rgw_network, cifmw_cephadm_rgw_vip, cifmw_cephadm_nfs_network and cifmw_cephadm_nfs_vip are now used instead the shared cifmw_cephadm_vip variable. This patch updates playbook manila_create_default_resources.yml so that when CI for manila runs, a provider network is created. Variables manila_provider_network_{name,vlan,start,end,range} default to the storage network, but can be overridden to the NFS network within a job definition. [1] https://opendev.org/openstack/manila-tempest-plugin/src/branch/master/manila_tempest_tests/config.py#L99 [2] openstack-k8s-operators/architecture#405 Jira: https://issues.redhat.com/browse/OSPRH-7417 Signed-off-by: John Fulton <[email protected]>
Manila Tempest tests need to connect to the NFS share for Ganesha tests, and they use a special (openstack) network for that [1]. This patch adds an NFS network with VLAN 24 and range 172.21.0.0/24 in reproducers networking-definition.yml. It also adds a multus range for this network so that the Tempest pod can access this network for testing. The NFS network is added to the OCP nodes for the same reason. The podified-multinode-hci-deployment-crc job is updated so that tempest pod is attached to the storage network since the storage network is the fallback network if the NFS network is not defined in a job (the NFS network cannot be used in this job since [2] depends on this patch). This patch allows the RGW VIP and NFS VIP to not be the same. The variables cifmw_cephadm_rgw_network, cifmw_cephadm_rgw_vip, cifmw_cephadm_nfs_network and cifmw_cephadm_nfs_vip are now used instead the shared cifmw_cephadm_vip variable. This patch updates playbook manila_create_default_resources.yml so that when CI for manila runs, a provider network is created. Variables manila_provider_network_{name,vlan,start,end,range} default to the storage network, but can be overridden to the NFS network within a job definition. [1] https://opendev.org/openstack/manila-tempest-plugin/src/branch/master/manila_tempest_tests/config.py#L99 [2] openstack-k8s-operators/architecture#405 Jira: https://issues.redhat.com/browse/OSPRH-7417 Signed-off-by: John Fulton <[email protected]>
Manila Tempest tests need to connect to the NFS share for Ganesha tests, and they use a special (openstack) network for that [1]. This patch adds an NFS network with VLAN 24 and range 172.21.0.0/24 in reproducers networking-definition.yml. It also adds a multus range for this network so that the Tempest pod can access this network for testing. The NFS network is added to the OCP nodes for the same reason. The podified-multinode-hci-deployment-crc job is updated so that tempest pod is attached to the storage network since the storage network is the fallback network if the NFS network is not defined in a job (the NFS network cannot be used in this job since [2] depends on this patch). This patch allows the RGW VIP and NFS VIP to not be the same. The variables cifmw_cephadm_rgw_network, cifmw_cephadm_rgw_vip, cifmw_cephadm_nfs_network and cifmw_cephadm_nfs_vip are now used instead the shared cifmw_cephadm_vip variable. This patch updates playbook manila_create_default_resources.yml so that when CI for manila runs, a provider network is created. Variables manila_provider_network_{name,vlan,start,end,range} default to the storage network, but can be overridden to the NFS network within a job definition. [1] https://opendev.org/openstack/manila-tempest-plugin/src/branch/master/manila_tempest_tests/config.py#L99 [2] openstack-k8s-operators/architecture#405 Jira: https://issues.redhat.com/browse/OSPRH-7417 Signed-off-by: John Fulton <[email protected]>
Manila Tempest tests need to connect to the NFS share for Ganesha tests, and they use a special (openstack) network for that [1]. This patch adds an NFS network with VLAN 24 and range 172.21.0.0/24 in reproducers networking-definition.yml. It also adds a multus range for this network so that the Tempest pod can access this network for testing. The NFS network is added to the OCP nodes for the same reason. The podified-multinode-hci-deployment-crc job is updated so that tempest pod is attached to the storage network since the storage network is the fallback network if the NFS network is not defined in a job (the NFS network cannot be used in this job since [2] depends on this patch). This patch allows the RGW VIP and NFS VIP to not be the same. The variables cifmw_cephadm_rgw_network, cifmw_cephadm_rgw_vip, cifmw_cephadm_nfs_network and cifmw_cephadm_nfs_vip are now used instead the shared cifmw_cephadm_vip variable. This patch updates playbook manila_create_default_resources.yml so that when CI for manila runs, a provider network is created. Variables manila_provider_network_{name,vlan,start,end,range} default to the storage network, but can be overridden to the NFS network within a job definition. [1] https://opendev.org/openstack/manila-tempest-plugin/src/branch/master/manila_tempest_tests/config.py#L99 [2] openstack-k8s-operators/architecture#405 Jira: https://issues.redhat.com/browse/OSPRH-7417 Signed-off-by: John Fulton <[email protected]>
rebase on #410 |
|
||
patches: | ||
- target: | ||
kind: NetConfig |
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'm wondering if this kustomization
is run because I see:
[zuul@controller-0 ~]$ oc get openstackdataplanenodeset
NAME STATUS MESSAGE
ceph-nodes False NodeSetIPReservationReady error occurred admission webhook "vipset.kb.io" denied the request: IPSet.network.openstack.org "ceph-2" is invalid: spec.networks[2].name: Invalid value: "nfs": network nfs not in NetConfig
and NetConfig
does not contain the NFS network.
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 can confirm that after manually editing NetConfig
adding the missing network the dataplane converged and I can see it configured in the Ceph nodes.
However, I think there are some issues as I don't see nfs among the net-attach-def
and nncp
on the OCP nodes.
@fultonj @abays anything obvious you see here?
Manila Tempest tests need to connect to the share for Ganesha via a special (openstack) network [1]. This patch adds the NFS storage network with VLAN 24 and range 172.21.0.0/24 in uni04delta. The NFS network is connected to Ceph and Compute EDPM nodes. A NNCP, NAD, L2Advertisement and IPAddressPool are defined for the NFS network so that a pod in k8s can connect to it; such as the tempest pod which will perform the storage tests and the manilaShares pod(s). [1] https://opendev.org/openstack/manila-tempest-plugin/src/branch/master/manila_tempest_tests/config.py#L99 Jira: https://issues.redhat.com/browse/OSPRH-7417 Depends-On: openstack-k8s-operators/ci-framework#2273 Signed-off-by: John Fulton <[email protected]>
Manila Tempest tests need to connect to the share for Ganesha via a special (openstack) network [1].
This patch adds the NFS storage network with VLAN 24 and range 172.21.0.0/24 in uni04delta. The NFS network is connected to Ceph and Compute EDPM nodes. A NNCP, NAD, L2Advertisement and IPAddressPool are defined for the NFS network so that a pod in k8s can connect to it; such as the tempest pod which will perform the storage tests and the manilaShares pod(s).
[1] https://opendev.org/openstack/manila-tempest-plugin/src/branch/master/manila_tempest_tests/config.py#L99
Jira: https://issues.redhat.com/browse/OSPRH-7417
Depends-On: openstack-k8s-operators/ci-framework#2273