heat_integrationtests.scenario.test_volumes
Module¶heat_integrationtests.scenario.test_volumes.
VolumeBackupRestoreIntegrationTest
(*args, **kwargs)[source]¶Bases: heat_integrationtests.scenario.scenario_base.ScenarioTestsBase
Class is responsible for testing of volume backup.
test_cinder_volume_create_backup_restore
()[source]¶Ensure the ‘Snapshot’ deletion policy works.
This requires a more complex test, but it tests several aspects of the heat cinder resources:
- Create a volume, attach it to an instance, write some data to it
- Delete the stack, with ‘Snapshot’ specified, creates a backup
- Check the snapshot has created a volume backup
- Create a new stack, where the volume is created from the backup
- Verify the test data written in (1) is present in the new volume
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.