wenzhitan 发表于 2017-9-21 14:40:05

Icehouse 版本安装求助

采用rdo方式部署,运行命令packstack --answer-file=~/answers.cfg,日志报错如下,请问大虾们如何解决这个问题
Welcome to Installer setup utility

Installing:
Clean Up                                             [ DONE ]
Setting up ssh keys                                  [ DONE ]
Discovering hosts' details                           [ DONE ]
Adding pre install manifest entries                  [ DONE ]
Preparing servers                                    [ DONE ]
Adding AMQP manifest entries                         [ DONE ]
Adding MariaDB manifest entries                      [ DONE ]
Adding Keystone manifest entries                     [ DONE ]
Adding Glance Keystone manifest entries            [ DONE ]
Adding Glance 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 Nova Network manifest entries               [ DONE ]
Adding Nova Common manifest entries                  [ DONE ]
Adding OpenStack Client manifest entries             [ DONE ]
Adding Horizon manifest entries                      [ DONE ]
Adding Provisioning Demo manifest entries            [ DONE ]
Adding Provisioning Glance manifest entries          [ DONE ]
Adding post install manifest entries               [ DONE ]
Installing Dependencies                              [ DONE ]
Copying Puppet modules and manifests               [ DONE ]
Applying 192.168.11.183_prescript.pp
192.168.11.183_prescript.pp:                         [ DONE ]         
Applying 192.168.11.183_amqp.pp
Applying 192.168.11.183_mariadb.pp
192.168.11.183_amqp.pp:                              [ DONE ]      
192.168.11.183_mariadb.pp:                           [ DONE ]      
Applying 192.168.11.183_keystone.pp
Applying 192.168.11.183_glance.pp
192.168.11.183_keystone.pp:                     [ ERROR ]         
Applying Puppet manifests                         [ ERROR ]


ERROR : Error appeared during Puppet run: 192.168.11.183_keystone.pp
Error: /Stage/Keystone::Roles::Admin/Keystone_role: Could not evaluate: Expected 2 columns for role row, found 0. Line +----------------------------------+----------+
You will find full trace in log /var/tmp/packstack/20170921-021725-zloTM4/manifests/192.168.11.183_keystone.pp.log
Please check log file /var/tmp/packstack/20170921-021725-zloTM4/openstack-setup.log for more information


# tail 100 /var/tmp/packstack/20170921-021725-zloTM4/openstack-setup.log
tail: cannot open `100' for reading: No such file or directory
==> /var/tmp/packstack/20170921-021725-zloTM4/openstack-setup.log <==
File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 98, in run
    step.run(config=config, messages=messages)
File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 44, in run
    raise SequenceError(str(ex))
SequenceError: Error appeared during Puppet run: 192.168.11.183_keystone.pp
Error: /Stage/Keystone::Roles::Admin/Keystone_role: Could not evaluate: Expected 2 columns for role row, found 0. Line +----------------------------------+----------+
You will find full trace in log /var/tmp/packstack/20170921-021725-zloTM4/manifests/192.168.11.183_keystone.pp.log

2017-09-21 02:17:53::INFO::shell::81::root:: Executing script:
rm -rf /var/tmp/packstack/b21eb323f692486f8bb4e73234199569
#





wenzhitan 发表于 2017-9-21 14:40:57

采用的是单机环境部署

desehawk 发表于 2017-9-21 15:52:42

wenzhitan 发表于 2017-9-21 14:40
采用的是单机环境部署

看样网卡是通的,但是后面失败了,可能原因是网络不太正常。
页: [1]
查看完整版本: Icehouse 版本安装求助