Add functional tests for metadata agent

Bug #1381562 reported by Oleg Bondarev
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Wishlist
Unassigned

Bug Description

As per discussion on https://review.openstack.org/#/c/121782/8/neutron/tests/unit/test_metadata_agent.py:

Tests could do something like sending an HTTP request to a proxy, while mocking the API (and then potential RPC, if rpc is merged in metadata agent) response, then assertiwg that the agent forwarded the correct HTTP request to Nova.

Changed in neutron:
assignee: nobody → Raildo Mascena de Sousa Filho (raildo)
tags: added: functional-tests
Changed in neutron:
assignee: Raildo Mascena de Sousa Filho (raildo) → nobody
Sergey Belous (sbelous)
Changed in neutron:
assignee: nobody → Sergey Belous (sbelous)
Changed in neutron:
status: New → Confirmed
Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

This bug is > 180 days without activity. We are unsetting assignee and milestone and setting status to Incomplete in order to allow its expiry in 60 days.

If the bug is still valid, then update the bug status.

Changed in neutron:
assignee: Sergey Belous (sbelous) → nobody
status: Confirmed → Incomplete
tags: added: low-hanging-fruit
Changed in neutron:
status: Incomplete → Confirmed
Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :

We have tests for proxy: neutron/tests/functional/agent/l3/test_metadata_proxy.py but not agent side.

Revision history for this message
Elvira García Ruiz (elviragr) wrote :

Wondering if this bug was completed after ./neutron/tests/functional/agent/ovn/metadata/test_metadata_agent.py addition.

Revision history for this message
Terry Wilson (otherwiseguy) wrote :

I think it is. I'm getting ready to add a patch that fixes some of them to support OVN versions that have the Chassis_Private table, which don't fail in the gate but do fail for me running centos-stream.

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Hi Terry, is this bug still valid?

Changed in neutron:
status: Confirmed → Fix Released
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.