冠橡胶:create_staging失败近端橡胶、近端、create_staging

2023-09-11 08:25:51 作者:半夏微光

我试图部署到AWS中的快速启动维基样品橡胶测试 https://github.com/rubber/rubber/wiki/Quick-Start

I am trying to deploy to AWS the sample Rubber test in the Quick Start wiki https://github.com/rubber/rubber/wiki/Quick-Start

我闯过它会提示我的本地机器的密码写入到主机文件(它创建角色,实例和很多其他的事情的一部分,我甚至通过它没有连接其他错误了 - 我改名私钥没有质子交换膜扩展和固定的),它运行了一会儿,这里给出了一个错误:

I get past the part where it prompts for my local machine password to write to the hosts file ( it creates roles, the instance, and a lot of other things; I even got through another error where it was not connecting - I renamed the private key without the .pem extension and that fixed that ), and it runs on for a while, and gives an error here:

失败:/斌/ bash的-l -c'须藤-p'\''须藤密码:'\''的bash -l -c'\''出口DEBIAN_FRONTEND =非交互; apt-get的-q -o DPKG ::选项:: = - 力confold -y --force-是安装postfix,建立必要的混帐核心的libxslt-dev的NTP的MySQL客户端libmysqlclient15-dev的颠覆卷曲的autoconf野牛红宝石中的zlib1g-dev的的libssl-dev的libreadline6-开发的libxml2-dev的libyaml-dev的的Apache2的libapache2-MOD-代理HTML libcurl4-的OpenSSL开发的libapache2-MOD-xsendfile Apache2的-mpm- prefork apache2- prefork-dev的collectd libperl-dev的monit的MySQL的服务器的Percona -toolkit的OpenJDK 7-jdk的解压蟒蛇,蟒蛇的Django,Django的标记蟒蛇开罗的python-memcache的memcached的uwsgi uwsgi-插件,巨蟒uwsgi-插件-HTTP sqlite3的BZR拉链的MongoDB,10gen的HAProxy的EC2-AMI-工具'\'' 对production.foo.com

failed: "/bin/bash -l -c 'sudo -p '\''sudo password: '\'' bash -l -c '\''export DEBIAN_FRONTEND=noninteractive; apt-get -q -o Dpkg::Options::=--force-confold -y --force-yes install postfix build-essential git-core libxslt-dev ntp mysql-client libmysqlclient15-dev subversion curl autoconf bison ruby zlib1g-dev libssl-dev libreadline6-dev libxml2-dev libyaml-dev apache2 libapache2-mod-proxy-html libcurl4-openssl-dev libapache2-mod-xsendfile apache2-mpm-prefork apache2-prefork-dev collectd libperl-dev monit mysql-server percona-toolkit openjdk-7-jdk unzip python-django python-django-tagging python-cairo python-memcache memcached uwsgi uwsgi-plugin-python uwsgi-plugin-http sqlite3 bzr zip mongodb-10gen haproxy ec2-ami-tools'\'''" on production.foo.com

推荐答案

我得到了同样的故障,并期待略高于该行从该命令的输出,我看到 uwsgi-plugin- HTTP 包需要由 uwsgi核包进行更换。

I got the same failure, and looking just above that line at the output from the command, I saw that the uwsgi-plugin-http package needs to be replaced by the uwsgi-core package.

有明显拉请求解决这个,目前尚未被接受,但您可以通过相同的编辑修复:橡胶2.8.1,打开配置/橡胶/橡胶graphite.yml ,去22行,它应该是这样的:

There apparently a pull request to fix this that has not yet been accepted, but you can fix it by making the same edit: on rubber 2.8.1, open config/rubber/rubber-graphite.yml, go to line 22, and it should look like this:

    packages: [python-django, python-django-tagging, python-cairo, python-memcache, memcached, uwsgi, uwsgi-plugin-python, uwsgi-plugin-http, sqlite3, bzr, zip]

替换 uwsgi-插件-HTTP uwsgi核太行是:

    packages: [python-django, python-django-tagging, python-cairo, python-memcache, memcached, uwsgi, uwsgi-plugin-python, uwsgi-core, sqlite3, bzr, zip]

然后,运行冠橡胶:引导,它应该完成设置您的实例

Then, run cap rubber:bootstrap, and it should finish setting up your instance.

 
精彩推荐
图片推荐