Bug 1312487 - Packstack with Swift Glance backend does not seem to work
Summary: Packstack with Swift Glance backend does not seem to work
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: RDO
Classification: Community
Component: openstack-packstack
Version: trunk
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: trunk
Assignee: Martin Magr
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-26 21:03 UTC by David Moreau Simard
Modified: 2017-06-18 06:11 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-18 06:10:52 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 286521 0 None None None 2016-03-01 11:53:37 UTC

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?


Note You need to log in before you can comment on or make changes to this bug.