yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #17065
[Bug 977738] Re: iptables-save command executed by "nova-manage network create" command with QuantumManager
I do not believe this is an issue anymore. Please re-open if it is.
** Changed in: nova
Status: Triaged => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/977738
Title:
iptables-save command executed by "nova-manage network create" command
with QuantumManager
Status in OpenStack Compute (Nova):
Invalid
Bug description:
Scenario :
when "nova-manage network create" is executed, it internally executes "iptables-save"
Here is a stack trace obtained by putting a breakpoint in nova/network/linux_net.py : apply() method
/usr/local/bin/nova-manage(7)<module>()
-> execfile(__file__)
/opt/stack/nova/bin/nova-manage(1746)<module>()
-> main()
/opt/stack/nova/bin/nova-manage(1733)main()
-> fn(*fn_args, **fn_kwargs)
/opt/stack/nova/bin/nova-manage(812)create()
-> fixed_cidr=fixed_cidr)
/opt/stack/nova/nova/network/quantum/manager.py(223)create_networks()
-> self.l3driver.initialize_network(cidr)
/opt/stack/nova/nova/network/l3.py(93)initialize_network()
-> linux_net.add_snat_rule(cidr)
/opt/stack/nova/nova/network/linux_net.py(434)add_snat_rule()
-> iptables_manager.apply()
/opt/stack/nova/nova/utils.py(945)inner()
-> retval = f(*args, **kwargs)
> /opt/stack/nova/nova/network/linux_net.py(327)apply()
-> current_table, _err = self.execute('%s-save' % (cmd,),
Expected Behavior :
nova-manage should only touch database, because nova-manage is not always executed on nova-network node.
So nova-manage should NOT execute iptables-save command
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/977738/+subscriptions