我正在使用velostrata将一个简单的WordPress网站从AWS迁移到GCP。
我已经在两个VPC之间建立了VPN,并成功配置了velostrata源云和目标云。 p>
迁移过程似乎进行了一段时间。我可以看到在GCP控制台中创建的实例,但是一段时间后它消失了。
当我查看velostrata日志时,错误是:
Finished job: RunInCloud on VM: i-0bc57fc47e893fac0, result: Failed, reason: [Cloud instance boot failed] (Instance boot was unsuccessful)
2019-06-20 15:00:34 DEBUG VmWorkerImpl
Exception:
com.velostrata.management.automation.exceptions.FailFlowException: [Cloud instance boot failed] (Instance boot was unsuccessful)
at com.velostrata.management.automation.flows.FlowBase.isDone(FlowBase.java:74)
at com.velostrata.management.automation.flows.RunInCloud.isDone(RunInCloud.java:113)
at com.velostrata.management.automation.components.VmWorkerImpl.monitor(VmWorkerImpl.java:126)
at com.velostrata.management.automation.components.VmWorkerImpl.runFlow(VmWorkerImpl.java:88)
at com.velostrata.management.automation.components.VmWorkerImpl.safeRunFlow(VmWorkerImpl.java:74)
at com.velostrata.management.automation.components.VmWorkerImpl.iterate(VmWorkerImpl.java:69)
at com.velostrata.management.automation.components.GroupWorkerImpl.lambda$run$3(GroupWorkerImpl.java:70)
at com.velostrata.automation.infra.utils.Wait.till(Wait.java:40)
at com.velostrata.automation.infra.utils.Wait.till(Wait.java:87)
at com.velostrata.management.automation.components.GroupWorkerImpl.run(GroupWorkerImpl.java:57)
at com.velostrata.management.automation.components.JobsRunnerImpl.runGroup(JobsRunnerImpl.java:88)
at com.velostrata.management.automation.components.JobsRunnerImpl.runPartOfJob(JobsRunnerImpl.java:80)
at com.velostrata.management.automation.components.JobsRunnerImpl.run(JobsRunnerImpl.java:72)
at com.velostrata.management.automation.components.JobsRunnerImpl.start(JobsRunnerImpl.java:48)
at com.velostrata.management.automation.components.RunsManagerImpl$RunFutureTask.lambda$new$0(RunsManagerImpl.java:246)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
源EC2 VM只是在docker中运行WordPress并指向RDS实例的简单Ubuntu实例。
在这一点上,我真的不知道该怎么做才能工作。 知道我应该从哪里开始寻找吗?
谢谢!
答案 0 :(得分:0)
每当看到以下错误
Finished job: RunInCloud on VM: whateverVM, result: Failed, reason: [Cloud instance boot failed\](Instance boot was unsuccessful)
您还可以执行以下故障排除步骤
检查实例串行控制台日志中是否存在多个超时,如:
[132.044894] dracut-initqueue[383]: calling: settle
[132.553566] dracut-initqueue[383]: Warning: dracut-initqueue timeout - starting timeout scripts
运行以下命令,它必须仅返回一个内核(不是多个内核,也不是空行):
sudo grubby --default-kernel
运行以下命令,必须返回所有软件包:
sudo rpm -q iscsi-initiator-utils-iscsiuio iscsi-initiator-utils device-mapper-multipath-libs device-mapper-multipath velostrata-prep
运行以下命令,您希望为快捷方式而不是文件列表提供一个velostrata,多路径,iscsi模块:
sudo lsinitrd /boot/initramfs-
uname -r
.img | egrep “((velostrata | multipath | iscsi)”)|头-3
可能的解决方案:
1。卸载并重新安装prep软件包,提供完整的输出以用于调试目的
2。如果已经安装了state,请尝试为当前内核重建initrd
可能的根本原因:
离线准备无法安装在云中运行(迁移任务失败)所需的MPIO功能。