On 06/06/2012 11:25 PM, Roman Sokolkov wrote:
Hello!

XCP uses only Python 2.4. But upstream version of quantum ovs agent is unsupported by Python 2.4. What do you think about? Could we keep it in supported? And what about refactoring code in favor using RPC calls? Will it be possible to use RPC with Python 2.4 ?
I am currently implementing a blueprint (https://blueprints.launchpad.net/quantum/+spec/scalable-agent-comms) that improves quantum agents (by using RPC calls). There are a number of issues that we need to address here:
1. The python 2.4 support:
i. There is a bug open that requires enforcing that the agents run in 2.4 ii. Is this something that should be enforced by Quantum or is there another way of addressing this? Below are a few ideas:
        1. Using patched versions for 2.4 support.
2. I have yet to understand how Quantum runs on XCP with nova compute. Have the Quantum agent run in the same context as nova compute and send the "networking" commands in a similar way that they are done by the nova vif driver for Xen.
        3. Continue the enforcement (which has yet to be implemented)
I am in favor of item #2. This would require some development, but I think that it is doable and gives the most fleixibility to all.
2. RPC code:
i. There is a raging debate in OpenStack if this code should be part of openstack-common (I am certainly in favor of it as it will help us achive our goals and they have done some great work)
    ii. This is currently pending a review (pending the above)
iii. This makes use of the cfg>CONF global structure (I am in the process of addressiing this in Quantum - https://blueprints.launchpad.net/quantum/+spec/use-common-cfg (NOTE that we also need to validate the 2.4 here :)

Thanks
Aluta Continua
Gary

We are using XCP and have patched version of upstream agent worked with Python 2.4.

--
Regards, Roman Sokolkov


--
Mailing list: https://launchpad.net/~netstack
Post to     : netstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~netstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to