service and flow status are down after successful creation

Bug #1996435 reported by Ehsan Khodayarseresht
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tap-as-a-service
Expired
Undecided
Unassigned

Bug Description

I have installed TaaS on Devstack Yoga successfully. I can create a tap service or flow successfully, but in both cases, the status column is down and I don't know what it refers to. My VMs' interfaces are up, and there is no documentation to find the root of problem. Can you solve this problem, please?

Revision history for this message
Lajos Katona (lajos-katona) wrote (last edit ):

Hi, taas works with OVS or sriov driver, if you use OVS the logs are in the ovs-agent log (in devstack it will be q-agt), the mirroring only works with tunneled networks, to list just a few things of what you can expect.

I started to write some in-depths documentation on how the mirroring works, that can also help to see if you see such bridges and flows on your host:
https://review.opendev.org/c/openstack/tap-as-a-service/+/828382

If you can give me more details and you still have issues I try to help you.
So please tell me which driver you use (OVS, sriov), logs of ovs-agent perhaps the most important

Revision history for this message
Ehsan Khodayarseresht (ehsankhodayar) wrote :
Download full text (23.5 KiB)

Hi Lajos,

Thank you very much for your reply. In fact, I wanted to use Zeek on the monitoring Instance to capture the network traffic. But I couldn't solve this issue. Then, I understood that the network interfaces of instances are accessible through the host machine where OpenStack is installed. So, at the moment, I tried to capture those data through the host machine. However, I also like to solve this issue. My OpenStack version is based on DevStack Stable/Yoga, which I think it uses OVS because I saw its logs during the installation. I went to this directory: /var/log/openvswitch. Then there were multiple log files. I opened ovs-vswitchd.log, which is as follows:

I just remove the previous tap services and flows and added them again and copied these logs at the end.

2022-11-17T18:19:22.758Z|01215|vlog|INFO|opened log file /var/log/openvswitch/ovs-vswitchd.log
2022-11-17T18:22:48.921Z|01216|bridge|WARN|could not open network device tap8206db03-50 (No such device)
2022-11-17T18:22:48.923Z|01217|bridge|WARN|could not open network device tap83f00ef6-ce (No such device)
2022-11-17T18:22:48.925Z|01218|bridge|WARN|could not open network device tapd55c28d4-1d (No such device)
2022-11-17T18:22:48.927Z|01219|bridge|WARN|could not open network device tap10393621-aa (No such device)
2022-11-17T18:22:48.930Z|01220|bridge|WARN|could not open network device tap877b58c8-b1 (No such device)
2022-11-17T18:45:23.648Z|01221|bridge|WARN|could not open network device tap8206db03-50 (No such device)
2022-11-17T18:45:23.650Z|01222|bridge|WARN|could not open network device tap83f00ef6-ce (No such device)
2022-11-17T18:45:23.652Z|01223|bridge|WARN|could not open network device tapd55c28d4-1d (No such device)
2022-11-17T18:45:23.654Z|01224|bridge|WARN|could not open network device tap10393621-aa (No such device)
2022-11-17T18:45:23.655Z|01225|bridge|WARN|could not open network device tap877b58c8-b1 (No such device)
2022-11-17T18:45:23.656Z|01226|ofproto|WARN|br-int: cannot get STP status on nonexistent port 10
2022-11-17T18:45:23.656Z|01227|ofproto|WARN|br-int: cannot get RSTP status on nonexistent port 10
2022-11-17T18:45:23.657Z|01228|bridge|INFO|bridge br-int: deleted interface tap0bee4b7b-53 on port 10
2022-11-17T18:45:23.660Z|01229|bridge|WARN|could not open network device tap8206db03-50 (No such device)
2022-11-17T18:45:23.662Z|01230|bridge|WARN|could not open network device tap83f00ef6-ce (No such device)
2022-11-17T18:45:23.665Z|01231|bridge|WARN|could not open network device tap0bee4b7b-53 (No such device)
2022-11-17T18:45:23.667Z|01232|bridge|WARN|could not open network device tapd55c28d4-1d (No such device)
2022-11-17T18:45:23.668Z|01233|bridge|WARN|could not open network device tap10393621-aa (No such device)
2022-11-17T18:45:23.670Z|01234|bridge|WARN|could not open network device tap877b58c8-b1 (No such device)
2022-11-17T18:45:23.754Z|01235|bridge|WARN|could not open network device tap8206db03-50 (No such device)
2022-11-17T18:45:23.756Z|01236|bridge|WARN|could not open network device tap83f00ef6-ce (No such device)
2022-11-17T18:45:23.758Z|01237|bridge|WARN|could not open network device tap0bee4b7b-53 (No such device)
2022-11-17T18:45:23.761Z|0123...

Revision history for this message
Lajos Katona (lajos-katona) wrote :

Hi, Could you please check if you have ovs-agent running? If I understand well you use devstack, so you should have a service <email address hidden> (check in systemctl).
Checking ovs-vswitchd.log is not necessary, and actually doesn't tell if you use Neutron with OVS backend or OVN.

Sorry for late reply, for some reason I still didnt' recevice notification mail for your comment, I have to check my settings. You can also find me on IRC on #openstack-neutron channel on oftc.net

Changed in tap-as-a-service:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tap-as-a-service because there has been no activity for 60 days.]

Changed in tap-as-a-service:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.