Oracle OpenStack for Oracle Linux R 2.1 をためす。(2016年07月 版)
今回は、とうとう Oracle OpenStack for Oracle Linux R 2.1 をデプロイします。
Master Node から、 kollacli でデプロイを実行します。
前提について。
Master Node、Target Node それぞれで準備をしたうえで
Master Node の kollacli で、環境にあわせたデプロイ用のプロパティを設定しておきます。
Oracle OpenStack R 2.1 | Master Node での サービス デプロイ設定。
また、Target Node それぞれから、
OpenStack R 2.1 イメージをインポートした Docker Registry に(下記で構築したもの)に
アクセスできる必要があります。
Oracle OpenStack R 2.1 | Docker Registry へのイメージ インポート。
Oracle OpenStack for Oracle Linux R 2.1 のデプロイ。
Master Node に kolla ユーザでログインして、kollacli deploy コマンドを実行します。
-bash-4.2$ uname -n
opst-master
-bash-4.2$ id
uid=995(kolla) gid=991(kolla) groups=991(kolla),992(docker)
ひたすら(サーバのリソースによっては数時間)待ちます。
-bash-4.2$ kollacli deploy
FLUSHING FACT CACHE ***********************************************************
PLAY [haproxy;mysqlcluster-api;rabbitmq;cinder-api;glance-api;keystone;nova-api;neutron-server;swift-proxy-server;murano-api;heat-api] ***
GATHERING FACTS ***************************************************************
ok: [opst-ctl01.gowatana.lab]
ok: [opst-ctl02.gowatana.lab]
TASK: [common | Starting Ansible container] ***********************************
changed: [opst-ctl02.gowatana.lab]
changed: [opst-ctl01.gowatana.lab]
(省略)
PLAY RECAP ********************************************************************
opst-ctl01.gowatana.lab : ok=276 changed=167 unreachable=0 failed=0
opst-ctl02.gowatana.lab : ok=276 changed=158 unreachable=0 failed=0
opst-host01.gowatana.lab : ok=59 changed=26 unreachable=0 failed=0
Success
-bash-4.2$
デプロイ後は、下記のような感じで Docker コンテナが起動しています。
Controller Node #1
[root@opst-ctl01 ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
336eceec185c opst-registry.gowatana.lab:5443/oracle/ol-openstack-murano-api:2.1.1 "/start.sh" 2 hours ago Up 2 hours murano_api
608c62dfa18b opst-registry.gowatana.lab:5443/oracle/ol-openstack-murano-engine:2.1.1 "/start.sh" 2 hours ago Up 2 hours murano_engine
9d43b59106c2 opst-registry.gowatana.lab:5443/oracle/ol-openstack-horizon:2.1.1 "/start.sh" 2 hours ago Up 2 hours horizon
44355f403d50 opst-registry.gowatana.lab:5443/oracle/ol-openstack-heat-engine:2.1.1 "/start.sh" 2 hours ago Up 2 hours heat_engine
cdd977056506 opst-registry.gowatana.lab:5443/oracle/ol-openstack-heat-api-cfn:2.1.1 "/start.sh" 2 hours ago Up 2 hours heat_api_cfn
ae6849726b6d opst-registry.gowatana.lab:5443/oracle/ol-openstack-heat-api:2.1.1 "/start.sh" 2 hours ago Up 2 hours heat_api
16f1a6a8ffb4 opst-registry.gowatana.lab:5443/oracle/ol-openstack-cinder-volume:2.1.1 "/start.sh" 2 hours ago Up 2 hours cinder_volume
bb4ab20c5356 opst-registry.gowatana.lab:5443/oracle/ol-openstack-cinder-scheduler:2.1.1 "/start.sh" 2 hours ago Up 2 hours cinder_scheduler
d0d1b80b1c45 opst-registry.gowatana.lab:5443/oracle/ol-openstack-cinder-backup:2.1.1 "/start.sh" 2 hours ago Up 2 hours cinder_backup
7d0c98d4f20e opst-registry.gowatana.lab:5443/oracle/ol-openstack-cinder-api:2.1.1 "/start.sh" 2 hours ago Up 2 hours cinder_api
9f05b00df039 opst-registry.gowatana.lab:5443/oracle/ol-openstack-data:2.1.1 "/bin/sh -c '/bin/sle" 2 hours ago Up 2 hours cinder_data
da5513e92fe6 opst-registry.gowatana.lab:5443/oracle/ol-openstack-neutron-agents:2.1.1 "/usr/bin/supervisord" 2 hours ago Up 2 hours neutron_agents
1128a1b0c241 opst-registry.gowatana.lab:5443/oracle/ol-openstack-neutron-openvswitch-agent:2.1.1 "/start.sh" 2 hours ago Up 2 hours neutron_openvswitch_agent
b2f169e93033 opst-registry.gowatana.lab:5443/oracle/ol-openstack-neutron-server:2.1.1 "/start.sh" 2 hours ago Up 2 hours neutron_server
2b47030b40f4 opst-registry.gowatana.lab:5443/oracle/ol-openstack-ovs-vswitchd:2.1.1 "/start.sh" 2 hours ago Up 2 hours openvswitch_vswitchd
0751ed32a37e opst-registry.gowatana.lab:5443/oracle/ol-openstack-ovs-db-server:2.1.1 "/start.sh" 2 hours ago Up 2 hours openvswitch_db
90cf760012c6 opst-registry.gowatana.lab:5443/oracle/ol-openstack-nova-scheduler:2.1.1 "/start.sh" 2 hours ago Up 2 hours nova_scheduler
1b90181a4591 opst-registry.gowatana.lab:5443/oracle/ol-openstack-nova-novncproxy:2.1.1 "/start.sh" 2 hours ago Up 2 hours nova_novncproxy
9619a8b3bd2a opst-registry.gowatana.lab:5443/oracle/ol-openstack-nova-consoleauth:2.1.1 "/start.sh" 2 hours ago Up 2 hours nova_consoleauth
ad570f96a7ab opst-registry.gowatana.lab:5443/oracle/ol-openstack-nova-conductor:2.1.1 "/start.sh" 2 hours ago Up 2 hours nova_conductor
c9ea83cfcaf3 opst-registry.gowatana.lab:5443/oracle/ol-openstack-nova-api:2.1.1 "/start.sh" 2 hours ago Up 2 hours nova_api
47e15c3f1e4c opst-registry.gowatana.lab:5443/oracle/ol-openstack-data:2.1.1 "/bin/sh -c '/bin/sle" 2 hours ago Up 2 hours nova_data
fadfc7c8d361 opst-registry.gowatana.lab:5443/oracle/ol-openstack-glance-api:2.1.1 "/start.sh" 2 hours ago Up 2 hours glance_api
3b2446382d0c opst-registry.gowatana.lab:5443/oracle/ol-openstack-glance-registry:2.1.1 "/start.sh" 2 hours ago Up 2 hours glance_registry
28eda9b1751e opst-registry.gowatana.lab:5443/oracle/ol-openstack-data:2.1.1 "/bin/sh -c '/bin/sle" 2 hours ago Up 2 hours glance_data
1fd932271da3 opst-registry.gowatana.lab:5443/oracle/ol-openstack-keystone:2.1.1 "/start.sh" 2 hours ago Up 2 hours keystone
bca130fcb527 opst-registry.gowatana.lab:5443/oracle/ol-openstack-memcached:2.1.1 "/start.sh" 2 hours ago Up 2 hours memcached
515fc27963c6 opst-registry.gowatana.lab:5443/oracle/ol-openstack-rabbitmq:2.1.1 "/start.sh" 2 hours ago Up 2 hours rabbitmq
64c0dffe1c00 opst-registry.gowatana.lab:5443/oracle/ol-openstack-data:2.1.1 "/bin/sh -c '/bin/sle" 2 hours ago Up 2 hours rabbitmq_data
2edfd0183897 opst-registry.gowatana.lab:5443/oracle/ol-openstack-mysqlcluster-api:2.1.1 "/start.sh" 2 hours ago Up 2 hours mysqlcluster_api
c8ca919b1a9e opst-registry.gowatana.lab:5443/oracle/ol-openstack-mysqlcluster-ndb:2.1.1 "/start.sh" 2 hours ago Up 2 hours mysqlcluster_ndb
94f4eb531409 opst-registry.gowatana.lab:5443/oracle/ol-openstack-data:2.1.1 "/bin/sh -c '/bin/sle" 2 hours ago Up 2 hours mysqlcluster_data
dd309059d9ff opst-registry.gowatana.lab:5443/oracle/ol-openstack-mysqlcluster-mgmt:2.1.1 "/start.sh" 2 hours ago Up 2 hours mysqlcluster_mgmt
c9a93492af1c opst-registry.gowatana.lab:5443/oracle/ol-openstack-haproxy:2.1.1 "/start.sh" 2 hours ago Up 2 hours haproxy
5bf88aec4899 opst-registry.gowatana.lab:5443/oracle/ol-openstack-keepalived:2.1.1 "/start.sh" 2 hours ago Up 2 hours keepalived
0ecd03861ae3 opst-registry.gowatana.lab:5443/oracle/ol-openstack-kolla-ansible:2.1.1 "/bin/sleep infinity" 2 hours ago Up 2 hours kolla_ansible
[root@opst-ctl01 ~]#
Controller Node #2
[root@opst-ctl02 ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
14d6a2e24da1 opst-registry.gowatana.lab:5443/oracle/ol-openstack-murano-api:2.1.1 "/start.sh" 2 hours ago Up 2 hours murano_api
b7a0bec2e0a5 opst-registry.gowatana.lab:5443/oracle/ol-openstack-murano-engine:2.1.1 "/start.sh" 2 hours ago Up 2 hours murano_engine
cacea34ee79d opst-registry.gowatana.lab:5443/oracle/ol-openstack-horizon:2.1.1 "/start.sh" 2 hours ago Up 2 hours horizon
1394c1f57477 opst-registry.gowatana.lab:5443/oracle/ol-openstack-heat-engine:2.1.1 "/start.sh" 2 hours ago Up 2 hours heat_engine
00bad3e568bf opst-registry.gowatana.lab:5443/oracle/ol-openstack-heat-api-cfn:2.1.1 "/start.sh" 2 hours ago Up 2 hours heat_api_cfn
ed1bbe9cd034 opst-registry.gowatana.lab:5443/oracle/ol-openstack-heat-api:2.1.1 "/start.sh" 2 hours ago Up 2 hours heat_api
c090b098bf1a opst-registry.gowatana.lab:5443/oracle/ol-openstack-cinder-volume:2.1.1 "/start.sh" 2 hours ago Up 2 hours cinder_volume
54c919294df5 opst-registry.gowatana.lab:5443/oracle/ol-openstack-cinder-scheduler:2.1.1 "/start.sh" 2 hours ago Up 2 hours cinder_scheduler
e5a2f3b2c736 opst-registry.gowatana.lab:5443/oracle/ol-openstack-cinder-backup:2.1.1 "/start.sh" 2 hours ago Up 2 hours cinder_backup
cf8902b85c03 opst-registry.gowatana.lab:5443/oracle/ol-openstack-cinder-api:2.1.1 "/start.sh" 2 hours ago Up 2 hours cinder_api
eccb832a4dbb opst-registry.gowatana.lab:5443/oracle/ol-openstack-data:2.1.1 "/bin/sh -c '/bin/sle" 2 hours ago Up 2 hours cinder_data
89ac3d5bb998 opst-registry.gowatana.lab:5443/oracle/ol-openstack-neutron-agents:2.1.1 "/usr/bin/supervisord" 2 hours ago Up 2 hours neutron_agents
1ef22b2a7b9c opst-registry.gowatana.lab:5443/oracle/ol-openstack-neutron-openvswitch-agent:2.1.1 "/start.sh" 2 hours ago Up 2 hours neutron_openvswitch_agent
46db1517a372 opst-registry.gowatana.lab:5443/oracle/ol-openstack-neutron-server:2.1.1 "/start.sh" 2 hours ago Up 2 hours neutron_server
f553bb5f30a9 opst-registry.gowatana.lab:5443/oracle/ol-openstack-ovs-vswitchd:2.1.1 "/start.sh" 2 hours ago Up 2 hours openvswitch_vswitchd
1a22fb5fe722 opst-registry.gowatana.lab:5443/oracle/ol-openstack-ovs-db-server:2.1.1 "/start.sh" 2 hours ago Up 2 hours openvswitch_db
b422b13e673e opst-registry.gowatana.lab:5443/oracle/ol-openstack-nova-scheduler:2.1.1 "/start.sh" 2 hours ago Up 2 hours nova_scheduler
73224c0fb889 opst-registry.gowatana.lab:5443/oracle/ol-openstack-nova-novncproxy:2.1.1 "/start.sh" 2 hours ago Up 2 hours nova_novncproxy
002b11c80384 opst-registry.gowatana.lab:5443/oracle/ol-openstack-nova-consoleauth:2.1.1 "/start.sh" 2 hours ago Up 2 hours nova_consoleauth
81580d10c339 opst-registry.gowatana.lab:5443/oracle/ol-openstack-nova-conductor:2.1.1 "/start.sh" 2 hours ago Up 2 hours nova_conductor
aa8b5c5be250 opst-registry.gowatana.lab:5443/oracle/ol-openstack-nova-api:2.1.1 "/start.sh" 2 hours ago Up 2 hours nova_api
02cc78c7c548 opst-registry.gowatana.lab:5443/oracle/ol-openstack-data:2.1.1 "/bin/sh -c '/bin/sle" 2 hours ago Up 2 hours nova_data
c5f422c47bf9 opst-registry.gowatana.lab:5443/oracle/ol-openstack-glance-api:2.1.1 "/start.sh" 2 hours ago Up 2 hours glance_api
a056863899cd opst-registry.gowatana.lab:5443/oracle/ol-openstack-glance-registry:2.1.1 "/start.sh" 2 hours ago Up 2 hours glance_registry
44c7b5e03367 opst-registry.gowatana.lab:5443/oracle/ol-openstack-data:2.1.1 "/bin/sh -c '/bin/sle" 2 hours ago Up 2 hours glance_data
d73387819781 opst-registry.gowatana.lab:5443/oracle/ol-openstack-keystone:2.1.1 "/start.sh" 2 hours ago Up 2 hours keystone
cdb5a1488132 opst-registry.gowatana.lab:5443/oracle/ol-openstack-memcached:2.1.1 "/start.sh" 2 hours ago Up 2 hours memcached
efaf9bc8d3d6 opst-registry.gowatana.lab:5443/oracle/ol-openstack-rabbitmq:2.1.1 "/start.sh" 2 hours ago Up 2 hours rabbitmq
0e23a7a38353 opst-registry.gowatana.lab:5443/oracle/ol-openstack-data:2.1.1 "/bin/sh -c '/bin/sle" 2 hours ago Up 2 hours rabbitmq_data
d72d69a22b83 opst-registry.gowatana.lab:5443/oracle/ol-openstack-mysqlcluster-api:2.1.1 "/start.sh" 2 hours ago Up 2 hours mysqlcluster_api
fce1477133e1 opst-registry.gowatana.lab:5443/oracle/ol-openstack-mysqlcluster-ndb:2.1.1 "/start.sh" 2 hours ago Up 2 hours mysqlcluster_ndb
46c5aa060dfe opst-registry.gowatana.lab:5443/oracle/ol-openstack-data:2.1.1 "/bin/sh -c '/bin/sle" 2 hours ago Up 2 hours mysqlcluster_data
4f17722c6c1e opst-registry.gowatana.lab:5443/oracle/ol-openstack-mysqlcluster-mgmt:2.1.1 "/start.sh" 2 hours ago Up 2 hours mysqlcluster_mgmt
cc471b87ee09 opst-registry.gowatana.lab:5443/oracle/ol-openstack-haproxy:2.1.1 "/start.sh" 2 hours ago Up 2 hours haproxy
ed1aca76646c opst-registry.gowatana.lab:5443/oracle/ol-openstack-keepalived:2.1.1 "/start.sh" 2 hours ago Up 2 hours keepalived
755e0581c559 opst-registry.gowatana.lab:5443/oracle/ol-openstack-kolla-ansible:2.1.1 "/bin/sleep infinity" 2 hours ago Up 2 hours kolla_ansible
[root@opst-ctl02 ~]#
Compute Node。
[root@opst-host01 ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
15c73c7193e8 opst-registry.gowatana.lab:5443/oracle/ol-openstack-neutron-openvswitch-agent:2.1.1 "/start.sh" 2 hours ago Up 2 hours neutron_openvswitch_agent
f042b2669ca3 opst-registry.gowatana.lab:5443/oracle/ol-openstack-ovs-vswitchd:2.1.1 "/start.sh" 2 hours ago Up 2 hours openvswitch_vswitchd
91e8b6b34d1a opst-registry.gowatana.lab:5443/oracle/ol-openstack-ovs-db-server:2.1.1 "/start.sh" 2 hours ago Up 2 hours openvswitch_db
01a2b412737e opst-registry.gowatana.lab:5443/oracle/ol-openstack-nova-multipathd:2.1.1 "/start.sh" 2 hours ago Up 2 hours nova_multipathd
7eded8f47b5b opst-registry.gowatana.lab:5443/oracle/ol-openstack-nova-iscsid:2.1.1 "/start.sh" 2 hours ago Up 2 hours nova_iscsid
b599f58aee7e opst-registry.gowatana.lab:5443/oracle/ol-openstack-nova-compute:2.1.1 "/start.sh" 2 hours ago Up 2 hours nova_compute
66a89dd505c5 opst-registry.gowatana.lab:5443/oracle/ol-openstack-data:2.1.1 "/bin/sh -c '/bin/sle" 2 hours ago Up 2 hours nova_data
c5cf2263d0f4 opst-registry.gowatana.lab:5443/oracle/ol-openstack-kolla-ansible:2.1.1 "/bin/sleep infinity" 2 hours ago Up 2 hours kolla_ansible
[root@opst-host01 ~]#
ただし、今回の環境では、デフォルト設定のままです。
HTTPS ではなく HTTP でアクセスするとログイン画面が表示されます。
アドレスは、下記のどれかになります。
- kollacli でのプロパティ設定で kolla_internal_address に指定したアドレス(192.168.1.180)
- Controller Node #1
- Controller Node #2
たとえば、http://192.168.1.180/ に Web ブラウザからアクセスすると
下記のようなログイン画面が表示されます。
パスワード設定もデフォルトのままなので、
管理ユーザ「admin」 は 「password」 でログインできます。
つづく。
0 件のコメント:
コメントを投稿