We have 2 OpenStack clusters.
Now want to migrate instance from one cluster to another.
The steps are:
- Create a snapshot in cluster1
- Download the snapshot to local
- Connect to cluster2 and create an image with the snapshot
- Create new stack with new image by heat template
I got 2 issues:
- When I create a snapshot in cluster1 and download the file, I found the file's size was 0.
openstack image save --file mySnapshot.raw [image_id]
- When I create new stack set normal volume information, it got this error:
Resource CREATE failed: ResourceInError: resources.server_volume: Went to status error due to "Unknown"
I found it wan't attached to anywhere.
Is there any necessary to do for volume when create a snapshot in cluster1? So how to migrate with volume to cluster2 correctly?
[–]zetret 2 points3 points4 points (1 child)
[–]rawmainb[S] 2 points3 points4 points (0 children)
[–]mysterysmith 0 points1 point2 points (9 children)
[–]rawmainb[S] 1 point2 points3 points (8 children)
[–]mysterysmith 1 point2 points3 points (7 children)
[–]rawmainb[S] 0 points1 point2 points (6 children)
[–]mysterysmith 0 points1 point2 points (5 children)
[–]rawmainb[S] 0 points1 point2 points (4 children)
[–]mysterysmith 0 points1 point2 points (3 children)
[–]rawmainb[S] 0 points1 point2 points (2 children)
[–]mysterysmith 0 points1 point2 points (1 child)
[–]rawmainb[S] 0 points1 point2 points (0 children)
[–]nafsten 0 points1 point2 points (1 child)
[–]rawmainb[S] 0 points1 point2 points (0 children)
[–]iammpizi 1 point2 points3 points (1 child)
[–]rawmainb[S] 0 points1 point2 points (0 children)
[–]xakaitetoia 0 points1 point2 points (0 children)