Cannot attach interface to instance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I am trying to add an interface to an instance.
The network I created called net_11
I see this error
Error: Unable to attach interface. Details
Unexpected API Error. Please report this at http://
rajai@openstack:~$ openstack network create --provider-
+------
| Field | Value |
+------
| admin_state_up | UP |
| availability_
| availability_zones | |
| created_at | 2021-07-
| description | |
| dns_domain | None |
| id | 67fcbebf-
| ipv4_address_scope | None |
| ipv6_address_scope | None |
| is_default | False |
| is_vlan_transparent | None |
| mtu | 1500 |
| name | net_11 |
| port_security_
| project_id | 9ea4644b29b342d
| provider:
| provider:
| provider:
| qos_policy_id | None |
| revision_number | 1 |
| router:external | External |
| segments | None |
| shared | False |
| status | ACTIVE |
| subnets | |
| tags | |
| updated_at | 2021-07-
+------
rajai@openstack:~$ openstack subnet create --subnet-range 11.0.0.0/8 --no-dhcp --network net_11 --allocation-pool start=11.
+------
| Field | Value |
+------
| allocation_pools | 11.0.0.
| cidr | 11.0.0.0/8 |
| created_at | 2021-07-
| description | |
| dns_nameservers | |
| dns_publish_
| enable_dhcp | False |
| gateway_ip | 11.0.0.1 |
| host_routes | |
| id | 70ce904d-
| ip_version | 4 |
| ipv6_address_mode | None |
| ipv6_ra_mode | None |
| name | net_11-subnet |
| network_id | 67fcbebf-
| prefix_length | None |
| project_id | 9ea4644b29b342d
| revision_number | 0 |
| segment_id | None |
| service_types | |
| subnetpool_id | None |
| tags | |
| updated_at | 2021-07-
+------
rajai@openstack:~$
rajai@openstack:~$
rajai@openstack:~$
rajai@openstack:~$
rajai@openstack:~$
rajai@openstack:~$
rajai@openstack:~$
rajai@openstack:~$ openstack network list
+------
| ID | Name | Subnets |
+------
| 42ea5122-
| 50e0a4ae-
| 67fcbebf-
| aebee86b-
+------
less /etc/neutron/
[ml2_type_flat]
flat_networks = net_23,
Issue is always when the network has Provider Network Type FLAT Type