- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
restart_status() incorrectly returns nothing
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2023 11:01 AM
We have a perl script which restarts our Infoblox service, but only when configuration changes require a service restart to take effect.
However, we've noticed that even though the Infoblox UI tells us configuration changes require a service restart, $session->restart_status() says it doesn't.
Sometimes restart_status() indicates a restart is needed, other times it wont.
Has something changed, or is this a known issue?
my @restart_list = $session->restart_status(); if (scalar( @restart_list ) > 0) { $session->restart( delay_between_members => 10, ); }
Version information:
Perl module: 8.00660021654873509
Server's Infoblox appliance version: 8.6.2-49947-c076923293a0
Solved! Go to Solution.
Re: restart_status() incorrectly returns nothing
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2023 06:56 AM - edited 04-11-2023 06:56 AM
Please make note, the Perl API is deprecated since NIOS 8.4.0, March 2019. At some point in the future it will no long er be supported. It's recommended to move all development to use WAPI / REST API instead.
Re: restart_status() incorrectly returns nothing
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2023 11:41 AM
Thanks MRichard,
Would you pass along a link to the deprecation notice? I've searched everything I can think of. But, my google-fu is weak today.
Many thanks,
Marshall
Re: restart_status() incorrectly returns nothing
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2023 11:58 AM
This is detailed in the release notes for each recent release. They can be found at https://support.infoblox.com within the Download Center section.
Re: restart_status() incorrectly returns nothing
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2023 11:32 AM
We've been working with Infoblox support.
Through much testing, I've confirmed that in order to get restart_status() to correctly report if configuration changes require a restart; the user's account must be set to have super user permission.