ministryofjustice / nvvs-devops

Documentation for the NVVS DevOps Team
https://ministryofjustice.github.io/nvvs-devops
MIT License
4 stars 0 forks source link

DNS/DHCP Portal Issue -- Understand how DHCP Admins invokes Kea agent running on DHCP Server #417

Closed satishgummadellimoj closed 10 months ago

satishgummadellimoj commented 1 year ago

Suggestion from Mitch to revert any changes prior to when we were seeing the errors to investigate further.

Database error DHCP ADMIN LOGS

(UTC+1:00) [22a912f-0e4f-40fe-877e-b1196541d8a7] Gateways::KeaControlAgent::InternalError (unable to execute for <SELECT address, hwaddr, client_id, valid_lifetime, expire, subnet_id, fqdn_fwd, fqdn_rev, hostname, state, user_context FROM lease4 WHERE subnet_id = ?>, reason: Commands out of sync; you can't run this command now (error code 2014)):

https://app.zenhub.com/workspaces/nvvs-devops-622a0b371800e400133bb924/issues/gh/ministryofjustice/nvvs-devops/414

Useful Contact: Mitch Dawson

tomwells98 commented 1 year ago

This ticket is for developing a better understanding on the topic as supposed to any specific work.

tomwells98 commented 1 year ago

Ticket to be pulled into a sprint when James is back from AL

tomwells98 commented 11 months ago

From Mitch: I have been speaking with the rest of the guys about this issue. Our suggestion would be to revert any changes from the known working period up until this materialised. If you can supply some detailed examples of the investigation, troubleshooting and log analysis that has been performed by the team then we might be able to suggest some other potential causes.

satishgummadellimoj commented 11 months ago

We have seen same error yesterdayYou are receiving this email because your Amazon CloudWatch Alarm "Commands_Out_Of_Sync" in the EU (London) region has entered the ALARM state, because "Threshold Crossed: 1 out of the last 1 datapoints [4.0 (09/10/23 10:31:00)] was greater than the threshold (2.0) (minimum 1 datapoint for OK -> ALARM transition)." at "Monday 09 October, 2023 10:32:42 UTC".

View this alarm in the AWS Management Console: https://eu-west-2.console.aws.amazon.com/cloudwatch/deeplink.js?region=eu-west-2#alarmsV2:alarm/Commands_Out_Of_Sync

Alarm Details:

Threshold:

Monitored Metric:

State Change Actions:

-- If you wish to stop receiving notifications from this topic, please click or visit the link below to unsubscribe: https://sns.eu-west-2.amazonaws.com/unsubscribe.html?SubscriptionArn=arn:aws:sns:eu-west-2:037161842252:DHCP_Admin_Alarm:5fd4e0f9-efae-4f83-9128-3f0cee059f03&Endpoint=nvvs-devops-dhcp-admi-aaaakrpoeh3cbhb7vaa4vcjfke@moj.org.slack.com

Please do not reply directly to this email. If you have any questions or comments regarding this email, please contact us at https://aws.amazon.com/support

satishgummadellimoj commented 11 months ago

https://dsdmoj.atlassian.net/wiki/spaces/MOJO/pages/4550066177/DNS+DHCP+Portal+Working

satishgummadellimoj commented 11 months ago

new ticket to resolve mysql errors https://app.zenhub.com/workspaces/nvvs-devops-622a0b371800e400133bb924/issues/gh/ministryofjustice/nvvs-devops/485

satishgummadellimoj commented 10 months ago

https://dsdmoj.atlassian.net/wiki/spaces/MOJO/pages/4550066177/DNS+DHCP+Portal+Working

juddin927 commented 10 months ago

@satishgummadellimoj I think your update gone in to wrong page!