Victor Romano f3cc3522b6 Add puppet-dcagent module and implementation
This commit adds a new module puppet-dcagent and make the necessary
changes to implement it.

The dcagent ports are:
 Internal API port:  8325
 Admin API port:     8326

Notes:
  - Since this new service will be used internally by dcmanager and
    dcorch only, no public port was created.
  - The sysinv change in [1] is used to enable this puppet code, so
    testing was done with it applied as well.

[1]: https://review.opendev.org/c/starlingx/config/+/923697

Test plan:
  - PASS: Bootstrap and unlock a subcloud. Verify that the endpoints
          were correctly configured, the dcagent.conf file has all
          necessary information and haproxy.conf includes the
          dcagent entry.
  - PASS: Launch the service and verify dcmanager can audit the
          subcloud with dcagent.
  - PASS: Bootstrap and unlock a system controller. Verify the
          Keystone user and service for dcagent were created without
          creating any endpoints.
  - PASS: Run 'sm-restart service dcagent-api' and verify the dcagent
          was correctly restarted and service is working as expected.
  - PASS: Induce a failure in dcagent code. Verify sm correctly
          restarts the service until the failure is corrected.

Depends-On: https://review.opendev.org/c/starlingx/distcloud/+/923752
Depends-On: https://review.opendev.org/c/starlingx/ha/+/923698

Story: 2011106
Task: 50561

Change-Id: Ie851b9926159702d5a72daa0aa015330f8b11664
Signed-off-by: Victor Romano <victor.gluzromano@windriver.com>
2024-07-25 16:17:37 -03:00
2019-09-09 14:52:12 -05:00
2023-04-28 12:38:53 -04:00
2021-02-19 12:14:38 -06:00
2019-09-09 14:52:12 -05:00
2023-07-20 15:45:19 +00:00
2019-09-09 14:52:12 -05:00

stx-puppet

The starlingx/stx-puppet repository handles the Puppet service1.

The Puppet service runs during bootstrap, and at every reboot, to provide a consistent configuration across the StarlingX system nodes.

This repository is not intended to be developed standalone, but rather as part of the StarlingX Source System, which is defined by the StarlingX manifest2.

References


  1. https://www.puppet.com↩︎

  2. https://opendev.org/starlingx/manifest.git↩︎

Description
StarlingX Puppet modules and manifests
Readme 20 MiB
Languages
Puppet 58.5%
Python 21.6%
HTML 7.5%
Shell 7.1%
Ruby 4.7%
Other 0.6%