cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raja Pullela (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8843) Guest VMs are not getting IPs as the DHCP port is not opened in VR
Date Tue, 15 Sep 2015 09:17:45 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-8843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14745112#comment-14745112
] 

Raja Pullela commented on CLOUDSTACK-8843:
------------------------------------------

All BasicZone BVTs are failing due to this error - DHCP entries are not getting created in
the VR and VMs are not getting IPs.  

VR Log: /var/log/dnsmasq.log
cannot read /etc/dhcphosts.txt: No such file or directory.

Management Server Log:
2015-09-15 07:49:34,627 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-250:ctx-b599eb04)
Executing command in VR: /opt/cloud/bin/router_proxy.sh update_config.py 169.254.0.228 vm_dhcp_entry.json
2015-09-15 07:49:55,754 ERROR [c.c.u.s.SshHelper] (DirectAgent-250:ctx-b599eb04) SSH execution
of command /opt/cloud/bin/router_proxy.sh update_config.py 169.254.0.228 vm_dhcp_entry.json
has an error status code in return. result output:
2015-09-15 07:49:55,755 DEBUG [c.c.a.r.v.VirtualRoutingResource] (DirectAgent-250:ctx-b599eb04)
Processing ScriptConfigItem, executing update_config.py vm_dhcp_entry.json took 21128ms


> Guest VMs are not getting IPs as the DHCP port is not opened in VR
> ------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8843
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8843
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Controller
>    Affects Versions: 4.6.0
>            Reporter: manasaveloori
>            Priority: Critical
>             Fix For: 4.6.0
>
>
> 1. Deployed CS with latest build.
> 2. Deployed a guest VM.
> 3. VM is not assigned any ip address.
> Observation:
> In VR 67 port is not opened
> root@r-9-VM:~# iptables-save
> # Generated by iptables-save v1.4.14 on Mon Sep 14 09:02:39 2015
> *filter
> :INPUT DROP [10:3400]
> :FORWARD DROP [0:0]
> :OUTPUT ACCEPT [117:15233]
> :FW_OUTBOUND - [0:0]
> :NETWORK_STATS - [0:0]
> -A INPUT -j NETWORK_STATS
> -A INPUT -d 224.0.0.18/32 -j ACCEPT
> -A INPUT -d 225.0.0.50/32 -j ACCEPT
> -A INPUT -i eth2 -m state --state RELATED,ESTABLISHED -j ACCEPT
> -A INPUT -p icmp -j ACCEPT
> -A INPUT -i lo -j ACCEPT
> -A INPUT -i eth1 -p tcp -m tcp --dport 3922 -m state --state NEW,ESTABLISHED -j ACCEPT
> -A FORWARD -j NETWORK_STATS
> -A OUTPUT -j NETWORK_STATS
> -A FW_OUTBOUND -m state --state RELATED,ESTABLISHED -j ACCEPT
> -A NETWORK_STATS -i eth0 -o eth2
> -A NETWORK_STATS -i eth2 -o eth0
> -A NETWORK_STATS ! -i eth0 -o eth2 -p tcp
> -A NETWORK_STATS -i eth2 ! -o eth0 -p tcp
> COMMIT
> # Completed on Mon Sep 14 09:02:39 2015
> # Generated by iptables-save v1.4.14 on Mon Sep 14 09:02:39 2015
> *nat
> :PREROUTING ACCEPT [83:8482]
> :INPUT ACCEPT [25:1716]
> :OUTPUT ACCEPT [5:380]
> :POSTROUTING ACCEPT [0:0]
> -A POSTROUTING -o eth2 -j SNAT --to-source 10.147.47.7
> COMMIT
> # Completed on Mon Sep 14 09:02:39 2015
> # Generated by iptables-save v1.4.14 on Mon Sep 14 09:02:39 2015
> *mangle
> :PREROUTING ACCEPT [391:44422]
> :INPUT ACCEPT [367:42880]
> :FORWARD ACCEPT [0:0]
> :OUTPUT ACCEPT [342:47621]
> :POSTROUTING ACCEPT [342:47621]
> :FIREWALL_10.147.47.7 - [0:0]
> :VPN_10.147.47.7 - [0:0]
> -A PREROUTING -d 10.147.47.7/32 -j FIREWALL_10.147.47.7
> -A PREROUTING -d 10.147.47.7/32 -j VPN_10.147.47.7
> -A PREROUTING -m state --state RELATED,ESTABLISHED -j CONNMARK --restore-mark --nfmask
0xffffffff --ctmask 0xffffffff
> -A PREROUTING -i eth2 -m state --state NEW -j CONNMARK --set-xmark 0x2/0xffffffff
> -A POSTROUTING -p udp -m udp --dport 68 -j CHECKSUM --checksum-fill
> -A FIREWALL_10.147.47.7 -m state --state RELATED,ESTABLISHED -j ACCEPT
> -A FIREWALL_10.147.47.7 -j DROP
> -A VPN_10.147.47.7 -m state --state RELATED,ESTABLISHED -j ACCEPT
> -A VPN_10.147.47.7 -j RETURN
> COMMIT
> # Completed on Mon Sep 14 09:02:39 2015
> root@r-9-VM:~#



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message