Project

General

Profile

Bug #23412

Upgrade to 0.12 breaks the unused_ip call

Added by Dmitri Dolguikh over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

After upgrade of the smart_proxy_dhcp_infoblox, the foreman_proxy isn't able to find a new IP address.
It logs an error like this :

D, [2018-04-26T11:30:48.484284 118f6fc9] DEBUG -- : verifying remote client 10.24.48.201 against trusted_hosts ["front01-tool.phys.prod", "front02-tool.phys.prod", "vip-http01-tool.phys.prod"]
E, [2018-04-26T11:30:52.722376 118f6fc9] ERROR -- : undefined method subnet_range_addresses' for "255.255.252.0":String D, [2018-04-26T11:30:52.722487 118f6fc9] DEBUG -- : undefined methodsubnet_range_addresses' for "255.255.252.0":String (NoMethodError)

Problem is related to the get_subnet function that doesn't returne the correct value.

Associated revisions

Revision 772cf0e2 (diff)
Added by S├ębastien Bernard over 2 years ago

Fix the return value of get_subnet. (#36)

Fixes #23412 -- Upgrade to 0.12 breaks the unused_ip call

History

#1 Updated by Dmitri Dolguikh over 2 years ago

  • Pull request https://github.com/theforeman/smart_proxy_dhcp_infoblox/pull/36 added

#2 Updated by S├ębastien Bernard over 2 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

Also available in: Atom PDF