[Openstack] Help for creating the bridge br100

Razique Mahroua razique.mahroua at gmail.com
Thu Oct 24 22:28:02 UTC 2013


No you don’t have to.
Check the instance’ log to see if it retrieves an IP :)

Le 23 oct. 2013 à 23:34, 董建华 <dongjh at nci.com.cn> a écrit :

>  
> Sure.
>  
> root at controller:~# nova secgroup-list
> +----+---------+-------------+
> | Id | Name    | Description |
> +----+---------+-------------+
> | 1  | default | default     |
> +----+---------+-------------+
> root at controller:~# nova secgroup-list-rules 1
> +-------------+-----------+---------+-----------+--------------+
> | IP Protocol | From Port | To Port | IP Range  | Source Group |
> +-------------+-----------+---------+-----------+--------------+
> | tcp         | 22        | 22      | 0.0.0.0/0 |              |
> | icmp        | -1        | -1      | 0.0.0.0/0 |              |
> +-------------+-----------+---------+-----------+--------------+
>  
> From: Razique Mahroua
> Date: 2013-10-24 14:25
> To: 董建华
> CC: openstack
> Subject: Re: [Openstack] Help for creating the bridge br100
> Did you created the security rules for ICMP echo req/reply ?
> 
> On Oct 23, 2013, at 22:40, 董建华 <dongjh at nci.com.cn> wrote:
> 
>>  
>> Hi Mahroua,
>>  
>> 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?
>>  
>> root at compute1:~# nova list
>> +--------------------------------------+--------+--------+------------+-------------+----------------------+
>> | ID                                   | Name   | Status | Task State | Power State | Networks             |
>> +--------------------------------------+--------+--------+------------+-------------+----------------------+
>> | 4560a831-e3e4-4db9-860e-361834d9cca4 | cirrOS | ACTIVE | None       | Running     | vmnet=192.168.11.195 |
>> | ac659c91-520b-4b35-8d0d-7a5f2a6c82c4 | cirrOS | ACTIVE | None       | Running     | vmnet=192.168.11.196 |
>> +--------------------------------------+--------+--------+------------+-------------+----------------------+
>> root at compute1:~# ip addr
>> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
>>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>>     inet 127.0.0.1/8 scope host lo
>>     inet 169.254.169.254/32 scope link lo
>>     inet6 ::1/128 scope host
>>        valid_lft forever preferred_lft forever
>> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
>>     link/ether b8:ca:3a:ec:66:8c brd ff:ff:ff:ff:ff:ff
>>     inet6 fe80::baca:3aff:feec:668c/64 scope link
>>        valid_lft forever preferred_lft forever
>> 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
>>     link/ether b8:ca:3a:ec:66:8e brd ff:ff:ff:ff:ff:ff
>> 4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
>>     link/ether b8:ca:3a:ec:66:90 brd ff:ff:ff:ff:ff:ff
>> 5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
>>     link/ether b8:ca:3a:ec:66:92 brd ff:ff:ff:ff:ff:ff
>> 6: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
>>     link/ether 00:0a:f7:24:1e:40 brd ff:ff:ff:ff:ff:ff
>>     inet 10.10.10.182/24 brd 10.10.10.255 scope global eth4
>>     inet6 fe80::20a:f7ff:fe24:1e40/64 scope link
>>        valid_lft forever preferred_lft forever
>> 7: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
>>     link/ether 00:0a:f7:24:1e:42 brd ff:ff:ff:ff:ff:ff
>> 9: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN
>>     link/ether b2:43:fa:53:cc:11 brd ff:ff:ff:ff:ff:ff
>>     inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
>> 10: br100: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
>>     link/ether fa:16:3e:f3:f0:04 brd ff:ff:ff:ff:ff:ff
>>     inet 192.168.11.193/27 brd 192.168.11.223 scope global br100
>> 11: vlan100 at br100: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop master br100 state DOWN
>>     link/ether fa:16:3e:f3:f0:04 brd ff:ff:ff:ff:ff:ff
>> 12: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br100 state UNKNOWN qlen 500
>>     link/ether fe:16:3e:fa:60:5c brd ff:ff:ff:ff:ff:ff
>>     inet6 fe80::fc16:3eff:fefa:605c/64 scope link
>>        valid_lft forever preferred_lft forever
>> root at compute1:~# ifconfig -a
>> br100     Link encap:Ethernet  HWaddr fa:16:3e:f3:f0:04
>>           inet addr:192.168.11.193  Bcast:192.168.11.223  Mask:255.255.255.224
>>           BROADCAST MULTICAST  MTU:1500  Metric:1
>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:0
>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>  
>> eth0      Link encap:Ethernet  HWaddr b8:ca:3a:ec:66:8c
>>           inet6 addr: fe80::baca:3aff:feec:668c/64 Scope:Link
>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>           RX packets:28816 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:2514 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:1000
>>           RX bytes:2924850 (2.9 MB)  TX bytes:868260 (868.2 KB)
>>           Interrupt:34 Memory:d1000000-d17fffff
>>  
>> eth1      Link encap:Ethernet  HWaddr b8:ca:3a:ec:66:8e
>>           BROADCAST MULTICAST  MTU:1500  Metric:1
>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:1000
>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>           Interrupt:36 Memory:d2000000-d27fffff
>>  
>> eth2      Link encap:Ethernet  HWaddr b8:ca:3a:ec:66:90
>>           BROADCAST MULTICAST  MTU:1500  Metric:1
>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:1000
>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>           Interrupt:36 Memory:d3000000-d37fffff
>>  
>> eth3      Link encap:Ethernet  HWaddr b8:ca:3a:ec:66:92
>>           BROADCAST MULTICAST  MTU:1500  Metric:1
>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:1000
>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>           Interrupt:37 Memory:d4000000-d47fffff
>>  
>> eth4      Link encap:Ethernet  HWaddr 00:0a:f7:24:1e:40
>>           inet addr:10.10.10.182  Bcast:10.10.10.255  Mask:255.255.255.0
>>           inet6 addr: fe80::20a:f7ff:fe24:1e40/64 Scope:Link
>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>           RX packets:243487 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:238920 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:1000
>>           RX bytes:94402647 (94.4 MB)  TX bytes:58522363 (58.5 MB)
>>           Interrupt:72 Memory:c8000000-c87fffff
>>  
>> eth5      Link encap:Ethernet  HWaddr 00:0a:f7:24:1e:42
>>           BROADCAST MULTICAST  MTU:1500  Metric:1
>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:1000
>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>           Interrupt:76 Memory:c9000000-c97fffff
>>  
>> lo        Link encap:Local Loopback
>>           inet addr:127.0.0.1  Mask:255.0.0.0
>>           inet6 addr: ::1/128 Scope:Host
>>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>>           RX packets:8 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:0
>>           RX bytes:672 (672.0 B)  TX bytes:672 (672.0 B)
>>  
>> virbr0    Link encap:Ethernet  HWaddr b2:43:fa:53:cc:11
>>           inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
>>           UP BROADCAST MULTICAST  MTU:1500  Metric:1
>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:0
>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>  
>> vlan100   Link encap:Ethernet  HWaddr fa:16:3e:f3:f0:04
>>           BROADCAST MULTICAST  MTU:1500  Metric:1
>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:0
>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>  
>> vnet0     Link encap:Ethernet  HWaddr fe:16:3e:fa:60:5c
>>           inet6 addr: fe80::fc16:3eff:fefa:605c/64 Scope:Link
>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>           RX packets:9 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:500
>>           RX bytes:1434 (1.4 KB)  TX bytes:468 (468.0 B)
>>  
>> root at compute1:~# ping 192.168.11.193
>> PING 192.168.11.193 (192.168.11.193) 56(84) bytes of data.
>> 64 bytes from 192.168.11.193: icmp_req=1 ttl=64 time=0.070 ms
>> 64 bytes from 192.168.11.193: icmp_req=2 ttl=64 time=0.036 ms
>> ^C
>> --- 192.168.11.193 ping statistics ---
>> 2 packets transmitted, 2 received, 0% packet loss, time 999ms
>> rtt min/avg/max/mdev = 0.036/0.053/0.070/0.017 ms
>> root at compute1:~# ping 192.168.11.195
>> connect: Network is unreachable
>> root at compute1:~# ping 192.168.11.196
>> connect: Network is unreachable
>> root at compute1:~# brctl show br100
>> bridge name     bridge id               STP enabled     interfaces
>> br100           8000.fa163ef3f004       no              vlan100
>>                                                                        vnet0
>>  
>>  
>> From: Razique Mahroua
>> Date: 2013-10-24 12:23
>> To: 董建华
>> CC: Openstack
>> Subject: Re: [Openstack] Help for creating the bridge br100
>> Hi, 
>> you can try:
>> brctl addbr br100
>> then restart nova-network and nova-compute services, they'll hook it up correctly :)
>> 
>> Le 23 oct. 2013 à 04:55, 董建华 <dongjh at nci.com.cn> a écrit :
>> 
>>> Hello all,
>>>  
>>> 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.
>>>  
>>> 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.
>>>  
>>> 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?
>>>  
>>> Thanks.
>>>  
>>> root at controller:~# nova image-list
>>> +--------------------------------------+--------------+--------+--------+
>>> | ID                                   | Name         | Status | Server |
>>> +--------------------------------------+--------------+--------+--------+
>>> | 26fa8866-d075-444d-9844-61b7c22e724b | CirrOS 0.3.1 | ACTIVE |        |
>>> +--------------------------------------+--------------+--------+--------+
>>> root at controller:~# nova help start
>>> usage: nova start <server>
>>>  
>>> Start a server.
>>>  
>>> Positional arguments:
>>>   <server>  Name or ID of server.
>>> root at controller:~#  nova boot --flavor 1 --key_name mykey --image 26fa8866-d075-444d-9844-61b7c22e724b --security_group default cirrOS
>>> +--------------------------------------+--------------------------------------+
>>> | Property                             | Value                                |
>>> +--------------------------------------+--------------------------------------+
>>> | OS-EXT-STS:task_state                | scheduling                           |
>>> | image                                | CirrOS 0.3.1                         |
>>> | OS-EXT-STS:vm_state                  | building                             |
>>> | OS-EXT-SRV-ATTR:instance_name        | instance-0000000b                    |
>>> | OS-SRV-USG:launched_at               | None                                 |
>>> | flavor                               | m1.tiny                              |
>>> | id                                   | 0d3afadb-ec5c-4f26-ad7f-707679be6b3a |
>>> | security_groups                      | [{u'name': u'default'}]              |
>>> | user_id                              | eecb2b5f2b4f481980a5546af680481c     |
>>> | OS-DCF:diskConfig                    | MANUAL                               |
>>> | accessIPv4                           |                                      |
>>> | accessIPv6                           |                                      |
>>> | progress                             | 0                                    |
>>> | OS-EXT-STS:power_state               | 0                                    |
>>> | OS-EXT-AZ:availability_zone          | nova                                 |
>>> | config_drive                         |                                      |
>>> | status                               | BUILD                                |
>>> | updated                              | 2013-10-23T11:40:23Z                 |
>>> | hostId                               |                                      |
>>> | OS-EXT-SRV-ATTR:host                 | None                                 |
>>> | OS-SRV-USG:terminated_at             | None                                 |
>>> | key_name                             | mykey                                |
>>> | OS-EXT-SRV-ATTR:hypervisor_hostname  | None                                 |
>>> | name                                 | cirrOS                               |
>>> | adminPass                            | FSUxpN9QrkhC                         |
>>> | tenant_id                            | 382ce85ef00948a3a1442e44f9d033ed     |
>>> | created                              | 2013-10-23T11:40:23Z                 |
>>> | os-extended-volumes:volumes_attached | []                                   |
>>> | metadata                             | {}                                   |
>>> +--------------------------------------+--------------------------------------+
>>> root at controller:~# nova show 0d3afadb-ec5c-4f26-ad7f-707679be6b3a
>>> +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
>>> | Property                             | Value                                                                                                                             |
>>> +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
>>> | status                               | ERROR                                                                                                                             |
>>> | updated                              | 2013-10-23T11:40:29Z                                                                                                              |
>>> | OS-EXT-STS:task_state                | None                                                                                                                              |
>>> | OS-EXT-SRV-ATTR:host                 | compute1                                                                                                                          |
>>> | key_name                             | mykey                                                                                                                             |
>>> | image                                | CirrOS 0.3.1 (26fa8866-d075-444d-9844-61b7c22e724b)                                                                               |
>>> | vmnet network                        | 192.168.11.195                                                                                                                    |
>>> | hostId                               | 5ce24c402b2346e375fca2455e0d6dbaf0405f2d46b1e6eaf3b30742                                                                          |
>>> | OS-EXT-STS:vm_state                  | error                                                                                                                             |
>>> | OS-EXT-SRV-ATTR:instance_name        | instance-0000000b                                                                                                                 |
>>> | OS-SRV-USG:launched_at               | None                                                                                                                              |
>>> | OS-EXT-SRV-ATTR:hypervisor_hostname  | compute1                                                                                                                          |
>>> | flavor                               | m1.tiny (1)                                                                                                                       |
>>> | id                                   | 0d3afadb-ec5c-4f26-ad7f-707679be6b3a                                                                                              |
>>> | security_groups                      | [{u'name': u'default'}]                                                                                                           |
>>> | OS-SRV-USG:terminated_at             | None                                                                                                                              |
>>> | user_id                              | eecb2b5f2b4f481980a5546af680481c                                                                                                  |
>>> | name                                 | cirrOS                                                                                                                            |
>>> | created                              | 2013-10-23T11:40:23Z                                                                                                              |
>>> | tenant_id                            | 382ce85ef00948a3a1442e44f9d033ed                                                                                                  |
>>> | OS-DCF:diskConfig                    | MANUAL                                                                                                                            |
>>> | metadata                             | {}                                                                                                                                |
>>> | os-extended-volumes:volumes_attached | []                                                                                                                                |
>>> | accessIPv4                           |                                                                                                                                   |
>>> | accessIPv6                           |                                                                                                                                   |
>>> | fault                                | {u'message': u"Remote error: ProcessExecutionError Unexpected error while running command.                                        |
>>> |                                      | Command: sudo nova-rootwrap /etc/nova/rootwrap.conf dhcp_release br100 192.168.11.195 fa:16:3e:13:e9:90                           |
>>> |                                      | Exit code: 1                                                                                                                      |
>>> |                                      | Stdout: ''                                                                                                                        |
>>> |                                      | Stderr: 'cannot setup interface: No such device\                                                                                  |
>>> |                                      | '                                                                                                                                 |
>>> |                                      | ", u'code': 500, u'details': u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 258, in decorated_function |
>>> |                                      |     return function(self, context, *args, **kwargs)                                                                               |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1613, in run_instance                                     |
>>> |                                      |     do_run_instance()                                                                                                             |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line 246, in inner                                  |
>>> |                                      |     return f(*args, **kwargs)                                                                                                     |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1612, in do_run_instance                                  |
>>> |                                      |     legacy_bdm_in_spec)                                                                                                           |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 962, in _run_instance                                     |
>>> |                                      |     notify("error", msg=unicode(e))  # notify that build failed                                                                   |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 946, in _run_instance                                     |
>>> |                                      |     instance, image_meta, legacy_bdm_in_spec)                                                                                     |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1075, in _build_instance                                  |
>>> |                                      |     filter_properties, bdms, legacy_bdm_in_spec)                                                                                  |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1119, in _reschedule_or_error                             |
>>> |                                      |     self._log_original_error(exc_info, instance_uuid)                                                                             |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1114, in _reschedule_or_error                             |
>>> |                                      |     bdms, requested_networks)                                                                                                     |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1664, in _shutdown_instance                               |
>>> |                                      |     self._try_deallocate_network(context, instance, requested_networks)                                                           |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1624, in _try_deallocate_network                          |
>>> |                                      |     self._set_instance_error_state(context, instance[\'uuid\'])                                                                   |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1619, in _try_deallocate_network                          |
>>> |                                      |     self._deallocate_network(context, instance, requested_networks)                                                               |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1463, in _deallocate_network                              |
>>> |                                      |     context, instance, requested_networks=requested_networks)                                                                     |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 93, in wrapped                                                |
>>> |                                      |     return func(self, context, *args, **kwargs)                                                                                   |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 317, in deallocate_for_instance                               |
>>> |                                      |     self.network_rpcapi.deallocate_for_instance(context, **args)                                                                  |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/network/rpcapi.py", line 193, in deallocate_for_instance                            |
>>> |                                      |     host=host, requested_networks=requested_networks)                                                                             |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/rpcclient.py", line 85, in call                                                     |
>>> |                                      |     return self._invoke(self.proxy.call, ctxt, method, **kwargs)                                                                  |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/rpcclient.py", line 63, in _invoke                                                  |
>>> |                                      |     return cast_or_call(ctxt, msg, **self.kwargs)                                                                                 |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/proxy.py", line 126, in call                                   |
>>> |                                      |     result = rpc.call(context, real_topic, msg, timeout)                                                                          |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 139, in call                                |
>>> |                                      |     return _get_impl().call(CONF, context, topic, msg, timeout)                                                                   |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 816, in call                              |
>>> |                                      |     rpc_amqp.get_connection_pool(conf, Connection))                                                                               |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 574, in call                                    |
>>> |                                      |     rv = list(rv)                                                                                                                 |
>>> |                                      |   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 539, in __iter__                                |
>>> |                                      |     raise result                                                                                                                  |
>>> |                                      | ', u'created': u'2013-10-23T11:40:29Z'}                                                                                           |
>>> | OS-EXT-STS:power_state               | 0                                                                                                                                 |
>>> | OS-EXT-AZ:availability_zone          | nova                                                                                                                              |
>>> | config_drive                         |                                                                                                                                   |
>>> +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
>>> root at controller:~#
>>>  
>>>  
>>> root at controller:~# nova service-list
>>> +------------------+------------+----------+---------+-------+----------------------------+-----------------+
>>> | Binary           | Host       | Zone     | Status  | State | Updated_at                 | Disabled Reason |
>>> +------------------+------------+----------+---------+-------+----------------------------+-----------------+
>>> | nova-cert        | controller | internal | enabled | up    | 2013-10-23T11:41:59.000000 | None            |
>>> | nova-consoleauth | controller | internal | enabled | up    | 2013-10-23T11:42:02.000000 | None            |
>>> | nova-scheduler   | controller | internal | enabled | up    | 2013-10-23T11:42:04.000000 | None            |
>>> | nova-conductor   | controller | internal | enabled | up    | 2013-10-23T11:42:00.000000 | None            |
>>> | nova-network     | compute1   | internal | enabled | up    | 2013-10-23T11:42:04.000000 | None            |
>>> | nova-network     | compute2   | internal | enabled | up    | 2013-10-23T11:41:56.000000 | None            |
>>> | nova-compute     | compute1   | nova     | enabled | up    | 2013-10-23T11:41:58.000000 | None            |
>>> | nova-compute     | compute2   | nova     | enabled | up    | 2013-10-23T11:42:00.000000 | None            |
>>> +------------------+------------+----------+---------+-------+----------------------------+-----------------+
>>>  
>>> root at compute1:~# ifconfig -a
>>> eth0      Link encap:Ethernet  HWaddr b8:ca:3a:ec:66:8c
>>>           inet6 addr: fe80::baca:3aff:feec:668c/64 Scope:Link
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:56 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:1000
>>>           RX bytes:6989 (6.9 KB)  TX bytes:4298 (4.2 KB)
>>>           Interrupt:34 Memory:d1000000-d17fffff
>>>  
>>> eth1      Link encap:Ethernet  HWaddr b8:ca:3a:ec:66:8e
>>>           BROADCAST MULTICAST  MTU:1500  Metric:1
>>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:1000
>>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>>           Interrupt:36 Memory:d2000000-d27fffff
>>>  
>>> eth2      Link encap:Ethernet  HWaddr b8:ca:3a:ec:66:90
>>>           BROADCAST MULTICAST  MTU:1500  Metric:1
>>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:1000
>>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>>           Interrupt:36 Memory:d3000000-d37fffff
>>>  
>>> eth3      Link encap:Ethernet  HWaddr b8:ca:3a:ec:66:92
>>>           BROADCAST MULTICAST  MTU:1500  Metric:1
>>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:1000
>>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>>           Interrupt:37 Memory:d4000000-d47fffff
>>>  
>>> eth4      Link encap:Ethernet  HWaddr 00:0a:f7:24:1e:40
>>>           inet addr:10.10.10.182  Bcast:10.10.10.255  Mask:255.255.255.0
>>>           inet6 addr: fe80::20a:f7ff:fe24:1e40/64 Scope:Link
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:551 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:476 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:1000
>>>           RX bytes:95077 (95.0 KB)  TX bytes:70754 (70.7 KB)
>>>           Interrupt:72 Memory:c8000000-c87fffff
>>>  
>>> eth5      Link encap:Ethernet  HWaddr 00:0a:f7:24:1e:42
>>>           BROADCAST MULTICAST  MTU:1500  Metric:1
>>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:1000
>>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>>           Interrupt:76 Memory:c9000000-c97fffff
>>>  
>>> lo        Link encap:Local Loopback
>>>           inet addr:127.0.0.1  Mask:255.0.0.0
>>>           inet6 addr: ::1/128 Scope:Host
>>>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:0
>>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>>  
>>> virbr0    Link encap:Ethernet  HWaddr b2:43:fa:53:cc:11
>>>           inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
>>>           UP BROADCAST MULTICAST  MTU:1500  Metric:1
>>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:0
>>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>>  
>>>  
>>> My internal NIC is eth4 and eth0 will be the bridge/public interface.
>>>  
>>>  
>>> _______________________________________________
>>> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131024/01256c52/attachment.html>


More information about the Openstack mailing list