Invalid PTP clock interface parameter causes puppet script error and exit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Andre Mauricio Zelak |
Bug Description
Brief Description
-----------------
Configuring an invalid clock interface parameter causes the puppet script to error and exit before ending. Some configurations are not applied as consequence.
Severity
--------
Minor
Steps to Reproduce
------------------
system host-lock controller-0
system host-update controller-0 clock_synchroni
system ptp-instance-add myclock1 clock
system ptp-interface-add clockint1 myclock1
system host-if-ptp-assign controller-0 cass clockint1
system ptp-interface-
system host-ptp-
system ptp-instance-apply
system host-unlock controller-0
Expected Behavior
------------------
The puppet script should warn about the invalid parameter and complete the clock configuration with the remaining valid parameters.
Actual Behavior
----------------
The puppet script errors out and exit, and the clock configuration is not applied to the clock-conf.conf file.
The current error message:
2023-11-
Reproducibility
---------------
100% reproducible
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
Affects master branch as well as stx 8.0 & stx 7.0
Last Pass
---------
N/A
Timestamp/Logs
--------------
2023-11-
Test Activity
-------------
Feature Testing
Workaround
----------
Correct the invalid parameter in the configuration.
Changed in starlingx: | |
assignee: | nobody → Andre Mauricio Zelak (azelak) |
summary: |
- Invalid GNSS clock paramter causes puppet script error and exit + Invalid PTP clock parameter causes puppet script error and exit |
summary: |
- Invalid PTP clock parameter causes puppet script error and exit + Invalid PTP clock interface parameter causes puppet script error and + exit |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.9.0 stx.networking |
Fix proposed to branch: master /review. opendev. org/c/starlingx /stx-puppet/ +/900556
Review: https:/