OK, I re-installed R4.0 and followed all the commands for OpenStack-only. Which just means that I left out
the two "system host-memory-modify ${NODE} 0|1 -1G 32" above.
Have not done unlock but still see the container is stuck in ContainerCreating.
It seems to be looking for a /etc/pcidp/config.json on host. Maybe a race condition in the setup (unlock will create it)?
Or is it a documentation issue?
The installation guide said:
# system interface-datanetwork-assign ${NODE} ${DATA0IFUUID} ${PHYSNET0}
OK, I re-installed R4.0 and followed all the commands for OpenStack-only. Which just means that I left out
the two "system host-memory-modify ${NODE} 0|1 -1G 32" above.
Have not done unlock but still see the container is stuck in ContainerCreating.
It seems to be looking for a /etc/pcidp/ config. json on host. Maybe a race condition in the setup (unlock will create it)?
Or is it a documentation issue?
The installation guide said: datanetwork- assign ${NODE} ${DATA0IFUUID} ${PHYSNET0}
# system interface-
But do I need to rather follow this: /wiki.openstack .org/wiki/ StarlingX/ Networking
https:/
# system host-if-modify -m 1500 -n sriov -c pci-sriov -N 5 ${COMPUTE} ${DATA0IFUUID}
Or
# system host-if-modify -m 1500 -n sriov1 -d datanet1 -c pci-sriov -N 4 --vf-driver=vfio controller-0 ens2f0
Name: kube-sriov- device- plugin- amd64-vpc49 0/192.168. 206.2
controller- revision- hash=6cfb4bff7b
pod-template- generation= 1
tier=node kube-sriov- device- plugin- amd64 local:9001/ docker. io/starlingx/ k8s-plugins- sriov-network- device: stx.4.0- v3.2-16- g4e0302ae -log-dir= sriovdp -log-level= 10 etc/pcidp/ config. json from config (ro) var/lib/ kubelet/ from devicesock (rw) var/run/ secrets/ kubernetes. io/serviceaccou nt from sriov-device- plugin- token-nblkw (ro) config. json device- plugin- token-nblkw: plugin- token-nblkw .io/arch= amd64
sriovdp= enabled
node. kubernetes. io/disk- pressure: NoSchedule
node. kubernetes. io/memory- pressure: NoSchedule
node. kubernetes. io/network- unavailable: NoSchedule
node. kubernetes. io/not- ready:NoExecute
node. kubernetes. io/pid- pressure: NoSchedule
node. kubernetes. io/unreachable: NoExecute
node. kubernetes. io/unschedulabl e:NoSchedule kube-sriov- device- plugin- amd64-vpc49 to controller-0 plugin- token-nblkw] : timed out waiting for the condition plugin- token-nblkw devicesock log]: timed out waiting for the condition plugin- token-nblkw devicesock]: timed out waiting for the condition [sriov- device- plugin- token-nblkw devicesock log config]: timed out waiting for the condition config. json is not a file
Namespace: kube-system
Priority: 0
Node: controller-
Start Time: Tue, 18 Aug 2020 18:09:40 +0530
Labels: app=sriovdp
Annotations: <none>
Status: Pending
IP: 192.168.206.2
IPs:
IP: 192.168.206.2
Controlled By: DaemonSet/
Containers:
kube-sriovdp:
Container ID:
Image: registry.
Image ID:
Port: <none>
Host Port: <none>
Args:
-
-
State: Waiting
Reason: ContainerCreating
Ready: False
Restart Count: 0
Environment: <none>
Mounts:
/
/
/var/log from log (rw)
/
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
devicesock:
Type: HostPath (bare host directory volume)
Path: /var/lib/kubelet/
HostPathType:
log:
Type: HostPath (bare host directory volume)
Path: /var/log
HostPathType:
config:
Type: HostPath (bare host directory volume)
Path: /etc/pcidp/
HostPathType: File
sriov-
Type: Secret (a volume populated by a Secret)
SecretName: sriov-device-
Optional: false
QoS Class: BestEffort
Node-Selectors: beta.kubernetes
Tolerations: :NoSchedule
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 77m default-scheduler Successfully assigned kube-system/
Warning FailedMount 54m (x5 over 72m) kubelet, controller-0 Unable to attach or mount volumes: unmounted volumes=[config], unattached volumes=[devicesock log config sriov-device-
Warning FailedMount 36m (x2 over 57m) kubelet, controller-0 Unable to attach or mount volumes: unmounted volumes=[config], unattached volumes=[config sriov-device-
Warning FailedMount 32m (x7 over 75m) kubelet, controller-0 Unable to attach or mount volumes: unmounted volumes=[config], unattached volumes=[log config sriov-device-
Warning FailedMount 7m11s (x8 over 70m) kubelet, controller-0 Unable to attach or mount volumes: unmounted volumes=[config], unattached volumes=
Warning FailedMount 114s (x45 over 77m) kubelet, controller-0 MountVolume.SetUp failed for volume "config" : hostPath type check failed: /etc/pcidp/