-
Notifications
You must be signed in to change notification settings - Fork 1
Icehouse Devstack
rafiror edited this page May 4, 2014
·
2 revisions
Devstackの基本的な使い方についてはDevstack入門を読んで下さい。
ちょうどUbuntu14.04も正式リリースされたので、Ubuntu14.04(Server)+Devstack+Icehouseで検証します。
Ubuntu14.04をインストール後に下記のコマンドを実行してdevstackの準備をします。
sudo apt-get install git
git clone https://github.com/openstack-dev/devstack.git
cd devstack
git checkout -b stable/icehouse origin/stable/icehouse
localrcは下記を用います。 ちなみにIcehouseからheatはデフォルトでインストールされるようになりました。 同じタイミングで正式プロジェクトになったceilometerは未だのようです。 heatに比べるとceilometerはあまりコミュニティ活動が活発でない印象ですね。
HOST_IP=127.0.0.1
DEST=/opt/stack
ADMIN_PASSWORD=openstack
MYSQL_PASSWORD=mysql
RABBIT_PASSWORD=rabbitmq
SERVICE_PASSWORD=openstack
SERVICE_TOKEN=openstack
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service neutron
LOGFILE=/opt/stack/logs/stack.sh.log
LOGDAYS=1
SCREEN_LOGDIR=$DEST/logs/screen
NOVA_BRANCH=stable/icehouse
GLANCE_BRANCH=stable/icehouse
KEYSTONE_BRANCH=stable/icehouse
HORIZON_BRANCH=stable/icehouse
CINDER_BRANCH=stable/icehouse
NEUTRON_BRANCH=stable/icehouse
HEAT_BRANCH=stable/icehouse
FIXED_RANGE=10.0.0.0/24
NETWORK_GATEWAY=10.0.0.1
FLOATING_RANGE=10.0.1.0/24
PUBLIC_NETWORK_GATEWAY=10.0.1.111
ENABLE_TENANT_TUNNELS=True
PHYSICAL_NETWORK=physnet1
OVS_PHYSICAL_BRIDGE=br-ex
そして、stack.shを実行すると下記のエラーが出て停止しました。
2014-05-03 18:57:16.273 | + /usr/local/bin/cinder-manage db sync
2014-05-03 18:57:16.730 | Traceback (most recent call last):
2014-05-03 18:57:16.735 | File "/usr/local/bin/cinder-manage", line 10, in <module>
2014-05-03 18:57:16.741 | execfile(__file__)
2014-05-03 18:57:16.747 | File "/opt/stack/cinder/bin/cinder-manage", line 545, in <module>
2014-05-03 18:57:16.757 | main()
2014-05-03 18:57:16.762 | File "/opt/stack/cinder/bin/cinder-manage", line 525, in main
2014-05-03 18:57:16.770 | version=version.version_string())
2014-05-03 18:57:16.776 | File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1603, in __call__
2014-05-03 18:57:16.782 | else sys.argv[1:])
openstack@ubuntu:~/devstack$ 2014-05-03 18:57:16.792 | File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 2142, in _parse_cli_opts
2014-05-03 18:57:16.798 | opt._add_to_cli(self._oparser, group)
2014-05-03 18:57:16.804 | File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 984, in _add_to_cli
2014-05-03 18:57:16.812 | self.handler(subparsers)
2014-05-03 18:57:16.818 | File "/opt/stack/cinder/bin/cinder-manage", line 461, in add_command_parsers
2014-05-03 18:57:16.823 | command_object = CATEGORIES[category]()
2014-05-03 18:57:16.829 | File "/opt/stack/cinder/bin/cinder-manage", line 250, in __init__
2014-05-03 18:57:16.834 | rpc.init(CONF)
2014-05-03 18:57:16.840 | File "/opt/stack/cinder/cinder/rpc.py", line 63, in init
2014-05-03 18:57:16.846 | aliases=TRANSPORT_ALIASES)
2014-05-03 18:57:16.851 | File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 183, in get_transport
2014-05-03 18:57:16.858 | invoke_kwds=kwargs)
2014-05-03 18:57:16.863 | File "/usr/local/lib/python2.7/dist-packages/stevedore/driver.py", line 45, in __init__
2014-05-03 18:57:16.869 | verify_requirements=verify_requirements,
2014-05-03 18:57:16.876 | File "/usr/local/lib/python2.7/dist-packages/stevedore/named.py", line 55, in __init__
2014-05-03 18:57:16.881 | verify_requirements)
2014-05-03 18:57:16.887 | File "/usr/local/lib/python2.7/dist-packages/stevedore/extension.py", line 170, in _load_plugins
2014-05-03 18:57:16.892 | self._on_load_failure_callback(self, ep, err)
2014-05-03 18:57:16.899 | File "/usr/local/lib/python2.7/dist-packages/stevedore/driver.py", line 50, in _default_on_load_failure
2014-05-03 18:57:16.904 | raise err
2014-05-03 18:57:16.911 | AttributeError: 'Module_six_moves_urllib_parse' object has no attribute 'SplitResult'
軽く調べましたが原因はわからず…。 そうは言ってもUbuntu14.04+Devstack+Icehouseで動いているとの報告はあるので、 新規のバグかもしくは自分の環境が原因かもしれません。
仕方ないので、Ubuntu13.10(Server)+Devstack+Icehouseで試したことろ正常に起動しました。