[devops] Tool to create snapshot for whole environment

Registered by Igor Shishkin

In cases we cannot reproduce some issues we need to have ability to store whole devops environment including:

- Block device images for virtual drives (/var/lib/libvirt/images/*)
- Network configuration(virsh net-dumpxml)
- Snapshot of virtual machines memory

and put it all into tarball to send someone or somewhere.

Maybe will be a good idea to implement it as devops subcommand.

Possible helpful ideas:

- Use pigz to gzip tarball
- To deploy this snapshot possible good idea is to change bridge names into dumped network xmls to do not conflict with existing

Blueprint information

Status:
Started
Approver:
Igor Shishkin
Priority:
Low
Drafter:
Igor Shishkin
Direction:
Needs approval
Assignee:
Egor Kotko
Definition:
Drafting
Series goal:
Accepted for future
Implementation:
Beta Available
Milestone target:
milestone icon next
Started by
Egor Kotko

Related branches

Sprints

Whiteboard

How are you doing?
- Beta version is ready.

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

Addressed by: https://review.openstack.org/121904
    Tool for environment snapshoting

Gerrit topic: https://review.openstack.org/#q,topic:volumes-file-mode,n,z

Addressed by: https://review.openstack.org/285241
    Set 0644 file mode for volume content files

Addressed by: https://review.openstack.org/284904
    Set 0644 file mode for volume content files

Gerrit topic: https://review.openstack.org/#q,topic:systest-export-import,n,z

Addressed by: https://review.openstack.org/280573
    Scripts for export and import systest environments

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.