Skip to content

Commit 62027e8

Browse files
Merge pull request #32619 from mikemckiernan/fix-sriov-trbl
BZ-1953626: Cannot alloc memory SR-IOV
2 parents 6308beb + 6993bad commit 62027e8

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

modules/nw-sriov-troubleshooting.adoc

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * networking/hardware_networks/configuring-sriov-device.adoc
4+
5+
[id="nw-sriov-troubleshooting_{context}"]
6+
= Troubleshooting SR-IOV configuration
7+
8+
After following the procedure to configure an SR-IOV network device, the following sections address some error conditions.
9+
10+
To display the state of nodes, run the following command:
11+
12+
[source,terminal]
13+
----
14+
$ oc get sriovnetworknodestates -n openshift-sriov-network-operator <node_name>
15+
----
16+
17+
where: `<node_name>` specifies the name of a node with an SR-IOV network device.
18+
19+
.Error output: Cannot allocate memory
20+
[source,terminal]
21+
----
22+
"lastSyncError": "write /sys/bus/pci/devices/0000:3b:00.1/sriov_numvfs: cannot allocate memory"
23+
----
24+
25+
When a node indicates that it cannot allocate memory, check the following items:
26+
27+
* Confirm that global SR-IOV settings are enabled in the BIOS for the node.
28+
29+
* Confirm that VT-d is enabled in the BIOS for the node.

networking/hardware_networks/configuring-sriov-device.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,17 @@ toc::[]
88
You can configure a Single Root I/O Virtualization (SR-IOV) device in your cluster.
99

1010
include::modules/nw-sriov-networknodepolicy-object.adoc[leveloffset=+1]
11+
1112
// A direct companion to nw-sriov-networknodepolicy-object
1213
include::modules/nw-sriov-nic-partitioning.adoc[leveloffset=+2]
14+
1315
include::modules/nw-sriov-configuring-device.adoc[leveloffset=+1]
16+
17+
include::modules/nw-sriov-troubleshooting.adoc[leveloffset=+1]
18+
1419
:FeatureName: CNI VRF plug-in
1520
include::modules/technology-preview.adoc[leveloffset=+1]
21+
1622
include::modules/cnf-assigning-a-sriov-network-to-a-vrf.adoc[leveloffset=+1]
1723

1824
[id="configuring-sriov-device-next-steps"]

0 commit comments

Comments
 (0)