【失敗】packstackでOpenStackをインストール
openstack
仮想化ソフトなんかプライベートクラウドなどを構築できるよう
どんなものかよくわかっていないのでVMPlayerを入れて見る
VMPlayer設定
selinux無効
vi /etc/sysconfig/selinux ---- # SELINUX=enforcing SELINUX=disabled ----
iptablesを無効
# iptables off chkconfig iptables off service iptables stop
epelや開発ツールを入れてアップデート
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm yum -y groupinstall "Development Tools" yum -y update
ntp
yum -y install ntp service ntpd start chkconfig ntpd on
インストール設定
設定ファイル編集
vi /etc/sysctl.conf ---- # Controls IP packet forwarding net.ipv4.ip_forward = 0 # Disable netfilter on bridges. net.bridge.bridge-nf-call-ip6tables = 0 net.bridge.bridge-nf-call-iptables = 0 net.bridge.bridge-nf-call-arptables = 0 # Controls source route verification net.ipv4.conf.default.rp_filter = 1 ---- ↓ ---- # Controls IP packet forwarding net.ipv4.ip_forward = 1 # 変更 # Disable netfilter on bridges. net.bridge.bridge-nf-call-ip6tables = 0 net.bridge.bridge-nf-call-iptables = 0 net.bridge.bridge-nf-call-arptables = 0 # Controls source route verification net.ipv4.conf.default.rp_filter = 0 # 変更 # 追加 net.ipv4.conf.all.fowarding = 1 net.ipv4.conf.all.rp_filer = 0 ----
リポジトリ追加
yum install -y http://repos.fedorapeople.org/repos/openstack/openstack-havana/rdo-release-havana-8.noarch.rpm yum -y update yum install -y openstack-packstack python-netaddr
システム再起動
reboot
インストール
packstack --allinone
※途中でパスワードの入力を求められる
でも
ダメでした
まあ、現実はあまくないということで…
Copying Puppet modules and manifests [ DONE ] Applying 192.168.51.111_prescript.pp 192.168.51.111_prescript.pp: [ DONE ] Applying 192.168.51.111_amqp.pp Applying 192.168.51.111_mariadb.pp 192.168.51.111_amqp.pp: [ ERROR ] Applying Puppet manifests [ ERROR ] ERROR : Error appeared during Puppet run: 192.168.51.111_amqp.pp Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list erlang' returned 1: Error: No matching Packages to list You will find full trace in log /var/tmp/packstack/20141019-174412-bRNZ2R/manifests/192.168.51.111_amqp.pp.log Please check log file /var/tmp/packstack/20141019-174412-bRNZ2R/openstack-setup.log for more information Additional information: * A new answerfile was created in: /root/packstack-answers-20141019-174412.txt * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components. * Did not create a cinder volume group, one already existed * File /root/keystonerc_admin has been created on OpenStack client host 192.168.51.111. To use the command line tools you need to source the file. * To access the OpenStack Dashboard browse to http://192.168.51.111/dashboard . Please, find your login credentials stored in the keystonerc_admin in your home directory. * To use Nagios, browse to http://192.168.51.111/nagios username: nagiosadmin, password: 167865a673bf4659 [root@localhost ~]#
所感
いつかやってみたいけど、設定方法がわからないので
今回は諦める
どうすればいいのか…(´・ω・`)