Bug 1724124 - [OSP15] 'hw_vif_model' image metadata property should be ignored for SR-IOV-based VIFs
Summary: [OSP15] 'hw_vif_model' image metadata property should be ignored for SR-IOV-b...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 15.0 (Stein)
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: 15.0 (Stein)
Assignee: Stephen Finucane
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks: 1721433 1724122
TreeView+ depends on / blocked
 
Reported: 2019-06-26 10:02 UTC by Stephen Finucane
Modified: 2019-09-26 10:52 UTC (History)
10 users (show)

Fixed In Version: openstack-nova-19.0.2-0.20190705020422.950e044.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of: 1724122
Environment:
Last Closed: 2019-09-21 11:23:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 667354 0 None MERGED Ignore hw_vif_type for direct, direct-physical vNIC types 2020-09-17 21:19:55 UTC
Red Hat Product Errata RHEA-2019:2811 0 None None None 2019-09-21 11:23:51 UTC

Comment 4 Joe H. Rahme 2019-08-07 08:15:17 UTC
(overcloud) [stack@undercloud-0 ~]$ openstack image create --file rhel-guest-image-7-6-210-x86-64-qcow2 --disk-format qcow2 --property hw_vif_model=virtio --property hw_disk_bus=virtio rhel7_bz1724124
+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field            | Value                                                                                                                                                                                                                                                                                                                 |
+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| checksum         | c51410acbe8bb67a797f520e68274b00                                                                                                                                                                                                                                                                                      |
| container_format | bare                                                                                                                                                                                                                                                                                                                  |
| created_at       | 2019-08-07T08:10:35Z                                                                                                                                                                                                                                                                                                  |
| disk_format      | qcow2                                                                                                                                                                                                                                                                                                                 |
| file             | /v2/images/2564a575-a6d6-4931-afd7-02912d523e3f/file                                                                                                                                                                                                                                                                  |
| id               | 2564a575-a6d6-4931-afd7-02912d523e3f                                                                                                                                                                                                                                                                                  |
| min_disk         | 0                                                                                                                                                                                                                                                                                                                     |
| min_ram          | 0                                                                                                                                                                                                                                                                                                                     |
| name             | rhel7_bz1724124                                                                                                                                                                                                                                                                                                       |
| owner            | 53084bdcf4cb4bd09b43f3b4b50a7cc3                                                                                                                                                                                                                                                                                      |
| properties       | direct_url='swift+config://ref1/glance/2564a575-a6d6-4931-afd7-02912d523e3f', hw_disk_bus='virtio', hw_vif_model='virtio', os_hash_algo='sha512', os_hash_value='f49565e302604e1572b56d4edac7f1f02840a56f61ac0dc50569f112a90a9aeb792dbd20ee96c112a921893318b4d270667d4f95852cbf5f10929d8ef09a3dfe', os_hidden='False' |
| protected        | False                                                                                                                                                                                                                                                                                                                 |
| schema           | /v2/schemas/image                                                                                                                                                                                                                                                                                                     |
| size             | 685295616                                                                                                                                                                                                                                                                                                             |
| status           | active                                                                                                                                                                                                                                                                                                                |
| tags             |                                                                                                                                                                                                                                                                                                                       |
| updated_at       | 2019-08-07T08:10:45Z                                                                                                                                                                                                                                                                                                  |
| virtual_size     | None                                                                                                                                                                                                                                                                                                                  |
| visibility       | shared                                                                                                                                                                                                                                                                                                                |
+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

(overcloud) [stack@undercloud-0 ~]$ openstack port create --network sriov --vnic-type direct sriov_vf2
+-------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field                   | Value                                                                                                                                                                                      |
+-------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| admin_state_up          | UP                                                                                                                                                                                         |
| allowed_address_pairs   |                                                                                                                                                                                            |
| binding_host_id         |                                                                                                                                                                                            |
| binding_profile         |                                                                                                                                                                                            |
| binding_vif_details     |                                                                                                                                                                                            |
| binding_vif_type        | unbound                                                                                                                                                                                    |
| binding_vnic_type       | direct                                                                                                                                                                                     |
| created_at              | 2019-08-07T08:12:32Z                                                                                                                                                                       |
| data_plane_status       | None                                                                                                                                                                                       |
| description             |                                                                                                                                                                                            |
| device_id               |                                                                                                                                                                                            |
| device_owner            |                                                                                                                                                                                            |
| dns_assignment          | None                                                                                                                                                                                       |
| dns_domain              | None                                                                                                                                                                                       |
| dns_name                | None                                                                                                                                                                                       |
| extra_dhcp_opts         |                                                                                                                                                                                            |
| fixed_ips               | ip_address='192.168.111.43', subnet_id='a368e50e-3bc5-44d1-8c4e-07ea9cb7bf69'                                                                                                              |
| id                      | cbd7de79-9023-4ded-b0f2-82b9b8ddfade                                                                                                                                                       |
| location                | Munch({'cloud': '', 'region_name': 'regionOne', 'zone': None, 'project': Munch({'id': '53084bdcf4cb4bd09b43f3b4b50a7cc3', 'name': 'admin', 'domain_id': None, 'domain_name': 'Default'})}) |
| mac_address             | fa:16:3e:63:99:45                                                                                                                                                                          |
| name                    | sriov_vf2                                                                                                                                                                                  |
| network_id              | a7a949bb-e680-4fb2-adcd-f76c7eaddec4                                                                                                                                                       |
| port_security_enabled   | False                                                                                                                                                                                      |
| project_id              | 53084bdcf4cb4bd09b43f3b4b50a7cc3                                                                                                                                                           |
| propagate_uplink_status | None                                                                                                                                                                                       |
| qos_policy_id           | None                                                                                                                                                                                       |
| resource_request        | None                                                                                                                                                                                       |
| revision_number         | 2                                                                                                                                                                                          |
| security_group_ids      |                                                                                                                                                                                            |
| status                  | DOWN                                                                                                                                                                                       |
| tags                    |                                                                                                                                                                                            |
| trunk_details           | None                                                                                                                                                                                       |
| updated_at              | 2019-08-07T08:12:32Z                                                                                                                                                                       |
+-------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
(overcloud) [stack@undercloud-0 ~]$ openstack server create --flavor m1.medium.huge_pages_cpu_pinning_numa_node-1 --image rhel7_bz1724124 --port sriov_vf2 --config-drive True test_instance2
+-------------------------------------+-------------------------------------------------------------------------------------+
| Field                               | Value                                                                               |
+-------------------------------------+-------------------------------------------------------------------------------------+
| OS-DCF:diskConfig                   | MANUAL                                                                              |
| OS-EXT-AZ:availability_zone         |                                                                                     |
| OS-EXT-SRV-ATTR:host                | None                                                                                |
| OS-EXT-SRV-ATTR:hypervisor_hostname | None                                                                                |
| OS-EXT-SRV-ATTR:instance_name       |                                                                                     |
| OS-EXT-STS:power_state              | NOSTATE                                                                             |
| OS-EXT-STS:task_state               | scheduling                                                                          |
| OS-EXT-STS:vm_state                 | building                                                                            |
| OS-SRV-USG:launched_at              | None                                                                                |
| OS-SRV-USG:terminated_at            | None                                                                                |
| accessIPv4                          |                                                                                     |
| accessIPv6                          |                                                                                     |
| addresses                           |                                                                                     |
| adminPass                           | e63Yd32KvF4m                                                                        |
| config_drive                        | True                                                                                |
| created                             | 2019-08-07T08:12:58Z                                                                |
| flavor                              | m1.medium.huge_pages_cpu_pinning_numa_node-1 (26b593c8-9612-4ed4-91fb-c5c4380e3086) |
| hostId                              |                                                                                     |
| id                                  | 574d371b-1866-4f51-a3b4-1ea3f4bf2eac                                                |
| image                               | rhel7_bz1724124 (2564a575-a6d6-4931-afd7-02912d523e3f)                              |
| key_name                            | None                                                                                |
| name                                | test_instance2                                                                      |
| progress                            | 0                                                                                   |
| project_id                          | 53084bdcf4cb4bd09b43f3b4b50a7cc3                                                    |
| properties                          |                                                                                     |
| security_groups                     | name='default'                                                                      |
| status                              | BUILD                                                                               |
| updated                             | 2019-08-07T08:12:59Z                                                                |
| user_id                             | db5afe7915aa45798eef71e4b4faf82e                                                    |
| volumes_attached                    |                                                                                     |
+-------------------------------------+-------------------------------------------------------------------------------------+


(overcloud) [stack@undercloud-0 ~]$ openstack server show test_instance2
+-------------------------------------+-------------------------------------------------------------------------------------+
| Field                               | Value                                                                               |
+-------------------------------------+-------------------------------------------------------------------------------------+
| OS-DCF:diskConfig                   | MANUAL                                                                              |
| OS-EXT-AZ:availability_zone         | nova                                                                                |
| OS-EXT-SRV-ATTR:host                | computeovsdpdksriov-0.localdomain                                                   |
| OS-EXT-SRV-ATTR:hypervisor_hostname | computeovsdpdksriov-0.localdomain                                                   |
| OS-EXT-SRV-ATTR:instance_name       | instance-00000056                                                                   |
| OS-EXT-STS:power_state              | Running                                                                             |
| OS-EXT-STS:task_state               | None                                                                                |
| OS-EXT-STS:vm_state                 | active                                                                              |
| OS-SRV-USG:launched_at              | 2019-08-07T08:13:24.000000                                                          |
| OS-SRV-USG:terminated_at            | None                                                                                |
| accessIPv4                          |                                                                                     |
| accessIPv6                          |                                                                                     |
| addresses                           | sriov=192.168.111.43                                                                |
| config_drive                        | True                                                                                |
| created                             | 2019-08-07T08:12:58Z                                                                |
| flavor                              | m1.medium.huge_pages_cpu_pinning_numa_node-1 (26b593c8-9612-4ed4-91fb-c5c4380e3086) |
| hostId                              | 851b2885d3360467c693cf9fbab14cfab1042bdb264864c7e75da740                            |
| id                                  | 574d371b-1866-4f51-a3b4-1ea3f4bf2eac                                                |
| image                               | rhel7_bz1724124 (2564a575-a6d6-4931-afd7-02912d523e3f)                              |
| key_name                            | None                                                                                |
| name                                | test_instance2                                                                      |
| progress                            | 0                                                                                   |
| project_id                          | 53084bdcf4cb4bd09b43f3b4b50a7cc3                                                    |
| properties                          |                                                                                     |
| status                              | ACTIVE                                                                              |
| updated                             | 2019-08-07T08:13:24Z                                                                |
| user_id                             | db5afe7915aa45798eef71e4b4faf82e                                                    |
| volumes_attached                    |                                                                                     |
+-------------------------------------+-------------------------------------------------------------------------------------+
(overcloud) [stack@undercloud-0 ~]$

Comment 8 errata-xmlrpc 2019-09-21 11:23:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:2811


Note You need to log in before you can comment on or make changes to this bug.