環境の概要
 VirtualBox で作成した仮想マシンアプライアンス
o CentOS7 + RDO Newton で設定されています(設定情報は/root/answer.txt)
o 仮想マシンに設定するメモリは推奨8GB、最低4GB
o 決め打ちで 192.168.99.199,200-230 のアドレスを使います。
 192.168.99.0/24 のホストオンリーネットワークを予め作成しておいてください。
 ログイン情報
o SSH: 192.168.99.199 root/password, openstack/openstack
o ブラウザ: http://192.168.99.199 admin/password, openstack/openstack
1
仮想マシンアプライアンス
RDO - All in One
enp0s3 enp0s8 enp0s9
ホストオンリーネッ
トワーク
192.168.99.0/24
アダプター1
プロミスキャスモー
ド → 全て許可
アダプター2
プロミスキャスモー
ド → 全て許可
NAT
(特別な設定は不
要)
仮想ネットワーク
public
起動後の確認
 仮想マシンを起動したら、以下の手順で動作を確認できます。
o Status/State が enabled/up を確認します。
o failed 等がある場合は、systemctl で対象のサービスを再起動します。
 例えば、neutron-l3-agent が 起動していない場合、この名前で systemctl -a の結果を grep して、
見つかったサービスを systemctl restart します。
2
# ssh root@192.168.99.199
[root@newton ~]# source keystonerc_admin
[root@newton ~(keystone_admin)]# openstack compute service list
+----+------------------+--------+----------+---------+-------+----------------------------+
| ID | Binary | Host | Zone | Status | State | Updated At |
+----+------------------+--------+----------+---------+-------+----------------------------+
| 1 | nova-cert | newton | internal | enabled | up | 2017-05-14T09:34:08.000000 |
| 2 | nova-consoleauth | newton | internal | enabled | up | 2017-05-14T09:34:08.000000 |
| 5 | nova-scheduler | newton | internal | enabled | up | 2017-05-14T09:34:08.000000 |
| 6 | nova-conductor | newton | internal | enabled | up | 2017-05-14T09:34:11.000000 |
| 7 | nova-compute | newton | nova | enabled | up | 2017-05-14T09:34:05.000000 |
+----+------------------+--------+----------+---------+-------+----------------------------+
[root@newton ~(keystone_admin)]# openstack orchestration service list
+----------+-------------+--------------------------------------+--------+--------+----------------------------+--------+
| hostname | binary | engine_id | host | topic | updated_at | status |
+----------+-------------+--------------------------------------+--------+--------+----------------------------+--------+
| newton | heat-engine | 914a8f11-a748-4313-8f12-71aa90031352 | newton | engine | 2017-05-14T09:33:37.000000 | up |
+----------+-------------+--------------------------------------+--------+--------+----------------------------+--------+
[root@newton ~(keystone_admin)]# openstack volume service list
+------------------+------------+------+---------+-------+----------------------------+
| Binary | Host | Zone | Status | State | Updated At |
+------------------+------------+------+---------+-------+----------------------------+
| cinder-backup | newton | nova | enabled | up | 2017-05-14T09:34:06.000000 |
| cinder-volume | newton@lvm | nova | enabled | up | 2017-05-14T09:34:06.000000 |
| cinder-scheduler | newton | nova | enabled | up | 2017-05-14T09:34:15.000000 |
+------------------+------------+------+---------+-------+----------------------------+
[root@newton ~(keystone_admin)]# openstack network agent list
+--------------------------------------+----------------------+--------+-------------------+-------+-------+---------------------------+
| ID | Agent Type | Host | Availability Zone | Alive | State | Binary |
+--------------------------------------+----------------------+--------+-------------------+-------+-------+---------------------------+
| 272fce77-80ae-49b7-a86f-8850ff29a87d | Loadbalancerv2 agent | newton | None | True | UP | neutron-lbaasv2-agent |
| 48b4692d-b815-4ec5-9db5-bd17fca7adad | Metadata agent | newton | None | True | UP | neutron-metadata-agent |
| a77e97e6-0fa0-4fae-a628-9dd1d19e8cd7 | Open vSwitch agent | newton | None | True | UP | neutron-openvswitch-agent |
| e11cb938-9c4a-4da3-b936-92b674c85036 | DHCP agent | newton | nova | True | UP | neutron-dhcp-agent |
| e8784e8c-2260-420e-bfde-567510faa16f | L3 agent | newton | nova | True | UP | neutron-l3-agent |
+--------------------------------------+----------------------+--------+-------------------+-------+-------+---------------------------+

Japan OpenStack User Group 34th Meetup - Handson Environment

  • 1.
    環境の概要  VirtualBox で作成した仮想マシンアプライアンス oCentOS7 + RDO Newton で設定されています(設定情報は/root/answer.txt) o 仮想マシンに設定するメモリは推奨8GB、最低4GB o 決め打ちで 192.168.99.199,200-230 のアドレスを使います。  192.168.99.0/24 のホストオンリーネットワークを予め作成しておいてください。  ログイン情報 o SSH: 192.168.99.199 root/password, openstack/openstack o ブラウザ: http://192.168.99.199 admin/password, openstack/openstack 1 仮想マシンアプライアンス RDO - All in One enp0s3 enp0s8 enp0s9 ホストオンリーネッ トワーク 192.168.99.0/24 アダプター1 プロミスキャスモー ド → 全て許可 アダプター2 プロミスキャスモー ド → 全て許可 NAT (特別な設定は不 要) 仮想ネットワーク public
  • 2.
    起動後の確認  仮想マシンを起動したら、以下の手順で動作を確認できます。 o Status/Stateが enabled/up を確認します。 o failed 等がある場合は、systemctl で対象のサービスを再起動します。  例えば、neutron-l3-agent が 起動していない場合、この名前で systemctl -a の結果を grep して、 見つかったサービスを systemctl restart します。 2 # ssh root@192.168.99.199 [root@newton ~]# source keystonerc_admin [root@newton ~(keystone_admin)]# openstack compute service list +----+------------------+--------+----------+---------+-------+----------------------------+ | ID | Binary | Host | Zone | Status | State | Updated At | +----+------------------+--------+----------+---------+-------+----------------------------+ | 1 | nova-cert | newton | internal | enabled | up | 2017-05-14T09:34:08.000000 | | 2 | nova-consoleauth | newton | internal | enabled | up | 2017-05-14T09:34:08.000000 | | 5 | nova-scheduler | newton | internal | enabled | up | 2017-05-14T09:34:08.000000 | | 6 | nova-conductor | newton | internal | enabled | up | 2017-05-14T09:34:11.000000 | | 7 | nova-compute | newton | nova | enabled | up | 2017-05-14T09:34:05.000000 | +----+------------------+--------+----------+---------+-------+----------------------------+ [root@newton ~(keystone_admin)]# openstack orchestration service list +----------+-------------+--------------------------------------+--------+--------+----------------------------+--------+ | hostname | binary | engine_id | host | topic | updated_at | status | +----------+-------------+--------------------------------------+--------+--------+----------------------------+--------+ | newton | heat-engine | 914a8f11-a748-4313-8f12-71aa90031352 | newton | engine | 2017-05-14T09:33:37.000000 | up | +----------+-------------+--------------------------------------+--------+--------+----------------------------+--------+ [root@newton ~(keystone_admin)]# openstack volume service list +------------------+------------+------+---------+-------+----------------------------+ | Binary | Host | Zone | Status | State | Updated At | +------------------+------------+------+---------+-------+----------------------------+ | cinder-backup | newton | nova | enabled | up | 2017-05-14T09:34:06.000000 | | cinder-volume | newton@lvm | nova | enabled | up | 2017-05-14T09:34:06.000000 | | cinder-scheduler | newton | nova | enabled | up | 2017-05-14T09:34:15.000000 | +------------------+------------+------+---------+-------+----------------------------+ [root@newton ~(keystone_admin)]# openstack network agent list +--------------------------------------+----------------------+--------+-------------------+-------+-------+---------------------------+ | ID | Agent Type | Host | Availability Zone | Alive | State | Binary | +--------------------------------------+----------------------+--------+-------------------+-------+-------+---------------------------+ | 272fce77-80ae-49b7-a86f-8850ff29a87d | Loadbalancerv2 agent | newton | None | True | UP | neutron-lbaasv2-agent | | 48b4692d-b815-4ec5-9db5-bd17fca7adad | Metadata agent | newton | None | True | UP | neutron-metadata-agent | | a77e97e6-0fa0-4fae-a628-9dd1d19e8cd7 | Open vSwitch agent | newton | None | True | UP | neutron-openvswitch-agent | | e11cb938-9c4a-4da3-b936-92b674c85036 | DHCP agent | newton | nova | True | UP | neutron-dhcp-agent | | e8784e8c-2260-420e-bfde-567510faa16f | L3 agent | newton | nova | True | UP | neutron-l3-agent | +--------------------------------------+----------------------+--------+-------------------+-------+-------+---------------------------+