Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1114035

Summary: Rubygem-Staypuft: Deploying Nova controller gets stuck on 60% with pupper error for glance.
Product: Red Hat OpenStack Reporter: Alexander Chuzhoy <sasha>
Component: openstack-foreman-installerAssignee: Scott Seago <sseago>
Status: CLOSED ERRATA QA Contact: Omri Hochman <ohochman>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.0 (RHEL 6)CC: asimonel, hbrock, mburns, morazi, ohochman, rhos-maint, sclewis, sseago, yeylon
Target Milestone: ga   
Target Release: 5.0 (RHEL 7)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ruby193-rubygem-staypuft-0.1.5.1-1.el6ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-04 18:35:17 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 Flags
/var/log/messages file from the controller. none

Description Alexander Chuzhoy 2014-06-27 13:57:37 UTC
Rubygem-Staypuft: Deploying Nova controller gets stuck on 60% with pupper error for glance.

Environment:
rhel-osp-installer-0.0.25-5.el6ost.noarch
ruby193-rubygem-staypuft-0.1.5-1.el6ost.noarch
openstack-puppet-modules-2014.1-18.el6ost.noarch
openstack-foreman-installer-2.0.10-2.el6ost.noarch
ruby193-rubygem-foreman_openstack_simplify-0.0.6-7.el6ost.noarch


Hot to reproduce:
1, Create a deployment with 2 hosts: Nova(Controller) + Nova(Compute).
2. Start the deployment.

Results:
The deployment gets stuck on deploying the controller. This error is reported by puppet:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Unsupported backend ${$quickstack::params::glance_backend} at /etc/puppet/environments/production/modules/openstack/manifests/glance.pp:148 on node 525400702875.lab.eng.rdu2.redhat.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run


Expected result:
Successfully completed deployment.

Comment 1 Alexander Chuzhoy 2014-06-27 14:19:23 UTC
Created attachment 912841 [details]
/var/log/messages file from the controller.

Comment 2 Crag Wolfe 2014-06-27 16:24:27 UTC
It looks like the parameter $glance_backend parameter in quickstack::nova_network::controller was not set correctly.  Is this settable from the Staypuft UI?  Otherwise, a line might need to be added to Staypuft's seeds.rb where this parameter is set to "file".

Comment 3 Alexander Chuzhoy 2014-06-27 16:48:04 UTC
This parameter wasn't set.
What to set it to in order to complete the deployment?

Resolving  https://bugzilla.redhat.com/show_bug.cgi?id=1112866 would help here.

Comment 4 Alexander Chuzhoy 2014-06-27 16:50:31 UTC
No option to set it in the staypuft GUI.

Comment 5 Crag Wolfe 2014-06-27 16:56:48 UTC
If you can override the parameter, the value for glance_backend should be "file".

Comment 6 Alexander Chuzhoy 2014-06-27 20:50:27 UTC
That didn't help. Got the same message upon running "puppet agent -t" on the controller.

As a workaround (just to have a completed deployment), commented out the 'fail("Unsupported backend ${backend}")' line in the /usr/share/openstack-puppet/modules/openstack/manifests/glance.pp file which resulted in deployment completed 100%.

Comment 7 Scott Seago 2014-07-01 02:26:26 UTC
I've added the new param with proper default value to the in-progress staypuft UI revamp (where we're re-implementing how we handle parameter defaults and value calculation)

Comment 8 Scott Seago 2014-07-08 16:37:20 UTC
Does this work now? The ui rewrite should have included the necessary fixes here.

Comment 9 Alexander Chuzhoy 2014-07-08 16:42:29 UTC
We're unable to edit params in the poodle (automation) build. Once this will work - we'll be able to check.

Comment 12 Alexander Chuzhoy 2014-07-21 17:19:40 UTC
Verified:rhel-osp-installer-0.1.1-1.el6ost.noarch

the reported issue doesn't reproduce.

Comment 14 errata-xmlrpc 2014-08-04 18:35:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-1003.html