[katello-devel] reset-dbs script

Tom McKay thomasmckay at redhat.com
Tue May 29 14:07:01 UTC 2012



----- Original Message -----
> From: "Garik Khachikyan" <gkhachik at redhat.com>
> To: katello-devel at redhat.com
> Sent: Tuesday, May 29, 2012 9:54:48 AM
> Subject: Re: [katello-devel] reset-dbs script
> 
> On 29/05/12 14:39, Eric Sammons wrote:
> > ---- Original Message -----
> >>
> >> ----- Original Message -----
> >>> From: "Eric Sammons"<esammons at redhat.com>
> >>> To: "Jordan OMara"<jomara at redhat.com>
> >>> Cc: katello-devel at redhat.com
> >>> Sent: Tuesday, May 29, 2012 7:54:12 AM
> >>> Subject: Re: [katello-devel] reset-dbs script
> >>>
> >>> ----- Original Message -----
> >>>> On 23/05/12 14:41 +0200, Lukas Zapletal wrote:
> >>>>> On Tue, May 22, 2012 at 05:11:00PM -0400, Jordan O'Mara wrote:
> >>>>>> What about the users that provide config info in
> >>>>>> katello-configure?
> >>>>>> They will lose that, and then have to reconfigure parts of it
> >>>>>> by
> >>>>>> hand
> >>>>>>
> >>>>> Users? katello-reset-dbs was originally written for developers,
> >>>>> users
> >>>>> should not be adviced to use it all. If they mis-configure or
> >>>>> break
> >>>>> katello, there is a backup. Or reinstall. Just like windows
> >>>>> user
> >>>>> do
> >>>>> ;-)
> >>> If this is the case then the script should not be installed on a
> >>> production system thus it should not be part of the package.
> >>>  Being
> >>> available it will only be a matter of time before a sysadmin or
> >>> even
> >>> our support team suggests that it be used in an attempt to
> >>> recover
> >>> a
> >>> broken install.  Remember Red Hat's support motto, if we ship it
> >>> we
> >>> support it...  Thus by shipping reset-dbs we support it.
> >>>
> >>> -Eric
> >> We do support reset-dbs for its intended use; I'm not sure I
> >> follow
> >> your logic. katello-configure will be the installed vehicle for
> >> install fixes.
> >>
> >> It wouldn't be fatal not to include reset-dbs in the non-community
> >> versions, I guess. Are others of the same mind that it should not
> >> be
> >> shipped?
> >>
> > My thought here is that it should not be shipped, at least for SAM,
> > because it simply does not work for SAM and leaves SAM in a
> > unusable state.
> >
> > Now if reset-dbs + katello-configure --deployment=sam fixes the
> > issue (which I'll test) then I'd be ok with shipping it.
> >
> > -Eric
> ... and here we go:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=826065

cloned to SAM at https://bugzilla.redhat.com/show_bug.cgi?id=826068
> 
> I'ld be okey if we remove the script from the bits of our enterprise
> products but definitely keeping under community Katello.
> 
> Personally /me benefits from that script from time to time - but it
> also
> sometimes becomes(ed) fragile and got broken many times.
> 
> 
> thanks.
> Garik.
> 
> >
> >>>> I think that's where we've ended up. However, reset-dbs doesn't
> >>>> work
> >>>> at all on headpin mode, so we're going to fix it.
> >>>>
> >>>>> Please note we do NOT tested re-running of katello configure
> >>>>> yet.
> >>>>> There
> >>>>> are many workarounds and dirty bits in the puppet installer. It
> >>>>> should
> >>>>> be working, I'd appreciate more testing scenarios for the
> >>>>> multiple
> >>>>> katello-configure runs, but it is definitely not stable yet.
> >>>>>
> >>>> Right, and the new feature request will only work when --reset
> >>>> is
> >>>> passed in; rerunning configure otherwise is not part of the deal
> >>>>
> >>>> --
> >>>> Jordan O'Mara<jomara at redhat.com>
> >>>> Red Hat Engineering, Raleigh
> >>>>
> >>>> _______________________________________________
> >>>> katello-devel mailing list
> >>>> katello-devel at redhat.com
> >>>> https://www.redhat.com/mailman/listinfo/katello-devel
> >>>>
> >>> _______________________________________________
> >>> katello-devel mailing list
> >>> katello-devel at redhat.com
> >>> https://www.redhat.com/mailman/listinfo/katello-devel
> >>>
> > _______________________________________________
> > katello-devel mailing list
> > katello-devel at redhat.com
> > https://www.redhat.com/mailman/listinfo/katello-devel
> 
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel
> 




More information about the katello-devel mailing list