ERROR : Error appeared during Puppet run: 192.168.100.2_controller.pp
Error: Execution of ‘/usr/bin/yum -d 0 -e 0 -y install openstack-keystone’ returned 1: Error: Package: python2-qpid-proton-0.26.0-2.el7.x86_64 (centos-openstack-train)
You will find full trace in log /var/tmp/packstack/20240813-182454-0RsIBR/manifests/192.168.100.2_controller.pp.log
Please check log file /var/tmp/packstack/20240813-182454-0RsIBR/openstack-setup.log for more information.
主要错误类似如下:
[root@localhost ~]# packstack --answer-file=install.txt
Welcome to the Packstack setup utility
The installation log file is available at: /var/tmp/packstack/20240813-182454-0RsIBR/openstack-setup.log
Installing:
Clean Up [ DONE ]
Discovering ip protocol version [ DONE ]
root@192.168.100.2’s password:
root@192.168.100.6’s password:
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 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.100.2_controller.pp
192.168.100.2_controller.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]
ERROR : Error appeared during Puppet run: 192.168.100.2_controller.pp
Error: Execution of ‘/usr/bin/yum -d 0 -e 0 -y install openstack-keystone’ returned 1: Error: Package: python2-qpid-proton-0.26.0-2.el7.x86_64 (centos-openstack-train)
You will find full trace in log /var/tmp/packstack/20240813-182454-0RsIBR/manifests/192.168.100.2_controller.pp.log
Please check log file /var/tmp/packstack/20240813-182454-0RsIBR/openstack-setup.log for more information
Additional information:
- Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
- Warning: NetworkManager is active on 192.168.100.2, 192.168.100.6. OpenStack networking currently does not work on systems that have the Network Manager service enabled.
- File /root/keystonerc_admin has been created on OpenStack client host 192.168.100.2. To use the command line tools you need to source the file.
- To access the OpenStack Dashboard browse to http://192.168.100.2/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
[root@localhost ~]#
解决方法:
1)控制节点和计算节点分别手动安装以来包:
2)控制节点安装依赖包:
再次执行,即可成功:
[root@localhost ~]# packstack --answer-file=install.txt
Welcome to the Packstack setup utility
The installation log file is available at: /var/tmp/packstack/20240814-085023-wFiOvx/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 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.100.2_controller.pp
192.168.100.2_controller.pp: [ DONE ]
Applying 192.168.100.2_network.pp
192.168.100.2_network.pp: [ DONE ]
Applying 192.168.100.6_compute.pp
192.168.100.6_compute.pp: [ DONE ]
Applying Puppet manifests [ DONE ]
Finalizing [ DONE ]
**** Installation completed successfully ******
Additional information:
- Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
- Warning: NetworkManager is active on 192.168.100.2, 192.168.100.6. OpenStack networking currently does not work on systems that have the Network Manager service enabled.
- File /root/keystonerc_admin has been created on OpenStack client host 192.168.100.2. To use the command line tools you need to source the file.
- To access the OpenStack Dashboard browse to http://192.168.100.2/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/20240814-085023-wFiOvx/openstack-setup.log
- The generated manifests are available at: /var/tmp/packstack/20240814-085023-wFiOvx/manifests
您在 /var/spool/mail/root 中有新邮件
[root@localhost ~]#
查看服务: