← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1934389] Re: Cannot attach interface to instance

 

[Expired for OpenStack Compute (nova) because there has been no activity
for 60 days.]

** Changed in: nova
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1934389

Title:
  Cannot attach interface to instance

Status in OpenStack Compute (nova):
  Expired

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://bugs.launchpad.net/nova/ and attach the Nova API log if
  possible. <class 'nova.exception_Remote.PortBindingFailed_Remote'>
  (HTTP 500) (Request-ID: req-3c8b4f47-597e-475d-b32a-6a093a38ddce)

  
  rajai@openstack:~$ openstack network create --provider-physical-network net_11 --provider-network-type flat --external net_11
  +---------------------------+--------------------------------------+
  | Field                     | Value                                |
  +---------------------------+--------------------------------------+
  | admin_state_up            | UP                                   |
  | availability_zone_hints   |                                      |
  | availability_zones        |                                      |
  | created_at                | 2021-07-01T17:13:56Z                 |
  | description               |                                      |
  | dns_domain                | None                                 |
  | id                        | 67fcbebf-d6fc-4089-a830-d4cbc36ec9e5 |
  | ipv4_address_scope        | None                                 |
  | ipv6_address_scope        | None                                 |
  | is_default                | False                                |
  | is_vlan_transparent       | None                                 |
  | mtu                       | 1500                                 |
  | name                      | net_11                               |
  | port_security_enabled     | True                                 |
  | project_id                | 9ea4644b29b342d19087c4862c9385b6     |
  | provider:network_type     | flat                                 |
  | provider:physical_network | net_11                               |
  | provider:segmentation_id  | None                                 |
  | qos_policy_id             | None                                 |
  | revision_number           | 1                                    |
  | router:external           | External                             |
  | segments                  | None                                 |
  | shared                    | False                                |
  | status                    | ACTIVE                               |
  | subnets                   |                                      |
  | tags                      |                                      |
  | updated_at                | 2021-07-01T17:13:56Z                 |
  +---------------------------+--------------------------------------+
  rajai@openstack:~$ openstack subnet create --subnet-range 11.0.0.0/8 --no-dhcp --network net_11 --allocation-pool start=11.0.0.10,end=11.0.0.100 net_11-subnet
  +----------------------+--------------------------------------+
  | Field                | Value                                |
  +----------------------+--------------------------------------+
  | allocation_pools     | 11.0.0.10-11.0.0.100                 |
  | cidr                 | 11.0.0.0/8                           |
  | created_at           | 2021-07-01T17:14:24Z                 |
  | description          |                                      |
  | dns_nameservers      |                                      |
  | dns_publish_fixed_ip | None                                 |
  | enable_dhcp          | False                                |
  | gateway_ip           | 11.0.0.1                             |
  | host_routes          |                                      |
  | id                   | 70ce904d-e992-4f86-8f23-9e9507111df8 |
  | ip_version           | 4                                    |
  | ipv6_address_mode    | None                                 |
  | ipv6_ra_mode         | None                                 |
  | name                 | net_11-subnet                        |
  | network_id           | 67fcbebf-d6fc-4089-a830-d4cbc36ec9e5 |
  | prefix_length        | None                                 |
  | project_id           | 9ea4644b29b342d19087c4862c9385b6     |
  | revision_number      | 0                                    |
  | segment_id           | None                                 |
  | service_types        |                                      |
  | subnetpool_id        | None                                 |
  | tags                 |                                      |
  | updated_at           | 2021-07-01T17:14:24Z                 |
  +----------------------+--------------------------------------+
  rajai@openstack:~$
  rajai@openstack:~$
  rajai@openstack:~$
  rajai@openstack:~$
  rajai@openstack:~$
  rajai@openstack:~$
  rajai@openstack:~$
  rajai@openstack:~$  openstack network list
  +--------------------------------------+---------+----------------------------------------------------------------------------+
  | ID                                   | Name    | Subnets                                                                    |
  +--------------------------------------+---------+----------------------------------------------------------------------------+
  | 42ea5122-b81c-4560-9033-6b9617a8f891 | public  | d5dc0b32-2cc4-43f0-9431-c888d8edf9b6, dd650ced-a163-421c-9202-2a0d8072c5ba |
  | 50e0a4ae-9b6f-4cef-9f0c-db72a0c76f1d | shared  | 64af4e6e-a5fb-4598-89a0-447e7858da2b                                       |
  | 67fcbebf-d6fc-4089-a830-d4cbc36ec9e5 | net_11  | 70ce904d-e992-4f86-8f23-9e9507111df8                                       |
  | aebee86b-ce8c-4c0d-9dc2-7f66b33d1a28 | private | 1924bbcf-1542-42a1-9e36-0d384882a648, f0144d98-1e2e-451e-9d23-5054d9b7c1af |
  +--------------------------------------+---------+----------------------------------------------------------------------------+

  
  less /etc/neutron/plugins/ml2/ml2_conf.ini
  [ml2_type_flat]
  flat_networks = net_23,net_10,net_11

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1934389/+subscriptions



References