Guest

Preview Tool

Cisco Bug: CSCvt69885 - CUCM 12.5 DHCP not wokring as expected after the upgrade

Last Modified

Sep 03, 2020

Products (1)

  • Cisco Unified Communications Manager (CallManager)

Known Affected Releases

12.5(1.11900.146)

Description (partial)

Symptom:
Restarting CUCM will deactivate the DHCP service and it needs to be reactivated from root.

++ after reboot the server we start have the following errors :


2020-01-15 15:03:31,091 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run()
2020-01-15 15:03:31,091 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Jan 15 15:03:29 ccm1.cisco.com systemd[1]: start request repeated too quickly for dhcpd.service
2020-01-15 15:03:31,091 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Jan 15 15:03:29 ccm1.cisco.com systemd[1]: Failed to start DHCPv4 Server Daemon.
2020-01-15 15:03:31,091 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Jan 15 15:03:29 ccm1.cisco.com systemd[1]: Unit dhcpd.service entered failed state.
2020-01-15 15:03:31,091 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Jan 15 15:03:29 ccm1.cisco.com systemd[1]: dhcpd.service failed.
2020-01-15 15:03:31,091 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Jan 15 15:03:29 ccm1.cisco.com systemd[1]: start request repeated too quickly for dhcpd.service
2020-01-15 15:03:31,091 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Jan 15 15:03:29 ccm1.cisco.com systemd[1]: Failed to start DHCPv4 Server Daemon.
2020-01-15 15:03:31,091 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Jan 15 15:03:29 ccm1.cisco.com systemd[1]: dhcpd.service failed.
2020-01-15 15:03:31,092 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Jan 15 15:03:30 ccm1.cisco.com systemd[1]: start request repeated too quickly for dhcpd.service
2020-01-15 15:03:31,092 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Jan 15 15:03:30 ccm1.cisco.com systemd[1]: Failed to start DHCPv4 Server Daemon.
2020-01-15 15:03:31,092 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Jan 15 15:03:30 ccm1.cisco.com systemd[1]: dhcpd.service failed.
2020-01-15 15:03:31,092 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() cmd sudo -u root /usr/bin/systemctl status dhcpd exit with code 3
2020-01-15 15:03:31,164 ERROR [Timer-0] dhcp.DhcpLogger (DhcpLogger.java:152) - DhcpMonTimerTask.run() send Dhcpd failure alarm
2020-01-15 15:04:30,901 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() exec cmd sudo -u root /usr/bin/systemctl status dhcpd
2020-01-15 15:04:31,034 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() ● dhcpd.service - DHCPv4 Server Daemon

	15:04:31,034 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Loaded: loaded (/usr/lib/systemd/system/dhcpd.service; disabled; vendor preset: disabled)
	15:04:31,034 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Active: failed (Result: start-limit) since Wed 2020-01-15 15:03:29 CET; 1min 1s ago
	15:04:31,035 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Docs: man:dhcpd(8)
	15:04:31,035 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() man:dhcpd.conf(5)
	15:04:31,035 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Process: 24028 ExecStart=/usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcpd -group dhcpd --no-pid (code=killed, signal=TERM)

2020-01-15 15:04:31,035 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Main PID: 24028 (code=killed, signal=TERM)

	15:04:31,035 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Status: "Dispatching packets..."

From the logs we can see these errors generated continuously.
++ to re-run DHCP we do the following workaround :

	Get root access
	Run the following command to check DHCP status :

root@mc-cucm-pub etc]# /usr/bin/systemctl status dhcpd
hcpd.service - DHCPv4 Server Daemon

	15:04:31,034 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Loaded: loaded (/usr/lib/systemd/system/dhcpd.service; disabled; vendor preset: disabled)
	15:04:31,034 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Active: failed (Result: start-limit) since Wed 2020-01-15 15:03:29 CET; 1min 1s ago
	15:04:31,035 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Docs: man:dhcpd(8)
	15:04:31,035 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() man:dhcpd.conf(5)
	15:04:31,035 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Process: 24028 ExecStart=/usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcpd -group dhcpd --no-pid (code=killed, signal=TERM)

2020-01-15 15:04:31,035 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Main PID: 24028 (code=killed, signal=TERM)

	15:04:31,035 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Status: "Dispatching packets..."

2020-01-15 15:04:31,035 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run()
2020-01-15 15:04:31,035 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Jan 15 15:03:29 ccm1.cisco.com systemd[1]: start request repeated too quickly for dhcpd.service
2020-01-15 15:04:31,035 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Jan 15 15:03:29 ccm1.cisco.com systemd[1]: Failed to start DHCPv4 Server Daemon.
2020-01-15 15:04:31,035 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Jan 15 15:03:29 ccm1.cisco.com systemd[1]: Unit dhcpd.service entered failed state.
2020-01-15 15:04:31,035 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Jan 15 15:03:29 ccm1.cisco.com systemd[1]: dhcpd.service failed.
2020-01-15 15:04:31,035 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Jan 15 15:03:29 ccm1.cisco.com systemd[1]: start request repeated too quickly for dhcpd.service
2020-01-15 15:04:31,035 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Jan 15 15:03:29 ccm1.cisco.com systemd[1]: Failed to start DHCPv4 Server Daemon.
2020-01-15 15:04:31,035 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Jan 15 15:03:29 ccm1.cisco.com systemd[1]: dhcpd.service failed.
2020-01-15 15:04:31,035 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Jan 15 15:03:30 ccm1.cisco.com systemd[1]: start request repeated too quickly for dhcpd.service
2020-01-15 15:04:31,036 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Jan 15 15:03:30 ccm1.cisco.com systemd[1]: Failed to start DHCPv4 Server Daemon.
2020-01-15 15:04:31,036 INFO [DhcpCmdThread] dhcp.DhcpLogger (DhcpLogger.java:169) - DhcpCmdThread.run() Jan 15 15:03:30 ccm1.cisco.com systemd[1]: dhcpd.service failed.

	We can see DHCP Failed to start
	To restart it we run the following command :

[root@mc-cucm-pub etc]# systemctl start dhcpd.service

	If we re-check the status we will find the DHCP starting, but after reboot the server, DHCP will stop again,

Conditions:
CUCM 12.5
DHCP is configured in CUCM.
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.