<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 6/1/2012 2:32 PM, Lorin Hochstein wrote:
<blockquote
cite="mid:5264FD6B-DBC3-4550-AA17-14812FD7F428@nimbisservices.com"
type="cite"><br>
<div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: Helvetica; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; "><span class="Apple-style-span"
style="border-collapse: separate; color: rgb(0, 0, 0);
font-family: Helvetica; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space; "><span
class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: Helvetica;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-border-horizontal-spacing:
0px; -webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; font-size: medium; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode:
space; -webkit-line-break: after-white-space; ">
<div><br>
</div>
</div>
</span></div>
</span></span>
</div>
<br>
<div>
<div>On Jun 1, 2012, at 2:27 PM, Ronald J. Yacketta wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000"> On 6/1/2012 2:16 PM,
Lorin Hochstein wrote:
<blockquote
cite="mid:3638AC53-0B4B-446D-90AE-718E32A41EB9@nimbisservices.com"
type="cite">
<div>
<div>
<div>On Jun 1, 2012, at 2:07 PM, Ronald J. Yacketta
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div>Hello all!<br>
<br>
Trying to setup a simple (lol simple..) openstack
single node configuration for testing. Been up and
down and all around networking and noting seems to
make sense or works.<br>
<br>
rpm -qa | grep openstack<br>
openstack-swift-object-1.4.8-2.el6.noarch<br>
openstack-swift-doc-1.4.8-2.el6.noarch<br>
openstack-glance-2012.1-5.el6.noarch<br>
openstack-dashboard-2012.1-4.el6.noarch<br>
openstack-swift-container-1.4.8-2.el6.noarch<br>
openstack-swift-proxy-1.4.8-2.el6.noarch<br>
openstack-keystone-2012.1-3.el6.noarch<br>
openstack-nova-2012.1-4.el6.noarch<br>
openstack-swift-1.4.8-2.el6.noarch<br>
openstack-swift-account-1.4.8-2.el6.noarch<br>
openstack-quantum-2012.1-4.el6.noarch<br>
openstack-utils-2012.1-1.el6.noarch<br>
<br>
Current attempt is to mirror the configuration
shown here <a moz-do-not-send="true"
href="http://unchainyourbrain.com/openstack/13-networking-in-nova">http://unchainyourbrain.com/openstack/13-networking-in-nova</a>.<br>
<br>
network configuration<br>
<br>
eth0 [public]:<br>
DEVICE="eth0"<br>
BOOTPROTO="static"<br>
NM_CONTROLLED="no"<br>
ONBOOT="yes"<br>
IPADDR=137.143.102.116<br>
GATEWAY=137.143.110.254<br>
NETMASK=255.255.240.0<br>
<br>
eth1 [private]: (tried with and without assigning
an IP)<br>
DEVICE="eth1"<br>
MTU="1500"<br>
ONBOOT=yes<br>
NM_CONTROLLED="no"<br>
IPADDR=192.168.0.1<br>
NETMASK=255.255.255.0<br>
<br>
nova.conf<br>
network_manager =
nova.network.manager.FlatDHCPManager<br>
fixed_range=10.200.0.0/24<br>
flat_network_dhcp_start=10.200.0.2<br>
flat_network_bridge=br100<br>
flat_interface=eth1<br>
flat_injected=False<br>
public_interface=eth0<br>
<br>
brctl:<br>
bridge name bridge id STP
enabled interfaces<br>
br100 8000.000000000000 no<br>
virbr0 8000.525400e396a2 yes
virbr0-nic<br>
<br>
created nova network via:<br>
nova-manage network create demonet 10.200.0.0/24 1
256 --bridge=br100<br>
<br>
It is my understanding that nova-network _should_
configure br100 and all the other network bits,
correct? if so, then something is just not right
in my config seeing that nova-network does not
configure anything with br100 or eth1.<br>
<br>
Anyone see where I went wrong?<br>
<br>
</div>
</blockquote>
<div><br>
</div>
</div>
Ron:</div>
<div><br>
</div>
<div>A lot of the Linux networking stuff done by
nova-network doesn't happen until you launch your first
instance. (I'm surprised you already have a br100 bridge
already, did you create that manually?). Have you tried
to launch one yet?</div>
<div><br>
</div>
<div>
<div><span class="Apple-style-span"
style="border-collapse: separate; font-family:
Helvetica; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-align:
-webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing:
0px; -webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; font-size: medium; "><span
class="Apple-style-span" style="border-collapse:
separate; font-family: Helvetica; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent:
0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; font-size: medium;
">
<div style="word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space; "><span
class="Apple-style-span"
style="border-collapse: separate; font-family:
Helvetica; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; font-size:
medium; ">
<div style="word-wrap: break-word;
-webkit-nbsp-mode: space;
-webkit-line-break: after-white-space; ">
<div>Take care,</div>
<div><br>
</div>
<div>Lorin</div>
<div>--</div>
<div>Lorin Hochstein</div>
<div>Lead Architect - Cloud Services</div>
<div>Nimbis Services, Inc.</div>
<div><a moz-do-not-send="true"
href="https://www.nimbisservices.com/">www.nimbisservices.com</a></div>
<div><br>
</div>
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</span><br class="Apple-interchange-newline">
</div>
</div>
</blockquote>
Have tried several times over to launch an instance, in each
and every case it is left in an ERROR state. Feel a lot of
my issue is lack of concise documentation as well as being
very very green with openstack.<br>
<br>
looking through the nova/network.log I see the following
error for an instance I just tried to launch<br>
<br>
failed to bind listening socket for 10.0.0.1: Address
already in use<br>
<br>
10.0.0.1 was assigned to br100 by nova, even more confused
now ;)<br>
<br>
<br>
</div>
</blockquote>
</div>
<br>
<div>I recommend you try tearing down that bridge and trying
again. </div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space; "><span
class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: Helvetica; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space; ">
<div>Take care,</div>
<div><br>
</div>
<div>Lorin</div>
<div>--</div>
<div>Lorin Hochstein</div>
<div>Lead Architect - Cloud Services</div>
<div>Nimbis Services, Inc.</div>
<div><a moz-do-not-send="true"
href="https://www.nimbisservices.com/">www.nimbisservices.com</a></div>
<div><br>
</div>
</div>
</span><br class="Apple-interchange-newline">
</div>
</div>
</blockquote>
<br>
br100 was destroyed<br>
<br>
ifdown eth0<br>
ip set link br100 down<br>
brctl delif br100 eth0<br>
brctl delbr br100<br>
<br>
reboot (for good measures)<br>
<br>
ifconfig shows eth0 up with no ip<br>
eth0 Link encap:Ethernet HWaddr 18:A9:05:76:95:78 <br>
inet6 addr: fe80::1aa9:5ff:fe76:9578/64 Scope:Link<br>
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1<br>
RX packets:5310 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:1000 <br>
RX bytes:819054 (799.8 KiB) TX bytes:492 (492.0 b)<br>
Interrupt:31 Memory:f8000000-f8012800<br>
<br>
brctl show does not list br100<br>
brctl show<br>
bridge name bridge id STP enabled interfaces<br>
virbr0 8000.525400e396a2 yes virbr0-nic<br>
<br>
<br>
launch instance<br>
nova boot myserver --flavor 2 --key_name mykey --image $(glance
index | grep f16-jeos | awk '{print $1}')<br>
<br>
now i am left with <br>
<br>
2012-06-01 15:27:14 INFO nova.rpc.impl_qpid
[req-60eedbb4-b96e-4596-88e5-284358d2569b None None] Connected to
AMQP server on localhost:5672<br>
2012-06-01 15:27:27 ERROR nova.rpc.impl_qpid
[req-ee6a2912-50e7-475c-9013-c0afbe659aa1
8a43429ec5df4e4097d1e91cf6e9ba3a 5331fd10509546ccb4c16232a0c012f1]
Timed out waiting for RPC response: None<br>
2012-06-01 15:27:27 TRACE nova.rpc.impl_qpid Traceback (most recent
call last):<br>
2012-06-01 15:27:27 TRACE nova.rpc.impl_qpid File
"/usr/lib/python2.6/site-packages/nova/rpc/impl_qpid.py", line 359,
in ensure<br>
2012-06-01 15:27:27 TRACE nova.rpc.impl_qpid return
method(*args, **kwargs)<br>
2012-06-01 15:27:27 TRACE nova.rpc.impl_qpid File
"/usr/lib/python2.6/site-packages/nova/rpc/impl_qpid.py", line 408,
in _consume<br>
2012-06-01 15:27:27 TRACE nova.rpc.impl_qpid nxt_receiver =
self.session.next_receiver(timeout=timeout)<br>
2012-06-01 15:27:27 TRACE nova.rpc.impl_qpid File
"<string>", line 6, in next_receiver<br>
2012-06-01 15:27:27 TRACE nova.rpc.impl_qpid File
"/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line
651, in next_receiver<br>
2012-06-01 15:27:27 TRACE nova.rpc.impl_qpid raise Empty<br>
2012-06-01 15:27:27 TRACE nova.rpc.impl_qpid Empty: None<br>
2012-06-01 15:27:27 TRACE nova.rpc.impl_qpid <br>
<br>
enough banding my head against this brick wall for this week ;) time
to call it quits and enjoy the weekend.<br>
<br>
-Ron<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>