mongodb
复制
代码语言:javascript复制Applying 172.16.43.182_mongodb.pp
172.16.43.182_mongodb.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]
ERROR : Error appeared during Puppet run: 172.16.43.182_mongodb.pp
Error: Unable to connect to mongodb server! (172.16.43.182:27017)
解决方法:
复制
代码语言:javascript复制# vim /usr/share/openstack-puppet/modules/mongodb/manifests/params.pp
# RedHat/CentOS doesn't come with a prepacked mongodb
# so we assume that you are using EPEL repository.
$config = '/etc/mongod.conf' #修改此行
swift
解决上面问题再次运行的时候遇到swift报错
复制
代码语言:javascript复制Applying 172.16.43.182_ring_swift.pp
172.16.43.182_ring_swift.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]
ERROR : Error appeared during Puppet run: 172.16.43.182_ring_swift.pp
Error: Execution of '/usr/bin/swift-ring-builder /etc/swift/container.builder add r1z1-172.16.43.182:6001/swift_loopback 10.00' returned 2: Device 0 already uses 172.16.43.182:6001/swift.
You will find full trace in log /var/tmp/packstack/20150530-024816-X42iH8/manifests/172.16.43.182_ring_swift.pp.log
解决办法:
复制
代码语言:javascript复制# rm -f /etc/swift/*.builder
rm -f /etc/swift/*.ring.gz
rm -f /etc/swift/backups
持续更新……