[openstack-dev] vms come up on a different bridge..

Shake Chen shake.chen at gmail.com
Thu Apr 18 02:36:00 UTC 2013


Hi Prashanth

whether can share your netwrok interface setting  /etc/netwrok/interface.

I am not sure the setting .

physical_interface_mappings = physnet2:eth2


what I need to setting in eth2?


On Wed, Apr 17, 2013 at 11:38 PM, Prashanth Prahalad <
prashanth.prahal at gmail.com> wrote:

> Hi Folks,
>
> I'm setting up quantum with linux bridge. I might have configured this
> incorrectly and looking for some help on what could be going on.
>
> This is my quantum.conf  and linuxbridge_conf.ini - which tries to setup
> the linux bridge over eth2.
>
> [DEFAULT]
> auth_strategy = keystone
> allow_overlapping_ips = True
> policy_file = /etc/quantum/policy.json
> debug = True
> verbose = True
> service_plugins =
> quantum.plugins.services.agent_loadbalancer.plugin.LoadBalancerPlugin
> core_plugin =
> quantum.plugins.linuxbridge.lb_quantum_plugin.LinuxBridgePluginV2
> rabbit_password = openstack
> rabbit_host = localhost
> rpc_backend = quantum.openstack.common.rpc.impl_kombu
> state_path = /opt/stack/data/quantum
> debug = True
> verbose = True
> lock_path = $state_path/lock
> log_file = quantum.log
> log_dir = /var/log/quantum
> bind_host = 0.0.0.0
> bind_port = 9696
> <......>
>
> linuxbridge_conf.ini
>
> [VLANS]
> tenant_network_type = vlan
> network_vlan_ranges = physnet2:1000:2999
> [DATABASE]
> sql_connection = mysql://root:openstack@localhost
> /quantum_linux_bridge?charset=utf8
> reconnect_interval = 2
> [LINUX_BRIDGE]
> physical_interface_mappings = physnet2:eth2
> [AGENT]
> root_helper = sudo /usr/local/bin/quantum-rootwrap
> /etc/quantum/rootwrap.conf
> polling_interval = 2
> [SECURITYGROUP]
> firewall_driver =
> quantum.agent.linux.iptables_firewall.IptablesFirewallDriver
>
> But when the VM is booted up, it comes up over brq3c2d19b3-fa instead of
> br-eth2
>
> bridge name     bridge id               STP enabled     interfaces
> br-eth2         8000.000cfc01f473       no              eth2
> brq057a0be8-e9          8000.96f0115f0c03       no
>  tapa0dcbf6a-73
> brq34f87736-91          8000.32245b5d90b7       no
>  tap22c7ffb1-9f
>
>                                tap874fecfb-ac
> brq3c2d19b3-fa          8000.3a84ed127b7a       no
>  tapadbf1b11-e9
>
>                               tapc6c54b78-87
>
>                               tapcf424b48-54
>
>                              tapdb58671d-bd
>
>                               tapdb661e2b-ff
>
> Here's a list of commands :
>
> quantum net-create sharednet1 --shared --provider:network_type=flat -
> provider:physical_network=physnet2
> quantum subnet-create sharednet1 30.0.0.0/24
>
>
> +--------------------------------------+------------+------------------------------------------------------+
> | id                                   | name       | subnets
>                                  |
>
> +--------------------------------------+------------+------------------------------------------------------+
> | 057a0be8-e9f9-4e23-a97b-08d2bdb67ad2 | public     |
> 92b32336-76d2-4fa3-a5eb-e1a4b76c648c 172.24.4.224/28 |
> | 34f87736-91d6-4f00-ad11-fe39e76638ce | private    |
> f315bfd5-5f8a-4fa4-bca2-0814998cf8d5 10.0.0.0/24     |
> | 3c2d19b3-fa72-4bcb-916b-8d54e0e879b1 | sharednet1 |
> 4691c3ca-b769-4454-9997-1b4dd851d602 30.0.0.0/24     |
>
> +--------------------------------------+------------+------------------------------------------------------+
>
> nova boot --image cirros --flavor m1.tiny --nic
> net-id=3c2d19b3-fa72-4bcb-916b-8d54e0e879b1 --key-name test my_first_server
>
> Anything I'm missing ?
>
> Thanks !
> Prashanth
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Shake Chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130418/bb6ebd36/attachment.html>


More information about the OpenStack-dev mailing list