Re: [Openstack] iptables chain and instance id

2015-03-18 Thread Joe Topjian
The number is the ID of the instance in the nova.instances table: mysql select id from instances where uuid = '9927550c-5950-4daf-9f05-0530e51d36c7'; +---+ | id| +---+ | 19437 | +---+ $ iptables-save | grep 19437 :nova-compute-inst-19437 - [0:0] -A nova-compute-inst-19437 -m

[Openstack] iptables chain and instance id

2015-03-18 Thread mad Engineer
I am having issue troubleshooting iptables rules. How can i identify which chain belongs to which instance.. i can see nova-compute-inst-X but i am not able to relate X to nova list or to virsh list,Can some one please help in identifying proper iptables chains

Re: [Openstack] iptables chain and instance id

2015-03-18 Thread James Denton
I’m not sure, but the X may be arbitrary. You should be able to correlate the nova-compute-inst-X chain to the instance by looking at the 'nova-compute-local’ chain and looking for the fixed IP: -A nova-compute-local -d 10.239.0.11/32 -j nova-compute-inst-25 -A nova-compute-local -d