puppet ci jobs failing during init-keystone

Bug #1450786 reported by James Slagle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Dan Prince

Bug Description

all the puppet CI jobs appear to be failing with:

2015-05-01 10:36:40.762 | 2015-05-01 10:36:40 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1): 192.0.2.3
2015-05-01 10:36:40.774 | Traceback (most recent call last):
2015-05-01 10:36:40.774 | File "/opt/stack/new//tripleo-incubator/scripts/init-keystone", line 11, in <module>
2015-05-01 10:36:40.774 | sys.exit(main())
2015-05-01 10:36:40.775 | File "/opt/stack/new/tripleo-incubator/openstack-tools/lib/python2.7/site-packages/os_cloud_config/cmd/init_keystone.py", line 88, in main
2015-05-01 10:36:40.792 | args.user, args.timeout, args.pollinterval, args.pkisetup)
2015-05-01 10:36:40.792 | File "/opt/stack/new/tripleo-incubator/openstack-tools/lib/python2.7/site-packages/os_cloud_config/keystone.py", line 137, in initialize
2015-05-01 10:36:40.806 | _grant_admin_user_roles(keystone_v3)
2015-05-01 10:36:40.807 | File "/opt/stack/new/tripleo-incubator/openstack-tools/lib/python2.7/site-packages/os_cloud_config/keystone.py", line 506, in _grant_admin_user_roles
2015-05-01 10:36:40.815 | admin_user = keystone_v3.users.list(domain=default_domain, name='admin')[0]
2015-05-01 10:36:40.816 | IndexError: list index out of range

Changed in tripleo:
status: New → Triaged
Dan Prince (dan-prince)
Changed in tripleo:
assignee: nobody → Dan Prince (dan-prince)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/179418

Revision history for this message
Dan Prince (dan-prince) wrote :

I tried this locally and I'm now getting a different error from os-collect-config.log:

May 01 15:53:42 ov-5bjpyyg3lnn-0-kbuvk46ses4p-controller-gbhhne2knr6s os-collect-config[939]: Error: /Stage[main]/Keystone::Roles::Admin/Keystone_tenant[admin]: Could not evaluate: Execution of '/usr/bin/openstack project list --quiet --format csv --long --os-token 1df1383e0c835f84ac19bd05181656a27384c338 --os-url http://172.19.0.7:35357/v2.0/' returned 1: Traceback (most recent call last):
May 01 15:53:42 ov-5bjpyyg3lnn-0-kbuvk46ses4p-controller-gbhhne2knr6s os-collect-config[939]: File "/usr/bin/openstack", line 6, in <module>
May 01 15:53:42 ov-5bjpyyg3lnn-0-kbuvk46ses4p-controller-gbhhne2knr6s os-collect-config[939]: from openstackclient.shell import main
May 01 15:53:42 ov-5bjpyyg3lnn-0-kbuvk46ses4p-controller-gbhhne2knr6s os-collect-config[939]: File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 36, in <module>
May 01 15:53:42 ov-5bjpyyg3lnn-0-kbuvk46ses4p-controller-gbhhne2knr6s os-collect-config[939]: from os_client_config import config as cloud_config
May 01 15:53:42 ov-5bjpyyg3lnn-0-kbuvk46ses4p-controller-gbhhne2knr6s os-collect-config[939]: ImportError: No module named os_client_config

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/179418
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=0ef982864d85890acd061cc4fe31eb9b5320ade5
Submitter: Jenkins
Branch: master

commit 0ef982864d85890acd061cc4fe31eb9b5320ade5
Author: Dan Prince <email address hidden>
Date: Fri May 1 12:22:31 2015 -0400

    Revert "Keystone domain for Heat"

    This reverts commit 7313930c22b9f18d67e630de084ffcc6fad5ebe7.

    Seeing errors when trying to create the keystone admin
    role with packages. (ImportError: No module named os_client_config)

    Change-Id: I78796598ccb8d2ffd6bfca85dce7d18dc0fd768e
    Related-bug: #1450786

Dan Prince (dan-prince)
Changed in tripleo:
status: Triaged → Fix Committed
Jay Dobies (jdob)
Changed in tripleo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.