Scheduled updated happen later than scheduled

  • 1
  • Question
  • Updated 1 year ago
I have all of my timezones set correctly in HMNG and on my APs but when I schedule an AP to update, it runs the reboot 6 hours later. I have a feeling it has something to do with timezone because I am in GMT-6, but I don't see where the problem is. I think this is also propagating over to my "Automatically select and switch channels during specified time interval" setting as well as I have been getting reports of APs rebooting randomly during the morning (is is currently scheduled between 3-6 am)
Photo of Johnny Matthews

Johnny Matthews

  • 34 Posts
  • 2 Reply Likes

Posted 1 year ago

  • 1
Photo of Nick Lowe

Nick Lowe, Official Rep

  • 2491 Posts
  • 451 Reply Likes
Hi,

What do you get from "show clock" and "show ntp" on the AP?

Thanks,

Nick
Photo of Nick Lowe

Nick Lowe, Official Rep

  • 2491 Posts
  • 451 Reply Likes
You can review the deferred command sent by the AP via a full SSH client to the AP:

_debug capwap cli
debug console

Then, schedule an update and see if the CLI generated and sent to the AP has the expected date/time.

Nick
Photo of Johnny Matthews

Johnny Matthews

  • 34 Posts
  • 2 Reply Likes
show clock
      2017-05-17  08:16:13 Wednesday


show ntp
State:              Enable
Interval: 180 minutes
First gcad1.greenville.edu(active)
Second gcad2.greenville.edu
Third
Fourth
Daylight Saving Time: Yes
Start 03-12 01:59:59     End 11-05 01:59:59
Photo of Nick Lowe

Nick Lowe, Official Rep

  • 2491 Posts
  • 451 Reply Likes
If that looks ok, capture the CLI sent to the AP when you schedule an update to see what's sent.
Photo of Johnny Matthews

Johnny Matthews

  • 34 Posts
  • 2 Reply Likes
Well, this doesn't make much sense. This time it when at the scheduled time. Yesterday I scheduled a reboot for 1:00pm and it went off at 7:00pm.
Photo of Nick Lowe

Nick Lowe, Official Rep

  • 2491 Posts
  • 451 Reply Likes
Hi Johnny,

The next step is to find out if the CLI command sent by HiveManager via CAPWAP is correct or not via the debugging commands above.

Thanks,

Nick
Photo of Johnny Matthews

Johnny Matthews

  • 34 Posts
  • 2 Reply Likes
Here is a session for a 9:15am reset. I'll let you know if it goes off at 9:15 or not

LIB-1-ARCHIVES#2017-05-17 09:00:02 debug   l7d: uploading waittime = 900
2017-05-17 09:00:05 debug   capwap: [capwap_cli]: capwap receive delta CLI:save app-report local C413E24894400212.hpr "https://cloud-va2.aerohive.com:443/afs-webapp/l7report/29821/"; admin VHM-KKCDFTJE password mXcSKJgrUS10NNkjVPBX/ basic
2017-05-17 09:00:12 debug   capwap: [capwap_cli]: cmd: save app-report local C413E24894400212.hpr "https://cloud-va2.aerohive.com:443/afs-webapp/l7report/29821/"; admin VHM-KKCDFTJE password mXcSKJgrUS10NNkjVPBX/ basic, rc:0
2017-05-17 09:00:12 debug   capwap: [capwap_cli]: hex printf rc:0x0
2017-05-17 09:00:15 debug   capwap: [capwap_cli]: capwap receive delta CLI:clear aaa radius-server-key radiusdclear aaa radius-server-key openldapsave server-files
2017-05-17 09:00:15 debug   capwap: [capwap_cli]: cmd: clear aaa radius-server-key radiusd, rc:0
2017-05-17 09:00:15 debug   capwap: [capwap_cli]: hex printf rc:0x0
2017-05-17 09:00:15 debug   capwap: [capwap_cli]: cmd: clear aaa radius-server-key openldap, rc:0
2017-05-17 09:00:15 debug   capwap: [capwap_cli]: hex printf rc:0x0
2017-05-17 09:00:15 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/f/web_pages, wildcard:*
2017-05-17 09:00:16 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/f/ppsk_web_pages, wildcard:*
2017-05-17 09:00:16 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/f/vpn/certs, wildcard:*
2017-05-17 09:00:16 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/f/vpn/CA, wildcard:*
2017-05-17 09:00:16 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/f/icons, wildcard:*
2017-05-17 09:00:16 debug   capwap: [capwap_cli]: cmd: save server-files, rc:0
2017-05-17 09:00:16 debug   capwap: [capwap_cli]: hex printf rc:0x0
2017-05-17 09:00:16 debug   capwap: [capwap_cli]: capwap receive delta CLI:show os-detection dhcp-fingerprint-version
2017-05-17 09:00:16 debug   capwap: [capwap_cli]: cmd: show os-detection dhcp-fingerprint-version, rc:0
2017-05-17 09:00:16 debug   capwap: [capwap_cli]: hex printf rc:0x0
2017-05-17 09:00:17 debug   capwap: [capwap_cli]: capwap receive delta CLI:clear web-directoryclear web-directory ppsk-self-reg
2017-05-17 09:00:17 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/tmp/web_pages, wildcard:*
2017-05-17 09:00:17 debug   capwap: [capwap_cli]: cmd: clear web-directory, rc:0
2017-05-17 09:00:17 debug   capwap: [capwap_cli]: hex printf rc:0x0
2017-05-17 09:00:17 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/f/ppsk_web_pages, wildcard:*
2017-05-17 09:00:17 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/tmp/ppsk_web_pages, wildcard:*
2017-05-17 09:00:17 debug   capwap: [capwap_cli]: cmd: clear web-directory ppsk-self-reg, rc:0
2017-05-17 09:00:17 debug   capwap: [capwap_cli]: hex printf rc:0x0
2017-05-17 09:00:18 debug   [capwap_cli]: capwap receive delta CLI:no web-directory captivePortal_Guestweb-directory captivePortal_Guestsave web-page web-directory captivePortal_Guest https://cloud-va2.aerohive.com:443/afs-webapp/configuration/cwp/29821/captivePortal_Guest.tar.gz admin VHM-KKCDFTJE password mXcSKJgrUS10NNkjVPBX/ basicsave server-files_secure
2017-05-17 09:00:18 debug   capwap: [capwap_cli]: cmd: no web-directory captivePortal_Guest, rc:0
2017-05-17 09:00:18 debug   capwap: [capwap_cli]: hex printf rc:0x0
2017-05-17 09:00:18 debug   capwap: [capwap_cli]: cmd: web-directory captivePortal_Guest, rc:0
2017-05-17 09:00:18 debug   capwap: [capwap_cli]: hex printf rc:0x0
2017-05-17 09:00:18 debug   capwap: [capwap_cli]: cmd: save web-page web-directory captivePortal_Guest https://cloud-va2.aerohive.com:443/afs-webapp/configuration/cwp/29821/captivePortal_Guest.tar.gz admin VHM-KKCDFTJE password mXcSKJgrUS10NNkjVPBX/ basic, rc:0
2017-05-17 09:00:18 debug   capwap: [capwap_cli]: hex printf rc:0x0
2017-05-17 09:00:18 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/f/web_pages, wildcard:*
2017-05-17 09:00:19 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/f/ppsk_web_pages, wildcard:*
2017-05-17 09:00:19 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/f/vpn/certs, wildcard:*
2017-05-17 09:00:19 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/f/vpn/CA, wildcard:*
2017-05-17 09:00:19 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/f/icons, wildcard:*
2017-05-17 09:00:19 debug   capwap: [capwap_cli]: cmd: save server-files, rc:0
2017-05-17 09:00:19 debug   capwap: [capwap_cli]: hex printf rc:0x0
2017-05-17 09:00:19 debug   capwap: [capwap_cli]: capwap receive delta CLI:show running-config password
2017-05-17 09:00:20 debug   capwap: [capwap_cli]: cmd: show running-config password, rc:0
2017-05-17 09:00:20 debug   capwap: [capwap_cli]: hex printf rc:0x0
2017-05-17 09:00:20 debug   capwap: [capwap_cli]: capwap receive delta CLI:no bonjour-gateway enableconfig version 3729747save config
2017-05-17 09:00:20 debug   capwap: [capwap_cli]: cmd: no bonjour-gateway enable, rc:0
2017-05-17 09:00:20 debug   capwap: [capwap_cli]: hex printf rc:0x0
2017-05-17 09:00:20 debug   capwap: [capwap_cli]: cmd: config version 3729747, rc:0
2017-05-17 09:00:20 debug   capwap: [capwap_cli]: hex printf rc:0x0
2017-05-17 09:00:21 debug   capwap: [capwap_cli]: cmd: save config, rc:0
2017-05-17 09:00:21 debug   capwap: [capwap_cli]: hex printf rc:0x0
2017-05-17 09:00:22 debug   capwap: [capwap_cli]: capwap receive delta CLI:show running-config users password
2017-05-17 09:00:22 debug   capwap: [capwap_cli]: cmd: show running-config users password, rc:0
2017-05-17 09:00:22 debug   capwap: [capwap_cli]: hex printf rc:0x0
2017-05-17 09:00:23 debug   capwap: [capwap_cli]: capwap receive delta CLI:reboot date 2017-05-17 time 09:15:00 no-prompt
2017-05-17 09:00:23 debug   capwap: [capwap_cli]: cmd: reboot date 2017-05-17 time 09:15:00 no-prompt, rc:0
2017-05-17 09:00:23 debug   capwap: [capwap_cli]: hex printf rc:0x0
Photo of Johnny Matthews

Johnny Matthews

  • 34 Posts
  • 2 Reply Likes
Ok that one went ok too. So it's been squirrelly for months, but as soon as I report it, it starts working. figures.