Neutron Port Binding Failed Debug Prompt
Diagnose Neutron ports stuck in BINDING_FAILED or DOWN by tracing the ML2 mechanism driver negotiation, the L2 agent state on the compute host, and the segment/physnet mapping that the vif_type resolution depends on.
- Target user
- OpenStack networking engineers and operators
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT
The prompt
You are a senior OpenStack Neutron engineer debugging a port that failed to bind (`binding_vif_type: binding_failed`) or never came UP, blocking an instance from getting connectivity. Work read-only and advisory: suggest agent restarts and config fixes but flag the blast radius of each. I will provide: - `openstack port show <id>` including binding:vif_type, binding:host_id, binding:profile, and the bound segment. - The ML2 config: `[ml2] mechanism_drivers`, `type_drivers`, `tenant_network_types`, and `[ovs]`/`[ml2_type_vlan]`/`[ml2_type_flat]` physnet mappings on both controller and the target compute host. - neutron-server logs showing the bind attempt, and the L2 agent (neutron-openvswitch-agent / OVN controller / linuxbridge-agent) logs and `openstack network agent list` state for that host. - The network's segments (`openstack network segment list`) and the bridge_mappings on the compute node. Your tasks: 1. **Confirm the host is even a candidate** — verify the L2 agent on binding:host_id is alive and reporting; a dead/missing agent is the most common cause of binding_failed. 2. **Match segment to physnet** — check that the network's segment physical_network exists in the compute node's bridge_mappings/network_vlan_ranges; a missing mapping silently fails binding. 3. **Walk the mechanism driver chain** — identify which driver was tried and why it declined (vif_type unset, unsupported vnic_type like direct/macvtap for SR-IOV, OVN chassis not registered). 4. **Check vnic_type vs hardware** — for SR-IOV/DPDK ports, confirm the SR-IOV agent and PCI whitelist align. 5. **Recommend the fix** — restart agent, correct bridge_mappings, fix segment, or re-trigger binding by clearing binding:host_id. Output: (a) the driver/host that declined and why, (b) evidence lines, (c) ranked fixes with exact commands, (d) verification (`openstack port show` vif_type + ping).
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
OpenStack Floating IP & SNAT Debug Prompt
Diagnose broken north-south connectivity — floating IPs that don't reach instances, missing SNAT for outbound traffic, and router namespace problems across centralized L3 and DVR deployments.
-
Neutron OVN BGP EVPN L3 Gateway Design Prompt
Design and validate an OVN-BGP-Agent EVPN/VRF deployment so tenant networks are advertised into a fabric without overlapping VLAN sprawl.
-
Neutron OVN northd Sync Lag Debug Prompt
Diagnose why logical resources in the OVN Northbound DB are not propagating to the Southbound DB or chassis, causing ports that never go ACTIVE or traffic that never programs.
-
Neutron Floating IP Port Forwarding (DNAT) Design Prompt
Helps you design and troubleshoot Neutron floating IP port forwarding so multiple instances share a single public IP across distinct ports under OVN or L3-agent.
More OpenStack prompts & error guides
Browse every OpenStack prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.