Move ttys_dcd configuration from agent to puppet runtime manifest
The ttys_dcd flag is currently being configured by sysinv agent audit.
The API updates the database but it is not instantly configured, it
must wait for an audit iteration. This change modifies this behavior
by running a puppet runtime manifest [1] from the API.
Test plan:
PASS: Bootstrap AIO-SX, host unlock and verify system alarms.
PASS: Set the flag via host-update and check if the serial console
was really configured.
PASS: Unset the flag and also verify serial console.
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/845175 /opendev. org/starlingx/ config/ commit/ 28f72983dee14cb 6756f936a0a93a8 2d4024e67e
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 28f72983dee14cb 6756f936a0a93a8 2d4024e67e
Author: Iago Estrela <email address hidden>
Date: Wed Jun 8 17:29:00 2022 -0300
Move ttys_dcd configuration from agent to puppet runtime manifest
The ttys_dcd flag is currently being configured by sysinv agent audit.
The API updates the database but it is not instantly configured, it
must wait for an audit iteration. This change modifies this behavior
by running a puppet runtime manifest [1] from the API.
[1] https:/ /review. opendev. org/c/starlingx /stx-puppet/ +/845174
Closes-Bug: 1978009 /review. opendev. org/c/starlingx /stx-puppet/ +/845174
Depends-On: https:/
Test plan:
PASS: Bootstrap AIO-SX, host unlock and verify system alarms.
PASS: Set the flag via host-update and check if the serial console
was really configured.
PASS: Unset the flag and also verify serial console.
Signed-off-by: Iago Estrela <email address hidden> 3cd770601d1e78a f368bf54a95
Change-Id: Ia3ef2a5e96905c