Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-20412

Instance creation fail on port attach Bad port request: A virtual logical switch port cannot be bound to a host.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • rhos-18.0.12
    • openstack-neutron
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • None
    • Important

      To Reproduce Steps to reproduce the behaviour:

      1. Create the ports
      2. Create bulk of instances
      3. for i in {51..80}
        do
            PORT_ID=$(openstack port create --fixed-ip subnet=5701893a-c4a1-4e8a-88e0-f42e2b2bcddf --network b624f4a5-d2ac-4df0-8904-6485167edae1 testport --insecure -f value -c id);
            openstack server create hrishiubuntu-vm-22092025-$i --wait --boot-from-volume 100 --flavor m1.medium --image 1c83e27d-67af-481e-aab6-145d37564bdd --nic "port-id=$PORT_ID" --insecure;
        done
      1. Sometimes one or more instances fail on:
      2. | fault                               | {'code': 500, 'created': '2025-09-19T18:30:02Z', 'message': "Exceeded maximum number of retries. |
        |                                     | Exceeded max scheduling attempts 3 for instance 90d2b0cf-4d27-44f7-9ffe-f59b8272abbf. Last       |
        |                                     | exception: Bad port request: A virtual logical switch port cannot be bound to a host.\nNeutron   |
        |                                     | server returns request_ids: ['req-", 'details': 'Traceback (most recent call last):\n  File      |
        |                                     | "/usr/lib/python3.9/site-packages/nova/conductor/manager.py", line 690, in build_instances\n     |
        |                                     | scheduler_utils.populate_retry(\n  File "/usr/lib/python3.9/site-                                |
        |                                     | packages/nova/scheduler/utils.py", line 998, in populate_retry\n    raise                        |
        |                                     | exception.MaxRetriesExceeded(reason=msg)\nnova.exception.MaxRetriesExceeded: Exceeded maximum    |
        |                                     | number of retries. Exceeded max scheduling attempts 3 for instance                               |
        |                                     | 90d2b0cf-4d27-44f7-9ffe-f59b8272abbf. Last exception: Bad port request: A virtual logical switch |
        |                                     | port cannot be bound to a host.\nNeutron server returns request_ids:                             | 
      1. It seems bound to only to specific network
      2. If they try to use the same port to a new instance is working.

      Expected behavior

      • all instances should be created
      •  

      Device Info (please complete the following information):

      • OSP operator version: 1.0.12
        OPENSTACK_RELEASE_VERSION: 18.0.10-20250708.1

      Bug impact

      • Customer is blocked on testing and bring in production the new env

      Additional context

              rodolfo_alonso Rodolfo Alonso
              rhn-support-ltamagno Luigi Dino Tamagnone
              rhos-dfg-networking-squad-neutron
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: