#7201 ipa-replica-manage re-initialize TypeError: 'NoneType' object does not support item assignment
Closed: fixed 6 years ago Opened 6 years ago by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1494198

Please note that this Bug is private and may not be accessible as it contains confidential Red Hat customer information.

Description of problem:

failed "ipa-replica-manage  re-initialize" when needed

IPA replication broken in topology, and cannot re-init
not sure if the replication agreements were modified resulting in this
situation.

Version-Release number of selected component (if applicable):
ipa-server-4.5.0-21.el7.x86_64
redhat-release-server-7.4-18.el7.x86_64

(edited for domain name)

root@ipa02.example.net:/var/log/dirsrv/slapd-EXAMPLE-NET
# ipa-replica-manage --verbose re-initialize --from
ipa01.example.net
Traceback (most recent call last):
  File "/sbin/ipa-replica-manage", line 1615, in <module>
    main(options, args)
  File "/sbin/ipa-replica-manage", line 1558, in main
    options.nolookup)
  File "/sbin/ipa-replica-manage", line 1204, in re_initialize
    repl.enable_agreement(thishost)
  File "/usr/lib/python2.7/site-packages/ipaserver/install/replication.py",
line 1553, in enable_agreement
    entry['nsds5ReplicaEnabled'] = 'on'
TypeError: 'NoneType' object does not support item assignment
Unexpected error: 'NoneType' object does not support item assignment

more info in bz

Metadata Update from @pvoborni:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1494198

6 years ago

Metadata Update from @pvoborni:
- Issue priority set to: important
- Issue set to the milestone: FreeIPA 4.7

6 years ago

related to replication conflicts

Metadata Update from @fbarreto:
- Issue assigned to fbarreto

6 years ago

Metadata Update from @fbarreto:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/1428

6 years ago

master:

  • ece17ce Check if replication agreement exist before enable/disable it

ipa-4-6:

  • 0e2c854 Check if replication agreement exist before enable/disable it

Metadata Update from @cheimes:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

6 years ago

ipa-4-5:

  • 25f28b0 Check if replication agreement exist before enable/disable it

Login to comment on this ticket.

Metadata