PACKSTACK 搭建 OPENSTACK 报 错误的处理 1

菜鸟:小辉

 

问题:

192.168.213.120_controller.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]

ERROR : Error appeared during Puppet run: 192.168.213.120_controller.pp
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install openstack-glance' returned 1: warning: /var/cache/yum/x86_64/7/centos-ceph-luminous/packages/python-simplegeneric-0.8-7.el7.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID e451e5b5: NOKEY
You will find full trace in log /var/tmp/packstack/20220912-194259-sagfLC/manifests/192.168.213.120_controller.pp.log

 

原因:

akonadi-mysql 依赖关系问题

 

解决:

删除MariaDB,重新安装:

[root@controller ~]# yum remove -y mariadb

[root@controller ~]# yum install -y mariadb mariadb-server

 

重新安装:

packstack  --allinone

如果没什么问题就是这样

 

Welcome to the Packstack setup utility

The installation log file is available at: /var/tmp/packstack/20220912-202725-Pnelkh/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.213.120_controller.pp
192.168.213.120_controller.pp:                       [ DONE ]            
Applying 192.168.213.120_network.pp
192.168.213.120_network.pp:                          [ DONE ]         
Applying 192.168.213.120_compute.pp
192.168.213.120_compute.pp:                          [ DONE ]         
Applying Puppet manifests                            [ DONE ]
Finalizing                                           [ DONE ]

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

Additional information:
 * A new answerfile was created in: /root/packstack-answers-20220912-202725.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.213.120. To use the command line tools you need to source the file.
 * To access the OpenStack Dashboard browse to http://192.168.213.120/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/20220912-202725-Pnelkh/openstack-setup.log
 * The generated manifests are available at: /var/tmp/packstack/20220912-202725-Pnelkh/manifests

 

  

 

posted @ 2022-09-12 21:16  python,菜鸟  阅读(6132)  评论(0)    收藏  举报