OpenStack Rocky : Openstack Packstack2018/09/04 |
Build Openstack All-in-one Environment quickly by Packstack.
It's possible to build it with a command. |
|
[1] | The requirements are CentOS 7 Base and Openstack Rocky Repo and EPEL Repo and Packstack package only. Other packages are installed and configured by Packstack automatically. |
[root@dlp ~]# yum -y install centos-release-openstack-rocky epel-release [root@dlp ~]# yum -y install openstack-packstack python-pip
|
[2] | Execute Packstack like follows. |
[root@dlp ~]# packstack --allinone |
[3] | Keystone, Glance, Nova, Neutron, Swift, Cinder Ceilometer(+ Aodh,Gnocchi) are installed and configured by packstack like follows. But if you'd like to install more components like Trove or Sagara and others, it's possible to specify options with packstack command. |
[root@dlp ~]# source keystonerc_admin [root@dlp ~(keystone_admin)]# openstack user list +----------------------------------+--------------+ | ID | Name | +----------------------------------+--------------+ | 2f227764529b4a1ab2099133e06991a8 | swift | | 73db2467cf4f48da938482163341738f | placement | | 945dcdf217754f03a62c6e81ac425156 | ceilometer | | 98ba6920ad0845de9570fa168a3960f4 | cinder | | 9a0c1f0a75ac4b1fa4af3d6559bebfb0 | aodh | | a8d2e22a35d4433780adb7c068bb784e | glance | | baa4c1233fe24978a64808745321032b | gnocchi | | ceaf080c292841098dc5388dd5da32b1 | nova | | e02873d6e08b4417a2b5f3db9d073273 | demo | | e8078756dd5d44b6b4e3fd3f1714a13f | admin | | fd43183ccbfe40ecb9b90c9db4ad0f1c | neutron | +----------------------------------+--------------+[root@dlp ~(keystone_admin)]# openstack project list +----------------------------------+----------+ | ID | Name | +----------------------------------+----------+ | 0c99d8220dc645588afa748f1d0a9064 | admin | | 157f9b40d08e421ea77dbcd97ce77126 | services | | 47432442fb654a7485468a79b448642e | demo | +----------------------------------+----------+[root@dlp ~(keystone_admin)]# openstack service list +----------------------------------+------------+-----------------+ | ID | Name | Type | +----------------------------------+------------+-----------------+ | 071e0496302142cc875f834c3306cc4c | ceilometer | metering | | 1afdeda24ba0473fb97d3d02331ee72a | cinderv3 | volumev3 | | 2a393f51a6c04607b4577d06af69b78b | gnocchi | metric | | 5895957d2fb3459c94c371f2e45c055c | neutron | network | | 66a10d40a1ba4c7eb026fe801dec6c35 | swift | object-store | | 7e616a9764c24e88949b48f8cd386ac0 | cinder | volume | | 9309052f8bb445ac82e975d73501ee7b | cinderv2 | volumev2 | | bad339112a0346958d8fb97472e91bc6 | glance | image | | c2c183f11b3d4346b9d09137c41ad956 | placement | placement | | c70ff1ce055f486f8e596ab7e390e7d3 | keystone | identity | | e80d43eb5207404f882d74a2bf9d7bee | aodh | alarming | | fd0ac808aaa84077a67f664e28c60527 | nova | compute | +----------------------------------+------------+-----------------+[root@dlp ~(keystone_admin)]# openstack catalog list +------------+-----------------+----------------------------------+ | Name | Type | Endpoints | +------------+-----------------+----------------------------------+ | ceilometer | metering | RegionOne | | | | public: http://10.0.0.40:8777 | | | | RegionOne | | | | admin: http://10.0.0.40:8777 | | | | RegionOne | | | | internal: http://10.0.0.40:8...| | | | | | cinderv3 | volumev3 | RegionOne | | | | internal: http://10.0.0.40:8...| | | | RegionOne | | | | public: http://10.0.0.40:877...| | | | RegionOne | | | | admin: http://10.0.0.40:8776...| | | | | | gnocchi | metric | RegionOne | | | | admin: http://10.0.0.40:8041 | | | | RegionOne | | | | public: http://10.0.0.40:8041 | | | | RegionOne | | | | internal: http://10.0.0.40:8...| | | | | | neutron | network | RegionOne | | | | public: http://10.0.0.40:9696 | | | | RegionOne | | | | internal: http://10.0.0.40:9...| | | | RegionOne | | | | admin: http://10.0.0.40:9696 | | | | | | swift | object-store | RegionOne | | | | internal: http://10.0.0.40:8...| | | | RegionOne | | | | public: http://10.0.0.40:808...| | | | RegionOne | | | | admin: http://10.0.0.40:8080...| | | | | | cinder | volume | RegionOne | | | | admin: http://10.0.0.40:8776...| | | | RegionOne | | | | internal: http://10.0.0.40:8...| | | | RegionOne | | | | public: http://10.0.0.40:877...| | | | | | cinderv2 | volumev2 | RegionOne | | | | internal: http://10.0.0.40:8...| | | | RegionOne | | | | public: http://10.0.0.40:877...| | | | RegionOne | | | | admin: http://10.0.0.40:8776...| | | | | | glance | image | RegionOne | | | | public: http://10.0.0.40:9292 | | | | RegionOne | | | | internal: http://10.0.0.40:9...| | | | RegionOne | | | | admin: http://10.0.0.40:9292 | | | | | | placement | placement | RegionOne | | | | internal: http://10.0.0.40:8...| | | | RegionOne | | | | admin: http://10.0.0.40:8778...| | | | RegionOne | | | | public: http://10.0.0.40:877...| | | | | | keystone | identity | RegionOne | | | | public: http://10.0.0.40:500...| | | | RegionOne | | | | admin: http://10.0.0.40:3535...| | | | RegionOne | | | | internal: http://10.0.0.40:5...| | | | | | aodh | alarming | RegionOne | | | | internal: http://10.0.0.40:8...| | | | RegionOne | | | | public: http://10.0.0.40:8042 | | | | RegionOne | | | | admin: http://10.0.0.40:8042 | | | | | | nova | compute | RegionOne | | | | internal: http://10.0.0.40:8...| | | | RegionOne | | | | admin: http://10.0.0.40:8774...| | | | RegionOne | | | | public: http://10.0.0.40:877...| | | | | +------------+-----------------+----------------------------------+ |
Sponsored Link |