[katello-devel] katello-upgrade restarting services

Jason Rist jrist at redhat.com
Tue Jul 24 13:41:25 UTC 2012


On Tue 24 Jul 2012 07:36:22 AM MDT, Sam Kottler wrote:
> How about checking if the service is running and then reacting based on
> that. If the service is running then katello-upgrade command will exit and
> alert the sysadmin that he/she should stop the service. If not, then
> upgrade can continue.
>
> Thoughts?
>
> On Tue, Jul 24, 2012 at 9:27 AM, Jordan OMara<jomara at redhat.com>  wrote:
>
>> eric filed this bug: https://bugzilla.redhat.com/**show_bug.cgi?id=820280<https://bugzilla.redhat.com/show_bug.cgi?id=820280>
>> og filed a similar one: https://bugzilla.redhat.com/**
>> show_bug.cgi?id=837866<https://bugzilla.redhat.com/show_bug.cgi?id=837866>
>> a pull request: https://github.com/Katello/**katello/pull/331<https://github.com/Katello/katello/pull/331>
>>
>> However, lzap&  msuchy have brought up that this might be poor
>> behavior or very confusing to a sysadmin and that they would want to
>> almost always stop services themselves before starting the upgrade
>> process. I don't have enough sysadmin experience to make a good
>> decision so I wanted to bring it up to the list.
>>
>> tl;dr: katello-upgrade currently fails if you haven't stopped your
>> services. the pull requests makes the script stop them for you
>>
>> my uninformed 2c: the patch is fairly innocuous because you can
>> decline to have the script stop anything and exit
>>
>> DISCUSS
>> --
>> 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
>>
>>
>
>


Seems obvious when you put it that way...

-- 
Jason E. Rist
Senior Software Engineer
Systems Management and Cloud Enablement
Red Hat, Inc.
+1.919.754.4048
Freenode: jrist




More information about the katello-devel mailing list