Logstreaming addon fails which causes deployment to fail

0

I have a play application written in Scala that I deploy using elastic beanstalk. Up until now this has worked fine, but a few days ago new deployments started failing. The error message in eb-activity.log that I get is:

\[2020-11-25T20:54:29.150Z] INFO  \[3127]  - \[Application deployment givinga-1.8.1-20201125b@152/AddonsBefore] : Starting activity...  
\[2020-11-25T20:54:29.150Z] INFO  \[3127]  - \[Application deployment givinga-1.8.1-20201125b@152/AddonsBefore/ConfigCWLAgent] : Starting activity...  
\[2020-11-25T20:54:29.150Z] INFO  \[3127]  - \[Application deployment givinga-1.8.1-20201125b@152/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...  
\[2020-11-25T20:54:58.963Z] INFO  \[3127]  - \[Application deployment givinga-1.8.1-20201125b@152/AddonsBefore/ConfigCWLAgent/10-config.sh] : Activity execution failed, because:  (ElasticBeanstalk::ExternalInvocationError)  
caused by:  (Executor::NonZeroExitStatus)  
\[2020-11-25T20:54:58.964Z] INFO  \[3127]  - \[Application deployment givinga-1.8.1-20201125b@152/AddonsBefore/ConfigCWLAgent/10-config.sh] : Activity failed.  
\[2020-11-25T20:54:58.964Z] INFO  \[3127]  - \[Application deployment givinga-1.8.1-20201125b@152/AddonsBefore/ConfigCWLAgent] : Activity failed.  

Deploying to other test environments works, here is the relevant log line when it works:

\[2020-11-25T23:19:51.549Z] INFO  \[3058]  - \[Application deployment givinga-1.8.1-20201126a@482/AddonsBefore/ConfigCWLAgent] : Starting activity...  
\[2020-11-25T23:19:51.549Z] INFO  \[3058]  - \[Application deployment givinga-1.8.1-20201126a@482/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...  
\[2020-11-25T23:19:53.910Z] INFO  \[3058]  - \[Application deployment givinga-1.8.1-20201126a@482/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:  
  Starting awslogs: \[  OK  ]  
  Enabled log streaming.  
\[2020-11-25T23:19:53.910Z] INFO  \[3058]  - \[Application deployment givinga-1.8.1-20201126a@482/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:  
  Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.  

So my question is, what is the log streaming doing here? What could cause it to fail when I haven't changed my config? There doesn't seem to be a way for me to delete this addon, or even to configure it. I've tried googling but with no success. There seems to be no documentation on this script, or what "ElasticBeanstalk::ExternalInvocationError" could mean. Any help would be much appreciated.

已提問 3 年前檢視次數 240 次
1 個回答
0

This appears to have been caused by the AWS outage in us-east-1, it's resolved now.

已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南