Backup Consistency

Registered by Cynthia Lopes do Sacramento

Freezer should provide a tool to check for backup consistency.

Problem description
===================

After restoring a backup, no check is available to know if the result is exactly the same as what was originally backed up.
In Freezer integration tests, we test features but the actually outcome of a restore is not verified.
Sometimes when a new feature is developed, it could silently break something else impacting the final restore result without throwing any kind of alert.
There is no point to backup anything if we cannot restore it properly. Freezer should have integration tests to ensure backup consistency.

Proposed change
==============

Develop an integration test with tempest to:
        - Checksum a directory
        - Backup it
        - Restore from the backup
        - Chacksum the restored directory
        - Compare original checksum to the restored checksum

Implement tests to cover most of backup/restore options available

Blueprint information

Status:
Complete
Approver:
Saad Zaher
Priority:
Low
Drafter:
Cynthia Lopes do Sacramento
Direction:
Approved
Assignee:
Cynthia Lopes do Sacramento
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
None
Started by
Saad Zaher
Completed by
Saad Zaher

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/backup-consistency,n,z

Addressed by: https://review.openstack.org/300070
    Implements blueprint: backup-consistency

Addressed by: https://review.openstack.org/300080
    Adds checksum before backup and after restore for consistency check.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.