<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceType"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PlaceName"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue style='word-wrap: break-word;-webkit-nbsp-mode: space;
-webkit-line-break: after-white-space'>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Ross,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>You also have to assign the router you
created an interface on the admin-net.1 <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>If everything is setup correctly you can
then run “neutron router-list” to see the ID of the router you created,
and then “neutron router-port-list ROUTER_ID” and you should see
that your router has two interfaces: one on the admin-net.1 subnet with IP
10.0.1.1/24 and another one on the admin-net.float subnet.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>There are three steps involved in setting
up a private router: create the router, add an interface to the private network
and then set its external gateway and the process is documented here: </span></font><a
href="http://docs.openstack.org/havana/install-guide/install/apt/content/demo_per_tenant_router_network_config.html">http://docs.openstack.org/havana/install-guide/install/apt/content/demo_per_tenant_router_network_config.html</a>
(<font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Step 5d)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I hope this helps.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>George<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Lillie
Ross-CDSR11 [mailto:Ross.Lillie@motorolasolutions.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, February 10, 2014
7:53 PM<br>
<b><span style='font-weight:bold'>To:</span></b> openstack@lists.openstack.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Openstack] Neutron (<st1:City
w:st="on"><st1:place w:st="on">Havana</st1:place></st1:City>) configuration on
Ubuntu</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>If this issue has already been discussed, please excuse.<br>
<br>
I’m somewhat confused about neutron configuration and tenancy. Correct me
if I’m wrong. <br>
<br>
First, I’ve create a private network under the ‘admin’ tenant
named ‘admin-net'. I’ve associated a subnet named admin-net.1 with
the admin-net with a CIDR of 10.0.1.0/24.<br>
<br>
Next, I created a network with router:external set to True associated with our
campus network named ‘campus-net’. This network was created
under the ‘service’ tenant’. I also create a router named
‘campus-gw’ under the ‘service’ tenant and set
it’s gateway to be the ‘campus-net’ network.<br>
<br>
Finally, I create a floating address pool under the ‘admin’ tenant
named ‘admin-net.float', and add it as an interface to the
‘campus-gw’ router. I also create a default security group
under the ‘admin’ tenant to allow SSH and ICMP access.<br>
<br>
When I boot an image, as a member of the admin tenant, the instance is
correctly assigned an IP address from the admin tenant’s private network.
I next allocate (nova floating-ip-create admin-net.float) a floating
IP address and associated it my running instance.<br>
<br>
However, I’m unable to ping the running instance, and I see no indication
of the end of the tunnel being established on the network/controller node.<br>
<br>
I’m not that well versed with network namespaces nor the openvswitch
commands. <br>
<br>
2 questions. Does my overall configuration sound correct? And how best to
diagnose what’s going on here? Any pointers would be helpful.
Additional details can be provided as needed. Thanks loads in advance.<br>
<br>
Regards,<br>
/ross<br>
<br>
—<br>
<br>
(neutron) net-list<br>
+--------------------------------------+------------+----------------------------------------------------+<br>
| id
| name
| subnets
|<br>
+--------------------------------------+------------+----------------------------------------------------+<br>
| 2426f4d8-a983-4f50-ab5a-fd2a37e5cd94 | campus-net |
a948538d-c2c2-4c02-9116-b89a79f0c73a 173.23.0.0/16 |<br>
| e6984375-f35b-4636-a293-43d0d296e0ff | admin-net |
2ced890b-944f-4f6e-8f7a-3f5a4d07c2bb 10.0.1.0/24 |<br>
+--------------------------------------+------------+----------------------------------------------------+<br>
(neutron) subnet-list<br>
+--------------------------------------+--------------------+---------------+---------------------------------------------------+<br>
| id
| name
| cidr
| allocation_pools
|<br>
+--------------------------------------+--------------------+---------------+---------------------------------------------------+<br>
| 2ced890b-944f-4f6e-8f7a-3f5a4d07c2bb | admin-net.1
| 10.0.1.0/24 | {"start":
"10.0.1.2", "end": "10.0.1.254"}
|<br>
| a948538d-c2c2-4c02-9116-b89a79f0c73a | admin-net.floating | 173.23.0.0/16 |
{"start": "173.23.182.2", "end":
"173.23.182.15"} |<br>
+--------------------------------------+--------------------+---------------+---------------------------------------------------+<br>
(neutron) router-list<br>
+--------------------------------------+-----------+-----------------------------------------------------------------------------+<br>
| id
| name
| external_gateway_info
|<br>
+--------------------------------------+-----------+-----------------------------------------------------------------------------+<br>
| 43c596c4-65fe-4c22-a48a-0a6e200abf78 | campus-gw | {"network_id":
"2426f4d8-a983-4f50-ab5a-fd2a37e5cd94", "enable_snat":
true} |<br>
+--------------------------------------+-----------+-----------------------------------------------------------------------------+<br>
(neutron) router-show campus-gw<br>
+-----------------------+-----------------------------------------------------------------------------+<br>
| Field |
Value
|<br>
+-----------------------+-----------------------------------------------------------------------------+<br>
| admin_state_up | True
|<br>
| external_gateway_info | {"network_id":
"2426f4d8-a983-4f50-ab5a-fd2a37e5cd94", "enable_snat":
true} |<br>
| id
| 43c596c4-65fe-4c22-a48a-0a6e200abf78
|<br>
| name |
campus-gw
|<br>
| routes
|
|<br>
| status |
ACTIVE
|<br>
| tenant_id |
service
|<br>
+-----------------------+-----------------------------------------------------------------------------+<br>
(neutron) security-group-list<br>
+--------------------------------------+---------+-------------+<br>
| id
| name
| description |<br>
+--------------------------------------+---------+-------------+<br>
| 0d66a3e2-7a0f-4caf-8b63-c3c8f3106242 | default | default
|<br>
| c87230fa-9193-47a7-8ade-cec5f7f6b958 | default | default
|<br>
+--------------------------------------+---------+-------------+<br>
(neutron) <o:p></o:p></span></font></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>root@cirrus3:/var/log/neutron#
nova list<br>
+--------------------------------------+------+--------+------------+-------------+----------------------------------+<br>
| ID
| Name | Status | <st1:PlaceName
w:st="on">Task</st1:PlaceName> <st1:PlaceType w:st="on">State</st1:PlaceType> |
<st1:place w:st="on"><st1:PlaceName w:st="on">Power</st1:PlaceName> <st1:PlaceType
w:st="on">State</st1:PlaceType></st1:place> | Networks
|<br>
+--------------------------------------+------+--------+------------+-------------+----------------------------------+<br>
| ccdf7541-3a74-4289-a8ce-9fe5cffe9dbd | tvm1 | ACTIVE | None
| Running | admin-net=10.0.1.2, 173.23.182.3 |<br>
+--------------------------------------+------+--------+------------+-------------+----------------------------------+<br>
root@cirrus3:/var/log/neutron# nova show tvm1<br>
+--------------------------------------+----------------------------------------------------------+<br>
| Property
| Value
|<br>
+--------------------------------------+----------------------------------------------------------+<br>
| status
| ACTIVE
|<br>
| updated
| 2014-02-11T00:03:25Z
|<br>
| OS-EXT-STS:task_state
| None
|<br>
| OS-EXT-SRV-ATTR:host
| cn1
|<br>
| key_name
| root
|<br>
| image
| cirros
(57a9f5d6-8b07-4bdb-b8a0-900de339d804)
|<br>
| admin-net network
| 10.0.1.2, 173.23.182.3
|<br>
| hostId
|
982cd20cde9c5f8514c95b5ca8530258fa9454cdc988a8b007a6d20b |<br>
| OS-EXT-STS:vm_state
| active
|<br>
| OS-EXT-SRV-ATTR:instance_name | instance-00000021
|<br>
| OS-SRV-USG:launched_at |
2014-02-11T00:03:25.000000
|<br>
| OS-EXT-SRV-ATTR:hypervisor_hostname | cn1
|<br>
| flavor
| m1.tiny (1)
|<br>
| id
|
ccdf7541-3a74-4289-a8ce-9fe5cffe9dbd
|<br>
| security_groups
| [{u'name': u'default'}]
|<br>
| OS-SRV-USG:terminated_at | None
|<br>
| user_id
| 090a2de6e74b4573bd29318d4f494191
|<br>
| name
| tvm1
|<br>
| created
| 2014-02-11T00:02:47Z
|<br>
| tenant_id
| ec54b7cadcab4620bbb6d568be7bd4a8
|<br>
| OS-DCF:diskConfig
| MANUAL
|<br>
| metadata
| {}
|<br>
| os-extended-volumes:volumes_attached | []
|<br>
| accessIPv4
|
|<br>
| accessIPv6
|
|<br>
| progress
| 0
|<br>
| OS-EXT-STS:power_state | 1
|<br>
| OS-EXT-AZ:availability_zone | nova
|<br>
| config_drive
|
|<br>
+--------------------------------------+----------------------------------------------------------+<br>
root@cirrus3:/var/log/neutron# <o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>--<br>
Ross Lillie<br>
Distinguished Member of Technical Staff<br>
Motorola Solutions, Inc.<br>
<br>
<a href="http://motorolasolutions.com">motorolasolutions.com</a><br>
O: +1.847.576.0012<br>
M: +1.847.980.2241<br>
E: ross.lillie@motorolasolutions.com<br>
<br>
<br>
<img border=0 width=277 height=33 id=E6E45290-8360-4D54-A5EB-552842B310F3
src="cid:image001.gif@01CF2719.47EA0B20" apple-inline=yes apple-width=yes
apple-height=yes><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</div>
</body>
</html>