Bug 1293693
Summary: | Keystone setup fails on missing required parameter | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] RDO | Reporter: | David Moreau Simard <dmsimard> | ||||
Component: | openstack-packstack | Assignee: | Martin Magr <mmagr> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Shai Revivo <srevivo> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | trunk | CC: | aortega, apevec, chris.brown, derekh, dmsimard, ichavero, jpena, srevivo | ||||
Target Milestone: | --- | ||||||
Target Release: | trunk | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-06-18 06:11:51 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
David Moreau Simard
2015-12-22 17:37:25 UTC
I have been able to trace the issue back to commit https://github.com/openstack/os-client-config/commit/22d740b7007e1182c99370cb2629322384b17a14 to os-client-config. This patch is forcing auth_type to be "token" anytime a token is used in the openstack client command line, as is the case when the puppet-keystone module is executed. The openstack client should be using "token_endpoint" authentication, so it fails, causing the whole Packstack execution to fail. Upstream bug https://bugs.launchpad.net/os-client-config/+bug/1484373 is tracking this issue. I have proposed https://review.openstack.org/260945 as a potential fix to os-client-config. I'm not sure if it is the best approach, let's wait for the upstream review. Did something change ? The same job that was failing yesterday with this bug now passes without problems. Failed: https://ci.centos.org/job/trown-poc-packstack-promote-rdo-mitaka/7/console Passed: https://ci.centos.org/job/trown-poc-packstack-promote-rdo-mitaka/8/console False alarm, the job that passed used a older repository somehow (from dec 21st) I think this bug came back in a similar form https://ci.centos.org/job/weirdo-gate-ansible-puppet-openstack-scenario002/71/consoleFull === 23:05:15 Error: /Stage[main]/Heat::Keystone::Domain/Keystone_user[heat_admin::heat]: Could not evaluate: Execution of '/usr/bin/openstack token issue --format value' returned 1: Missing parameter(s): 23:05:15 Set a scope, such as a project or domain, set a project scope with --os-project-name, OS_PROJECT_NAME or auth.project_name, set a domain scope with --os-domain-name, OS_DOMAIN_NAME or auth.domain_name === Introduced by https://github.com/openstack/os-client-config/commit/a8532f6c8d221628b697ddb0d134e2a000ef61d6 ? Please ignore comment #5, this is a puppet-heat/puppet-keystone/openstackclient issue with related bugs: - https://bugs.launchpad.net/puppet-keystone/+bug/1535384 - https://bugs.launchpad.net/python-openstackclient/+bug/1535449 Hmm, I think this can be closed now David? |