<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em; MARGIN-TOP: 0px
}
OL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
UL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
DIV.FoxDiv20131024143415131690 {
WORD-WRAP: break-word; FONT-SIZE: 10.5pt; FONT-FAMILY: 微软雅黑; COLOR: #000080; LINE-HEIGHT: 1.5; -WEBKIT-NBSP-MODE: SPACE; -WEBKIT-LINE-BREAK: AFTER-WHITE-SPACE
}
BODY {
FONT-SIZE: 10.5pt; FONT-FAMILY: 微软雅黑; COLOR: #000080; LINE-HEIGHT: 1.5
}
</STYLE>
<META name=GENERATOR content="MSHTML 10.00.9200.16721"></HEAD>
<BODY style="MARGIN: 10px">
<DIV> </DIV>
<DIV>
<DIV><SPAN>
<DIV
style="FONT-SIZE: 10pt; FONT-FAMILY: verdana; COLOR: #000000; LINE-HEIGHT: 1.5">
<DIV style="FONT-SIZE: 22px"><FONT size=2></FONT></DIV>
<DIV>
<DIV>Sure.</DIV>
<DIV> </DIV>
<DIV>
<DIV>root@controller:~# nova secgroup-list</DIV>
<DIV>+----+---------+-------------+</DIV>
<DIV>| Id | Name | Description |</DIV>
<DIV>+----+---------+-------------+</DIV>
<DIV>| 1 | default | default |</DIV>
<DIV>+----+---------+-------------+</DIV>
<DIV>root@controller:~# nova secgroup-list-rules 1</DIV>
<DIV>+-------------+-----------+---------+-----------+--------------+</DIV>
<DIV>| IP Protocol | From Port | To Port | IP Range | Source Group |</DIV>
<DIV>+-------------+-----------+---------+-----------+--------------+</DIV>
<DIV>| tcp |
22 | 22
| 0.0.0.0/0
|
|</DIV>
<DIV>| icmp |
-1 | -1
| 0.0.0.0/0
|
|</DIV>
<DIV>+-------------+-----------+---------+-----------+--------------+</DIV></DIV>
<DIV> </DIV></DIV></DIV></SPAN></DIV></DIV>
<DIV
style="BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; PADDING-BOTTOM: 0cm; PADDING-TOP: 3pt; PADDING-LEFT: 0cm; BORDER-LEFT: medium none; PADDING-RIGHT: 0cm">
<DIV
style="FONT-SIZE: 12px; FONT-FAMILY: tahoma; BACKGROUND: #efefef; COLOR: #000000; PADDING-BOTTOM: 8px; PADDING-TOP: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px">
<DIV><B>From:</B> <A href="mailto:razique.mahroua@gmail.com">Razique
Mahroua</A></DIV>
<DIV><B>Date:</B> 2013-10-24 14:25</DIV>
<DIV><B>To:</B> <A href="mailto:dongjh@nci.com.cn">董建华</A></DIV>
<DIV><B>CC:</B> <A
href="mailto:Openstack@lists.openstack.org">openstack</A></DIV>
<DIV><B>Subject:</B> Re: [Openstack] Help for creating the bridge
br100</DIV></DIV></DIV>
<DIV>
<DIV class=FoxDiv20131024143415131690 style="BACKGROUND-COLOR: white">Did you
created the security rules for ICMP echo req/reply ?
<DIV><BR>
<DIV>
<DIV>On Oct 23, 2013, at 22:40, 董建华 <<A
href="mailto:dongjh@nci.com.cn">dongjh@nci.com.cn</A>> wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<STYLE>BLOCKQUOTE {
MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em; MARGIN-TOP: 0px
}
OL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
UL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
DIV.FoxDiv20131024133525650240 {
WORD-WRAP: break-word; COLOR: #000000; -WEBKIT-NBSP-MODE: SPACE; -WEBKIT-LINE-BREAK: AFTER-WHITE-SPACE
}
P {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
</STYLE>
<META name=GENERATOR content="MSHTML 10.00.9200.16721">
<DIV style="MARGIN: 10px">
<DIV>
<DIV><SPAN>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana; LINE-HEIGHT: 1.5">
<DIV style="FONT-SIZE: 22px"><FONT size=2></FONT></DIV>
<DIV>
<DIV> </DIV>
<DIV>Hi Mahroua, </DIV>
<DIV> </DIV>
<DIV>As you suggested, i started the instances after adding the bridge br100
manually, the VM's started successfully, but were not pingable, however the IP
for the bridge itself was pingable, what is the issue? Should i
assoiate a physical NIC with br100?</DIV>
<DIV> </DIV>
<DIV>
<DIV>root@compute1:~# nova list</DIV>
<DIV>+--------------------------------------+--------+--------+------------+-------------+----------------------+</DIV>
<DIV>|
ID
| Name | Status | Task State | Power State |
Networks
|</DIV>
<DIV>+--------------------------------------+--------+--------+------------+-------------+----------------------+</DIV>
<DIV>| 4560a831-e3e4-4db9-860e-361834d9cca4 | cirrOS | ACTIVE |
None | Running |
vmnet=192.168.11.195 |</DIV>
<DIV>| ac659c91-520b-4b35-8d0d-7a5f2a6c82c4 | cirrOS | ACTIVE |
None | Running |
vmnet=192.168.11.196 |</DIV>
<DIV>+--------------------------------------+--------+--------+------------+-------------+----------------------+</DIV>
<DIV>root@compute1:~# ip addr</DIV>
<DIV>1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state
UNKNOWN</DIV>
<DIV> link/loopback 00:00:00:00:00:00 brd
00:00:00:00:00:00</DIV>
<DIV> inet 127.0.0.1/8 scope host lo</DIV>
<DIV> inet 169.254.169.254/32 scope link lo</DIV>
<DIV> inet6 ::1/128 scope host</DIV>
<DIV> valid_lft forever preferred_lft
forever</DIV>
<DIV>2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state
UP qlen 1000</DIV>
<DIV> link/ether b8:ca:3a:ec:66:8c brd
ff:ff:ff:ff:ff:ff</DIV>
<DIV> inet6 fe80::baca:3aff:feec:668c/64 scope link</DIV>
<DIV> valid_lft forever preferred_lft
forever</DIV>
<DIV>3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen
1000</DIV>
<DIV> link/ether b8:ca:3a:ec:66:8e brd
ff:ff:ff:ff:ff:ff</DIV>
<DIV>4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen
1000</DIV>
<DIV> link/ether b8:ca:3a:ec:66:90 brd
ff:ff:ff:ff:ff:ff</DIV>
<DIV>5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen
1000</DIV>
<DIV> link/ether b8:ca:3a:ec:66:92 brd
ff:ff:ff:ff:ff:ff</DIV>
<DIV>6: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state
UP qlen 1000</DIV>
<DIV> link/ether 00:0a:f7:24:1e:40 brd
ff:ff:ff:ff:ff:ff</DIV>
<DIV> inet 10.10.10.182/24 brd 10.10.10.255 scope global
eth4</DIV>
<DIV> inet6 fe80::20a:f7ff:fe24:1e40/64 scope link</DIV>
<DIV> valid_lft forever preferred_lft
forever</DIV>
<DIV>7: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen
1000</DIV>
<DIV> link/ether 00:0a:f7:24:1e:42 brd
ff:ff:ff:ff:ff:ff</DIV>
<DIV>9: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc
noqueue state DOWN</DIV>
<DIV> link/ether b2:43:fa:53:cc:11 brd
ff:ff:ff:ff:ff:ff</DIV>
<DIV> inet 192.168.122.1/24 brd 192.168.122.255 scope global
virbr0</DIV>
<DIV>10: br100: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state
DOWN</DIV>
<DIV> link/ether fa:16:3e:f3:f0:04 brd
ff:ff:ff:ff:ff:ff</DIV>
<DIV> inet 192.168.11.193/27 brd 192.168.11.223 scope global
br100</DIV>
<DIV>11: vlan100@br100: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop
master br100 state DOWN</DIV>
<DIV> link/ether fa:16:3e:f3:f0:04 brd
ff:ff:ff:ff:ff:ff</DIV>
<DIV>12: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast master br100 state UNKNOWN qlen 500</DIV>
<DIV> link/ether fe:16:3e:fa:60:5c brd
ff:ff:ff:ff:ff:ff</DIV>
<DIV> inet6 fe80::fc16:3eff:fefa:605c/64 scope link</DIV>
<DIV> valid_lft forever preferred_lft
forever</DIV>
<DIV>root@compute1:~# ifconfig -a</DIV>
<DIV>br100 Link encap:Ethernet HWaddr
fa:16:3e:f3:f0:04</DIV>
<DIV> inet
addr:192.168.11.193 Bcast:192.168.11.223
Mask:255.255.255.224</DIV>
<DIV> BROADCAST
MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:0
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:0
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:0</DIV>
<DIV> RX bytes:0 (0.0
B) TX bytes:0 (0.0 B)</DIV>
<DIV> </DIV>
<DIV>eth0 Link encap:Ethernet HWaddr
b8:ca:3a:ec:66:8c</DIV>
<DIV> inet6 addr:
fe80::baca:3aff:feec:668c/64 Scope:Link</DIV>
<DIV> UP BROADCAST
RUNNING MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:28816
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:2514
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:1000</DIV>
<DIV> RX bytes:2924850
(2.9 MB) TX bytes:868260 (868.2 KB)</DIV>
<DIV> Interrupt:34
Memory:d1000000-d17fffff</DIV>
<DIV> </DIV>
<DIV>eth1 Link encap:Ethernet HWaddr
b8:ca:3a:ec:66:8e</DIV>
<DIV> BROADCAST
MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:0
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:0
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:1000</DIV>
<DIV> RX bytes:0 (0.0
B) TX bytes:0 (0.0 B)</DIV>
<DIV> Interrupt:36
Memory:d2000000-d27fffff</DIV>
<DIV> </DIV>
<DIV>eth2 Link encap:Ethernet HWaddr
b8:ca:3a:ec:66:90</DIV>
<DIV> BROADCAST
MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:0
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:0
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:1000</DIV>
<DIV> RX bytes:0 (0.0
B) TX bytes:0 (0.0 B)</DIV>
<DIV> Interrupt:36
Memory:d3000000-d37fffff</DIV>
<DIV> </DIV>
<DIV>eth3 Link encap:Ethernet HWaddr
b8:ca:3a:ec:66:92</DIV>
<DIV> BROADCAST
MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:0
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:0
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:1000</DIV>
<DIV> RX bytes:0 (0.0
B) TX bytes:0 (0.0 B)</DIV>
<DIV> Interrupt:37
Memory:d4000000-d47fffff</DIV>
<DIV> </DIV>
<DIV>eth4 Link encap:Ethernet HWaddr
00:0a:f7:24:1e:40</DIV>
<DIV> inet
addr:10.10.10.182 Bcast:10.10.10.255 Mask:255.255.255.0</DIV>
<DIV> inet6 addr:
fe80::20a:f7ff:fe24:1e40/64 Scope:Link</DIV>
<DIV> UP BROADCAST
RUNNING MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:243487
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:238920
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:1000</DIV>
<DIV> RX bytes:94402647
(94.4 MB) TX bytes:58522363 (58.5 MB)</DIV>
<DIV> Interrupt:72
Memory:c8000000-c87fffff</DIV>
<DIV> </DIV>
<DIV>eth5 Link encap:Ethernet HWaddr
00:0a:f7:24:1e:42</DIV>
<DIV> BROADCAST
MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:0
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:0
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:1000</DIV>
<DIV> RX bytes:0 (0.0
B) TX bytes:0 (0.0 B)</DIV>
<DIV> Interrupt:76
Memory:c9000000-c97fffff</DIV>
<DIV> </DIV>
<DIV>lo Link encap:Local
Loopback</DIV>
<DIV> inet
addr:127.0.0.1 Mask:255.0.0.0</DIV>
<DIV> inet6 addr:
::1/128 Scope:Host</DIV>
<DIV> UP LOOPBACK
RUNNING MTU:16436 Metric:1</DIV>
<DIV> RX packets:8
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:8
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:0</DIV>
<DIV> RX bytes:672
(672.0 B) TX bytes:672 (672.0 B)</DIV>
<DIV> </DIV>
<DIV>virbr0 Link encap:Ethernet HWaddr
b2:43:fa:53:cc:11</DIV>
<DIV> inet
addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0</DIV>
<DIV> UP BROADCAST
MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:0
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:0
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:0</DIV>
<DIV> RX bytes:0 (0.0
B) TX bytes:0 (0.0 B)</DIV>
<DIV> </DIV>
<DIV>vlan100 Link encap:Ethernet HWaddr
fa:16:3e:f3:f0:04</DIV>
<DIV> BROADCAST
MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:0
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:0
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:0</DIV>
<DIV> RX bytes:0 (0.0
B) TX bytes:0 (0.0 B)</DIV>
<DIV> </DIV>
<DIV>vnet0 Link encap:Ethernet HWaddr
fe:16:3e:fa:60:5c</DIV>
<DIV> inet6 addr:
fe80::fc16:3eff:fefa:605c/64 Scope:Link</DIV>
<DIV> UP BROADCAST
RUNNING MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:9
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:6
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:500</DIV>
<DIV> RX bytes:1434 (1.4
KB) TX bytes:468 (468.0 B)</DIV>
<DIV> </DIV>
<DIV>root@compute1:~# ping 192.168.11.193</DIV>
<DIV>PING 192.168.11.193 (192.168.11.193) 56(84) bytes of data.</DIV>
<DIV>64 bytes from 192.168.11.193: icmp_req=1 ttl=64 time=0.070 ms</DIV>
<DIV>64 bytes from 192.168.11.193: icmp_req=2 ttl=64 time=0.036 ms</DIV>
<DIV>^C</DIV>
<DIV>--- 192.168.11.193 ping statistics ---</DIV>
<DIV>2 packets transmitted, 2 received, 0% packet loss, time 999ms</DIV>
<DIV>rtt min/avg/max/mdev = 0.036/0.053/0.070/0.017 ms</DIV>
<DIV>root@compute1:~# ping 192.168.11.195</DIV>
<DIV>connect: Network is unreachable</DIV>
<DIV>root@compute1:~# ping 192.168.11.196</DIV>
<DIV>connect: Network is unreachable</DIV>
<DIV>root@compute1:~# brctl show br100</DIV>
<DIV>bridge name bridge
id
STP enabled interfaces</DIV>
<DIV>br100
8000.fa163ef3f004
no
vlan100</DIV>
<DIV>
vnet0</DIV></DIV>
<DIV> </DIV>
<DIV><U><FONT
color=#0066cc></FONT></U> </DIV></DIV></DIV></SPAN></DIV></DIV>
<DIV
style="BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; PADDING-BOTTOM: 0cm; PADDING-TOP: 3pt; PADDING-LEFT: 0cm; BORDER-LEFT: medium none; PADDING-RIGHT: 0cm">
<DIV
style="FONT-SIZE: 12px; FONT-FAMILY: tahoma; PADDING-BOTTOM: 8px; PADDING-TOP: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND-COLOR: rgb(239,239,239)">
<DIV><B>From:</B> <A href="mailto:razique.mahroua@gmail.com">Razique
Mahroua</A></DIV>
<DIV><B>Date:</B> 2013-10-24 12:23</DIV>
<DIV><B>To:</B> <A href="mailto:dongjh@nci.com.cn">董建华</A></DIV>
<DIV><B>CC:</B> <A
href="mailto:Openstack@lists.openstack.org">Openstack</A></DIV>
<DIV><B>Subject:</B> Re: [Openstack] Help for creating the bridge
br100</DIV></DIV></DIV>
<DIV>
<DIV class=FoxDiv20131024133525650240 style="BACKGROUND-COLOR: white"><BASE
href="x-msg://51/">Hi,
<DIV>you can try:</DIV>
<DIV>brctl addbr br100</DIV>
<DIV>then restart nova-network and nova-compute services, they'll hook it up
correctly :)</DIV>
<DIV><BR></DIV>
<DIV>
<DIV>
<DIV>Le 23 oct. 2013 à 04:55, 董建华 <<A
href="mailto:dongjh@nci.com.cn">dongjh@nci.com.cn</A>> a écrit :</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<DIV
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FONT: 10.5pt/1.5 微软雅黑; MARGIN: 10px; ORPHANS: 2; WIDOWS: 2; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">
<DIV>Hello all,</DIV>
<DIV> </DIV>
<DIV>
<DIV>I'm trying to install openstack and lauch the first VM, following with
the installation guide "openstack-install-guide-apt-havana.pdf". I have one
controller node plus two compute nodes.</DIV>
<DIV> </DIV>
<DIV>After creating the network vmnet, i tried to lauch the first CirrOS VM,
i saw the bridge br100 was created on the first compute node automatically,
and an IP was assigned to this new created bridge(the last valid IP in vmnet
subnet), however i found the netmask for vmnet was not correct, so i removed
the bridge br100 from the first compute node via 'brctl' command, then
removed the network 'vmnet' via the commands "nova network-disassociate" and
"nova net-delete", finally i added the network 'vmnet' back with the correct
netmask. After doing that, when i try to lauch a VM, it will fail, the error
message is 'cannot setup interface: No such device', even if you stop the
'nova-network' and 'nova-compute' services on the first compute node(i.e.
the same issue on the second compute node), and sometimes when i restart the
'nova-network' and 'nova-compute' services on the compute nodes, it will
throw out the similar error messages, and the services fail to start, but
not always.</DIV>
<DIV> </DIV>
<DIV>How can i have nova create the bridge br100 on the compute nodes
automatically? Should i clean the mysql database or re-install the
nova-network package on the compute nodes?</DIV>
<DIV> </DIV>
<DIV>Thanks.</DIV>
<DIV> </DIV>
<DIV>root@controller:~# nova image-list</DIV>
<DIV>+--------------------------------------+--------------+--------+--------+</DIV>
<DIV>|
ID
| Name | Status | Server
|</DIV>
<DIV>+--------------------------------------+--------------+--------+--------+</DIV>
<DIV>| 26fa8866-d075-444d-9844-61b7c22e724b | CirrOS 0.3.1 | ACTIVE
| |</DIV>
<DIV>+--------------------------------------+--------------+--------+--------+</DIV>
<DIV>root@controller:~# nova help start</DIV>
<DIV>usage: nova start <server></DIV>
<DIV> </DIV>
<DIV>Start a server.</DIV>
<DIV> </DIV>
<DIV>Positional arguments:</DIV>
<DIV> <server> Name or ID of server.</DIV>
<DIV>root@controller:~# nova boot --flavor 1 --key_name mykey --image
26fa8866-d075-444d-9844-61b7c22e724b --security_group default cirrOS</DIV>
<DIV>+--------------------------------------+--------------------------------------+</DIV>
<DIV>|
Property
|
Value
|</DIV>
<DIV>+--------------------------------------+--------------------------------------+</DIV>
<DIV>|
OS-EXT-STS:task_state
|
scheduling
|</DIV>
<DIV>|
image
| CirrOS
0.3.1
|</DIV>
<DIV>|
OS-EXT-STS:vm_state
|
building
|</DIV>
<DIV>|
OS-EXT-SRV-ATTR:instance_name |
instance-0000000b
|</DIV>
<DIV>|
OS-SRV-USG:launched_at
|
None
|</DIV>
<DIV>|
flavor
|
m1.tiny
|</DIV>
<DIV>|
id
| 0d3afadb-ec5c-4f26-ad7f-707679be6b3a |</DIV>
<DIV>|
security_groups
| [{u'name':
u'default'}]
|</DIV>
<DIV>|
user_id
| eecb2b5f2b4f481980a5546af680481c |</DIV>
<DIV>|
OS-DCF:diskConfig
|
MANUAL
|</DIV>
<DIV>|
accessIPv4
|
|</DIV>
<DIV>|
accessIPv6
|
|</DIV>
<DIV>|
progress
|
0
|</DIV>
<DIV>|
OS-EXT-STS:power_state
|
0
|</DIV>
<DIV>|
OS-EXT-AZ:availability_zone
|
nova
|</DIV>
<DIV>|
config_drive
|
|</DIV>
<DIV>|
status
|
BUILD
|</DIV>
<DIV>|
updated
|
2013-10-23T11:40:23Z
|</DIV>
<DIV>|
hostId
|
|</DIV>
<DIV>|
OS-EXT-SRV-ATTR:host
|
None
|</DIV>
<DIV>|
OS-SRV-USG:terminated_at
|
None
|</DIV>
<DIV>|
key_name
|
mykey
|</DIV>
<DIV>| OS-EXT-SRV-ATTR:hypervisor_hostname |
None
|</DIV>
<DIV>|
name
|
cirrOS
|</DIV>
<DIV>|
adminPass
|
FSUxpN9QrkhC
|</DIV>
<DIV>|
tenant_id
| 382ce85ef00948a3a1442e44f9d033ed |</DIV>
<DIV>|
created
|
2013-10-23T11:40:23Z
|</DIV>
<DIV>| os-extended-volumes:volumes_attached |
[]
|</DIV>
<DIV>|
metadata
|
{}
|</DIV>
<DIV>+--------------------------------------+--------------------------------------+</DIV>
<DIV>root@controller:~# nova show 0d3afadb-ec5c-4f26-ad7f-707679be6b3a</DIV>
<DIV>+--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+</DIV>
<DIV>|
Property
|
Value
|</DIV>
<DIV>+--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+</DIV>
<DIV>|
status
|
ERROR
|</DIV>
<DIV>|
updated
|
2013-10-23T11:40:29Z
|</DIV>
<DIV>|
OS-EXT-STS:task_state
|
None
|</DIV>
<DIV>|
OS-EXT-SRV-ATTR:host
|
compute1
|</DIV>
<DIV>|
key_name
|
mykey
|</DIV>
<DIV>|
image
| CirrOS 0.3.1
(26fa8866-d075-444d-9844-61b7c22e724b)
|</DIV>
<DIV>| vmnet
network
|
192.168.11.195
|</DIV>
<DIV>|
hostId
|
5ce24c402b2346e375fca2455e0d6dbaf0405f2d46b1e6eaf3b30742
|</DIV>
<DIV>|
OS-EXT-STS:vm_state
|
error
|</DIV>
<DIV>|
OS-EXT-SRV-ATTR:instance_name |
instance-0000000b
|</DIV>
<DIV>|
OS-SRV-USG:launched_at
|
None
|</DIV>
<DIV>| OS-EXT-SRV-ATTR:hypervisor_hostname |
compute1
|</DIV>
<DIV>|
flavor
| m1.tiny
(1)
|</DIV>
<DIV>|
id
|
0d3afadb-ec5c-4f26-ad7f-707679be6b3a
|</DIV>
<DIV>|
security_groups
| [{u'name':
u'default'}]
|</DIV>
<DIV>|
OS-SRV-USG:terminated_at
|
None
|</DIV>
<DIV>|
user_id
|
eecb2b5f2b4f481980a5546af680481c
|</DIV>
<DIV>|
name
|
cirrOS
|</DIV>
<DIV>|
created
|
2013-10-23T11:40:23Z
|</DIV>
<DIV>|
tenant_id
|
382ce85ef00948a3a1442e44f9d033ed
|</DIV>
<DIV>|
OS-DCF:diskConfig
|
MANUAL
|</DIV>
<DIV>|
metadata
|
{}
|</DIV>
<DIV>| os-extended-volumes:volumes_attached |
[]
|</DIV>
<DIV>|
accessIPv4
|
|</DIV>
<DIV>|
accessIPv6
|
|</DIV>
<DIV>|
fault
| {u'message': u"Remote error: ProcessExecutionError Unexpected error while
running
command.
|</DIV>
<DIV>|
| Command: sudo nova-rootwrap /etc/nova/rootwrap.conf dhcp_release br100
192.168.11.195
fa:16:3e:13:e9:90
|</DIV>
<DIV>|
| Exit code:
1
|</DIV>
<DIV>|
| Stdout:
''
|</DIV>
<DIV>|
| Stderr: 'cannot setup interface: No such
device\
|</DIV>
<DIV>|
|
'
|</DIV>
<DIV>|
| ", u'code': 500, u'details': u' File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 258, in
decorated_function |</DIV>
<DIV>|
| return function(self, context, *args,
**kwargs)
|</DIV>
<DIV>|
| File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1613, in
run_instance
|</DIV>
<DIV>|
|
do_run_instance()
|</DIV>
<DIV>|
| File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line
246, in
inner
|</DIV>
<DIV>|
| return f(*args,
**kwargs)
|</DIV>
<DIV>|
| File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1612, in
do_run_instance
|</DIV>
<DIV>|
|
legacy_bdm_in_spec)
|</DIV>
<DIV>|
| File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 962, in
_run_instance
|</DIV>
<DIV>|
| notify("error", msg=unicode(e)) # notify
that build
failed
|</DIV>
<DIV>|
| File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 946, in
_run_instance
|</DIV>
<DIV>|
| instance, image_meta,
legacy_bdm_in_spec)
|</DIV>
<DIV>|
| File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1075, in
_build_instance
|</DIV>
<DIV>|
| filter_properties, bdms,
legacy_bdm_in_spec)
|</DIV>
<DIV>|
| File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1119, in
_reschedule_or_error
|</DIV>
<DIV>|
| self._log_original_error(exc_info,
instance_uuid)
|</DIV>
<DIV>|
| File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1114, in
_reschedule_or_error
|</DIV>
<DIV>|
| bdms,
requested_networks)
|</DIV>
<DIV>|
| File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1664, in
_shutdown_instance
|</DIV>
<DIV>|
| self._try_deallocate_network(context, instance,
requested_networks)
|</DIV>
<DIV>|
| File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1624, in
_try_deallocate_network
|</DIV>
<DIV>|
| self._set_instance_error_state(context,
instance[\'uuid\'])
|</DIV>
<DIV>|
| File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1619, in
_try_deallocate_network
|</DIV>
<DIV>|
| self._deallocate_network(context, instance,
requested_networks)
|</DIV>
<DIV>|
| File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1463, in
_deallocate_network
|</DIV>
<DIV>|
| context, instance,
requested_networks=requested_networks)
|</DIV>
<DIV>|
| File "/usr/lib/python2.7/dist-packages/nova/network/api.py",
line 93, in
wrapped
|</DIV>
<DIV>|
| return func(self, context, *args,
**kwargs)
|</DIV>
<DIV>|
| File "/usr/lib/python2.7/dist-packages/nova/network/api.py",
line 317, in
deallocate_for_instance
|</DIV>
<DIV>|
|
self.network_rpcapi.deallocate_for_instance(context,
**args)
|</DIV>
<DIV>|
| File
"/usr/lib/python2.7/dist-packages/nova/network/rpcapi.py", line 193, in
deallocate_for_instance
|</DIV>
<DIV>|
| host=host,
requested_networks=requested_networks)
|</DIV>
<DIV>|
| File "/usr/lib/python2.7/dist-packages/nova/rpcclient.py",
line 85, in
call
|</DIV>
<DIV>|
| return self._invoke(self.proxy.call, ctxt, method,
**kwargs)
|</DIV>
<DIV>|
| File "/usr/lib/python2.7/dist-packages/nova/rpcclient.py",
line 63, in
_invoke
|</DIV>
<DIV>|
| return cast_or_call(ctxt, msg,
**self.kwargs)
|</DIV>
<DIV>|
| File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/proxy.py", line
126, in
call
|</DIV>
<DIV>|
| result = rpc.call(context, real_topic, msg,
timeout)
|</DIV>
<DIV>|
| File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py",
line 139, in
call
|</DIV>
<DIV>|
| return _get_impl().call(CONF, context, topic, msg,
timeout)
|</DIV>
<DIV>|
| File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py",
line 816, in
call
|</DIV>
<DIV>|
| rpc_amqp.get_connection_pool(conf,
Connection))
|</DIV>
<DIV>|
| File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line
574, in
call
|</DIV>
<DIV>|
| rv =
list(rv)
|</DIV>
<DIV>|
| File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line
539, in
__iter__
|</DIV>
<DIV>|
| raise
result
|</DIV>
<DIV>|
| ', u'created':
u'2013-10-23T11:40:29Z'}
|</DIV>
<DIV>|
OS-EXT-STS:power_state
|
0
|</DIV>
<DIV>|
OS-EXT-AZ:availability_zone
|
nova
|</DIV>
<DIV>|
config_drive
|
|</DIV>
<DIV>+--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+</DIV>
<DIV>root@controller:~#</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>root@controller:~# nova service-list</DIV>
<DIV>+------------------+------------+----------+---------+-------+----------------------------+-----------------+</DIV>
<DIV>| Binary |
Host | Zone |
Status | State |
Updated_at
| Disabled Reason |</DIV>
<DIV>+------------------+------------+----------+---------+-------+----------------------------+-----------------+</DIV>
<DIV>| nova-cert | controller |
internal | enabled | up | 2013-10-23T11:41:59.000000 |
None
|</DIV>
<DIV>| nova-consoleauth | controller | internal | enabled |
up | 2013-10-23T11:42:02.000000 |
None
|</DIV>
<DIV>| nova-scheduler | controller | internal | enabled |
up | 2013-10-23T11:42:04.000000 |
None
|</DIV>
<DIV>| nova-conductor | controller | internal | enabled |
up | 2013-10-23T11:42:00.000000 |
None
|</DIV>
<DIV>| nova-network | compute1 |
internal | enabled | up | 2013-10-23T11:42:04.000000 |
None
|</DIV>
<DIV>| nova-network | compute2 |
internal | enabled | up | 2013-10-23T11:41:56.000000 |
None
|</DIV>
<DIV>| nova-compute | compute1 |
nova | enabled | up |
2013-10-23T11:41:58.000000 |
None
|</DIV>
<DIV>| nova-compute | compute2 |
nova | enabled | up |
2013-10-23T11:42:00.000000 |
None
|</DIV>
<DIV>+------------------+------------+----------+---------+-------+----------------------------+-----------------+</DIV>
<DIV> </DIV>
<DIV>root@compute1:~# ifconfig -a</DIV>
<DIV>eth0 Link encap:Ethernet HWaddr
b8:ca:3a:ec:66:8c</DIV>
<DIV> inet6 addr:
fe80::baca:3aff:feec:668c/64 Scope:Link</DIV>
<DIV> UP BROADCAST
RUNNING MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:56
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:17
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:1000</DIV>
<DIV> RX bytes:6989
(6.9 KB) TX bytes:4298 (4.2 KB)</DIV>
<DIV> Interrupt:34
Memory:d1000000-d17fffff</DIV>
<DIV> </DIV>
<DIV>eth1 Link encap:Ethernet HWaddr
b8:ca:3a:ec:66:8e</DIV>
<DIV> BROADCAST
MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:0
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:0
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:1000</DIV>
<DIV> RX bytes:0 (0.0
B) TX bytes:0 (0.0 B)</DIV>
<DIV> Interrupt:36
Memory:d2000000-d27fffff</DIV>
<DIV> </DIV>
<DIV>eth2 Link encap:Ethernet HWaddr
b8:ca:3a:ec:66:90</DIV>
<DIV> BROADCAST
MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:0
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:0
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:1000</DIV>
<DIV> RX bytes:0 (0.0
B) TX bytes:0 (0.0 B)</DIV>
<DIV> Interrupt:36
Memory:d3000000-d37fffff</DIV>
<DIV> </DIV>
<DIV>eth3 Link encap:Ethernet HWaddr
b8:ca:3a:ec:66:92</DIV>
<DIV> BROADCAST
MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:0
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:0
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:1000</DIV>
<DIV> RX bytes:0 (0.0
B) TX bytes:0 (0.0 B)</DIV>
<DIV> Interrupt:37
Memory:d4000000-d47fffff</DIV>
<DIV> </DIV>
<DIV>eth4 Link encap:Ethernet HWaddr
00:0a:f7:24:1e:40</DIV>
<DIV> inet
addr:10.10.10.182 Bcast:10.10.10.255 Mask:255.255.255.0</DIV>
<DIV> inet6 addr:
fe80::20a:f7ff:fe24:1e40/64 Scope:Link</DIV>
<DIV> UP BROADCAST
RUNNING MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:551
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:476
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:1000</DIV>
<DIV> RX bytes:95077
(95.0 KB) TX bytes:70754 (70.7 KB)</DIV>
<DIV> Interrupt:72
Memory:c8000000-c87fffff</DIV>
<DIV> </DIV>
<DIV>eth5 Link encap:Ethernet HWaddr
00:0a:f7:24:1e:42</DIV>
<DIV> BROADCAST
MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:0
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:0
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:1000</DIV>
<DIV> RX bytes:0 (0.0
B) TX bytes:0 (0.0 B)</DIV>
<DIV> Interrupt:76
Memory:c9000000-c97fffff</DIV>
<DIV> </DIV>
<DIV>lo Link encap:Local
Loopback</DIV>
<DIV> inet
addr:127.0.0.1 Mask:255.0.0.0</DIV>
<DIV> inet6 addr:
::1/128 Scope:Host</DIV>
<DIV> UP LOOPBACK
RUNNING MTU:16436 Metric:1</DIV>
<DIV> RX packets:0
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:0
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:0</DIV>
<DIV> RX bytes:0 (0.0
B) TX bytes:0 (0.0 B)</DIV>
<DIV> </DIV>
<DIV>virbr0 Link encap:Ethernet HWaddr
b2:43:fa:53:cc:11</DIV>
<DIV> inet
addr:192.168.122.1 Bcast:192.168.122.255
Mask:255.255.255.0</DIV>
<DIV> UP BROADCAST
MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:0
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:0
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:0</DIV>
<DIV> RX bytes:0 (0.0
B) TX bytes:0 (0.0 B)</DIV>
<DIV> </DIV>
<DIV> </DIV></DIV>
<DIV>My internal NIC is eth4 and eth0 will be the bridge/public
interface.</DIV>
<DIV> </DIV>
<DIV><SPAN>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana; LINE-HEIGHT: 1.5">
<DIV style="FONT-SIZE: 22px"><FONT size=2></FONT> </DIV>
<DIV>
<DIV></DIV></DIV></DIV></SPAN></DIV>_______________________________________________<BR>Mailing
list:<SPAN class=Apple-converted-space> </SPAN><A
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</A><BR>Post
to :<SPAN
class=Apple-converted-space> </SPAN><A
href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</A><BR>Unsubscribe
:<SPAN class=Apple-converted-space> </SPAN><A
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</A><BR></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></BODY></HTML>