TransWikia.com

How to Lift and Shift from OpenStack to GCP?

Server Fault Asked by Fleuri on January 16, 2021

I have previously had an OpenStack based cloud environmnent in which I had virtual servers. I have migrated to GCP and while I’ve refactored everything to be cloud native (and especially k8s), I’d like to move the disk images to GCP for archival purposes and so that I can access them by starting an instance in GCE.

I’ve made a snapshot of a server and downloaded it with glance cli tool, but I have hard time getting it work in GCP (If that’s even possible?). I’ve tried importing it as an image both on GUI and CLI. If I denote the OS (Centos 7), the import process does seem to find it in the raw disk image, but the import process ends with

[import-image]: 2020-09-23T08:22:48.732Z step "translate-disk" run error: step "wait-for-translator" run error: WaitForInstancesSignal FailureMatch found for "inst-translator-import-image-translate-disk-1zq15": "TranslateFailed: error: Verify that you have specified the correct operating system in the `--os` flag. If you are bringing your own license (BYOL), also verify that your subscription is eligible to be run on GCP."

If I don’t denote the OS, the import succeeds but the instance is not bootable from the image.

So my questions are: Is what I’m trying to do actually possible and if so, how? What am I doing wrong? Is there a better way to do this?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP