<div dir="ltr">The following is the script used to create internal document<div><br></div><div><br></div><div><div># keystone tenant-create --name project_one</div><div># keystone user-create --name=user_one --pass=user_one --tenant-id $put_id_of_project_one --email=<a href="mailto:user_one@domain.com">user_one@domain.com</a></div>
<div># keystone user-role-add --user-id $user_id_of_user_one --tenant-id $tenant_id_of_project_one --role-id $role_id_of_member_one </div><div># quantum net-create --tenant-id $tenant_id_of_project_one net_project_one</div>
<div># quantum subnet-create --tenant-id $tenant_id_of_project_one net_project_one <a href="http://50.50.1.0/24">50.50.1.0/24</a></div><div># quantum router-create --tenant-id $tenant_id_of_project_one router_proj_one</div>
<div>quantum router-interface-add $router_id_of_router_proj_one $subnet_id_of_here</div></div><div><br></div><div>I think there is something wrong with my openvswitch.</div><div><br></div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">2013/8/1 Guilherme Russi <span dir="ltr"><<a href="mailto:luisguilherme.cr@gmail.com" target="_blank">luisguilherme.cr@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Ok, let's see if it can help you, just to you know, I have my controller and network node at the same physical machine, and here is my quantum.conf:<div><br></div><div><div>[DEFAULT]</div></div><div><div>


debug = True</div><div>verbose = True</div></div><div class="im"><div>lock_path = $state_path/lock<br></div><div>bind_host = 0.0.0.0<br></div><div><div>bind_port = 9696</div></div><div>core_plugin = quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2<br>


</div></div><div><div>api_paste_config = /etc/quantum/api-paste.ini</div></div><div>control_exchange = quantum<br></div><div>rabbit_host = localhost<br></div><div><div>rabbit_password = password</div></div><div>...</div>
<div>[AGENT]<br>

</div><div>root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf<br></div><div>...</div><div><div>[keystone_authtoken]</div><div>auth_host = 127.0.0.1</div><div class="im"><div>auth_port = 35357</div><div>
auth_protocol = http</div>

<div>admin_tenant_name = service</div><div>admin_user = quantum</div><div>admin_password = password</div><div>signing_dir = /var/lib/quantum/keystone-signing</div></div></div><div><br></div><div>And when you created an internal network, you used the script at the openstack document? I have problems with that script and I had another way to solve it.</div>


<div><br></div><div>Regards.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Guilherme.</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/7/31 sam lee <span dir="ltr"><<a href="mailto:lixq2000@gmail.com" target="_blank">lixq2000@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">this is quantum.conf  on network node:<div><div>[DEFAULT]</div><div>verbose = True</div><div>sql_connection = mysql://quantum:quantum@100.10.10.51:3306@quantum</div>


<div>lock_path = $state_path/lock</div><div>
bind_host = 0.0.0.0</div><div>bind_port = 9696</div><div>core_plugin = quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2</div><div>api_paste_config = api-paste.ini</div><div>auth_strategy = keystone</div>


<div>
control_exchange = quantum</div><div>rabbit_host = 172.16.2.91</div><div>notification_driver = quantum.openstack.common.notifier.rpc_notifier</div><div>default_notification_level = INFO</div><div>notification_topics = notifications</div>



<div>[QUOTAS]</div><div>[DEFAULT_SERVICETYPE]</div><div>[AGENT]</div><div>root_helper = sudo quantum-rootwrap /etc/quantum/rootwrap.conf</div><div>[keystone_authtoken]</div><div>auth_host = 100.10.10.51 </div><div>auth_port = 35357</div>



<div>auth_protocol = http</div><div><div>admin_tenant_name = service</div><div>admin_user = quantum</div><div>admin_password = password</div></div><div>signing_dir = /var/lib/quantum/keystone-signing</div></div>

<div><br></div><div><br>
</div><div>this is quantum.conf on compute node</div><div><div>[DEFAULT]</div><div>verbose = True </div><div>lock_path = $state_path/lock</div><div>bind_host = 0.0.0.0</div><div>bind_port = 9696</div><div>core_plugin = quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2</div>



<div>api_paste_config = api-paste.ini</div><div>auth_strategy = keystone</div><div>control_exchange = quantum</div><div>rabbit_host = 100.10.10.51 </div><div>notification_driver = quantum.openstack.common.notifier.rpc_notifier</div>



<div>default_notification_level = INFO</div><div>notification_topics = notifications</div><div>[QUOTAS]</div><div>[DEFAULT_SERVICETYPE]</div><div>[AGENT]</div><div>root_helper = sudo quantum-rootwrap /etc/quantum/rootwrap.conf</div>



<div>[keystone_authtoken]</div><div>auth_host = 172.16.2.91</div><div>auth_port = 35357</div><div>auth_protocol = http</div><div><div>admin_tenant_name = service </div><div>admin_user = quantum</div><div>admin_password = password</div>



</div><div>signing_dir = /var/lib/quantum/keystone-signing</div></div><div><br></div><div><br></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/1 Guilherme Russi <span dir="ltr"><<a href="mailto:luisguilherme.cr@gmail.com" target="_blank">luisguilherme.cr@gmail.com</a>></span><br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Sam, <div><br></div><div>How is your quantum.conf configuration? I had this problem when I started with openstack, let's see if I can help you.</div>



<div><br></div><div>Regards.</div><div><br></div>

<div>Guilherme.</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/31 sam lee <span dir="ltr"><<a href="mailto:lixq2000@gmail.com" target="_blank">lixq2000@gmail.com</a>></span><br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi all:<div><br></div><div>       I installed  a three node openstack grizzly on  rhel6.4, I can launch a instances successfully.  but the instances can not get fix ip.</div>





<div>      </div><div>       [root@controller ~]# quantum router-list</div>
<div>       +--------------------------------------+-------------------+-----------------------------------------------+</div><div>       | id                                   | name             | external_gateway_info               |</div>






<div>      +--------------------------------------+--------------------+-----------------------------------------------+</div><div>       | 8caa43f5-9768-4d01-9200-2023c155cbee | router_proj_one | null                  |</div>






<div>      +--------------------------------------+--------------------+-----------------------------------------------+</div><div><br></div><div>      [root@controller ~]# quantum net-list<br></div><div>  </div><div>      +-----------------------------------------------------------+--------------------------+-----------------------------------------------------------------------------+</div>






<div>      | id                                                         | name                   | subnets                                                                  |</div><div>     +------------------------------------------------------------+---------------------------+-----------------------------------------------------------------------------+</div>






<div>      | 036547c0-defc-4c96-8bc2-6f019171c82e | net_project_one     | 67791b36-5302-4d5d-b045-cf52d92de778 <a href="http://50.50.1.0/24" target="_blank">50.50.1.0/24</a> |</div><div>     +-----------------------------------------------------------+----------------------------+----------------------------------------------------------------------------+</div>






<div><br></div><div>     l3_agent.ini on network node.</div><div>    </div><div>     [DEFAULT]</div><div>     interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver</div><div>     ovs_use_veth = True</div><div>






     use_namespaces = False</div><div>     router_id = 8caa43f5-9768-4d01-9200-2023c155cbee</div><div>     auth_url = <a href="http://100.10.10.51:35357/v2.0" target="_blank">http://100.10.10.51:35357/v2.0</a></div><div>





     auth_region = RegionOne</div>
<div>     admin_tenant_name = service</div><div>     admin_user = quantum</div><div>     admin_password = password</div><div>     metadata_ip = 172.16.2.91</div><div>     metadata_port = 8775</div><div><br></div><div>     dhcp_agent.ini on network node.</div>






<div><br></div><div>     [DEFAULT]</div><div>     interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver</div><div>     dhcp_driver = quantum.agent.linux.dhcp.Dnsmasq</div><div>     use_namespaces =False</div>






<div>     enable_isolated_metadata = True</div><div>     enable_metadata_network = True</div><div>     </div><div>     <span style="font-family:arial,sans-serif;font-size:14px">ovs_quantum_</span><span style="font-family:arial,sans-serif;font-size:14px">plugin.ini</span></div>






<div><span style="font-family:arial,sans-serif;font-size:14px">           </span>[DATABASE]</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>sql_connection = mysql://<a href="http://quantum:quantum@100.10.10.51:3306/quantum" target="_blank">quantum:quantum@100.10.10.51:3306/quantum</a></div>






<div>reconnect_interval = 2</div><div>[OVS]</div><div>tenant_network_type = gre</div><div>enable_tunneling = True</div><div>tunnel_id_ranges = 1:1000</div><div>integration_bridge = br-int</div><div>tunnel_bridge = br-tun</div>






<div>local_ip = 100.10.10.52</div><div>[AGENT]</div><div>polling_interval = 2</div><div>[SECURITYGROUP]</div><div>firewall_driver = quantum.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver</div></blockquote>





<div>
<br></div><div><span style="font-family:arial,sans-serif;font-size:14px"><br></span></div><div>    logs of instance:</div><div><br></div><div>          <span style="white-space:pre-wrap">############ debug start ##############</span></div>






<pre style="white-space:pre-wrap;word-wrap:break-word">       ### /etc/init.d/sshd start
</pre><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><pre style="white-space:pre-wrap;word-wrap:break-word">Starting dropbear sshd: OK</pre><pre style="white-space:pre-wrap;word-wrap:break-word">route: fscanf</pre>





<pre style="white-space:pre-wrap;word-wrap:break-word">### ifconfig a</pre><pre style="white-space:pre-wrap;word-wrap:break-word">eth0      Link encap:Ethernet  HWaddr FA:16:3E:DF:66:65  </pre>
<pre style="white-space:pre-wrap;word-wrap:break-word">          inet6 addr: fe80::f816:3eff:fedf:6665/64 Scope:Link</pre><pre style="white-space:pre-wrap;word-wrap:break-word">          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1</pre>






<pre style="white-space:pre-wrap;word-wrap:break-word">          RX packets:6 errors:0 dropped:0 overruns:0 frame:0</pre><pre style="white-space:pre-wrap;word-wrap:break-word">          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0</pre>






<pre style="white-space:pre-wrap;word-wrap:break-word">          collisions:0 txqueuelen:1000 </pre><pre style="white-space:pre-wrap;word-wrap:break-word">          RX bytes:468 (468.0 B)  TX bytes:1112 (1.0 KiB)</pre>
<pre style="white-space:pre-wrap;word-wrap:break-word"></pre><pre style="white-space:pre-wrap;word-wrap:break-word">lo        Link encap:Local Loopback  </pre><pre style="white-space:pre-wrap;word-wrap:break-word">          inet addr:127.0.0.1  Mask:255.0.0.0</pre>





<pre style="white-space:pre-wrap;word-wrap:break-word">          inet6 addr: ::1/128 Scope:Host</pre><pre style="white-space:pre-wrap;word-wrap:break-word">          UP LOOPBACK RUNNING  MTU:16436  Metric:1</pre><pre style="white-space:pre-wrap;word-wrap:break-word">


          RX packets:0 errors:0 dropped:0 overruns:0 frame:0</pre><pre style="white-space:pre-wrap;word-wrap:break-word">          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0</pre><pre style="white-space:pre-wrap;word-wrap:break-word">


          collisions:0 txqueuelen:0 </pre><pre style="white-space:pre-wrap;word-wrap:break-word">          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)</pre></blockquote><div><br></div><div> </div><div><br></div><div>Thanks in advance.</div>





</div>
<br></div></div>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>