RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1207371 - packstack --allinone fails during _keystone.pp
Summary: packstack --allinone fails during _keystone.pp
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: openstack-packstack
Version: Juno
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Kilo
Assignee: Martin Magr
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-30 18:50 UTC by Gabriel Somlo
Modified: 2016-05-19 16:01 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-19 16:01:00 UTC
Embargoed:


Attachments (Terms of Use)

Description Gabriel Somlo 2015-03-30 18:50:19 UTC
Description of problem:
"packstack --allinone" fails

Version-Release number of selected component (if applicable):
openstack-packstack-2014.2-0.18.dev1462.gbb05296.fc22.noarch

How reproducible:
By running "packstack --allinone"

Steps to Reproduce:
1. Create clean/up-to-date F21 install
2. rpm -ivh https://repos.fedorapeople.org/repos/openstack/openstack-juno/rdo-release-juno-1.noarch.rpm; yum install openstack-packstack
3. packstack --allinone

Actual results:
install fails with :
...
Applying 128.2.16.9_amqp.pp
Applying 128.2.16.9_mariadb.pp
128.2.16.9_amqp.pp:                                  [ DONE ]    
128.2.16.9_mariadb.pp:                               [ DONE ]    
Applying 128.2.16.9_keystone.pp
Applying 128.2.16.9_glance.pp
Applying 128.2.16.9_cinder.pp
128.2.16.9_keystone.pp:                           [ ERROR ]       
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 128.2.16.9_keystone.pp
Error: /Stage[main]/Neutron::Keystone::Auth/Keystone_service[neutron]: Could not evaluate: Execution of '/usr/bin/openstack service list --quiet --format csv --long --os-token 34190d7bbdb1401ab033a7140e6ab037 --os-url http://127.0.0.1:35357/v2.0/' returned 1: ERROR: openstack Internal Server Error (HTTP 500)
You will find full trace in log /var/tmp/packstack/20150330-122647-jGP3iE/manifests/128.2.16.9_keystone.pp.log
Please check log file /var/tmp/packstack/20150330-122647-jGP3iE/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 128.2.16.9. To use the command line tools you need to source the file.
 * To access the OpenStack Dashboard browse to http://128.2.16.9/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
 * To use Nagios, browse to http://128.2.16.9/nagios username: nagiosadmin, password: 98b02af2fb654056


Expected results:
install completes successfully

Additional info:

Manually running:

/usr/bin/openstack service list --quiet --format csv --long --os-token 34190d7bbdb1401ab033a7140e6ab037 --os-url http://127.0.0.1:35357/v2.0/

Results in "ERROR: openstack Internal Server Error (HTTP 500)" and the
following httpd logging data:

==> /var/log/httpd/keystone_wsgi_admin_error.log <==
[Mon Mar 30 12:52:55.903745 2015] [wsgi:error] [pid 22056] [remote 127.0.0.1:40664] mod_wsgi (pid=22056): Target WSGI script '/var/www/cgi-bin/keystone/admin' cannot be loaded as Python module.
[Mon Mar 30 12:52:55.903811 2015] [wsgi:error] [pid 22056] [remote 127.0.0.1:40664] mod_wsgi (pid=22056): Exception occurred processing WSGI script '/var/www/cgi-bin/keystone/admin'.
[Mon Mar 30 12:52:55.903878 2015] [wsgi:error] [pid 22056] [remote 127.0.0.1:40664] Traceback (most recent call last):
[Mon Mar 30 12:52:55.903934 2015] [wsgi:error] [pid 22056] [remote 127.0.0.1:40664]   File "/var/www/cgi-bin/keystone/admin", line 39, in <module>
[Mon Mar 30 12:52:55.904028 2015] [wsgi:error] [pid 22056] [remote 127.0.0.1:40664]     config.configure()
[Mon Mar 30 12:52:55.904060 2015] [wsgi:error] [pid 22056] [remote 127.0.0.1:40664]   File "/usr/lib/python2.7/site-packages/keystone/common/config.py", line 968, in configure
[Mon Mar 30 12:52:55.904243 2015] [wsgi:error] [pid 22056] [remote 127.0.0.1:40664]     help='Do not monkey-patch threading system modules.'))
[Mon Mar 30 12:52:55.904275 2015] [wsgi:error] [pid 22056] [remote 127.0.0.1:40664]   File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 1629, in __inner
[Mon Mar 30 12:52:55.904312 2015] [wsgi:error] [pid 22056] [remote 127.0.0.1:40664]     result = f(self, *args, **kwargs)
[Mon Mar 30 12:52:55.904335 2015] [wsgi:error] [pid 22056] [remote 127.0.0.1:40664]   File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 1785, in register_cli_opt
[Mon Mar 30 12:52:55.904367 2015] [wsgi:error] [pid 22056] [remote 127.0.0.1:40664]     raise ArgsAlreadyParsedError("cannot register CLI option")
[Mon Mar 30 12:52:55.904427 2015] [wsgi:error] [pid 22056] [remote 127.0.0.1:40664] ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option

==> /var/log/httpd/keystone_wsgi_admin_access.log <==
127.0.0.1 - - [30/Mar/2015:12:52:55 -0400] "GET /v2.0/OS-KSADM/services HTTP/1.1" 500 531 "-" "python-keystoneclient"

Comment 3 Chandan Kumar 2016-05-19 16:01:00 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.


Note You need to log in before you can comment on or make changes to this bug.