Troubleshooting & Debugging

This section contains technical articles focused on debugging various systems and applications.

Debugging by Platform

PostgreSQL on OpenShift

Troubleshooting for PostgreSQL instances running on OpenShift:

  • Database connection issues

  • Performance bottlenecks

  • Storage-related problems

  • Backup and recovery scenarios

Read the full guide

OVN Networking

Debugging OVN networking issues in OpenStack:

  • Understanding the OVN architecture

  • Network traffic flow analysis

  • Common failure scenarios and their solutions

  • Command-line debugging tools

Read the full guide

Debugging Cheat Sheets

OpenShift PostgreSQL Debugging

# Get PostgreSQL pod status
oc get pods -l app=postgresql

# Check logs
oc logs <pod-name>

# Connect to PostgreSQL instance
oc rsh <pod-name>
psql -U postgres

# Check PostgreSQL configuration
oc exec <pod-name> -- cat /opt/bitnami/postgresql/conf/postgresql.conf

OpenStack OVN Debugging

# List OVN northbound database content
ovn-nbctl show

# List OVN southbound database content
ovn-sbctl show

# Check logical flows
ovn-sbctl lflow-list

# Trace a packet through OVN
ovn-trace <switch> "inport=<port_id> ... <packet details>"

Complete Debugging Resources