Bug 1297535
Summary: | Undercloud installation fails ::aodh::keystone::auth not found for instack | ||
---|---|---|---|
Product: | [Community] RDO | Reporter: | Dan Sneddon <dsneddon> |
Component: | openstack-puppet-modules | Assignee: | Emilien Macchi <emacchi> |
Status: | CLOSED WORKSFORME | QA Contact: | Shai Revivo <srevivo> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | trunk | CC: | apevec, dsneddon, emacchi, hbrock, jguiditt, jslagle, mburns, rhel-osp-director-maint, srevivo, supadhya |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-01-31 18:29:05 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: |
Description
Dan Sneddon
2016-01-11 19:21:21 UTC
Moving to RDO (In reply to Dan Sneddon from comment #0) > Description of problem: > When running "openstack undercloud install" on the latest RDO trunk, I get > the error: > > Error: Could not find class ::aodh::keystone::auth for instack on node > instack > > Version-Release number of selected component (if applicable): > RDO Trunk > instack-undercloud.noarch 3.0.1-dev35.el7.centos @delorean-current > > > Steps to Reproduce: > 1. Install Delorean current repos > 2. openstack underloud install > 3. > > Actual results: > > [2016/01/11 04:12:38 PM] [INFO] adding bridge: br-ctlplane > [2016/01/11 04:12:38 PM] [INFO] adding interface: eth1 > [2016/01/11 04:12:38 PM] [INFO] applying network configs... > + RETVAL=0 > + [[ 0 == 2 ]] > + [[ 0 != 0 ]] > + configure_safe_defaults > + [[ 0 == 0 ]] > + return 0 > dib-run-parts Mon Jan 11 16:12:38 UTC 2016 20-os-net-config completed > dib-run-parts Mon Jan 11 16:12:38 UTC 2016 Running > /usr/libexec/os-refresh-config/configure.d/40-hiera-datafiles > [2016/01/11 04:12:38 PM] [WARNING] DEPRECATED: falling back to > /var/run/os-collect-config/os_config_files.json > dib-run-parts Mon Jan 11 16:12:38 UTC 2016 40-hiera-datafiles completed > dib-run-parts Mon Jan 11 16:12:38 UTC 2016 Running > /usr/libexec/os-refresh-config/configure.d/50-puppet-stack-config > + set -o pipefail > + set +e > + puppet apply --detailed-exitcodes > /etc/puppet/manifests/puppet-stack-config.pp > Warning: Scope(Class[Keystone]): Keystone under Eventlet has been deprecated > during the Kilo cycle. Support for deploying under eventlet will be dropped > as of the M-release of OpenStack. > Error: Could not find class ::aodh::keystone::auth for instack on node > instack > Error: Could not find class ::aodh::keystone::auth for instack on node > instack > + rc=1 > + set -e > + echo 'puppet apply exited with exit code 1' > puppet apply exited with exit code 1 > > > Expected results: > > Undercloud should complete installation > > Additional info: > This patch may be what we need to fix this issue: > https://github.com/redhat-openstack/rdoinfo/pull/132 Dan, can you tell us what version of openstack-puppet-modules rpm you have? If it is 7.0.0.dev.something, then it is almost sure related to delorean not building opm because the mentioned patch was not yet merged to rdoinfo. For whatever reason, I had to reinstall to pick up the changes, but it works for me now. Thanks. Correction, I spoke too soon. I was thinking this error was during instack-virt-setup, but it was during "openstack undercloud install" that I ran into the error again. Could it be because I'm using CentOS? Should I try it again on RHEL? Please provide OPM RPM version as requested by Jason. Interestingly, openstack-puppet-modules was not installed. I follwed the tripleo-docs instructions, so either some step is missing, or it isn't getting installed as a dependency. This version shows as available: openstack-puppet-modules.noarch 1:8.0.0a0-6.gfa42243.el7.centos I ran "sudo yum install -y openstack-puppet-modules", then reran "openstack undercloud install". I get the same results. dib-run-parts Wed Jan 13 19:25:28 UTC 2016 20-os-net-config completed dib-run-parts Wed Jan 13 19:25:28 UTC 2016 Running /usr/libexec/os-refresh-config/configure.d/40-hiera-datafiles [2016/01/13 07:25:28 PM] [WARNING] DEPRECATED: falling back to /var/run/os-collect-config/os_config_files.json dib-run-parts Wed Jan 13 19:25:28 UTC 2016 40-hiera-datafiles completed dib-run-parts Wed Jan 13 19:25:28 UTC 2016 Running /usr/libexec/os-refresh-config/configure.d/50-puppet-stack-config + set -o pipefail + set +e + puppet apply --detailed-exitcodes /etc/puppet/manifests/puppet-stack-config.pp Warning: Scope(Class[Keystone]): Keystone under Eventlet has been deprecated during the Kilo cycle. Support for deploying under eventlet will be dropped as of the M-release of OpenStack. Error: Could not find class ::aodh::keystone::auth for instack on node instack I am hitting the same issue.. I have gone as per documentation 1. selected puppet modules from source - export DIB_INSTALLTYPE_puppet_modules=source 2. ran openstack undercloud install - Error - + puppet apply --detailed-exitcodes /etc/puppet/manifests/puppet-stack-config.pp Warning: Scope(Class[Swift]): swift_hash_suffix has been deprecated and should be replaced with swift_hash_path_suffix, this will be removed as part of the N-cycle Warning: Scope(Class[Nova::Keystone::Auth]): Note that service_name parameter default value will be changed to "Compute Service" (according to Keystone default catalog) in a future release. In case you use different value, please update your manifests accordingly. Warning: Scope(Class[Nova::Keystone::Auth]): Note that service_name_v3 parameter default value will be changed to "Compute Service v3" (according to Keystone default catalog) in a future release. In case you use different value, please update your manifests accordingly. Error: Could not find class ::aodh::keystone::auth for instack on node instack Error: Could not find class ::aodh::keystone::auth for instack on node instack + rc=1 + set -e + echo 'puppet apply exited with exit code 1' puppet apply exited with exit code 1 + '[' 1 '!=' 2 -a 1 '!=' 0 ']' + exit 1 [2016-03-26 18:15:34,276] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/configure.d']' returned non-zero exit status 1] [2016-03-26 18:15:34,276] (os-refresh-config) [ERROR] Aborting... Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 829, in install _run_orc(instack_env) File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 719, in _run_orc _run_live_command(args, instack_env, 'os-refresh-config') File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 401, in _run_live_command raise RuntimeError('%s failed. See log for details.' % name) RuntimeError: os-refresh-config failed. See log for details. Command 'instack-install-undercloud' returned non-zero exit status 1 I think this bug has been fixed in OSP9. Closing it. |