[Openstack] Need help

Marco Fornaro Marco.Fornaro at huawei.com
Mon Oct 14 07:34:06 UTC 2013


Hi Dhastha,

I followed a different guide and installed all in a single node:
https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_SingleNode/OpenStack_Grizzly_Install_Guide.rst
BUT I have similar problem: most of the time I cannot ping or ssh the VM that I create....sometime I can correctly create a VM...but if I reboot the system I start again to have problems
I'm still working on this issue BUT

In my opinion it's a problem related to L3 agent: it sometime does not correctly load into the router: see item 9 of the guide 

Marco

-----Original Message-----
From: Dhastha [mailto:dhasthagheer at gmail.com] 
Sent: den 14 oktober 2013 07:06
To: openstack at lists.openstack.org
Cc: nags at it.iitb.ac.in
Subject: [Openstack] Need help

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




More information about the Openstack mailing list