RDO安装openstack遇到的一些问题(swift & mongodb)

mongodb

1
2
3
4
5
6
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)

解决方法:

1
2
3
4
5
# 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报错

1
2
3
4
5
6
7
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

解决办法:

1
2
3
# rm -f /etc/swift/*.builder
rm -f /etc/swift/*.ring.gz
rm -f /etc/swift/backups

持续更新……

Nickname
Email
Website
0/500
  • OωO
  • |´・ω・)ノ
  • ヾ(≧∇≦*)ゝ
  • (☆ω☆)
  • (╯‵□′)╯︵┴─┴
  •  ̄﹃ ̄
  • (/ω\)
  • ∠( ᐛ 」∠)_
  • (๑•̀ㅁ•́ฅ)
  • →_→
  • ୧(๑•̀⌄•́๑)૭
  • ٩(ˊᗜˋ*)و
  • (ノ°ο°)ノ
  • (´இ皿இ`)
  • ⌇●﹏●⌇
  • (ฅ´ω`ฅ)
  • (╯°A°)╯︵○○○
  • φ( ̄∇ ̄o)
  • ヾ(´・ ・`。)ノ"
  • ( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
  • (ó﹏ò。)
  • Σ(っ °Д °;)っ
  • ( ,,´・ω・)ノ"(´っω・`。)
  • ╮(╯▽╰)╭
  • o(*////▽////*)q
  • >﹏<
  • ( ๑´•ω•) "(ㆆᴗㆆ)
  • 😂
  • 😀
  • 😅
  • 😊
  • 🙂
  • 🙃
  • 😌
  • 😍
  • 😘
  • 😜
  • 😝
  • 😏
  • 😒
  • 🙄
  • 😳
  • 😡
  • 😔
  • 😫
  • 😱
  • 😭
  • 💩
  • 👻
  • 🙌
  • 🖕
  • 👍
  • 👫
  • 👬
  • 👭
  • 🌚
  • 🌝
  • 🙈
  • 💊
  • 😶
  • 🙏
  • 🍦
  • 🍉
  • 😣
  • 颜文字
  • Emoji
  • Bilibili
1 comments
Hosting

I have also faced the same issue today ifself while configuring a CentOS 7 server using PackStack. The issue is because of the mongodb pid file being created by puppet manifest however it is looking for pid file with slightly different name.

 Windows 7
 Firefox 44.0
一个默默无闻的工程师的日常
Built with Hugo
主题 StackJimmy 设计