Rollback Procedures¶
This guide covers how to rollback the Traceable Platform to a previous version if issues occur during or after an upgrade.
Overview¶
As a part of the upgrade process, the installer automatically creates a backup of the current state. If a rollback is needed for any reason, the workflow from the previous state can be executed, bringing the environment back to the previous state.
When to Rollback¶
Consider rollback in the following scenarios:
- Upgrade fails and cannot be recovered
- Critical functionality is broken after upgrade
- Performance degradation after upgrade
- Data processing issues after upgrade
- Instructed by Traceable support team
Rollback Process¶
1. Access Upgrade History¶
- Click on Upgrade Cluster in the sidebar menu
- Click on the Upgrade History button
This will display a list of all previous versions and their states.
2. Select Version to Rollback¶
- Choose the version you want to roll back to from the history
- Review the version details and timestamp
- Click the Rollback button
Important: This will only update the state of the cluster to the chosen version. The actual service rollout happens in the next steps.
3. Navigate to Install Workflow¶
After selecting the rollback version:
- Navigate to Install Workflow
- Continue the steps from the Global Variables section in the upgrade guide
4. Execute Rollback Workflow¶
Follow the same process as a regular upgrade:
- Review Global Variables - Verify variables match the previous state
- Review Global Helm Values - Ensure values are correct for the rollback version
- Select Services - Select all services that need to be rolled back
- Trigger Install - Click Start Install to begin the rollback
5. Monitor Rollback Progress¶
Monitor the rollback process the same way as an upgrade:
- Watch the workflow execution
- Monitor pod status in real-time
- Check for any errors or failures
Rollback Verification¶
After the rollback completes:
1. Verify Pod Status¶
All pods should be in Running state.
2. Check Service Versions¶
kubectl get pods -n <traceable-namespace> -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.spec.containers[0].image}{"\n"}{end}'
Verify all images match the rollback version.
3. Verify Platform Functionality¶
- Login to the Traceable UI
- Check if spans are flowing
- Verify dashboards are accessible
- Test critical functionality
- Confirm version in UI matches rollback target
4. Check Data Processing¶
- Verify spans from the last 15 minutes are visible
- Check that alerts are functioning
- Confirm API endpoints are responding correctly
Troubleshooting Rollback Issues¶
Rollback Workflow Fails¶
If the rollback workflow fails:
- Check pod logs:
- Check pod status:
-
Restart failed workflow item:
- Click Restart button next to the failed item
-
Contact support:
- If issues persist, contact Traceable support immediately
- Provide workflow logs and pod status
Partial Rollback State¶
If the system is in a partial rollback state:
- Do not attempt another upgrade/rollback
- Document current state:
- Which services rolled back successfully
- Which services are still on new version
- Contact Traceable support with details
Data Inconsistency After Rollback¶
If you notice data inconsistencies:
- Check database connectivity
- Verify storage volumes are mounted correctly
- Review logs for data processing errors
- Contact Traceable support for data validation
Best Practices¶
Before Rollback¶
- Document the reason for rollback
- Take screenshots of errors or issues
- Backup current logs and state
- Notify stakeholders of rollback plan
- Schedule maintenance window if possible
During Rollback¶
- Monitor the rollback process continuously
- Keep Traceable support informed
- Document any errors or unexpected behavior
- Do not interrupt the rollback process
After Rollback¶
- Verify all functionality is restored
- Document lessons learned
- Work with Traceable support to identify root cause
- Plan for retry with fixes if applicable
Prevention¶
To minimize the need for rollbacks:
- Always complete pre-upgrade checks
- Test upgrades in non-production environment first
- Schedule upgrades during maintenance windows
- Have Traceable support available during upgrade
- Keep backups of installer state
- Document custom configurations
Emergency Rollback¶
For critical production issues requiring immediate rollback:
- Contact Traceable support immediately
- Initiate rollback process
- Monitor closely
- Document all actions taken
Support¶
For rollback assistance or issues, contact: support@harness.io
Emergency Contact: Ensure you have emergency contact information for critical production issues.