[RFE] add API for neutron debug tool "probe"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Won't Fix
|
Wishlist
|
LIU Yulong |
Bug Description
Recently, due to this bug:
https:/
We noticed that sometimes the guest OS is not fully UP, but test case is trying to login it. A simple idea is to ping it first, then try to login. So we hope to find a way for tempest to verify the neutron port link state. In high probability, the DB resource state is not reliable. We need an independent mechanism to check the VM network status. Because tempest is "blackbox" test, it can run in any host, we can not use the current resources under the existing mechanism, such as qdhcp-namepace or qrouter-namepace to do such check.
Then this RFE is up. We have neutron-debug tool which include a "probe" resource in the agent side.
https:/
We could add some API to neutron, and let the proper agent to add such "probe" for us.
In agent side, it will be a general agent extension, you can enable it to the ovs-agent, L3-agent or DHCP-agent.
Once you have such "probe" resource in the agent side, then you can run any command in it.
This will be useful for neutron CI to check the VM link state.
So a basic workflow will be:
1. neutron tempest create router and connected to one subnet (network-1)
2. neutron tempest create one VM
3. neutron tempest create one floating IP and bind it to the VM-1 port
4. create a "probe" for network-1 via neutron API
5. ping the VM port until reachable in the "probe" namespace
6. ssh the VM by floating IP
7. do the next step
One more thing, we now have set the "neutron-debug" tool as deprecated:
https:/
But we can remain that "probe" mechanism.
tags: | added: rfe |
Changed in neutron: | |
status: | New → Opinion |
Changed in neutron: | |
assignee: | nobody → LIU Yulong (dragon889) |
status: | Opinion → New |
tags: |
added: rfe removed: rfe-triaged |
Changed in neutron: | |
status: | Confirmed → Won't Fix |
1. Such probe may be also failure prone. In some operating systems network is configured (so ping will work) but there is a lot of time still needed to have ssh confiured properly. So in such case this probe will not help You at all.
2. What do You mean by "general agent extension"? How You want to use it in various agents? Where You want to plug probe e.g. with ovs-agent?
3. Can it be useful for anyone else than neutron CI? If no, maybe we should think about different solution for this specific problem (failing tempest tests) instead of revive old, deprecated tool which wasn't in fact maintained for long time - at least I don't remember any patch or tests for this tool :/