Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

exception thrown when scaling in SBC #172

Open
davehorton opened this issue Oct 18, 2024 · 0 comments
Open

exception thrown when scaling in SBC #172

davehorton opened this issue Oct 18, 2024 · 0 comments
Assignees

Comments

@davehorton
Copy link
Collaborator

2|sbc-inbound      | {"level":20, "time": "2024-10-18T16:49:20.241Z","pid":2158762,"hostname":"ip-172-20-11-177","headers":{"x-amz-sns-message-type":"Notification","x-amz-sns-message-id":"ccdde748-5bb3-5681-ad7a-b8c4c863db67","x-amz-sns-topic-arn":"arn:aws:sns:us-east-2:376029039784:jambonz-xyz-us-east-2-sip-lifecycle-events","x-amz-sns-subscription-arn":"arn:aws:sns:us-east-2:376029039784:jambonz-xyz-us-east-2-sip-lifecycle-events:3bdd3301-f978-4acb-bb74-d7e7a4795a63","content-type":"text/plain; charset=UTF-8","content-length":"1579","host":"18.117.69.176:3011","connection":"Keep-Alive","user-agent":"Amazon Simple Notification Service Agent","accept-encoding":"gzip,deflate"},"body":{"Type":"Notification","MessageId":"ccdde748-5bb3-5681-ad7a-b8c4c863db67","TopicArn":"arn:aws:sns:us-east-2:376029039784:jambonz-xyz-us-east-2-sip-lifecycle-events","Subject":"Auto Scaling:  Lifecycle action 'TERMINATING' for instance i-093716b82c18feb64 in progress.","Message":"{\"Origin\":\"AutoScalingGroup\",\"LifecycleHookName\":\"jambonz-sbc-scale-in\",\"Destination\":\"EC2\",\"AccountId\":\"376029039784\",\"RequestId\":\"6fd384f0-264a-46ae-8ad5-c75725dacb28\",\"LifecycleTransition\":\"autoscaling:EC2_INSTANCE_TERMINATING\",\"AutoScalingGroupName\":\"jambonz-xyz-sbc-sip-autoscaling-group\",\"Service\":\"AWS Auto Scaling\",\"Time\":\"2024-10-18T16:49:20.052Z\",\"EC2InstanceId\":\"i-093716b82c18feb64\",\"LifecycleActionToken\":\"cdc06953-5eae-4db6-9549-e1602859f47a\"}","Timestamp":"2024-10-18T16:49:20.072Z","SignatureVersion":"1","Signature":"keKpHZbWpGNAN3fDSIcnJBn2Ipp07gyVJlEJJ2PwN3XaL6xo+8PVdhSQ2VEj1/cJtD/MkIRxfZtxr2rGgp7IaGOrFTaAhHVxQTrmjShNg+utvDKFGvNJvYpSqRjoPC1J0tjaPVIV1NJjUJOTAASp1FYFEjj43Og8jIe+dHzhlGhyPpRRklKOntx8bsO/nixPusaUUCe8L/RfpC97oVx7zzGyT31xtDZm1Bap3Xbl8eh9Sse1Xh1cftPcafPLxpEquOeaqccb0Usi4mSCjvtZB9l/IaaMxCrc84s93jLKH62exNWI+G7Y7D/ZEHQS5JdY8c3maOhLEbtu/K5bRv8klA==","SigningCertURL":"https://sns.us-east-2.amazonaws.com/SimpleNotificationService-60eadc530605d63b8e62a523676ef735.pem","UnsubscribeURL":"https://sns.us-east-2.amazonaws.com/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:us-east-2:376029039784:jambonz-xyz-us-east-2-sip-lifecycle-events:3bdd3301-f978-4acb-bb74-d7e7a4795a63"},"msg":"Received HTTP POST from AWS"}
41|sbc-inbound      | TypeError: removeFromRedis is not a function
41|sbc-inbound      |     at SnsNotifier.<anonymous> (/home/admin/apps/sbc-inbound/lib/autoscale-manager.js:27:13)
41|sbc-inbound      |     at SnsNotifier.emit (node:events:519:28)
41|sbc-inbound      |     at SnsNotifier._handlePost (/home/admin/apps/sbc-inbound/lib/aws-sns-lifecycle.js:88:20)
41|sbc-inbound      |     at Layer.handle [as handle_request] (/home/admin/apps/sbc-inbound/node_modules/express/lib/router/layer.js:95:5)
41|sbc-inbound      |     at next (/home/admin/apps/sbc-inbound/node_modules/express/lib/router/route.js:149:13)
41|sbc-inbound      |     at Route.dispatch (/home/admin/apps/sbc-inbound/node_modules/express/lib/router/route.js:119:3)
41|sbc-inbound      |     at Layer.handle [as handle_request] (/home/admin/apps/sbc-inbound/node_modules/express/lib/router/layer.js:95:5)
41|sbc-inbound      |     at /home/admin/apps/sbc-inbound/node_modules/express/lib/router/index.js:284:15
41|sbc-inbound      |     at Function.process_params (/home/admin/apps/sbc-inbound/node_modules/express/lib/router/index.js:346:12)
41|sbc-inbound      |     at next (/home/admin/apps/sbc-inbound/node_modules/express/lib/router/index.js:280:10)
42|sbc-inbound      | TypeError: removeFromRedis is not a function
42|sbc-inbound      |     at SnsNotifier.<anonymous> (/home/admin/apps/sbc-inbound/lib/autoscale-manager.js:27:13)
42|sbc-inbound      |     at SnsNotifier.emit (node:events:519:28)
42|sbc-inbound      |     at SnsNotifier._handlePost (/home/admin/apps/sbc-inbound/lib/aws-sns-lifecycle.js:88:20)
42|sbc-inbound      |     at Layer.handle [as handle_request] (/home/admin/apps/sbc-inbound/node_modules/express/lib/router/layer.js:95:5)
42|sbc-inbound      |     at next (/home/admin/apps/sbc-inbound/node_modules/express/lib/router/route.js:149:13)
42|sbc-inbound      |     at Route.dispatch (/home/admin/apps/sbc-inbound/node_modules/express/lib/router/route.js:119:3)
42|sbc-inbound      |     at Layer.handle [as handle_request] (/home/admin/apps/sbc-inbound/node_modules/express/lib/router/layer.js:95:5)
42|sbc-inbound      |     at /home/admin/apps/sbc-inbound/node_modules/express/lib/router/index.js:284:15
42|sbc-inbound      |     at Function.process_params (/home/admin/apps/sbc-inbound/node_modules/express/lib/router/index.js:346:12)
42|sbc-inbound      |     at next (/home/admin/apps/sbc-inbound/node_modules/express/lib/router/index.js:280:10)
41|sbc-inbound      | {"level":20, "time": "2024-10-18T16:49:20.180Z","pid":2158785,"hostname":"ip-172-20-11-177","msg":"incoming HTTP POST passed validation"}
41|sbc-inbound      | {"level":30, "time": "2024-10-18T16:49:20.182Z","pid":2158785,"hostname":"ip-172-20-11-177","msg":"SnsNotifier - begin scale-in operation"}
41|sbc-inbound      | {"level":30, "time": "2024-10-18T16:49:20.183Z","pid":2158785,"hostname":"ip-172-20-11-177","msg":"AWS scale-in notification: begin drying up calls"}
@davehorton davehorton self-assigned this Oct 18, 2024
@davehorton davehorton changed the title exception thrown when scaling SBC exception thrown when scaling in SBC Oct 18, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant