#7185 Error when trying to modify a PTR record
Closed: fixed Opened 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

ipa-4-5:

  • c3f390d2264f71cf4b87123fdcabd007075704ab 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)

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

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

master:

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

ipa-4-6:

  • 9dc4ddf9cd05b50d25abdd1b11406f48ce58e3d5 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)

Metadata