Hi! I'm trying to migrate a volume from a storage pool to another. I've
made it for some instance volumes with sizes up to 300GB. Now I have to
migrate an instance volume with 3.8 TB and I'm getting:
At the GUI popup:
Migrating volume failed
Resource [StoragePool:24] is unreachable: Volume
[{"name":"ROOT-3373","uuid":"512f9beb-1ab1-442b-a058-3cb329f43319"}]
migration failed due to [com.cloud.utils.exception.CloudRuntimeException:
Failed to copy
/mnt/fb1a9368-6fb7-3866-bdf6-00a3ebc26fa3/512f9beb-1ab1-442b-a058-3cb329f43319
to 715a08b9-074b-4261-bea5-2670a86f95e7.qcow2].
At management.log
2024-04-08 17:00:21,255 ERROR [c.c.a.ApiAsyncJobDispatcher]
(API-Job-Executor-37:ctx-4bd39cf3 job-16314) (logid:6bdc565e) Une
xpected exception while executing
org.apache.cloudstack.api.command.admin.volume.MigrateVolumeCmdByAdmin
com.cloud.utils.exception.CloudRuntimeException: Resource [StoragePool:24]
is unreachable: Volume [{"name":"ROOT-3373","uuid"
:"512f9beb-1ab1-442b-a058-3cb329f43319"}] migration failed due to
[com.cloud.utils.exception.CloudRuntimeException: Failed to
copy
/mnt/fb1a9368-6fb7-3866-bdf6-00a3ebc26fa3/512f9beb-1ab1-442b-a058-3cb329f43319
to f4f94229-1bc1-4dc8-b1e5-5beb96c4e55a.
qcow2].
at
com.cloud.storage.VolumeApiServiceImpl.orchestrateMigrateVolume(VolumeApiServiceImpl.java:3406)
at
com.cloud.storage.VolumeApiServiceImpl.orchestrateMigrateVolume(VolumeApiServiceImpl.java:4823)
...
...
at java.base/java.lang.Thread.run(Thread.java:829)
2024-04-08 17:00:21,264 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-37:ctx-4bd39cf3 job-16314) (logid:6bdc565e)
Complete async job-16314, jobStatus: FAILED, resultCode: 530, result:
org.apache.cloudstack.api.response.ExceptionResponse/n
ull/{"uuidList":[],"errorcode":"530","errortext":"Resource [StoragePool:24]
is unreachable: Volume [{"name":"ROOT-3373","uuid
":"512f9beb-1ab1-442b-a058-3cb329f43319"}] migration failed due to
[com.cloud.utils.exception.CloudRuntimeException: Failed t
o copy
/mnt/fb1a9368-6fb7-3866-bdf6-00a3ebc26fa3/512f9beb-1ab1-442b-a058-3cb329f43319
to f4f94229-1bc1-4dc8-b1e5-5beb96c4e55a
.qcow2]."}
CS version 4.19.0.0
The instance is stopped.
First storage pool is cluster scoped and the destination storage pool is
zone scoped.
I'm trying to do that via GUI, selecting the destination storage pool (a
new one, with all space free).
I'm checking the option "Replace disk offering" and select the new one.
I've changed the option "Kvm storage offline migration wait" to 86400.
It looks like a timeout problem. Is there some other option I've to
customize? As said, for smaller volumes it worked.
Thank you so much!
--
Jorge Luiz Corrêa
Embrapa Agricultura Digital
echo "CkpvcmdlIEx1aXogQ29ycmVhCkFu
YWxpc3RhIGRlIFJlZGVzIGUgU2VndXJhbm
NhCkVtYnJhcGEgQWdyaWN1bHR1cmEgRGln
aXRhbCAtIE5USQpBdi4gQW5kcmUgVG9zZW
xsbywgMjA5IChCYXJhbyBHZXJhbGRvKQpD
RVAgMTMwODMtODg2IC0gQ2FtcGluYXMsIF
NQClRlbGVmb25lOiAoMTkpIDMyMTEtNTg4
Mgpqb3JnZS5sLmNvcnJlYUBlbWJyYXBhLm
JyCgo="|base64 -d
--
__________________________
Aviso de confidencialidade
Esta mensagem da
Empresa Brasileira de Pesquisa Agropecuaria (Embrapa), empresa publica
federal regida pelo disposto na Lei Federal no. 5.851, de 7 de dezembro
de 1972, e enviada exclusivamente a seu destinatario e pode conter
informacoes confidenciais, protegidas por sigilo profissional. Sua
utilizacao desautorizada e ilegal e sujeita o infrator as penas da lei.
Se voce a recebeu indevidamente, queira, por gentileza, reenvia-la ao
emitente, esclarecendo o equivoco.
Confidentiality note
This message from
Empresa Brasileira de Pesquisa Agropecuaria (Embrapa), a government
company established under Brazilian law (5.851/72), is directed
exclusively to its addressee and may contain confidential data,
protected under professional secrecy rules. Its unauthorized use is
illegal and may subject the transgressor to the law's penalties. If you
are not the addressee, please send it back, elucidating the failure.