[SR-IOV][CPU Pinning] Error state of vms on sr-iov port and 1 numa node
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mirantis OpenStack | Status tracked in 10.0.x | |||||
10.0.x |
Fix Committed
|
High
|
Sergey Nikitin | |||
9.x |
Fix Released
|
High
|
Sergey Nikitin |
Bug Description
Upstream bug: https:/
Detailed bug description:
Instances on sr-iov port with flavor for pinning doesn't work proper: in most cases we have an error state for vm after boot
Steps to reproduce:
1) Deploy env with SR-IOV and CPU pinning enable
2) Create aggregates for cpu pinning:
nova aggregate-create performance
nova aggregate-
nova aggregate-add-host performance node-2.
nova aggregate-add-host performance node-3.
nova aggregate-add-host performance node-4.
nova aggregate-add-host performance node-5.
3) Create new flavor:
nova flavor-show m1.small.
+------
| Property | Value |
+------
| OS-FLV-
| OS-FLV-
| disk | 20 |
| extra_specs | {"aggregate_
| id | 7b0e5ee0-
| name | m1.small.
| os-flavor-
| ram | 2048 |
| rxtx_factor | 1.0 |
| swap | |
| vcpus | 1 |
+------
4) download ubuntu image
5) create sr-iov port and boot vm on this port with m1.small.
NODE_1=
NODE_2=
NET_ID_1=$(neutron net-list | grep net_EW_2 | awk '{print$2}')
neutron port-create $NET_ID_1 --binding:vnic-type direct --device_owner nova-compute --name sriov_23
port_id=$(neutron port-list | grep 'sriov_23' | awk '{print$2}')
nova boot vm23 --flavor m1.small.
Expected results:
VM is an ACTIVE state
Actual result:
In most cases the state is ERROR. Sometimes we can boot vms without zones but they very rarely is an ACTIVE state
Description of the environment:
iso #312, 9.0, neutron+vlan. 1 controller, 4 compute:
- 2 computesr-
- cpu pinning + hp
- cpu pinning
shotgun2 short-report
cat /etc/fuel_build_id:
312
cat /etc/fuel_
312
cat /etc/fuel_release:
9.0
cat /etc/fuel_
mitaka-9.0
rpm -qa | egrep 'fuel|astute|
fuel-release-
network-
fuel-mirror-
fuel-openstack
fuel-notify-
fuel-ostf-
python-
fuelmenu-
fuel-9.
fuel-utils-
fuel-nailgun-
rubygem-
fuel-misc-
fuel-library9.
shotgun-
fuel-agent-
fuel-ui-
fuel-setup-
nailgun-
fuel-provision
python-
fuel-bootstrap
fuel-migrate-
- Operation system: <put your information here>
- Versions of components: <put your information here>
- Reference architecture: <put your information here>
- Network model: <put your information here>
- Related projects installed: <put your information here>
Changed in mos: | |
assignee: | MOS Nova (mos-nova) → Sergey Nikitin (snikitin) |
tags: | added: area-nova |
description: | updated |
tags: | added: on-verification |
fixes for stable/mitaka: https:/ /review. openstack. org/#/q/ status: open+project: openstack/ nova+branch: stable/ mitaka+ topic:stable_ mitaka_ sriov
will wait for merge and for sync with stable/mitaka