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

Bug 1232198

Summary: [automation] backup_swift_url is not being set properly
Product: Red Hat OpenStack Reporter: Arx Cruz <acruz>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED ERRATA QA Contact: Arx Cruz <acruz>
Severity: high Docs Contact:
Priority: high    
Version: 7.0 (Kilo)CC: aortega, jschluet, lbezdick, mpavlase, scohen, tkammer, yeylon
Target Milestone: gaKeywords: Automation
Target Release: 7.0 (Kilo)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-packstack-2015.1-0.4.dev1577.gc9f8c3c.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-05 13:27:08 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
Packstack answer file none

Description Arx Cruz 2015-06-16 09:30:36 UTC
Created attachment 1039347 [details]
Packstack answer file

Description of problem:
The packstack installer is not setting the backup_swift_url option in /etc/cinder/cinder.conf properly. The falue there, after packstack finish to install is  backup_swift_url=http://:8080/v1/AUTH_ making the following tempest tests to fail:

* tempest.api.volume.admin.test_volumes_backup.VolumesBackupsV1Test.test_volume_backup_create_get_detailed_list_restore_delete 

* tempest.api.volume.admin.test_volumes_backup.VolumesBackupsV2Test.test_volume_backup_create_get_detailed_list_restore_delete 


Version-Release number of selected component (if applicable):

openstack-packstack-puppet-2015.1-0.3.dev1565.gd1211af.el7ost.noarch
openstack-packstack-2015.1-0.3.dev1565.gd1211af.el7ost.noarch


How reproducible:
Every time



Steps to Reproduce:
1. Run packstack with the answer file attached
2. Run tempest

Actual results:
Tempest fails in create volume backup

Expected results:
Tempest pass when testing volume backup

Additional info:
Editing the /etc/cinder/cinder.conf and set the backup_swift_url properly and restarting the service with openstack-service restart cinder fix the problem

Comment 4 Jon Schlueter 2015-06-23 12:37:05 UTC
moving to modified with nvr since patch fix was accepted upstream and is in brew to be added to errata

Comment 7 errata-xmlrpc 2015-08-05 13:27:08 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.

https://access.redhat.com/errata/RHEA-2015:1548