You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "top-secrett (via GitHub)" <gi...@apache.org> on 2023/09/12 08:58:37 UTC
[GitHub] [cloudstack] top-secrett opened a new issue, #7957: Changing disk UUID after disk replacing in xcp-ng with Xen Orchestra
top-secrett opened a new issue, #7957:
URL: https://github.com/apache/cloudstack/issues/7957
<!--
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and main branch are affected too.
Always add information AFTER of these HTML comments, but no need to delete the comments.
-->
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Improvement Request
##### CLOUDSTACK VERSION
<!--
Any
-->
~~~
Any
~~~
##### SUMMARY
<!-- Explain the problem/feature briefly -->
Hello. I use CloudStack with XCP-NG and I am in search of the best backup solution.
All software, including Xen Orchestra, can restore a backup as new VM with a new disk UUID. After that I detach disk from original VM and attach the recovered disk. VM is working fine, but CloudStack cannot manage the disk due to the new disk UUID.
If I replace disk UUID in CloudStack databases, disk management will be performed normally
Example:
~~~
update volumes SET path="24c34f4d-35b3-400a-92e3-c27ba154aabf" where id=2283;
~~~
Maybe in new version of cloudstack you can add function of manually or automatically changing disk UUID from Cloudstack?
Or import VM from XCP-NG function.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Changing disk UUID after disk replacing in xcp-ng with Xen Orchestra [cloudstack]
Posted by "top-secrett (via GitHub)" <gi...@apache.org>.
top-secrett commented on issue #7957:
URL: https://github.com/apache/cloudstack/issues/7957#issuecomment-1842482189
@DaanHoogland after stop and start VM in CS, VM's uuid changes in Xen. All backup solutions for xcp-ng cannot backup VM after that. It is a big problem, because there is no any full compatible backup sofy for xcp-ng with CS
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Changing disk UUID after disk replacing in xcp-ng with Xen Orchestra [cloudstack]
Posted by "top-secrett (via GitHub)" <gi...@apache.org>.
top-secrett commented on issue #7957:
URL: https://github.com/apache/cloudstack/issues/7957#issuecomment-1842516101
@DaanHoogland should I open new issue?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Changing disk UUID after disk replacing in xcp-ng with Xen Orchestra [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #7957:
URL: https://github.com/apache/cloudstack/issues/7957#issuecomment-1842469199
this sounds like you want to write a plugin for the backup and restore framework.
Normally a VM uuid would not change in cloudstack. What may happen is that you get a new VM in Xen, but in the cloudstack DB it should not have changed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Changing disk UUID after disk replacing in xcp-ng with Xen Orchestra [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #7957:
URL: https://github.com/apache/cloudstack/issues/7957#issuecomment-5813335901
@top-secrett , are you still looking at this? it is stale, should we close or save as long term plan/future work?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Changing disk UUID after disk replacing in xcp-ng with Xen Orchestra [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #7957:
URL: https://github.com/apache/cloudstack/issues/7957#issuecomment-1940726449
@top-secrett , that is a similar issue. As ACS installs a new VM based on the old disk when restarting an old VM. We can see if we can and how to deal with that.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Changing disk UUID after disk replacing in xcp-ng with Xen Orchestra [cloudstack]
Posted by "top-secrett (via GitHub)" <gi...@apache.org>.
top-secrett commented on issue #7957:
URL: https://github.com/apache/cloudstack/issues/7957#issuecomment-1842503267
@DaanHoogland We use XenOrchestra and Vinchin
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Changing disk UUID after disk replacing in xcp-ng with Xen Orchestra [cloudstack]
Posted by "top-secrett (via GitHub)" <gi...@apache.org>.
top-secrett commented on issue #7957:
URL: https://github.com/apache/cloudstack/issues/7957#issuecomment-1938498759
@DaanHoogland I meant feature that disables VM reconfiguration to prevent generating a new VM UUID after reboot.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Changing disk UUID after disk replacing in xcp-ng with Xen Orchestra [cloudstack]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7957:
URL: https://github.com/apache/cloudstack/issues/7957#issuecomment-5738329089
This issue is stale because it has been open for 120 days with no activity. It may be removed by administrators of this project at any time. Remove the stale label or comment to request for removal of it to prevent this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Changing disk UUID after disk replacing in xcp-ng with Xen Orchestra [cloudstack]
Posted by "top-secrett (via GitHub)" <gi...@apache.org>.
top-secrett commented on issue #7957:
URL: https://github.com/apache/cloudstack/issues/7957#issuecomment-1845502197
@DaanHoogland I didn't deal with B&R framework. I know that problem is in changing VMs uuid, how to solve it without writing plugin I have no idea.
Tomorrow I will explain problem to Vinchin developers, maybe they will find resolution.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Changing disk UUID after disk replacing in xcp-ng with Xen Orchestra [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #7957:
URL: https://github.com/apache/cloudstack/issues/7957#issuecomment-1842495463
> @DaanHoogland after stop and start VM in CS, VM's uuid changes in Xen. All backup solutions for xcp-ng cannot backup VM after that. It is a big problem, because there is no any full compatible backup soft for xcp-ng with CS
I understand, so these backup solutions run out of bounds from cloudstack, right? cloudstack is unaware and on start recreates the VM (this is how it always works on xen/kvm) What is your backup solution?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Changing disk UUID after disk replacing in xcp-ng with Xen Orchestra [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #7957:
URL: https://github.com/apache/cloudstack/issues/7957#issuecomment-1842505703
> @DaanHoogland We use XenOrchestra and Vinchin
/me googling ;)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Changing disk UUID after disk replacing in xcp-ng with Xen Orchestra [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #7957:
URL: https://github.com/apache/cloudstack/issues/7957#issuecomment-1842524280
> @DaanHoogland should I open new issue?
no, I would refine the issue here to be a better specification. We don't need an extra issue. What do we need, either
- adding support to the B&R framework for Vinchin
- dealing with VM restarts (possibly controlled by a setting)
ACS is not aware of out of bounds backup solution and making it aware is making them no longer out of bounds. We (sd in you) need to define a good functional design to how this should work. Next we can decide if it is worth the effort. I would not call it an improvemnt request depending on the way forward. Are you familiar with the B&R framework?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Changing disk UUID after disk replacing in xcp-ng with Xen Orchestra [cloudstack]
Posted by "top-secrett (via GitHub)" <gi...@apache.org>.
top-secrett commented on issue #7957:
URL: https://github.com/apache/cloudstack/issues/7957#issuecomment-1935884349
@DaanHoogland Vinchin didnt find any solution. Perhaps in a next release you will add feature that disables VM reconfiguration?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Changing disk UUID after disk replacing in xcp-ng with Xen Orchestra [cloudstack]
Posted by "top-secrett (via GitHub)" <gi...@apache.org>.
top-secrett closed issue #7957: Changing disk UUID after disk replacing in xcp-ng with Xen Orchestra
URL: https://github.com/apache/cloudstack/issues/7957
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Changing disk UUID after disk replacing in xcp-ng with Xen Orchestra [cloudstack]
Posted by "top-secrett (via GitHub)" <gi...@apache.org>.
top-secrett commented on issue #7957:
URL: https://github.com/apache/cloudstack/issues/7957#issuecomment-1842436719
@neil3333 yes, it is a promlem too. I think you should open new issue
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Changing disk UUID after disk replacing in xcp-ng with Xen Orchestra [cloudstack]
Posted by "neil3333 (via GitHub)" <gi...@apache.org>.
neil3333 commented on issue #7957:
URL: https://github.com/apache/cloudstack/issues/7957#issuecomment-1840413305
Hi, I may have the similiar situation, I tested the third-party backup solution for Cloudstack, every time I shutdown the VM and reboot it, the backup fails, with backup server reported cannot find corresponding Virtual Machine, I guess it may caused by VM uuid changed by Cloudstack.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Changing disk UUID after disk replacing in xcp-ng with Xen Orchestra [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #7957:
URL: https://github.com/apache/cloudstack/issues/7957#issuecomment-1938387253
> @DaanHoogland Vinchin didnt find any solution. Perhaps in a next release you will add feature that disables VM reconfiguration?
If we can figure out how to do that in a clean way, sure. However disks/volumes are first class citizens in cloudstack. allowing a new disk to have the same UUID as prior one is a no go. I am not sure if this can be fitted into the current B&R design (cc @rohityadavcloud ?)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Changing disk UUID after disk replacing in xcp-ng with Xen Orchestra [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #7957:
URL: https://github.com/apache/cloudstack/issues/7957#issuecomment-2805096587
@top-secrett
just to confirm, the new path of the volume is a uuid generated by Xen Orchestra, right ?
it sounds like a out-of-band operation for cloudstack.
would it be possible to change the path of new volume back to the path of volume in cloudstack database in Xen Orchestra ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org