[Openstack] Need help
Rahul Sharma
rahulsharmaait at gmail.com
Mon Oct 14 08:00:14 UTC 2013
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 <dhasthagheer at 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_one at 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 at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131014/d04977f4/attachment.html>
More information about the Openstack
mailing list