Red Hat Bugzilla – Bug 1014735
packstack: default_store in glance-api.conf changes from swift to file when you re-run packstack
Last modified: 2013-11-15 07:21:56 EST
Created attachment 806551 [details]
packstack installtion log
Description of problem:
I have swift configured as glance backend.
when I run packstack again to make changes it changes the field default_store in glance-api.conf back to file and than the images I create are created locally instead of in swift storage servers.
the change I was trying to do is add more zones, replication and storage servers for swift.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install swift as an object server using packstack - give it 1 zone, 1 replication and 2 storage servers
2. configure swift as glance default_store.
3. change the fields in the answer file for swift to add more storage servers, more zones and more replication and re-run packstack
packstack is changing default_store value in glance-api.conf to file which means the images will be saved locally instead in swift (rendering the swift as backend mute)
we should not touch the default_store value in glance-api.conf
Please note that there is another problem in which we fail to expend swift using packstack so the install log I am adding is actually a failure log.
but the default_store has changed even with the failure.
*** This bug has been marked as a duplicate of bug 1012382 ***