无法运行eb push将新版本发送到弹性beanstalk

时间:2014-12-28 16:03:24

标签: amazon-web-services elastic-beanstalk

我刚刚建立了一个新项目,弹性beanstalk环境正在运行样本应用程序。这都是用eb cli建立的。

当我尝试使用我的新应用程序进行eb推送时,我得到以下内容

  

Traceback(最近一次调用最后一次):文件   " .git / AWSDevTools / aws.elasticbeanstalk.push",第57行,在       dev_tools.push_changes(opts.get(" env"),opts.get(" commit"))File" /Users/Mark/workspace/edu/gc/.git /AWSDevTools/aws/dev_tools.py" ;,行   196,在push_changes中       self.create_application_version(env,commit,version_label)File" /Users/Mark/workspace/edu/gc/.git/AWSDevTools/aws/dev_tools.py" ;, line   184,在create_application_version中       self.upload_file(bucket_name,archived_file)File" /Users/Mark/workspace/edu/gc/.git/AWSDevTools/aws/dev_tools.py" ;, line   145,在upload_file中       key.set_contents_from_filename(archived_file)File" /Library/Python/2.7/site-packages/boto-2.28.0-py2.7.egg/boto/s3/key.py",   第1315行,在set_contents_from_filename中       encrypt_key = encrypt_key)File" /Library/Python/2.7/site-packages/boto-2.28.0-py2.7.egg/boto/s3/key.py",   第1246行,在set_contents_from_file中       chunked_transfer = chunked_transfer,size = size)文件" /Library/Python/2.7/site-packages/boto-2.28.0-py2.7.egg/boto/s3/key.py",   第725行,在send_file中       chunked_transfer = chunked_transfer,size = size)文件" /Library/Python/2.7/site-packages/boto-2.28.0-py2.7.egg/boto/s3/key.py",   第914行,在_send_file_internal中       query_args = query_args文件" /Library/Python/2.7/site-packages/boto-2.28.0-py2.7.egg/boto/s3/connection.py",   第633行,在make_request中       retry_handler = retry_handler File" /Library/Python/2.7/site-packages/boto-2.28.0-py2.7.egg/boto/connection.py",   第1046行,在make_request中       retry_handler = retry_handler)File" /Library/Python/2.7/site-packages/boto-2.28.0-py2.7.egg/boto/connection.py",   第919行,在_mexe       request.body,request.headers)File" /Library/Python/2.7/site-packages/boto-2.28.0-py2.7.egg/boto/s3/key.py",   第815行,发件人       http_conn.send(chunk)File" /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py",   805行,发送       self.sock.sendall(data)File" /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py",   第229行,在sendall       v = self.send(data [count:])File" /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py",   第198行,发送       v = self._sslobj.write(data)socket.error:[Errno 32] Broken pipe无法为本地存储库运行aws.push HEAD:

我有另一个正在运行的弹性beanstalk应用程序,当我在该目录中运行eb push时它工作正常,所以我不认为它与ruby或其他未安装的依赖项有关。我也进行了更改,并使用一条非常简单的消息进行了另一次提交,以确保不会导致问题,仍然没有快乐

可以推送的应用程序之间的区别,这个是aws帐户。此弹性beanstalk应用程序的用户凭据不会推送是管理员凭据

1 个答案:

答案 0 :(得分:0)

此链接解决了我的问题,这是因为使用了两个不同的帐户

http://www.acnenomor.com/207992p1/unable-to-deploy-to-aws-elastic-beanstalk-using-git