### Pre requisites ### QE Setup is up and running with OSP13 ### Scenario ### Create “BM guest 1” using 2 tenant networks: “Tenant Net A” and “Tenant Net B” openstack port create --network tenant-net trunk-parent-port -> Get the ID for {trunk-parent-port id} openstack port create --network tenant-net2 trunk-notparent-port openstack network trunk create --parent-port trunk-parent-port trunk openstack network trunk list (Make sure that "trunk" network is in) openstack network trunk show "ID_Of_Trunk_Network" --> get Seg_ID openstack network trunk set --subport port=trunk-notparent-port,segmentation-type=vlan,segmentation-id="Seg_ID" trunk openstack server create --flavor baremetal --image overcloud-full --key default --port {trunk-parent-port id} BM_Guest_1 ### Expected result ### Server created ### Actual Result ### Server failed to be created + Error in server.log on Controller: 2019-11-20 15:36:37.050 37 ERROR networking_ansible.ml2.mech_driver [req-64ac1baa-05d7-4133-9ffe-af49e6ac8715 8866a62a0c2e4f42b3ee84a796ff84a8 df7cc91a2982470b8b885d32f3ca907d - default default] Failed to plug in port f722dc0f-b96f-45a8-b32a-f7b989422fbf on device: switch1 from network e3d74339-7881-45f1-9072-b6e5e90d1db8 reason: PLAY [Openstack networking-ansible playbook] *********************************** TASK [openstack-ml2 : check for required fact: port_name] ********************** skipping: [switch1] TASK [openstack-ml2 : check for required fact: port_description] *************** skipping: [switch1] TASK [openstack-ml2 : include and run device provider specific tasks] ********** included: /usr/share/ansible/roles/openstack-ml2/tasks/run.yaml for switch1 TASK [openstack-ml2 : include device role specific tasks] ********************** fatal: [switch1]: FAILED! => {"msg": "No file was found when using with_first_found. Use the 'skip: true' option to allow this task to be skipped if no files are found"} PLAY RECAP ********************************************************************* switch1 : ok=1 changed=0 unreachable=0 failed=1 : AnsibleRunnerException: 2019-11-20 15:36:37.051 37 ERROR neutron.plugins.ml2.managers [req-64ac1baa-05d7-4133-9ffe-af49e6ac8715 8866a62a0c2e4f42b3ee84a796ff84a8 df7cc91a2982470b8b885d32f3ca907d - default default] Mechanism driver ansible failed in bind_port: MechanismDriverError 2019-11-20 15:36:37.051 37 ERROR neutron.plugins.ml2.managers Traceback (most recent call last): 2019-11-20 15:36:37.051 37 ERROR neutron.plugins.ml2.managers File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/managers.py", line 781, in _bind_port_level 2019-11-20 15:36:37.051 37 ERROR neutron.plugins.ml2.managers driver.obj.bind_port(context) 2019-11-20 15:36:37.051 37 ERROR neutron.plugins.ml2.managers File "/usr/lib/python2.7/site-packages/networking_ansible/ml2/mech_driver.py", line 276, in bind_port 2019-11-20 15:36:37.051 37 ERROR neutron.plugins.ml2.managers raise ml2_exc.MechanismDriverError(e) 2019-11-20 15:36:37.051 37 ERROR neutron.plugins.ml2.managers MechanismDriverError 2019-11-20 15:36:37.051 37 ERROR neutron.plugins.ml2.managers 2019-11-20 15:36:37.052 37 ERROR neutron.plugins.ml2.managers [req-64ac1baa-05d7-4133-9ffe-af49e6ac8715 8866a62a0c2e4f42b3ee84a796ff84a8 df7cc91a2982470b8b885d32f3ca907d - default default] Failed to bind port f722dc0f-b96f-45a8-b32a-f7b989422fbf on host 30c8b23c-817b-4b75-b4dc-35fd156ae2bf for vnic_type baremetal using segments [{'network_id': 'e3d74339-7881-45f1-9072-b6e5e90d1db8', 'segmentation_id': 1207, 'physical_network': u'baremetal', 'id': 'f3432b5d-c5b5-4c99-b1b2-b0fcb16f4add', 'network_type': u'vlan'}]
*** Bug 1776850 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0770