[Spacewalk-list] VM uuid

Manuel Carrillo Manuel.Carrillo at unige.ch
Fri Nov 29 14:15:58 UTC 2013


Hi Alexandro,

Ok, i understand your problematic, so for now you don't have the choice.


On Fri, 2013-11-29 at 15:30 +0200, Alexandros Soumplis wrote:
> Hi Manuel,
> 
> Actually what you suggest would be an administratively better solution. 
> Yet we do not have access to the physical hosts (and consequently the 
> KVM configurations) serving our VMs and our cloud provider could not 
> support such a configuration change at the moment and planned it for 
> next releases but without any specific due dates!
> 
> Hopefully, this patch will be in base code in the future releases of 
> spacewalk :)
> 
> a.
> 
> 
> On 29/11/2013 03:09 μμ, Manuel Carrillo wrote:
> > Hello,
> >
> > If you are using KVM :
> >
> > You can do this :
> >
> > generate uuid  with uuid command and
> >
> > add it to the beginning of VMID.conf file on the KVM HOST like :
> >
> > args: -uuid <uuid-generating-before>
> >
> > I think it's more pretty to do this instead of modify the code.
> >
> > Enjoy :-)
> >
> >
> > On Fri, 2013-11-29 at 14:29 +0200, Alexandros Soumplis wrote:
> >> Works like a charm!
> >>
> >> Thank you very much :-)
> >>
> >> a.
> >>
> >>
> >> On 29/11/2013 01:10 μμ, Michael Mraka wrote:
> >>> Alexandros Soumplis wrote:
> >>> % Hi Michael,
> >>> %
> >>> % The error message is:
> >>> %
> >>> % IntegrityError: new row for relation "rhnvirtualinstance" violates
> >>> % check constraint "vn_rhnvirtualinstance_uuid"
> >>> %
> >>> % I also attach the full traceback i get when I try to register a
> >>> % system without uuid to the spacewalk server.
> >>> %
> >>> % a.
> >>>
> >>> Hi Alexandros,
> >>>
> >>> please try the patch
> >>> https://git.fedorahosted.org/cgit/spacewalk.git/commit/?id=2f8016aceb010082f8107db6f7d1a4029cc67a9b
> >>>
> >>> Regards,
> >>>
> >>> --
> >>> Michael Mráka
> >>> Satellite Engineering, Red Hat
> >>>
> >>> _______________________________________________
> >>> Spacewalk-list mailing list
> >>> Spacewalk-list at redhat.com
> >>> https://www.redhat.com/mailman/listinfo/spacewalk-list
> >>
> 
> 

-- 
Cheers,
Manuel CARRILLO.

System Administrator
Department of Astronomy - University of Geneva

16, ch. d'Ecogia
CH-1290 VERSOIX

Tel.: +41 (0)22 379 21 53




More information about the Spacewalk-list mailing list