Bug #21269

Template helper dns_lookup does not work with IP addresses

Added by Lukas Zapletal about 1 month ago. Updated about 1 month ago.

Status:Closed
Priority:Normal
Assigned To:Lukas Zapletal
Category:Templates
Target version:-
Difficulty: Bugzilla link:1364491
Found in release: Pull request:https://github.com/theforeman/foreman/pull/4905
Story points-
Velocity based estimate-
Release1.15.5Release relationshipAuto

Description

Although this was covered with tests, network things are stubbed for obvious reasons so we did not catch this. Method resolver.getname requires string and not IPAddress instance.

Associated revisions

Revision 90c7d2ba
Added by Lukas Zapletal about 1 month ago

Fixes #21269 - fixed dns_lookup with address resolution

Revision 0091e76b
Added by Lukas Zapletal about 1 month ago

Fixes #21269 - fixed dns_lookup with address resolution

Revision 5ee125db
Added by Lukas Zapletal about 1 month ago

Fixes #21269 - fixed dns_lookup with address resolution

History

#1 Updated by The Foreman Bot about 1 month ago

  • Status changed from New to Ready For Testing
  • Assigned To set to Lukas Zapletal
  • Pull request https://github.com/theforeman/foreman/pull/4905 added

#2 Updated by Lukas Zapletal about 1 month ago

  • Bugzilla link set to 1364491

I request 1.15.6, oneliner.

#3 Updated by Lukas Zapletal about 1 month ago

  • Release set to 1.15.5

#4 Updated by Lukas Zapletal about 1 month ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF