#7185 Error when trying to modify a PTR record
Closed: fixed 6 years ago Opened 6 years ago by slaykovsky.

https://bugzilla.redhat.com/show_bug.cgi?id=1498168

When I try to modify a PTR record I get the error:

# ipa dnsrecord-mod                                                                                                                                                                                                             
Record name: 105                                                                                                                                                                                                                              
Zone name: 100.168.192.in-addr.arpa.                                                                                                                                                                                                          
No option to modify specific record provided.                                                                                                                                                                                                 
Current DNS record contents:                                                                                                                                                                                                                  

PTR record: rhel7-test.virt.local.                                                                                                                                                                                                            

Modify PTR record 'rhel7-test.virt.local.'? Yes/No (default No): Yes                                                                                                                                                                          
ipa: ERROR: invalid 'name': must be Unicode text                  

Version-Release number of selected component (if applicable):
ipa-server-4.5.0-21.el7_4.1.2.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Try to edit a PTR record

Actual results:
It returns an erorr

Expected results:
It should work.

Additional info:

I can bypass the issue by using this command:

# ipa dnsrecord-mod 100.168.192.in-addr.arpa. --setattr=ptrrecord=rhel7-nfs-server.virt.local.

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

6 years ago

ipa-4-5:

  • c3f390d ipaclient.plugins.dns: Cast DNS name to unicode.

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

6 years ago

This still has to be fixed in ipa-4-6 and master branches.

Metadata Update from @tkrizek:
- Issue status updated to: Open (was: Closed)

6 years ago

master:

  • fad88b3 ipaclient.plugins.dns: Cast DNS name to unicode

ipa-4-6:

  • 9dc4ddf ipaclient.plugins.dns: Cast DNS name to unicode

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

6 years ago

Login to comment on this ticket.

Metadata