Troubleshooting Continuous Delivery for PE
Use this guidance to troubleshoot issues you might encounter with your Continuous Delivery for Puppet Enterprise (PE) installation.
Look up a source control webhook
Continuous Delivery for PE creates a webhook and attempts to automatically deliver it to your source control system when you add a new control repo or module to your workspace. You can look up this webhook if you ever need to manually add (or re-add) it to your source control repository.
Manually configure a Puppet Enterprise integration
When you add credentials for a Puppet Enterprise (PE) instance, Continuous Delivery for PE attempts to look up the endpoints for PuppetDB, Code Manager, orchestrator, and node classifier, and it attempts to access the primary SSL certificate generated during PE installation. If this information can't be located, such as in cases where your PE instance uses customized service ports, you must enter it manually.
If you want code deployments to skip unavailable compilers, go to Enable compiler maintenance mode.
Restart Continuous Delivery for PE
Restarting Continuous Delivery for PE is an appropriate first step when troubleshooting.
bolt plan run cd4peadm::ctl action=restart
Stop Continuous Delivery for PE
In rare circumstances, you might need to shut down, or force stop, Continuous Delivery for Puppet Enterprise (PE).
Logs
Display the logs for Continuous Delivery for PE.
bolt plan run cd4peadm::logs
Use bolt plan show cd4peadm::logs
for information on gathering logs for
other sub-components of Continuous Delivery for PE.
Trace-level logging
containers.pipelinesinfra.log_level
setting in Hiera. For
example: containers:
pipelinesinfra:
log_level: "trace"
Looking up information about Continuous Delivery for PE
Use container runtime commands to access information about your Continuous Delivery for PE installation.
Look up the environment variables in use
Follow the instructions in Generate a support bundle to create a file that includes the environment variables for Continuous Delivery for PE.
<podman/docker> inspect pipelinesinfra |jq ".[].Config.Env"
Look up your Continuous Delivery for PE version
<docker/podman> inspect pipelinesinfra |jq ".[].ImageName"
Generate a support bundle
When seeking support, you might be asked to generate and provide a support bundle. This bundle collects a large amount of logs, system information, and application diagnostics.
To create a support bundle:
bolt plan run cd4peadm::support_bundle