Bug 1397519
Summary: | LinuxBridge: Pass host into get_devices_details_list | |||
---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Andreas Karis <akaris> | |
Component: | openstack-neutron | Assignee: | anil venkata <vkommadi> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Eran Kuris <ekuris> | |
Severity: | high | Docs Contact: | ||
Priority: | low | |||
Version: | 9.0 (Mitaka) | CC: | amuller, chrisw, ekuris, jlibosva, mlopes, nyechiel, srevivo, tfreger, vkommadi | |
Target Milestone: | async | Keywords: | OtherQA, Triaged, ZStream | |
Target Release: | 9.0 (Mitaka) | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | openstack-neutron-8.1.2-14.el7ost | Doc Type: | No Doc Update | |
Doc Text: |
undefined
|
Story Points: | --- | |
Clone Of: | ||||
: | 1398533 (view as bug list) | Environment: | ||
Last Closed: | 2017-01-19 13:35:05 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1398533 |
Description
Andreas Karis
2016-11-22 17:20:04 UTC
Hi Assaf In upstream, this fix is not yet included in mitaka tag. So I will cherry pic and release a build. Thanks Anil I would like to get steps to reproduces for this issue . The steps are in the upstream bug https://bugs.launchpad.net/neutron/+bug/1590845 This happens when using linux bridge, not OVS bridge but for the sake of completeness, here are the notes that I took when I deployed my reproducer: convert an openstack director deployment to linux bridge: compute: 37 subscription-manager repos --disable=* 38 subscription-manager repos --enable=rhel-7-server-rpms 39 subscription-manager repos --enable=rhel-7-server-rh-common-rpms 40 subscription-manager repos --enable=rhel-7-server-openstack-9-rpms 41 subscription-manager repos --enable=rhel-7-server-extras-rpms 42 yum install openstack-neutron openstack-neutron-ml2 openstack-neutron-linuxbridge ebtables 43 vi /etc/neutron/plugins/ml2/linuxbridge_agent.ini 44 brctl show 45 vi /etc/neutron/plugins/ml2/linuxbridge_agent.ini 46 ip a | grep 172.16.0 47 vi /etc/neutron/plugins/ml2/linuxbridge_agent.ini 48 systemctl list-units | grep openv 49 systemctl stop neutron-openvswitch-agent.service 50 systemctl disable neutron-openvswitch-agent.service. 51 systemctl disable neutron-openvswitch-agent.service 52 systemctl enable openstack-linuxbridge-agent 53 systemctl list-unit-files | grep linuxb 54 systemctl enable neutron-linuxbridge-agent.service 55 systemctl start neutron-linuxbridge-agent.service 56 ovs-vsctl show 57 ovs-vsctl del-br br-int 58 ovs-vsctl del-br br-ex 59 ovs-vsctl del-br br-tun 60 ovs-vsctl show 61 systemctl stop openvswitch 62 systemctl disable openvswitch 63 systemctl list-units 64 systemctl list-units | grep openv /etc/neutron/l3_agent.ini /etc/neutron/dhcp_agent.ini controllers: 20 subscription-manager repos --disable=* 21 subscription-manager repos --enable=rhel-7-server-rpms 22 subscription-manager repos --enable=rhel-7-server-rh-common-rpms 23 subscription-manager repos --enable=rhel-7-server-openstack-9-rpms 24 subscription-manager repos --enable=rhel-7-server-extras-rpms 25 yum install openstack-neutron openstack-neutron-ml2 openstack-neutron-linuxbridge ebtables 26 vi /etc/neutron/plugins/ml2/linuxbridge_agent.ini 27 brctl show 28 vi /etc/neutron/plugins/ml2/linuxbridge_agent.ini 29 ip a | grep 172.16.0 30 vi /etc/neutron/plugins/ml2/linuxbridge_agent.ini 31 pcs status 32 pcs resource disable neutron-openvswitch-agent-clone 33 cibadmin -Q | grep neutron-openvswitch-agent 34 cibadmin --query > tmp.xml 35 vi tmp.xml ==> replace neutron-openvswitch-agent-clone with neutron-linuxbridge-agent-clone ==> replace neutron-ovs-cleanup with neutron-linuxbridge-cleanup 36 cibadmin --replace --xml-file tmp.xml 37 pcs status 38 pcs status | grep linuxb 39 pcs status | grep linuxb -A2 40 pcs resource enable neutron-linuxbridge-agent-clone 41 pcs status neutron-linuxbridge-agent-clone 42 pcs resource show neutron-linuxbridge-agent-clone 43 systemctl list-units | grep linuxb 44 systemctl status neutron-linuxbridge-agent.service 45 systemctl stop openvswitch 46 ovs-vsctl show 47 systemctl start openvswitch 48 ovs-vsctl show 49 ovs-vsctl del-br br-int 50 ovs-vsctl del-br br-tun 51 ovs-vsctl del-br br-ex 52 ovs-vsctl show 53 systemctl stop openvswitch 54 systemctl disable openvswitch 55 pcs status 56 pcs resource cleanup 57 pcs resource cleanup --force /etc/neutron/l3_agent.ini /etc/neutron/dhcp_agent.ini follow http://docs.openstack.org/mitaka/install-guide-rdo/neutron-controller-install-option2.html in linux bridge, external network CANNOT be the same vlanid as controller external network --------------- nova floating-ip-list | grep 10.0 | awk '{print $4}' | xargs -I {} nova floating-ip-delete {} neutron router-interface-delete router `neutron subnet-list | grep private | awk '{print $2}'` neutron router-gateway-clear router neutron router-delete router ----------------------------------------------------------------- neutron router-create router --ha false or neutron router-create router --ha true neutron router-interface-add router `neutron subnet-list | grep private | awk '{print $2}'` neutron router-gateway-set router provider1 nova floating-ip-create provider1 nova floating-ip-associate cirros-test1 `nova floating-ip-list | grep 10.0 | awk '{print $4}'` ----------------------------------------------------------------- neutron port-list | awk '/fa:16/ {print $2}' | xargs -I {} neutron port-show {} | egrep -i 'status|ip' ------------------------------------------------------------------ neutron port-list | awk '/fa:16/ {print $2}' | xargs -I {} neutron port-show {} | egrep -i 'status|ip' | grep -i build | wc -l ------------------------------------------------------------------ #!/bin/bash for i in {1 .. 10};do nova floating-ip-list | grep 10.0 | awk '{print $4}' | xargs -I {} nova floating-ip-delete {} neutron router-interface-delete router `neutron subnet-list | grep private | awk '{print $2}'` neutron router-gateway-clear router neutron router-delete router neutron router-create router --ha true neutron router-interface-add router `neutron subnet-list | grep private | awk '{print $2}'` neutron router-gateway-set router provider1 nova floating-ip-create provider1 nova floating-ip-associate cirros-test1 `nova floating-ip-list | grep 10.0 | awk '{print $4}'` neutron port-list | awk '/fa:16/ {print $2}' | xargs -I {} neutron port-show {} | egrep -i 'status|ip' | grep -i build | wc -l done Thanks Andreas Karis. @ekuris, You need linux bridge agent to reproduce this. Please use steps explained by Andreas Karis. |