[ https://issues.apache.org/jira/browse/CLOUDSTACK-3589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13712156#comment-13712156 ]
Bharat Kumar commented on CLOUDSTACK-3589: ------------------------------------------ it is not because of DnsMasqConfigurator.java. it is because of the commit b903262df5e2ff5d174859ce28abae75c4689f0c. Null value is being passed in place of he gateway, while creating the DhcpTo. I think it is probably because the gateway is not assigned at the time of creating a vpc. but call to configure dnsmsaq is made while creating. > VM created from VPC network is not getting IP > --------------------------------------------- > > Key: CLOUDSTACK-3589 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3589 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Network Controller > Affects Versions: 4.2.0 > Environment: build: > CloudPlatform-4.2-216-rhel6.3.tar.gz > Advanced Zone with xen 6.1 host > Reporter: shweta agarwal > Assignee: Bharat Kumar > Priority: Blocker > Fix For: 4.2.0 > > > Repro steps: > 1. Create a VPC network and add a tier to it > 2. Create a VM With this network > Bug: > IP is not assigned to VM > Following is shown during VM starting up screen > Bringing up interface eth0: > Determining IP information for eth0... failed. > [FAILED] > Expected result: > VM should get IP successfully > dnsmasq.conf file on Router VM for VPC network shows > Shows following entries : > dhcp-range=set:range0,10.1.0.1,static > dhcp-hostsfile=/etc/dhcphosts.txt > log-facility=/var/log/dnsmasq.log > conf-dir=/etc/dnsmasq.d > dhcp-option=tag:range0,3,null > dhcp-option=tag:range0,1,255.255.0.0 > dhcp-option=tag:range0,6,169.254.1.127,10.103.128.16 > n when i tried to restart the dnsmasq service on router VM i get following > error > service dnsmasq restart > [FAIL] Restarting DNS forwarder and DHCP server: configuration syntax check > failed! -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira