[rdo-list] Error Packstack (Error: Could not prefetch keystone_role provider) on Mitaka

Takeshi Kuramochi tsarah8139 at gmail.com
Tue Jul 26 09:09:39 UTC 2016


When I run packstack below, I saw "Error: Could not prefetch
keystone_role provider".

# packstack --answer-file=./packstack_answer2.txt

:
:
:
Applying 192.168.175.244_keystone.pp
Applying 192.168.175.244_glance.pp
Applying 192.168.175.244_cinder.pp
192.168.175.244_keystone.pp:                      [ ERROR ]
Applying Puppet manifests                         [ ERROR ]

 ERROR : Error appeared during Puppet run: 192.168.175.244_keystone.pp
Error: Could not prefetch keystone_role provider 'openstack':
Execution of '/usr/bin/openstack role list --quiet --format csv'
returned 1: Service Unavailable (HTTP 503)
You will find full trace in log
/var/tmp/packstack/20160726-172409-w2NyIb/manifests/192.168.175.244_keystone.pp.log
Please check log file
/var/tmp/packstack/20160726-172409-w2NyIb/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.
 * File /root/keystonerc_admin has been created on OpenStack client
host 192.168.175.244. To use the command line tools you need to source
the file.
 * To access the OpenStack Dashboard browse to
http://192.168.175.244/dashboard .
Please, find your login credentials stored in the keystonerc_admin in
your home directory.


Has anyone had this problem?
Best Regards
Takeshi.K,


< /var/tmp/packstack/latest/openstack-setup.log >
tar --dereference -cpzf - aodh apache ceilometer certmonger cinder
concat firewall glance gnocchi heat horizon inifile ironic keystone
manila memcached mongodb mysql neutron nova nssdb openstack
openstacklib packstack rabbitmq
redis remote rsync sahara ssh stdlib swift sysctl tempest trove
vcsrepo vlan vswitch xinetd | ssh -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null root at 192.168.175.244 tar -C
/var/tmp/packstack/b7ad7e358e984de9ac2e00
a911deee4d/modules -xpzf -
2016-07-26 17:31:43::ERROR::run_setup::1018::root:: Traceback (most
recent call last):
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py",
line 1013, in main
    _main(options, confFile, logFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py",
line 660, in _main
    runSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py",
line 627, in runSequences
    controller.runAllSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py",
line 81, in runAllSequences
    sequence.run(config=self.CONF, messages=self.MESSAGES)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py",
line 109, in run
    step.run(config=config, messages=messages)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py",
line 50, in run
    self.function(config, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py",
line 209, in apply_puppet_manifest
    wait_for_puppet(currently_running, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py",
line 123, in wait_for_puppet
    validate_logfile(log)
  File "/usr/lib/python2.7/site-packages/packstack/modules/puppet.py",
line 107, in validate_logfile
    raise PuppetError(message)
PuppetError: Error appeared during Puppet run: 192.168.175.244_keystone.pp
Error: Could not prefetch keystone_role provider 'openstack':
Execution of '/usr/bin/openstack role list --quiet --format csv'
returned 1: Service Unavailable (HTTP 503)
You will find full trace in log
/var/tmp/packstack/20160726-172409-w2NyIb/manifests/192.168.175.244_keystone.pp.log

2016-07-26 17:31:43::INFO::shell::94::root:: [192.168.175.244] Executing script:
rm -rf /var/tmp/packstack/b7ad7e358e984de9ac2e00a911deee4d

# rpm -aq|grep openstack
openstack-packstack-puppet-8.0.0-1.el7.noarch
openstack-selinux-0.7.2-1.el7.noarch
centos-release-openstack-mitaka-1-3.el7.noarch
python2-openstacksdk-0.8.3-1.el7.noarch
python-openstackclient-2.2.0-1.el7.noarch
openstack-cinder-8.0.0-1.el7.noarch
openstack-packstack-8.0.0-1.el7.noarch
openstack-puppet-modules-8.0.4-1.el7.noarch
openstack-keystone-9.0.2-1.el7.noarch
openstack-utils-2015.2-1.el7.noarch


I attached an answer-file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: packstack_answer2.txt.gz
Type: application/x-gzip
Size: 13915 bytes
Desc: not available
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20160726/753164ba/attachment.bin>


More information about the dev mailing list