openstack with mariadb centos 7
[root@localhost ~]# yum install -y openstack-packstack openstack-dashboard
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.nbrc.ac.in
* centos-gluster6: mirror.nbrc.ac.in
* centos-qemu-ev: mirror.nbrc.ac.in
* epel: mirrors.aliyun.com
* extras: mirror.nbrc.ac.in
* openstack-stein: mirror.nbrc.ac.in
* rdo-qemu-ev: mirror.nbrc.ac.in
* updates: mirror.nbrc.ac.in
Resolving Dependencies
--> Running transaction check
---> Package openstack-dashboard.noarch 1:15.1.0-1.el7 will be installed
--> Processing Dependency: openstack-dashboard-theme >= 1:15.1.0-1.el7 for package: 1:openstack-dashboard-15.1.0-1.el7.noarch
---> Package openstack-packstack.noarch 1:14.0.0-0.1.0rc1.el7 will be installed
--> Processing Dependency: openstack-packstack-puppet = 1:14.0.0-0.1.0rc1.el7 for package: 1:openstack-packstack-14.0.0-0.1.0rc1.el7.noarch
--> Running transaction check
---> Package openstack-dashboard-theme.noarch 1:15.1.0-1.el7 will be installed
---> Package openstack-packstack-puppet.noarch 1:14.0.0-0.1.0rc1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================
Installing:
openstack-dashboard noarch 1:15.1.0-1.el7 openstack-stein 12 M
openstack-packstack noarch 1:14.0.0-0.1.0rc1.el7 openstack-stein 191 k
Installing for dependencies:
openstack-dashboard-theme noarch 1:15.1.0-1.el7 openstack-stein 2.6 k
openstack-packstack-puppet noarch 1:14.0.0-0.1.0rc1.el7 openstack-stein 60 k
Transaction Summary
========================================================================================================================================================================
Install 2 Packages (+2 Dependent packages)
Total download size: 12 M
Installed size: 63 M
Downloading packages:
(1/4): openstack-packstack-14.0.0-0.1.0rc1.el7.noarch.rpm | 191 kB 00:00:00
(2/4): openstack-packstack-puppet-14.0.0-0.1.0rc1.el7.noarch.rpm | 60 kB 00:00:00
(3/4): openstack-dashboard-theme-15.1.0-1.el7.noarch.rpm | 2.6 kB 00:00:01
(4/4): openstack-dashboard-15.1.0-1.el7.noarch.rpm | 12 MB 00:00:03
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 3.8 MB/s | 12 MB 00:00:03
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 1:openstack-dashboard-15.1.0-1.el7.noarch 1/4
Installing : 1:openstack-dashboard-theme-15.1.0-1.el7.noarch 2/4
Installing : 1:openstack-packstack-puppet-14.0.0-0.1.0rc1.el7.noarch 3/4
Installing : 1:openstack-packstack-14.0.0-0.1.0rc1.el7.noarch 4/4
Verifying : 1:openstack-dashboard-theme-15.1.0-1.el7.noarch 1/4
Verifying : 1:openstack-dashboard-15.1.0-1.el7.noarch 2/4
Verifying : 1:openstack-packstack-puppet-14.0.0-0.1.0rc1.el7.noarch 3/4
Verifying : 1:openstack-packstack-14.0.0-0.1.0rc1.el7.noarch 4/4
Installed:
openstack-dashboard.noarch 1:15.1.0-1.el7 openstack-packstack.noarch 1:14.0.0-0.1.0rc1.el7
Dependency Installed:
openstack-dashboard-theme.noarch 1:15.1.0-1.el7 openstack-packstack-puppet.noarch 1:14.0.0-0.1.0rc1.el7
Complete!
[root@localhost ~]# packstack --answer-file /root/answer.txt
Welcome to the Packstack setup utility
The installation log file is available at: /var/tmp/packstack/20191009-114012-2cEonx/openstack-setup.log
Installing:
Clean Up [ DONE ]
Discovering ip protocol version [ DONE ]
Setting up ssh keys [ DONE ]
Preparing servers [ DONE ]
Pre installing Puppet and discovering hosts' details [ DONE ]
Preparing pre-install entries [ DONE ]
Setting up CACERT [ DONE ]
Preparing AMQP entries [ DONE ]
Preparing MariaDB entries [ DONE ]
Fixing Keystone LDAP config parameters to be undef if empty[ DONE ]
Preparing Keystone entries [ DONE ]
Preparing Glance entries [ DONE ]
Checking if the Cinder server has a cinder-volumes vg[ DONE ]
Preparing Cinder entries [ DONE ]
Preparing Nova API entries [ DONE ]
Creating ssh keys for Nova migration [ DONE ]
Gathering ssh host keys for Nova migration [ DONE ]
Preparing Nova Compute entries [ DONE ]
Preparing Nova Scheduler entries [ DONE ]
Preparing Nova VNC Proxy entries [ DONE ]
Preparing OpenStack Network-related Nova entries [ DONE ]
Preparing Nova Common entries [ DONE ]
Preparing Neutron LBaaS Agent entries [ DONE ]
Preparing Neutron API entries [ DONE ]
Preparing Neutron L3 entries [ DONE ]
Preparing Neutron L2 Agent entries [ DONE ]
Preparing Neutron DHCP Agent entries [ DONE ]
Preparing Neutron Metering Agent entries [ DONE ]
Checking if NetworkManager is enabled and running [ DONE ]
Preparing OpenStack Client entries [ DONE ]
Preparing Horizon entries [ DONE ]
Preparing Swift builder entries [ DONE ]
Preparing Swift proxy entries [ DONE ]
Preparing Swift storage entries [ DONE ]
Preparing Gnocchi entries [ DONE ]
Preparing Redis entries [ DONE ]
Preparing Ceilometer entries [ DONE ]
Preparing Aodh entries [ DONE ]
Preparing Puppet manifests [ DONE ]
Copying Puppet modules and manifests [ DONE ]
Applying 192.168.0.107_controller.pp
192.168.0.107_controller.pp: [ DONE ]
Applying 192.168.0.107_network.pp
192.168.0.107_network.pp: [ DONE ]
Applying 192.168.0.107_compute.pp
192.168.0.107_compute.pp: [ DONE ]
Applying Puppet manifests [ DONE ]
Finalizing [ DONE ]
**** Installation completed successfully ******
* Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
* File /root/keystonerc_admin has been created on OpenStack client host 192.168.0.107. To use the command line tools you need to source the file.
* To access the OpenStack Dashboard browse to http://192.168.0.107/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
* The installation log file is available at: /var/tmp/packstack/20191009-114012-2cEonx/openstack-setup.log
* The generated manifests are available at: /var/tmp/packstack/20191009-114012-2cEonx/manifests
[root@localhost ~]# cat /root/keystonerc_admin
unset OS_SERVICE_TOKEN
export OS_USERNAME=admin
export OS_PASSWORD='790a9db56eef40fe'
export OS_AUTH_URL=http://192.168.0.107:5000/v3
export PS1='[\u@\h \W(keystone_admin)]\$ '
export OS_PROJECT_NAME=admin
export OS_USER_DOMAIN_NAME=Default
export OS_PROJECT_DOMAIN_NAME=Default
export OS_IDENTITY_API_VERSION=3
[root@localhost ~]# mysql
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 15481
Server version: 10.3.10-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| aodh |
| cinder |
| glance |
| gnocchi |
| information_schema |
| keystone |
| mysql |
| neutron |
| nova |
| nova_api |
| nova_cell0 |
| nova_placement |
| performance_schema |
| test |
+--------------------+
14 rows in set (0.149 sec)
MariaDB [(none)]> quit
Bye
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.nbrc.ac.in
* centos-gluster6: mirror.nbrc.ac.in
* centos-qemu-ev: mirror.nbrc.ac.in
* epel: mirrors.aliyun.com
* extras: mirror.nbrc.ac.in
* openstack-stein: mirror.nbrc.ac.in
* rdo-qemu-ev: mirror.nbrc.ac.in
* updates: mirror.nbrc.ac.in
Resolving Dependencies
--> Running transaction check
---> Package openstack-dashboard.noarch 1:15.1.0-1.el7 will be installed
--> Processing Dependency: openstack-dashboard-theme >= 1:15.1.0-1.el7 for package: 1:openstack-dashboard-15.1.0-1.el7.noarch
---> Package openstack-packstack.noarch 1:14.0.0-0.1.0rc1.el7 will be installed
--> Processing Dependency: openstack-packstack-puppet = 1:14.0.0-0.1.0rc1.el7 for package: 1:openstack-packstack-14.0.0-0.1.0rc1.el7.noarch
--> Running transaction check
---> Package openstack-dashboard-theme.noarch 1:15.1.0-1.el7 will be installed
---> Package openstack-packstack-puppet.noarch 1:14.0.0-0.1.0rc1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================
Installing:
openstack-dashboard noarch 1:15.1.0-1.el7 openstack-stein 12 M
openstack-packstack noarch 1:14.0.0-0.1.0rc1.el7 openstack-stein 191 k
Installing for dependencies:
openstack-dashboard-theme noarch 1:15.1.0-1.el7 openstack-stein 2.6 k
openstack-packstack-puppet noarch 1:14.0.0-0.1.0rc1.el7 openstack-stein 60 k
Transaction Summary
========================================================================================================================================================================
Install 2 Packages (+2 Dependent packages)
Total download size: 12 M
Installed size: 63 M
Downloading packages:
(1/4): openstack-packstack-14.0.0-0.1.0rc1.el7.noarch.rpm | 191 kB 00:00:00
(2/4): openstack-packstack-puppet-14.0.0-0.1.0rc1.el7.noarch.rpm | 60 kB 00:00:00
(3/4): openstack-dashboard-theme-15.1.0-1.el7.noarch.rpm | 2.6 kB 00:00:01
(4/4): openstack-dashboard-15.1.0-1.el7.noarch.rpm | 12 MB 00:00:03
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 3.8 MB/s | 12 MB 00:00:03
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 1:openstack-dashboard-15.1.0-1.el7.noarch 1/4
Installing : 1:openstack-dashboard-theme-15.1.0-1.el7.noarch 2/4
Installing : 1:openstack-packstack-puppet-14.0.0-0.1.0rc1.el7.noarch 3/4
Installing : 1:openstack-packstack-14.0.0-0.1.0rc1.el7.noarch 4/4
Verifying : 1:openstack-dashboard-theme-15.1.0-1.el7.noarch 1/4
Verifying : 1:openstack-dashboard-15.1.0-1.el7.noarch 2/4
Verifying : 1:openstack-packstack-puppet-14.0.0-0.1.0rc1.el7.noarch 3/4
Verifying : 1:openstack-packstack-14.0.0-0.1.0rc1.el7.noarch 4/4
Installed:
openstack-dashboard.noarch 1:15.1.0-1.el7 openstack-packstack.noarch 1:14.0.0-0.1.0rc1.el7
Dependency Installed:
openstack-dashboard-theme.noarch 1:15.1.0-1.el7 openstack-packstack-puppet.noarch 1:14.0.0-0.1.0rc1.el7
Complete!
[root@localhost ~]# packstack --answer-file /root/answer.txt
Welcome to the Packstack setup utility
The installation log file is available at: /var/tmp/packstack/20191009-114012-2cEonx/openstack-setup.log
Installing:
Clean Up [ DONE ]
Discovering ip protocol version [ DONE ]
Setting up ssh keys [ DONE ]
Preparing servers [ DONE ]
Pre installing Puppet and discovering hosts' details [ DONE ]
Preparing pre-install entries [ DONE ]
Setting up CACERT [ DONE ]
Preparing AMQP entries [ DONE ]
Preparing MariaDB entries [ DONE ]
Fixing Keystone LDAP config parameters to be undef if empty[ DONE ]
Preparing Keystone entries [ DONE ]
Preparing Glance entries [ DONE ]
Checking if the Cinder server has a cinder-volumes vg[ DONE ]
Preparing Cinder entries [ DONE ]
Preparing Nova API entries [ DONE ]
Creating ssh keys for Nova migration [ DONE ]
Gathering ssh host keys for Nova migration [ DONE ]
Preparing Nova Compute entries [ DONE ]
Preparing Nova Scheduler entries [ DONE ]
Preparing Nova VNC Proxy entries [ DONE ]
Preparing OpenStack Network-related Nova entries [ DONE ]
Preparing Nova Common entries [ DONE ]
Preparing Neutron LBaaS Agent entries [ DONE ]
Preparing Neutron API entries [ DONE ]
Preparing Neutron L3 entries [ DONE ]
Preparing Neutron L2 Agent entries [ DONE ]
Preparing Neutron DHCP Agent entries [ DONE ]
Preparing Neutron Metering Agent entries [ DONE ]
Checking if NetworkManager is enabled and running [ DONE ]
Preparing OpenStack Client entries [ DONE ]
Preparing Horizon entries [ DONE ]
Preparing Swift builder entries [ DONE ]
Preparing Swift proxy entries [ DONE ]
Preparing Swift storage entries [ DONE ]
Preparing Gnocchi entries [ DONE ]
Preparing Redis entries [ DONE ]
Preparing Ceilometer entries [ DONE ]
Preparing Aodh entries [ DONE ]
Preparing Puppet manifests [ DONE ]
Copying Puppet modules and manifests [ DONE ]
Applying 192.168.0.107_controller.pp
192.168.0.107_controller.pp: [ DONE ]
Applying 192.168.0.107_network.pp
192.168.0.107_network.pp: [ DONE ]
Applying 192.168.0.107_compute.pp
192.168.0.107_compute.pp: [ DONE ]
Applying Puppet manifests [ DONE ]
Finalizing [ DONE ]
**** Installation completed successfully ******
* Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
* File /root/keystonerc_admin has been created on OpenStack client host 192.168.0.107. To use the command line tools you need to source the file.
* To access the OpenStack Dashboard browse to http://192.168.0.107/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
* The installation log file is available at: /var/tmp/packstack/20191009-114012-2cEonx/openstack-setup.log
* The generated manifests are available at: /var/tmp/packstack/20191009-114012-2cEonx/manifests
[root@localhost ~]# cat /root/keystonerc_admin
unset OS_SERVICE_TOKEN
export OS_USERNAME=admin
export OS_PASSWORD='790a9db56eef40fe'
export OS_AUTH_URL=http://192.168.0.107:5000/v3
export PS1='[\u@\h \W(keystone_admin)]\$ '
export OS_PROJECT_NAME=admin
export OS_USER_DOMAIN_NAME=Default
export OS_PROJECT_DOMAIN_NAME=Default
export OS_IDENTITY_API_VERSION=3
[root@localhost ~]# mysql
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 15481
Server version: 10.3.10-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| aodh |
| cinder |
| glance |
| gnocchi |
| information_schema |
| keystone |
| mysql |
| neutron |
| nova |
| nova_api |
| nova_cell0 |
| nova_placement |
| performance_schema |
| test |
+--------------------+
14 rows in set (0.149 sec)
MariaDB [(none)]> quit
Bye
[root@localhost ~]# rpm -qa | grep openstack-*
openstack-packstack-14.0.0-0.1.0rc1.el7.noarch
openstack-aodh-notifier-8.0.0-1.el7.noarch
openstack-dashboard-15.1.0-1.el7.noarch
openstack-aodh-common-8.0.0-1.el7.noarch
openstack-ceilometer-ipmi-12.0.0-1.el7.noarch
openstack-nova-migration-19.0.2-1.el7.noarch
puppet-openstack_extras-14.4.0-1.el7.noarch
openstack-neutron-14.0.2-1.el7.noarch
openstack-nova-scheduler-19.0.2-1.el7.noarch
python2-openstacksdk-0.27.0-1.el7.noarch
openstack-glance-18.0.0-1.el7.noarch
openstack-nova-api-19.0.2-1.el7.noarch
puppet-openstacklib-14.4.0-1.el7.noarch
python-openstackclient-lang-3.18.0-1.el7.noarch
centos-release-openstack-newton-1-1.el7.cern.noarch
openstack-cinder-14.0.1-1.el7.noarch
openstack-ceilometer-central-12.0.0-1.el7.noarch
openstack-nova-placement-api-19.0.2-1.el7.noarch
openstack-swift-object-2.21.0-1.el7.noarch
openstack-nova-compute-19.0.2-1.el7.noarch
openstack-selinux-0.8.18-1.el7.noarch
openstack-ceilometer-common-12.0.0-1.el7.noarch
openstack-aodh-listener-8.0.0-1.el7.noarch
openstack-keystone-15.0.0-1.el7.noarch
openstack-ceilometer-notification-12.0.0-1.el7.noarch
openstack-nova-common-19.0.2-1.el7.noarch
openstack-swift-account-2.21.0-1.el7.noarch
openstack-packstack-puppet-14.0.0-0.1.0rc1.el7.noarch
openstack-neutron-ml2-14.0.2-1.el7.noarch
openstack-aodh-evaluator-8.0.0-1.el7.noarch
openstack-nova-novncproxy-19.0.2-1.el7.noarch
openstack-swift-proxy-2.21.0-1.el7.noarch
openstack-nova-console-19.0.2-1.el7.noarch
python2-openstackclient-3.18.0-1.el7.noarch
openstack-neutron-common-14.0.2-1.el7.noarch
openstack-nova-conductor-19.0.2-1.el7.noarch
openstack-dashboard-theme-15.1.0-1.el7.noarch
openstack-aodh-api-8.0.0-1.el7.noarch
openstack-ceilometer-polling-12.0.0-1.el7.noarch
openstack-swift-container-2.21.0-1.el7.noarch
Comments
Post a Comment