Bug 1312487

Summary: Packstack with Swift Glance backend does not seem to work
Product: [Community] RDO Reporter: David Moreau Simard <dmsimard>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED UPSTREAM QA Contact: Shai Revivo <srevivo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: trunkCC: aortega, apevec, chris.brown, derekh, dmsimard, jpena, mmagr, 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:10:52 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:

Description David Moreau Simard 2016-02-26 21:03:44 UTC
When doing integration testing of Packstack in the upstream OpenStack gate, we see that the Swift backend for Glance does not seem to work properly.

The Packstack command used to yield this result:
sudo packstack --allinone \
          --debug \
          --default-password="packstack" \
          --os-aodh-install=n \
          --os-ceilometer-install=n \
          --os-gnocchi-install=n \
          --os-cinder-install=n \
          --os-horizon-install=n \
          --nagios-install=n \
          --glance-backend=swift \
          --os-sahara-install=y \
          --os-trove-install=y \
          --provision-demo=y \
          --provision-tempest=y \
          --run-tempest=y \
          --run-tempest-tests="smoke"

We can see the error here:
http://logs.openstack.org/16/285516/2/check/gate-packstack-integration-scenario002-tempest-dsvm-centos7/6b876ba/logs/messages.txt.gz#_Feb_26_20_42_30
===
Feb 26 20:42:30 localhost glance-api: ERROR: Store for scheme swift not found
===

glance-api fails to start because of that error and since it is not running, puppet gets errors when trying to upload an image to glance:
http://logs.openstack.org/16/285516/2/check/gate-packstack-integration-scenario002-tempest-dsvm-centos7/6b876ba/logs/latest/manifests/127.0.0.1_provision_glance.log.txt.gz
====
Debug: Executing '/usr/bin/openstack image create --format shell cirros --public --container-format=bare --disk-format=qcow2 --copy-from=http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img'
Debug: Puppet::Type::Glance_image::ProviderOpenstack: Non-fatal error: 'Execution of '/usr/bin/openstack image create --format shell cirros --public --container-format=bare --disk-format=qcow2 --copy-from=http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img' returned 1: Error finding address for http://127.0.0.1:9292/v1/images: ('Connection aborted.', error(111, 'Connection refused'))'. Retrying for 58 more seconds
Error: Execution of '/usr/bin/openstack image create --format shell cirros --public --container-format=bare --disk-format=qcow2 --copy-from=http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img' returned 1: Error finding address for http://127.0.0.1:9292/v1/images: ('Connection aborted.', error(111, 'Connection refused'))
====

Full logs are available here:
http://logs.openstack.org/16/285516/2/check/gate-packstack-integration-scenario002-tempest-dsvm-centos7/6b876ba/logs/

Comment 2 Christopher Brown 2017-06-17 19:06:34 UTC
I'm pretty sure this is no longer an issue. Can the reporter please confirm?