← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1408572] [NEW] Launch VM is having issue when using sriov pci passthrough feature

 

Public bug reported:

Launched VM :
External network:
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | 35d70304-cbb6-4b1d-b73e-334c47148f32 |
| name                      | public                               |
| provider:network_type     | vlan                                 |
| provider:physical_network | physnet1                             |
| provider:segmentation_id  | 101                                  |
| router:external           | True                                 |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   | f2025c22-a90d-4576-803a-b93274f5ef45 |
| tenant_id                 | 5623e92cd94c4741b4b9c117ecebd0be     |
+---------------------------+--------------------------------------+
subnet:
+-------------------+------------------------------------------------+
| Field             | Value                                          |
+-------------------+------------------------------------------------+
| allocation_pools  | {"start": "172.24.4.2", "end": "172.24.4.254"} |
| cidr              | 172.24.4.0/24                                  |
| dns_nameservers   |                                                |
| enable_dhcp       | False                                          |
| gateway_ip        | 172.24.4.1                                     |
| host_routes       |                                                |
| id                | f2025c22-a90d-4576-803a-b93274f5ef45           |
| ip_version        | 4                                              |
| ipv6_address_mode |                                                |
| ipv6_ra_mode      |                                                |
| name              | public-subnet                                  |
| network_id        | 35d70304-cbb6-4b1d-b73e-334c47148f32           |
| tenant_id         | 5623e92cd94c4741b4b9c117ecebd0be               |
+-------------------+------------------------------------------------+
private network:
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | a82c3db3-1bb6-4b17-9c48-e508a49f5f4b |
| name                      | private                              |
| provider:network_type     | vlan                                 |
| provider:physical_network | physnet1                             |
| provider:segmentation_id  | 100                                  |
| router:external           | False                                |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   | 6fed0e5f-8037-4637-ae7e-1c413415172a |
| tenant_id                 | 90e3e6153f444a07986c3c12d3129852     |
+---------------------------+--------------------------------------+
subnet:
+-------------------+--------------------------------------------+
| Field             | Value                                      |
+-------------------+--------------------------------------------+
| allocation_pools  | {"start": "10.0.0.2", "end": "10.0.0.254"} |
| cidr              | 10.0.0.0/24                                |
| dns_nameservers   |                                            |
| enable_dhcp       | True                                       |
| gateway_ip        | 10.0.0.1                                   |
| host_routes       |                                            |
| id                | 6fed0e5f-8037-4637-ae7e-1c413415172a       |
| ip_version        | 4                                          |
| ipv6_address_mode |                                            |
| ipv6_ra_mode      |                                            |
| name              | private-subnet                             |
| network_id        | a82c3db3-1bb6-4b17-9c48-e508a49f5f4b       |
| tenant_id         | 90e3e6153f444a07986c3c12d3129852           |
+-------------------+--------------------------------------------+
port:
+-----------------------+----------------------------------------------------------------------------------------------+
| Field                 | Value                                                                                        |
+-----------------------+----------------------------------------------------------------------------------------------+
| admin_state_up        | True                                                                                         |
| allowed_address_pairs |                                                                                              |
| binding:host_id       | mvcw                                                                                         |
| binding:profile       | {"pci_slot": "0000:04:11.7", "physical_network": "physnet1", "pci_vendor_info": "8086:1515"} |
| binding:vif_details   | {"port_filter": false, "vlan": "100"}                                                        |
| binding:vif_type      | hw_veb                                                                                       |
| binding:vnic_type     | direct                                                                                       |
| device_id             | f4e35c33-4466-4897-af2a-c0ded655d212                                                         |
| device_owner          | compute:None                                                                                 |
| extra_dhcp_opts       |                                                                                              |
| fixed_ips             | {"subnet_id": "6fed0e5f-8037-4637-ae7e-1c413415172a", "ip_address": "10.0.0.2"}              |
| id                    | afeace83-8a6a-4c6d-8f2b-9b8a276f068c                                                         |
| mac_address           | fa:16:3e:b1:2a:1e                                                                            |
| name                  |                                                                                              |
| network_id            | a82c3db3-1bb6-4b17-9c48-e508a49f5f4b                                                         |
| security_groups       | 738a8aec-2e4c-4c9f-ab11-e855810838f8                                                         |
| status                | BUILD                                                                                        |
| tenant_id             | 90e3e6153f444a07986c3c12d3129852                                                             |
+-----------------------+----------------------------------------------------------------------------------------------+

nova boot --image <image-id> --flavor m1.tiny --nic port-id=afeace83
-8a6a-4c6d-8f2b-9b8a276f068c vm1

And here is the log from VM:

[    0.062832] EVM: security.selinux
[    0.063639] EVM: security.SMACK64
[    0.064006] EVM: security.capability
[    0.065528] print_constraints: dummy: 
[    0.066485] RTC time:  6:29:57, date: 01/08/15
[    0.067505] NET: Registered protocol family 16
[    0.068097] ACPI: bus type pci registered
[    0.069133] PCI: Using configuration type 1 for base access
[    0.070893] bio: create slab <bio-0> at 0
[    0.072068] ACPI: Added _OSI(Module Device)
[    0.073033] ACPI: Added _OSI(Processor Device)
[    0.074026] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.075052] ACPI: Added _OSI(Processor Aggregator Device)
[    0.077575] ACPI: Interpreter enabled
[    0.078447] ACPI: (supports S0 S3 S4 S5)
[    0.080732] ACPI: Using IOAPIC for interrupt routing
[    0.083832] ACPI: No dock devices found.
[    0.084006] HEST: Table not found.
[    0.084840] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.086785] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.088096] pci_root PNP0A03:00: host bridge window [io  0x0000-0x0cf7]
[    0.089487] pci_root PNP0A03:00: host bridge window [io  0x0d00-0xadff]
[    0.090841] pci_root PNP0A03:00: host bridge window [io  0xae0f-0xaeff]
[    0.092008] pci_root PNP0A03:00: host bridge window [io  0xaf20-0xafdf]
[    0.093366] pci_root PNP0A03:00: host bridge window [io  0xafe4-0xffff]
[    0.094703] pci_root PNP0A03:00: host bridge window [mem 0x000a0000-0x000bffff]
[    0.096008] pci_root PNP0A03:00: host bridge window [mem 0x20000000-0xfebfffff]
[    0.109141] pci 0000:00:01.3: quirk: [io  0xb000-0xb03f] claimed by PIIX4 ACPI
[    0.110791] pci 0000:00:01.3: quirk: [io  0xb100-0xb10f] claimed by PIIX4 SMB

VM never comes up as VM console hangs forever.
Another issue is that after this launching another VM is not possible . nova-compute fails to run.

Ubuntu 14.04 with devstack setup has been used to verify this feature and  the to configure nova and neutron this link has been used.
https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking#SR-IOV_Configuration

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1408572

Title:
  Launch VM is having issue when using sriov pci passthrough feature

Status in OpenStack Compute (Nova):
  New

Bug description:
  Launched VM :
  External network:
  +---------------------------+--------------------------------------+
  | Field                     | Value                                |
  +---------------------------+--------------------------------------+
  | admin_state_up            | True                                 |
  | id                        | 35d70304-cbb6-4b1d-b73e-334c47148f32 |
  | name                      | public                               |
  | provider:network_type     | vlan                                 |
  | provider:physical_network | physnet1                             |
  | provider:segmentation_id  | 101                                  |
  | router:external           | True                                 |
  | shared                    | False                                |
  | status                    | ACTIVE                               |
  | subnets                   | f2025c22-a90d-4576-803a-b93274f5ef45 |
  | tenant_id                 | 5623e92cd94c4741b4b9c117ecebd0be     |
  +---------------------------+--------------------------------------+
  subnet:
  +-------------------+------------------------------------------------+
  | Field             | Value                                          |
  +-------------------+------------------------------------------------+
  | allocation_pools  | {"start": "172.24.4.2", "end": "172.24.4.254"} |
  | cidr              | 172.24.4.0/24                                  |
  | dns_nameservers   |                                                |
  | enable_dhcp       | False                                          |
  | gateway_ip        | 172.24.4.1                                     |
  | host_routes       |                                                |
  | id                | f2025c22-a90d-4576-803a-b93274f5ef45           |
  | ip_version        | 4                                              |
  | ipv6_address_mode |                                                |
  | ipv6_ra_mode      |                                                |
  | name              | public-subnet                                  |
  | network_id        | 35d70304-cbb6-4b1d-b73e-334c47148f32           |
  | tenant_id         | 5623e92cd94c4741b4b9c117ecebd0be               |
  +-------------------+------------------------------------------------+
  private network:
  +---------------------------+--------------------------------------+
  | Field                     | Value                                |
  +---------------------------+--------------------------------------+
  | admin_state_up            | True                                 |
  | id                        | a82c3db3-1bb6-4b17-9c48-e508a49f5f4b |
  | name                      | private                              |
  | provider:network_type     | vlan                                 |
  | provider:physical_network | physnet1                             |
  | provider:segmentation_id  | 100                                  |
  | router:external           | False                                |
  | shared                    | False                                |
  | status                    | ACTIVE                               |
  | subnets                   | 6fed0e5f-8037-4637-ae7e-1c413415172a |
  | tenant_id                 | 90e3e6153f444a07986c3c12d3129852     |
  +---------------------------+--------------------------------------+
  subnet:
  +-------------------+--------------------------------------------+
  | Field             | Value                                      |
  +-------------------+--------------------------------------------+
  | allocation_pools  | {"start": "10.0.0.2", "end": "10.0.0.254"} |
  | cidr              | 10.0.0.0/24                                |
  | dns_nameservers   |                                            |
  | enable_dhcp       | True                                       |
  | gateway_ip        | 10.0.0.1                                   |
  | host_routes       |                                            |
  | id                | 6fed0e5f-8037-4637-ae7e-1c413415172a       |
  | ip_version        | 4                                          |
  | ipv6_address_mode |                                            |
  | ipv6_ra_mode      |                                            |
  | name              | private-subnet                             |
  | network_id        | a82c3db3-1bb6-4b17-9c48-e508a49f5f4b       |
  | tenant_id         | 90e3e6153f444a07986c3c12d3129852           |
  +-------------------+--------------------------------------------+
  port:
  +-----------------------+----------------------------------------------------------------------------------------------+
  | Field                 | Value                                                                                        |
  +-----------------------+----------------------------------------------------------------------------------------------+
  | admin_state_up        | True                                                                                         |
  | allowed_address_pairs |                                                                                              |
  | binding:host_id       | mvcw                                                                                         |
  | binding:profile       | {"pci_slot": "0000:04:11.7", "physical_network": "physnet1", "pci_vendor_info": "8086:1515"} |
  | binding:vif_details   | {"port_filter": false, "vlan": "100"}                                                        |
  | binding:vif_type      | hw_veb                                                                                       |
  | binding:vnic_type     | direct                                                                                       |
  | device_id             | f4e35c33-4466-4897-af2a-c0ded655d212                                                         |
  | device_owner          | compute:None                                                                                 |
  | extra_dhcp_opts       |                                                                                              |
  | fixed_ips             | {"subnet_id": "6fed0e5f-8037-4637-ae7e-1c413415172a", "ip_address": "10.0.0.2"}              |
  | id                    | afeace83-8a6a-4c6d-8f2b-9b8a276f068c                                                         |
  | mac_address           | fa:16:3e:b1:2a:1e                                                                            |
  | name                  |                                                                                              |
  | network_id            | a82c3db3-1bb6-4b17-9c48-e508a49f5f4b                                                         |
  | security_groups       | 738a8aec-2e4c-4c9f-ab11-e855810838f8                                                         |
  | status                | BUILD                                                                                        |
  | tenant_id             | 90e3e6153f444a07986c3c12d3129852                                                             |
  +-----------------------+----------------------------------------------------------------------------------------------+

  nova boot --image <image-id> --flavor m1.tiny --nic port-id=afeace83
  -8a6a-4c6d-8f2b-9b8a276f068c vm1

  And here is the log from VM:

  [    0.062832] EVM: security.selinux
  [    0.063639] EVM: security.SMACK64
  [    0.064006] EVM: security.capability
  [    0.065528] print_constraints: dummy: 
  [    0.066485] RTC time:  6:29:57, date: 01/08/15
  [    0.067505] NET: Registered protocol family 16
  [    0.068097] ACPI: bus type pci registered
  [    0.069133] PCI: Using configuration type 1 for base access
  [    0.070893] bio: create slab <bio-0> at 0
  [    0.072068] ACPI: Added _OSI(Module Device)
  [    0.073033] ACPI: Added _OSI(Processor Device)
  [    0.074026] ACPI: Added _OSI(3.0 _SCP Extensions)
  [    0.075052] ACPI: Added _OSI(Processor Aggregator Device)
  [    0.077575] ACPI: Interpreter enabled
  [    0.078447] ACPI: (supports S0 S3 S4 S5)
  [    0.080732] ACPI: Using IOAPIC for interrupt routing
  [    0.083832] ACPI: No dock devices found.
  [    0.084006] HEST: Table not found.
  [    0.084840] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
  [    0.086785] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
  [    0.088096] pci_root PNP0A03:00: host bridge window [io  0x0000-0x0cf7]
  [    0.089487] pci_root PNP0A03:00: host bridge window [io  0x0d00-0xadff]
  [    0.090841] pci_root PNP0A03:00: host bridge window [io  0xae0f-0xaeff]
  [    0.092008] pci_root PNP0A03:00: host bridge window [io  0xaf20-0xafdf]
  [    0.093366] pci_root PNP0A03:00: host bridge window [io  0xafe4-0xffff]
  [    0.094703] pci_root PNP0A03:00: host bridge window [mem 0x000a0000-0x000bffff]
  [    0.096008] pci_root PNP0A03:00: host bridge window [mem 0x20000000-0xfebfffff]
  [    0.109141] pci 0000:00:01.3: quirk: [io  0xb000-0xb03f] claimed by PIIX4 ACPI
  [    0.110791] pci 0000:00:01.3: quirk: [io  0xb100-0xb10f] claimed by PIIX4 SMB

  VM never comes up as VM console hangs forever.
  Another issue is that after this launching another VM is not possible . nova-compute fails to run.

  Ubuntu 14.04 with devstack setup has been used to verify this feature and  the to configure nova and neutron this link has been used.
  https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking#SR-IOV_Configuration

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


Follow ups

References