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 the pod is an appropriate first step when troubleshooting Continuous Delivery for PE.
systemctl restart <podman/docker>-{pipelinesinfra,ui,query,postgres}
Stop Continuous Delivery for PE
In rare circumstances, you might need to shut down, or force stop, Continuous Delivery for Puppet Enterprise (PE).
Force stopping Continuous Delivery for PE can cause errors. Only use these commands under specific circumstances, preferably with guidance from Support.
We recommend that you initially try to Restart Continuous Delivery for PE, which is different and less disruptive than a force stop.
Logs
Generate a support bundle for Continuous Delivery for PE that contains logs and other useful information for support.
Follow the instructions in Generate a support bundle to create a file that includes the logs for Continuous Delivery for PE.
Trace-level logging
containers.pipelinesinfra.log_level
setting in Hiera. For
example: containers:
pipelinesinfra:
log_level: "trace"
max_log_size_mb: 200
keep_log_files: 5
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