[Rdo-list] neutron Flatnetwork config with two nics port status is always down

Yogesh Bhanu Yogesh.Bhanu at consol.de
Mon Mar 17 12:17:45 UTC 2014


Hi ,

I have a two node setup  with two nics:


eth0 -- Intranet - br-ex
eth1 -- Management   - br-int


Node1 acts as:

Controller
Network
Storage
Compute

Node2 acts as:

Compute


I have followed the guidelines of using packstack with vlan and modifying
  /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini to:

[OVS]
tenant_network_type=none
enable_tunneling=False
integration_bridge=br-int
network_vlan_ranges = physnet1
bridge_mappings = physnet1:br-ex
vxlan_udp_port=4789


- restart  the neutron-server service
- define a network/subnet

neutron net-create vm-ext --shared  --provider:network_type flat 
--provider:physical_network physnet1
neutron subnet-create --name vm-ext-intra --gateway 192.168.10.1 
--dns-nameserver 192.168.10.0  --allocation-pool 
start=192.168.10.231,end=192.168.10.249   vm-ext  192.168.10.0/24
neutron subnet-update vm-ext-intra  --enable_dhcp False

-  I  can start a VM instance but I'm not able to access the VMs from 
my  Intranet.
-  IP gets associated with the VM but the port status is alwaysdown

Question: Is it possible to set the port status Up  and if yes How?


  neutron port-show 824fc086-841d-48af-906b-ceeb3ea83510
+-----------------------+-----------------------------------------------------------------------------------+
| Field                 | Value |
+-----------------------+-----------------------------------------------------------------------------------+
| admin_state_up        | True |
| allowed_address_pairs | |
| binding:capabilities  | {"port_filter": 
true}                                                             |
| binding:host_id       | rhc02 |
| binding:vif_type      | ovs |
| device_id             | 08ebc2b6-1500-4140-82e2-4acec52e4cac |
| device_owner          | compute:None |
| extra_dhcp_opts | |
| fixed_ips             | {"subnet_id": 
"2f45cc95-05d8-4d8e-bb0a-e21884a9df2a", "ip_address": "192.168.10.231"} |
| id                    | 824fc086-841d-48af-906b-ceeb3ea83510 |
| mac_address           | fa:16:3e:a2:a2:05 |
| name | |
| network_id            | 2a981f3a-2df1-4d53-bfcb-4750902400ca |
| security_groups       | fa6850a7-cf87-447e-b83d-1f99b9eef94a |
| status                | DOWN |
| tenant_id             | c620b9e73cd24d52b1a0c4b9803d056f |
+-----------------------+-----------------------------------------------------------------------------------+

Thanks in advance




More information about the dev mailing list