[ovirt-devel] Urgent BUG: renaming of template fails
Eli Mesika
emesika at redhat.com
Mon Aug 18 09:53:41 UTC 2014
----- Original Message -----
> From: "Sven Kieske" <S.Kieske at mittwald.de>
> To: "Maor Lipchuk" <mlipchuk at redhat.com>
> Cc: devel at ovirt.org
> Sent: Thursday, August 14, 2014 2:58:00 PM
> Subject: Re: [ovirt-devel] Urgent BUG: renaming of template fails
>
>
>
> Am 14.08.2014 13:12, schrieb Maor Lipchuk:
> > Hi Sven,
> >
> > I tried changing template name on my setup (based on latest master) and it
> > worked.
> > Can you please share the output of the following psql command on your
> > engine DB:
> > SELECT vm_guid, vm_name, entity_type, description from vm_static where
> > vm_name = 'template1'
> >
>
> Hi Maor,
>
> it seems you did not test properly.
> You need 2 DCs with a template in each datacenter.
> rename one of them to match the other.
>
> It will fail, quoting Nir from my Bugzilla entry:
>
> > This is how the system works. Changing is nice to
> > have feature, as it does not effect much the usage of the system.
> > We have the same issue with cluster names, vm names - most names are >
> unique globally.
> > I also find this annoying, and practically create names with
> > dc-cluser prefixes to avoid this.
>
> I really don't understand the logic behind making these names
> unique on a global level.
>
> There are many easily thought use cases where you want the
> same template name in different DCs, now I will have to juggle
> with dc-prefixes.
>
> I really hope this gets fixed up for 3.6
I Sven
You are right there is no option to have same template name for different DCs
The reason for that is that both VMs and Templates are stored in vm_static table
We distinguish between VMs/Template according to the entity_type column value.
If you think that this is important please issue a RFE for it.
Thanks
Eli
>
> Thanks for your fast replies anyway.
>
> --
> 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
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
More information about the Devel
mailing list