[Freeipa-devel] [PATCH 0098-0099] domain level 1 topology checks during IPA server uninstall

Martin Babinsky mbabinsk at redhat.com
Mon Nov 30 15:43:08 UTC 2015


On 11/30/2015 12:31 PM, Jan Cholasta wrote:
> Hi,
>
> On 27.11.2015 14:58, Martin Babinsky wrote:
>> On 11/19/2015 06:19 PM, Martin Babinsky wrote:
>>> These two patches fix the following tickets:
>>>
>>> https://fedorahosted.org/freeipa/ticket/5377
>>> https://fedorahosted.org/freeipa/ticket/5409
>>>
>>> I have added a new option '--ignore-disconnected-topology' which forces
>>> IPA master uninstall despite reported errors in topology. I'm not quite
>>> sure if we want to flood ipa-server-install with uninstall-specific
>>> options, maybe it is better to skip the check in unattended mode and
>>> just print a warning about disconnected topology and what to do about
>>> it.
>>>
>>> I would like to hear your opinions about this.
>>>
>>>
>>>
>> Attaching rebased and updated patches.
>
> Patch 0098: LGTM
>
>
> Patch 0099:
>
> a) This check should be done in Server.__init__() rather than
> install_check():
>
> +    if options.ignore_disconnected_topology:
> +        print("'--ignore-disconnected-topology' is used only during "
> +              "uninstallation")
> +        sys.exit(1)
>
>
> b) s/--ignore-disconnected-topology/--ignore-topology-disconnect/, for
> consistency with other options, e.g. --no-ui-redirect.
>
> Maybe even shorten it to --ignore-topology? But we probably don't want
> people to use this option much, so it might be better to keep it long?
>
I would rather leave it with the long option name, it is more apparent 
what this switch should be around.
>
> c) I'm fine with uninstall options, you can remove the TODO:
>
> +    # TODO: ask jcholast about uninstallation options
>
>
> Honza
>

Attaching updated patches.

-- 
Martin^3 Babinsky
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mbabinsk-0099.2-implement-domain-level-1-specific-topology-checks-in.patch
Type: text/x-patch
Size: 11255 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20151130/6729cf31/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mbabinsk-0098.1-extract-domain-level-1-topology-checking-code-from-i.patch
Type: text/x-patch
Size: 10435 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20151130/6729cf31/attachment-0001.bin>


More information about the Freeipa-devel mailing list