Re: [ovirt-users] Best way to clone host

On 8-7-2014 21:57, Brad Bendy wrote:
Trashing the udev rules did fix that, not sure why I didn't of that, thanks!
Now when I go to add the host I get a UUID error since the old UUID exist.
Is there a command I can run to wipe out the old and make a new one? I ran dmidecode -s system-uuid and the UUIDs are different on the source host I cloned from and the new host, the UUID in the file does match the either host and im guessing that's where the dupe ID is, but I don't want to insert just a random one.
run: uuidgen >/etc/vdsm/vdsm.id This will generate a new id which should be different from the previous one. You could alse extract the system-uuid if its different between systems. No guarantee though that all bios vendors make there systems unique. Joop

That worked, didnt see that vdsm.id file in there. At that point I just added the host in the manager like I normally would and boom it's up! Can I add this to the documentation somewhere so this is for public use? Thanks again for all the help! On Tue, Jul 8, 2014 at 1:12 PM, Joop <jvdwege@xs4all.nl> wrote:
On 8-7-2014 21:57, Brad Bendy wrote:
Trashing the udev rules did fix that, not sure why I didn't of that, thanks!
Now when I go to add the host I get a UUID error since the old UUID exist.
Is there a command I can run to wipe out the old and make a new one? I ran dmidecode -s system-uuid and the UUIDs are different on the source host I cloned from and the new host, the UUID in the file does match the either host and im guessing that's where the dupe ID is, but I don't want to insert just a random one.
run: uuidgen >/etc/vdsm/vdsm.id This will generate a new id which should be different from the previous one. You could alse extract the system-uuid if its different between systems. No guarantee though that all bios vendors make there systems unique.
Joop
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi Brad, On 07/08/2014 04:25 PM, Brad Bendy wrote:
That worked, didnt see that vdsm.id file in there.
At that point I just added the host in the manager like I normally would and boom it's up!
Can I add this to the documentation somewhere so this is for public use?
Yes, into the wiki page: wiki.ovirt.org
Thanks again for all the help!
On Tue, Jul 8, 2014 at 1:12 PM, Joop <jvdwege@xs4all.nl> wrote:
On 8-7-2014 21:57, Brad Bendy wrote:
Trashing the udev rules did fix that, not sure why I didn't of that, thanks!
Now when I go to add the host I get a UUID error since the old UUID exist.
Is there a command I can run to wipe out the old and make a new one? I ran dmidecode -s system-uuid and the UUIDs are different on the source host I cloned from and the new host, the UUID in the file does match the either host and im guessing that's where the dupe ID is, but I don't want to insert just a random one.
run: uuidgen >/etc/vdsm/vdsm.id This will generate a new id which should be different from the previous one. You could alse extract the system-uuid if its different between systems. No guarantee though that all bios vendors make there systems unique.
Joop
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Cheers Douglas

On 9-7-2014 3:23, Douglas Schilling Landgraf wrote:
Hi Brad,
On 07/08/2014 04:25 PM, Brad Bendy wrote:
That worked, didnt see that vdsm.id file in there.
At that point I just added the host in the manager like I normally would and boom it's up!
Can I add this to the documentation somewhere so this is for public use?
Yes, into the wiki page: wiki.ovirt.org I think it is a common enough problem to add a RFE for it to do it during host-deploy, agreed Douglas??
Joop

Am 09.07.2014 08:46, schrieb noc:
I think it is a common enough problem to add a RFE for it to do it during host-deploy, agreed Douglas??
Also, there should be a clear error message indicating what the error is: duplicate vdsm id Care to open an RFE? -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

On 9-7-2014 9:34, Sven Kieske wrote:
Am 09.07.2014 08:46, schrieb noc:
I think it is a common enough problem to add a RFE for it to do it during host-deploy, agreed Douglas?? Also, there should be a clear error message indicating what the error is: duplicate vdsm id
Care to open an RFE?
Done, https://bugzilla.redhat.com/show_bug.cgi?id=1118883 Joop

On 07/09/2014 02:46 AM, noc wrote:
On 9-7-2014 3:23, Douglas Schilling Landgraf wrote:
Hi Brad,
On 07/08/2014 04:25 PM, Brad Bendy wrote:
That worked, didnt see that vdsm.id file in there.
At that point I just added the host in the manager like I normally would and boom it's up!
Can I add this to the documentation somewhere so this is for public use?
Yes, into the wiki page: wiki.ovirt.org I think it is a common enough problem to add a RFE for it to do it during host-deploy, agreed Douglas??
Yes, make sense. Please open a RFE. Thanks! -- Cheers Douglas
participants (5)
-
Brad Bendy
-
Douglas Schilling Landgraf
-
Joop
-
noc
-
Sven Kieske