[Bug 591472] [NEW] When the eucalyptus-cc service is stopped, the private dhcpd3 is left running and the iptables rules are not flushed

Etienne Goyer etienne.goyer at canonical.com
Tue Jun 8 22:47:10 BST 2010


Public bug reported:

Binary package hint: eucalyptus-cc

After stopping the eucalyptus-cc service, it seems like the private
dhcpd3 process to serve IP to instances is left running.  Moreover, the
iptables rules added by Eucalyptus in MANAGED mode are not being
flushed.

Here is a screen dump to demonstrate the problem:

------------------------------------------------------------
ubuntu at uec-cc1:~$ sudo status eucalyptus-cc
eucalyptus-cc start/running, process 9172
ubuntu at uec-cc1:~$ sudo stop eucalyptus-cc
eucalyptus-cc stop/waiting
ubuntu at uec-cc1:~$ sudo status eucalyptus-cc
eucalyptus-cc stop/waiting
ubuntu at uec-cc1:~$ sudo iptables -L -v -n 
Chain INPUT (policy ACCEPT 988 packets, 281K bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain FORWARD (policy DROP 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           ctstate ESTABLISHED 
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0           !172.19.0.0/16       

Chain OUTPUT (policy ACCEPT 762 packets, 322K bytes)
 pkts bytes target     prot opt in     out     source               destination
ubuntu at uec-cc1:~$ sudo iptables -L -v -n -t nat
Chain PREROUTING (policy ACCEPT 85 packets, 5100 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DNAT       tcp  --  *      *       172.19.0.0/16        169.254.169.254     tcp dpt:80 to:169.254.169.254:8773 

Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
   12   720 MASQUERADE  all  --  *      *      !127.0.0.0/8         !172.19.0.0/16       

Chain OUTPUT (policy ACCEPT 12 packets, 720 bytes)
 pkts bytes target     prot opt in     out     source               destination         
ubuntu at uec-cc1:~$ ps -ef | grep euca
dhcpd     8276     1  0 00:38 ?        00:00:00 /usr/sbin/dhcpd3 -cf //var/run/eucalyptus/net/euca-dhcp.conf -lf //var/run/eucalyptus/net/euca-dhcp.leases -pf //var/run/eucalyptus/net/euca-dhcp.pid -tf //var/run/eucalyptus/net/euca-dhcp.trace eth0
ubuntu    9353  9087  0 01:15 pts/1    00:00:00 grep --color=auto euca
------------------------------------------------------------------------------------------

eucalyptus-cc package version 1.6.2-0ubuntu30

** Affects: eucalyptus (Ubuntu)
     Importance: Undecided
         Status: New

-- 
When the eucalyptus-cc service is stopped, the private dhcpd3 is left running and the iptables rules are not flushed
https://bugs.launchpad.net/bugs/591472
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.



More information about the Ubuntu-server-bugs mailing list