webvirtcloud icon indicating copy to clipboard operation
webvirtcloud copied to clipboard

Cloning Instance Gives Error

Open toddleish opened this issue 4 years ago • 13 comments

When cloning an instance in my new WebvirtCloud installation, I get this error... Can you help me solve it?

image

image

image

image

image

image

image

image

image

toddleish avatar May 13 '20 16:05 toddleish

@toddleish Thanks for Feedback. after upgrade to python3 some glitches are appearing. With your feedbacks we can solve these problems. I will create a commit after resolution.

catborise avatar May 13 '20 21:05 catborise

Great, thank you. How often to you create new releases?

On Wed, May 13, 2020 at 3:28 PM catborise [email protected] wrote:

@toddleish https://github.com/toddleish Thanks for Feedback. after upgrade to python3 some glitches are appearing. With your feedbacks we can solve these problems. I will create a commit after resolution.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/retspen/webvirtcloud/issues/312#issuecomment-628255438, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACQ5DE32WB7EMS2JMQHMQV3RRMGHJANCNFSM4M75NT6Q .

toddleish avatar May 13 '20 23:05 toddleish

i fix the problem. (while cloning title and desc not use very much because of that we havent seen yet) @toddleish you can use my repo to get immediately fixes and updates. or wait some time for merging retspen.

catborise avatar May 14 '20 11:05 catborise

I see... If I don't include title and desc, it clones fine.

toddleish avatar May 14 '20 13:05 toddleish

I noticed a similar error if I try to edit XML.. Error: operation failed: domain 'C7-BASE' is already defined with uuid abc-def-g...................

toddleish avatar May 19 '20 21:05 toddleish

This problem is related with uuid... there must be an instance name with same uuid. Change one of them. Uuid must be unique.

catborise avatar May 19 '20 21:05 catborise

I can rename directly with Virsh though.

toddleish avatar May 19 '20 21:05 toddleish

Virsh checks only its own domain. If another host has same uuid, virsh does not interested with it. But webvirtcloud checks all hosts to see if there is an instance with same uuid.

catborise avatar May 19 '20 21:05 catborise

I see. thank you.

toddleish avatar May 19 '20 21:05 toddleish

May be i understand wrongly the situation. What exactly are you doing ? Which part did you edit?

catborise avatar May 19 '20 21:05 catborise

under the XML Tab, I edited

toddleish avatar May 19 '20 21:05 toddleish

I check it again. There is no problem with editing if you edit other than name and uuid.

If you want to edit name or uuid you should change them at the same time. For example: you want to change an instance name which is test to test1. Edit xml : change test to test1 and change uuid number.

Editing with xml purpose is change parts other than uuid and name.. (We can fix that but.... is it truely necessary?)

catborise avatar May 19 '20 22:05 catborise

Thanks for the info. That sounds great. No need to fix.

toddleish avatar May 19 '20 22:05 toddleish