Add l3agent list for router with HA#2025
Conversation
|
Build failed.
|
|
@jtopjian Could you help me? For creating need add optional field |
|
Build failed.
|
|
Build failed.
|
|
@jtopjian Could you advise what needed for merge this PR? |
|
I'm sorry for the late reply.
I'm sorry, I don't understand what you mean here. Is this the only block of code that's needed to understand how a "List" call is implemented? Where are the fields in the |
Unfortunately I didn't find code in neutron where this struct is defined. As far as I understood neutron just checks fields in db and if needed provides answer with ha attribute.
I think this code should be in Is there something wrong with openlab/check or I should fix something in code? |
Good point. I agree.
There's something wrong with OpenLab. Please ignore 🙂 |
Then maybe PR can be merged ? |
Not yet. We need to confirm the fields that you've defined in the structure. Where are you seeing that Looking for these things in the Neutron code can sometimes be difficult. Let me know if you need some help. It might take me a few days to get enough time to research it, but it's something I can help with. |
This field described in doc and additionally I check it with my stand with Ussuri. but if it mandatory I will try to find out |
Unfortunately we don't use API documentation to confirm fields. The API documentation might be out of date and we wouldn't know.
But this is OK. The best source is from the Neutron service code directly, but if it's too hard to figure out, then debug output from the client is acceptable. One other question: earlier, you had concerns about adding an |
|
I had concerns about creating HA routers for acceptance test. For implementation of creating HA router needed create separate PR and unfortunately I do not have enough time for it. For this moment would be ok just check For acceptance tests I have added |
|
Build failed.
|
|
Build failed.
|
|
@jtopjian Could you tell me what is blocking this PR now? |
My real life schedule and me finding time to set aside and do a final review of everything 🙂 I'll take a look at this as soon as I can. I apologize for the inconvenience. |
|
@alexeymyltsev Sorry again for the delay. I looked everything over and, to help expedite this, made some changes directly instead of through a review. The first change I made was to convert the I then updated the documentation in The second change I made was to update the acceptance tests. It appears that OpenLab tests are now working and the last failure reported was a real failure - there was a typo in the test you submitted. In addition, this API call requires admin permissions, so I had to create a new test that ensures an admin user executes the test. Let me know if you have any questions. |
|
Build succeeded.
|
|
@jtopjian I only not sure that this needed in acceptance test for |
|
Build succeeded.
|
I agree, but in my testing environment, no agents would be reported until I did an update on the router. |
|
@alexeymyltsev Thank you for your work and patience with this. |
For #2022
API doc:
https://docs.openstack.org/api-ref/network/v2/?expanded=list-l3-agents-hosting-a-router-detail#l3-agent-scheduler
Source code:
https://github.com/openstack/neutron/blob/fefd9a6bb1e5b685d56c75e7a538b0dfc0a959ec/neutron/db/l3_hascheduler_db.py#L44-L55