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-installer | Assignee: | 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: |
|
||||||
Created attachment 912841 [details]
/var/log/messages file from the controller.
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". 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. No option to set it in the staypuft GUI. If you can override the parameter, the value for glance_backend should be "file". 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%.
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) Does this work now? The ui rewrite should have included the necessary fixes here. We're unable to edit params in the poodle (automation) build. Once this will work - we'll be able to check. Verified:rhel-osp-installer-0.1.1-1.el6ost.noarch the reported issue doesn't reproduce. 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 |
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.