Centos 7中怎么利用RDO单节点安装Openstack

发布时间:2021-07-12 14:42:19 作者:Leah
来源:亿速云 阅读:292

Centos 7中怎么利用RDO单节点安装Openstack,很多新手对此不是很清楚,为了帮助大家解决这个难题,下面小编将为大家详细讲解,有这方面需求的人可以来学习下,希望你能有所收获。

一、安装前准备

[root@ux-v ~]# systemctl top firewalld
[root@ux-v ~]# systemctl disable firewalld
[root@ux-v ~]# vim /etc/selinux/config
   SELINUX=disabled
[root@ux-v ~]# vim /etc/hosts
   127.0.0.1       ux-v
   192.168.1.115   ux-v

###建议将YUN源和EPEL源修改为阿里云

二、安装openstack

[root@ux-v ~]# yum install centos-release-openstack
[root@ux-v ~]# yum update

三、安装openstack-packstack

[root@ux-v ~]# yum install openstack-packstack

四、RDO单节点安装openstack

[root@ux-v ~]# packstack --allinone
Welcome to the Packstack setup utility

The installation log file is available at: /var/tmp/packstack/20160629-203234-1Odr9v/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 ]
Adding pre install manifest entries                  [ DONE ]
Setting up CACERT                                    [ DONE ]
Adding AMQP manifest entries                         [ DONE ]
Adding MariaDB manifest entries                      [ DONE ]
Adding Apache manifest entries                       [ DONE ]
Fixing Keystone LDAP config parameters to be undef if empty[ DONE ]
Adding Keystone manifest entries                     [ DONE ]
Adding Glance Keystone manifest entries              [ DONE ]
Adding Glance manifest entries                       [ DONE ]
Adding Cinder Keystone manifest entries              [ DONE ]
Checking if the Cinder server has a cinder-volumes vg[ DONE ]
Adding Cinder manifest entries                       [ DONE ]
Adding Nova API manifest entries                     [ DONE ]
Adding Nova Keystone manifest entries                [ DONE ]
Adding Nova Cert manifest entries                    [ DONE ]
Adding Nova Conductor manifest entries               [ DONE ]
Creating ssh keys for Nova migration                 [ DONE ]
Gathering ssh host keys for Nova migration           [ DONE ]
Adding Nova Compute manifest entries                 [ DONE ]
Adding Nova Scheduler manifest entries               [ DONE ]
Adding Nova VNC Proxy manifest entries               [ DONE ]
Adding OpenStack Network-related Nova manifest entries[ DONE ]
Adding Nova Common manifest entries                  [ DONE ]
Adding Neutron VPNaaS Agent manifest entries         [ DONE ]
Adding Neutron FWaaS Agent manifest entries          [ DONE ]
Adding Neutron LBaaS Agent manifest entries          [ DONE ]
Adding Neutron API manifest entries                  [ DONE ]
Adding Neutron Keystone manifest entries             [ DONE ]
Adding Neutron L3 manifest entries                   [ DONE ]
Adding Neutron L2 Agent manifest entries             [ DONE ]
Adding Neutron DHCP Agent manifest entries           [ DONE ]
Adding Neutron Metering Agent manifest entries       [ DONE ]
Adding Neutron Metadata Agent manifest entries       [ DONE ]
Adding Neutron SR-IOV Switch Agent manifest entries  [ DONE ]
Checking if NetworkManager is enabled and running    [ DONE ]
Adding OpenStack Client manifest entries             [ DONE ]
Adding Horizon manifest entries                      [ DONE ]
Adding Swift Keystone manifest entries               [ DONE ]
Adding Swift builder manifest entries                [ DONE ]
Adding Swift proxy manifest entries                  [ DONE ]
Adding Swift storage manifest entries                [ DONE ]
Adding Swift common manifest entries                 [ DONE ]
Adding Provisioning manifest entries                 [ DONE ]
Adding Provisioning Glance manifest entries          [ DONE ]
Adding Provisioning Demo bridge manifest entries     [ DONE ]
Adding Gnocchi manifest entries                      [ DONE ]
Adding Gnocchi Keystone manifest entries             [ DONE ]
Adding MongoDB manifest entries                      [ DONE ]
Adding Redis manifest entries                        [ DONE ]
Adding Ceilometer manifest entries                   [ DONE ]
Adding Ceilometer Keystone manifest entries          [ DONE ]
Adding Aodh manifest entries                         [ DONE ]
Adding Aodh Keystone manifest entries                [ DONE ]
Adding Nagios server manifest entries                [ DONE ]
Adding Nagios host manifest entries                  [ DONE ]
Copying Puppet modules and manifests                 [ DONE ]
Applying 192.168.1.115_prescript.pp
192.168.1.115_prescript.pp:                          [ DONE ]         
Applying 192.168.1.115_amqp.pp
Applying 192.168.1.115_mariadb.pp
192.168.1.115_amqp.pp:                               [ DONE ]       
192.168.1.115_mariadb.pp:                            [ DONE ]       
Applying 192.168.1.115_apache.pp
192.168.1.115_apache.pp:                             [ DONE ]      
Applying 192.168.1.115_keystone.pp
Applying 192.168.1.115_glance.pp
Applying 192.168.1.115_cinder.pp
192.168.1.115_keystone.pp:                           [ DONE ]        
192.168.1.115_glance.pp:                             [ DONE ]        
192.168.1.115_cinder.pp:                             [ DONE ]        
Applying 192.168.1.115_api_nova.pp
192.168.1.115_api_nova.pp:                           [ DONE ]        
Applying 192.168.1.115_nova.pp
192.168.1.115_nova.pp:                               [ DONE ]    
Applying 192.168.1.115_neutron.pp
192.168.1.115_neutron.pp:                            [ DONE ]       
Applying 192.168.1.115_osclient.pp
Applying 192.168.1.115_horizon.pp
192.168.1.115_osclient.pp:                           [ DONE ]        
192.168.1.115_horizon.pp:                            [ DONE ]        
Applying 192.168.1.115_ring_swift.pp
192.168.1.115_ring_swift.pp:                         [ DONE ]          
Applying 192.168.1.115_swift.pp
192.168.1.115_swift.pp:                              [ DONE ]     
Applying 192.168.1.115_provision.pp
Applying 192.168.1.115_provision_glance
192.168.1.115_provision.pp:                          [ DONE ]             
192.168.1.115_provision_glance:                      [ DONE ]             
Applying 192.168.1.115_provision_bridge.pp
192.168.1.115_provision_bridge.pp:                   [ DONE ]                
Applying 192.168.1.115_gnocchi.pp
192.168.1.115_gnocchi.pp:                            [ DONE ]       
Applying 192.168.1.115_mongodb.pp
Applying 192.168.1.115_redis.pp
192.168.1.115_mongodb.pp:                            [ DONE ]       
192.168.1.115_redis.pp:                              [ DONE ]       
Applying 192.168.1.115_ceilometer.pp
192.168.1.115_ceilometer.pp:                         [ DONE ]          
Applying 192.168.1.115_aodh.pp
192.168.1.115_aodh.pp:                               [ DONE ]    
Applying 192.168.1.115_nagios.pp
Applying 192.168.1.115_nagios_nrpe.pp
192.168.1.115_nagios.pp:                             [ DONE ]           
192.168.1.115_nagios_nrpe.pp:                        [ DONE ]           
Applying Puppet manifests                            [ DONE ]
Finalizing                                           [ DONE ]

 **** Installation completed successfully ******

Additional information:
 * A new answerfile was created in: /root/packstack-answers-20160629-203235.txt
 * 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.1.115. To use the command line tools you need to source the file.
 * To access the OpenStack Dashboard browse to http://192.168.1.115/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
 * To use Nagios, browse to http://192.168.1.115/nagios username: nagiosadmin, password: 0fe8c0d481c3423d
 * The installation log file is available at: /var/tmp/packstack/20160629-203234-1Odr9v/openstack-setup.log
 * The generated manifests are available at: /var/tmp/packstack/20160629-203234-1Odr9v/manifests

五、导入openstack变量

[root@ux-v ~]# chmod +x keystonerc_admin
[root@ux-v ~]# ./keystonerc_admin

六、登录dashboard

http://IP/dashboard  #账号密码在:~/keystonerc_admin

Centos 7中怎么利用RDO单节点安装Openstack

七、登录nagios

 http://IP/nagios #username: nagiosadmin, password: 0fe8c0d481c3423d  在安装完成的信息里

Centos 7中怎么利用RDO单节点安装Openstack

看完上述内容是否对您有帮助呢?如果还想对相关知识有进一步的了解或阅读更多相关文章,请关注亿速云行业资讯频道,感谢您对亿速云的支持。

推荐阅读:
  1. openstack centos6.8安装
  2. 在centos7上安装openstack mitaka版本

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

centos 7 rdo openstack

上一篇:如何解决Java找不到或无法加载主类及编码错误的问题

下一篇:js放到head中失效怎么办

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》