yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #24985
[Bug 1396405] Re: why neutron agent use loop to detect the port's change, not use rpc call ?
This is a question, not a bug.
OVS agent monitors ovs directly, because it's a source of real devices created by compute service (nova).
Nova can't talk to Neutron agents by RPC, that's why this approach is not applicable here.
After encountering new device on OVS, OVS agent wires the port according
to a newtork the port is plugged in and reports to Neutron server that
the port is ready.
** Changed in: neutron
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1396405
Title:
why neutron agent use loop to detect the port's change, not use rpc
call ?
Status in OpenStack Neutron (virtual network service):
Invalid
Bug description:
I found that all neutron agent has a loop to detect the hypervisor's ports change and create port for instance,
But I found that neutron plugion will send a RPC call with fucion:AgentNotifierAPI,
if agent can write a function in RPCCall Back, it can get the message and then create the port.
so I feel puzzled, why agent does not use rpc callback function to
create port, but use loop to make it?
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1396405/+subscriptions
References