Hi Dhastha, Its not the problem with firewall, but mostly due to some misconfiguration in network-config. You can have a reference of this good blog to debug the network issue. Hope it helps.
http://techbackground.blogspot.in/2013/05/debugging-quantum-dhcp-and-open-vswitch.html -Regards Rahul Sharma On Mon, Oct 14, 2013 at 4:21 PM, Dhastha <dhasthagh...@gmail.com> wrote: > Is there any problem with firewall . I ran following command in Network > node > > > iptables -L -n -v > > Chain INPUT (policy ACCEPT 61352 packets, 5843K bytes) > pkts bytes target prot opt in out source > destination > 0 0 ACCEPT 47 -- * * 0.0.0.0/0 > 0.0.0.0/0 > > Chain FORWARD (policy ACCEPT 219 packets, 13746 bytes) > pkts bytes target prot opt in out source > destination > > Chain OUTPUT (policy ACCEPT 25450 packets, 3847K bytes) > pkts bytes target prot opt in out source > destination > > > > > I tried > > iptables -A POSTROUTING -t mangle -p udp --dport 68 -j CHECKSUM > --checksum-fill > > > But instances doesnt get DHCP. > > > On Mon, Oct 14, 2013 at 2:49 PM, Dhastha <dhasthagh...@gmail.com> wrote: > > My virtual machine not getting IP address > > > > Console log in Horizon looks like below > > > > cloud-init-nonet waiting 120 seconds for a network device. > > cloud-init-nonet gave up waiting for a network device. > > ci-info: lo : 1 127.0.0.1 255.0.0.0 . > > ci-info: eth0 : 1 . . fa:16:3e:f9:9c:66 > > route_info failed > > > > > > How to solve this? > > > > > > On Mon, Oct 14, 2013 at 1:30 PM, Rahul Sharma <rahulsharma...@gmail.com> > wrote: > >> Hi Dhastha, > >> > >> Data interface is just to have connectivity between compute node and > network > >> node. They are the two endpoints of the GRE tunnel formed between the > >> compute and the network node. If you don't want data-interface, you can > use > >> the management interface as well. You specify that interface in the > quantum > >> openvswitch-agent's file. You can have a look at the detailed diagram on > >> this site:- > >> > >> > https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst > >> > >> On your second question that you are unable to ping or ssh the VM, have > you > >> checked that the IP is assigned to the VM properly? Verify it by running > >> ifconfig on the CLI of the VM. If yes, then kindly check whether the two > >> conditions added using CLI to security-groups are present in UI. It > might be > >> the security-groups issue or it could be that VM hasn't received IP from > >> dhcp-server. > >> > >> -Regards > >> Rahul Sharma > >> > >> > >> On Mon, Oct 14, 2013 at 10:36 AM, Dhastha <dhasthagh...@gmail.com> > wrote: > >>> > >>> I followed > >>> > >>> > >>> > http://longgeek.com/2013/03/31/openstack-grizzly-multi-node-deployment-in-ubuntu-12-04/ > >>> > >>> tutorial to deploy openstack using 3 physical machine. > >>> > >>> My networking setup as follows > >>> > >>> Controller: > >>> eth0 : 172.16.0.51 (openstack management network) > >>> eth1 : 10.129.50.140 (public network) > >>> > >>> Network: > >>> eth0: 172.16.0.52 (management network) > >>> eth1: 10.10.10.52 (Data network) > >>> eth2: 10.129.50.141 (public network) > >>> > >>> Compute Node: > >>> eth0: 172.16.0.52 (management network) > >>> eth1: 10.10.10.53 (Data network) > >>> > >>> > >>> Can anyone tell me How data network works? > >>> > >>> And, > >>> > >>> I followed following way to create VM in Openstack > >>> > >>> # keystone tenant-create --name project_one > >>> #keystone user-create --name=user_one --pass=user_one --tenant-id > >>> $put_id_of_project_one --email=user_...@domain.com > >>> # keystone user-role-add --tenant-id $put_id_of_project_one --user-id > >>> $put_id_of_user_one --role-id $put_id_of_member_role > >>> # quantum net-create --tenant-id $put_id_of_project_one net_proj_one > >>> # quantum subnet-create --tenant-id $put_id_of_project_one > >>> net_proj_one 50.50.1.0/24 --dns_nameservers list=true 10.200.1.11 > >>> #quantum router-create --tenant-id $put_id_of_project_one > router_proj_one > >>> # quantum agent-list (to get the l3 agent ID) > >>> # quantum l3-agent-router-add $l3_agent_ID router_proj_one > >>> # quantum router-interface-add $put_router_proj_one_id_here > >>> $put_subnet_id_here > >>> # cd /etc/init.d/; for i in $( ls quantum-* ); do sudo service $i > restart; > >>> done > >>> # quantum net-create --tenant-id $put_id_of_admin_tenant ext_net > >>> --router:external=True > >>> # quantum subnet-create --tenant-id $put_id_of_admin_tenant > >>> --allocation-pool start=10.129.50.145,end=10.129.50.158 --gateway > >>> 10.129.1.250 ext_net 10.129.50.145/28 --enable_dhcp=False > >>> # quantum router-gateway-set $put_router_proj_one_id_here > >>> $put_id_of_ext_net_here > >>> > >>> vi creds_proj_one > >>> > >>> #Paste the following: > >>> export OS_TENANT_NAME=project_one > >>> export OS_USERNAME=user_one > >>> export OS_PASSWORD=user_one > >>> export OS_AUTH_URL="http://10.129.50.140:5000/v2.0/" > >>> > >>> # source creds_proj_one > >>> > >>> > >>> # nova --no-cache secgroup-add-rule default icmp -1 -1 0.0.0.0/0 > >>> # nova --no-cache secgroup-add-rule default tcp 22 22 0.0.0.0/0 > >>> # quantum floatingip-create ext_net > >>> # nova --no-cache boot --image $id_myFirstImage --flavor 1 my_first_vm > >>> # quantum port-list > >>> # quantum floatingip-associate $put_id_floating_ip $put_id_vm_port > >>> > >>> > >>> The above commands created VM and VM gets two IP address. But I can > >>> not ssh and ping the VM. > >>> > >>> Can anyone help me to setup network for VM in Openstack? > >>> > >>> Thanks in advance. > >>> > >>> > >>> > >>> > >>> > >>> -- > >>> > >>> > >>> > >>> > >>> Cheers, > >>> > >>> Dhasthagheer > >>> Jr. Software Engineer > >>> Fundamental Research Group > >>> Indian Institute of Technology, Bombay > >>> > >>> _______________________________________________ > >>> Mailing list: > >>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > >>> Post to : openstack@lists.openstack.org > >>> Unsubscribe : > >>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > >> > >> > > > > > > > > -- > > > > > > > > > > Cheers, > > > > Dhasthagheer > > Jr. Software Engineer > > Fundamental Research Group > > Indian Institute of Technology, Bombay > > > > -- > > > > > Cheers, > > Dhasthagheer > Jr. Software Engineer > Fundamental Research Group > Indian Institute of Technology, Bombay >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack