Skip to content

Conversation

@karthiksundaravel
Copy link
Member

In case of Mellanox nics, the DPDK port members also have a ifcfg file and the same needs to be removed during purge provider. The dpdk port members could be one of interface or sriov_vf.

@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/00db8483d0d34f4ea1ec972aad28a04d

✔️ tox-linters SUCCESS in 3m 20s
✔️ tox-py39 SUCCESS in 2m 41s
tox-pep8 FAILURE in 1m 59s
✔️ openstack-services-content-provider SUCCESS in 1h 32m 32s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 21m 52s

self.del_device["dpdk_port"].extend(pci_address)

for dpdk_port in ovs_dpdk_bond.members:
ifname = dpdk_port.members[0].name
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to check if members is not None here before accessing (however that would be wrong config)

pci_address = self._get_dpdk_pci_addresses(ifcfg_dpdk)
self.del_device["dpdk_port"].extend(pci_address)

ifname = ovs_dpdk_port.members[0].name
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add check "if common.is_mellanox_interface()" ?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it is not required. If the interface exists, it will be removed, if not it will proceed. Let us check in non mellanox cards as well

@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/4c8a7888d3334c62b4ab28e7c792b7d9

✔️ tox-linters SUCCESS in 2m 44s
✔️ tox-py39 SUCCESS in 2m 56s
tox-pep8 FAILURE in 1m 59s
✔️ openstack-services-content-provider SUCCESS in 1h 45m 43s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 32m 39s

In case of Mellanox nics, the DPDK port members also have a ifcfg file
and the same needs to be removed during purge provider. The dpdk port
members could be one of interface or sriov_vf.

Signed-off-by: Karthik Sundaravel <ksundara@redhat.com>
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.

3 participants