Re: [Freeipa-users] 'NoneType' object is not iterable when removing broken ipa-server replica

2017-04-12 Thread Jake
[pid 19176]   File 
"/usr/lib/python2.7/site-packages/ipaserver/topology.py", line 136, in __init__
[Wed Apr 12 08:53:23.079037 2017] [:error] [pid 19176] self.graphs = 
_create_topology_graphs(self.api)
[Wed Apr 12 08:53:23.079040 2017] [:error] [pid 19176]   File 
"/usr/lib/python2.7/site-packages/ipaserver/topology.py", line 100, in 
_create_topology_graphs
[Wed Apr 12 08:53:23.079043 2017] [:error] [pid 19176] suffix_to_masters = 
map_masters_to_suffixes(masters)
[Wed Apr 12 08:53:23.079045 2017] [:error] [pid 19176]   File 
"/usr/lib/python2.7/site-packages/ipaserver/topology.py", line 83, in 
map_masters_to_suffixes
[Wed Apr 12 08:53:23.079048 2017] [:error] [pid 19176] for suffix_name in 
managed_suffixes:
[Wed Apr 12 08:53:23.079050 2017] [:error] [pid 19176] TypeError: 'NoneType' 
object is not iterable


Thanks,


- Original Message -----
From: "Rob Crittenden" <rcrit...@redhat.com>
To: "Jake" <free...@jacobdevans.com>, "freeipa-users" <freeipa-users@redhat.com>
Sent: Tuesday, April 11, 2017 5:27:51 PM
Subject: Re: [Freeipa-users] 'NoneType' object is not iterable when removing 
broken ipa-server replica

Jake wrote:
> Help!
> I'm having issues removing a bad replica.
> 
> Everytime I run:
> 
> ipa-replica-manage del ipa01.example.com
> or
> ipa-replica-manage del --force ipa01.example.com
> 
> I get an error: 'NoneType' object is not iterable
> 
> if I try to remove it from the web interface:
> 
> 
> IPA Error 903: InternalError
> 
> an internal error has occurred

I wonder if a traceback is logged in /var/log/httpd/error_log

> They're removed from hosts, but I cannot get them our of the existing
> topology

Not sure what you mean here.

> 
> Is there a "purge this host" button that removes it, ignoring errors if
> it's already missing.

--force ignore some errors but not unknown errors like this.

What version of IPA is this?

rob

-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project

-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project


Re: [Freeipa-users] 'NoneType' object is not iterable when removing broken ipa-server replica

2017-04-11 Thread Rob Crittenden
Jake wrote:
> Help!
> I'm having issues removing a bad replica.
> 
> Everytime I run:
> 
> ipa-replica-manage del ipa01.example.com
> or
> ipa-replica-manage del --force ipa01.example.com
> 
> I get an error: 'NoneType' object is not iterable
> 
> if I try to remove it from the web interface:
> 
> 
> IPA Error 903: InternalError
> 
> an internal error has occurred

I wonder if a traceback is logged in /var/log/httpd/error_log

> They're removed from hosts, but I cannot get them our of the existing
> topology

Not sure what you mean here.

> 
> Is there a "purge this host" button that removes it, ignoring errors if
> it's already missing.

--force ignore some errors but not unknown errors like this.

What version of IPA is this?

rob

-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project


[Freeipa-users] 'NoneType' object is not iterable when removing broken ipa-server replica

2017-04-11 Thread Jake
Help! 
I'm having issues removing a bad replica. 

Everytime I run: 

ipa-replica-manage del ipa01.example.com 
or 
ipa-replica-manage del --force ipa0 1 .example.com 

I get an error: 'NoneType' object is not iterable 

if I try to remove it from the web interface: 

IPA Error 903: InternalError 


an internal error has occurred 

They're removed from hosts, but I cannot get them our of the existing topology 

Is there a "purge this host" button that removes it, ignoring errors if it's 
already missing. 


Thanks Always, 
-Jake 
-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project