ptp-notification application apply failed because /var/run/ptp4l no longer exists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Cole Walker |
Bug Description
Brief Description
-----------------
ptp-notification application apply-failed because /var/run/ptp4l no longer exists
Severity
--------
Major
Steps to Reproduce
------------------
system host-update controller-0 clock_synchroni
system ptp-instance-add ptp1 ptp4l
system host-ptp-
system ptp-instance-
system ptp-interface-add if1 ptp1
system host-if-ptp-assign controller-0 oam0 if1
system ptp-instance-apply
system host-label-assign controller-0 ptp-registratio
system application-upload -n ptp-notification /usr/local/
system application-apply ptp-notification
Expected Behavior
-----------------
ptp-notification application is applied successfully
Actual Behavior
---------------
ptp-notification application apply-failed
Reproducibility
---------------
Reproducible
System Configuration
-------
Any system configured w/ ptp
Branch/Pull Time/Commit
-------
2022-02-08_20-00-06
Last Pass
---------
Before the PTP Dual NIC feature: https:/
Timestamp/Logs
[sysadmin@
+------
| application | version | manifest name | manifest file | status | progress |
+------
| cert-manager | 1.0-29 | cert-manager-
| nginx-ingress-
| | | | t.yaml | | |
| | | | | | |
| oidc-auth-apps | 1.0-63 | oidc-auth-manifest | manifest.yaml | uploaded | completed |
| platform-integ-apps | 1.0-44 | platform-
| ptp-notification | 1.0-52 | ptp-notificatio
| | | | | | check logs for |
| | | | | | detail |
| | | | | | |
| rook-ceph-apps | 1.0-14 | rook-ceph-manifest | manifest.yaml | uploaded | completed |
+------
controller-0:~# kubectl describe pods -n notification ptp-ptp-
Name: ptp-ptp-
Namespace: notification
Priority: 0
Node: controller-
Start Time: Wed, 09 Feb 2022 23:26:05 +0000
Labels: app=ptp-
Annotations: <none>
Status: Pending
IP:
IPs: <none>
Controlled By: DaemonSet/
Containers:
ptp-notificat
Container ID:
Image: registry.
Image ID:
Port: <none>
Host Port: <none>
State: Waiting
Reason: ContainerCreating
Ready: False
Restart Count: 0
Environment:
THIS_
THIS_POD_IP: (v1:status.podIP)
THIS_
RABBITMQ_
RABBITMQ_
RABBITMQ_
Mounts:
/
ptp-notificat
Container ID:
Image: registry.
Image ID:
Port: <none>
Host Port: <none>
Command:
/bin/bash
/
State: Waiting
Reason: ContainerCreating
Ready: False
Restart Count: 0
Environment:
THIS_
THIS_POD_IP: (v1:status.podIP)
THIS_
REGISTRAT
REGISTRAT
REGISTRAT
REGISTRAT
NOTIFICAT
NOTIFICAT
NOTIFICAT
Mounts:
/mnt from scripts (rw)
/
ptp-notificat
Container ID:
Image: registry.
Image ID:
Port: <none>
Host Port: <none>
Command:
/bin/bash
/
State: Waiting
Reason: ContainerCreating
Ready: False
Restart Count: 0
Environment:
THIS_
THIS_POD_IP: (v1:status.podIP)
THIS_
PTP_
PTP_
PTP_
NOTIFICAT
NOTIFICAT
NOTIFICAT
REGISTRAT
REGISTRAT
REGISTRAT
REGISTRAT
Mounts:
/mnt from scripts (rw)
/ptp/ from conf (ro)
/usr/sbin/pmc from pmc (rw)
/var/run/ from ptpdir (rw)
/
/
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
scripts:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: ptp-notificatio
Optional: false
ptpdir:
Type: HostPath (bare host directory volume)
Path: /var/run/
HostPathType: Directory
varrun:
Type: HostPath (bare host directory volume)
Path: /var/run/ptp4l
HostPathType: Socket
pmc:
Type: HostPath (bare host directory volume)
Path: /usr/sbin/pmc
HostPathType:
conf:
Type: HostPath (bare host directory volume)
Path: /etc/
HostPathType: Directory
kube-
Type: Projected (a volume that contains injected data from multiple sources)
TokenExpira
ConfigMapName: kube-root-ca.crt
ConfigMapOp
# Please edit the object below. Lines beginning with a '#' will be ignored,
# and an empty file will abort the edit. If an error occurs while saving this file will be
# reopened with the relevant failures.
#
apiVersion: apps/v1
kind: DaemonSet
metadata:
annotations:
deprecated.
creationTimes
generation: 1
labels:
app: ptp-notification
chart: ptp-notification
release: ptp-ptp-
name: ptp-ptp-
namespace: notification
resourceVersion: "38765"
selfLink: /apis/apps/
uid: faf54fc4-
spec:
revisionHisto
selector:
matchLabels:
app: ptp-notification
release: ptp-ptp-
template:
metadata:
creationT
labels:
app: ptp-notification
release: ptp-ptp-
namespace: notification
spec:
affinity:
- matchExpressions:
- key: ptp-notification
- "true"
containers:
- env:
- name: THIS_NODE_NAME
- name: THIS_POD_IP
- name: THIS_NAMESPACE
value: notification
- name: RABBITMQ_
value: admin
- name: RABBITMQ_
value: admin
- name: RABBITMQ_
value: "5672"
image: registry.
name: ptp-notificatio
resources: {}
- command:
/var
- name: PTP_HOLDOVER_
DownwardAPI: true
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node-role.
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 16h default-scheduler Successfully assigned notification/
Warning FailedMount 124m (x61 over 16h) kubelet Unable to attach or mount volumes: unmounted volumes=[varrun], unattached volumes=[scripts ptpdir varrun pmc conf kube-api-
Warning FailedMount 50m (x70 over 16h) kubelet Unable to attach or mount volumes: unmounted volumes=[varrun], unattached volumes=[pmc conf kube-api-
Warning FailedMount 29m (x61 over 16h) kubelet Unable to attach or mount volumes: unmounted volumes=[varrun], unattached volumes=[varrun pmc conf kube-api-
Warning FailedMount 25m (x67 over 16h) kubelet Unable to attach or mount volumes: unmounted volumes=[varrun], unattached volumes=[conf kube-api-
Warning FailedMount 10m (x502 over 16h) kubelet MountVolume.SetUp failed for volume "varrun" : hostPath type check failed: /var/run/ptp4l is not a socket file
Warning FailedMount 4m46s (x70 over 16h) kubelet Unable to attach or mount volumes: unmounted volumes=[varrun], unattached volumes=[ptpdir varrun pmc conf kube-api-
Warning FailedMount 15s (x107 over 16h) kubelet Unable to attach or mount volumes: unmounted volumes=[varrun], unattached volumes=
Test Activity
-------------
Feature Testing
Workaround
----------
Unknown
Changed in starlingx: | |
status: | Triaged → In Progress |
screening: stx.7.0 / medium: issue introduced by new stx.7.0 feature: https:/ /storyboard. openstack. org/#!/ story/2009248