cinder doesn't clear conf file between runs

Bug #1405301 reported by Andrew Lazarev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
yalei wang

Bug Description

Steps to repro:
1. set "USE_SSL=True" in local.conf
2. run "stack.sh"
3. run "unstack.sh"
4. set "USE_SSL=False" in local.conf
5. run "stack.sh"

Observed result:
2014-12-23 11:27:24.759 TRACE cinder RuntimeError: Unable to find cert_file : /opt/stack/data/CA/int-ca/devstack-cert.crt

Other scenario:
1. add "enable_service tls-proxy" to local.conf
2. run "stack.sh"
3. run "unstack.sh"
4. remove "enable_service tls-proxy" from local.conf
5. run "stack.sh"

Observed result:
devstack hangs on "cinder type-create lvmdriver-1" command because cinder listens on wrong port

description: updated
krishna (leburu-reddy)
Changed in devstack:
assignee: nobody → krishna (leburu-reddy)
krishna (leburu-reddy)
Changed in devstack:
assignee: krishna (leburu-reddy) → nobody
yalei wang (yalei-wang)
Changed in devstack:
assignee: nobody → yalei wang (yalei-wang)
yalei wang (yalei-wang)
Changed in devstack:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

Fix proposed to branch: master
Review: https://review.openstack.org/144953

Changed in devstack:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/144953
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=cecbd1ff6fa56052018422e4892b9f58239d12b3
Submitter: Jenkins
Branch: master

commit cecbd1ff6fa56052018422e4892b9f58239d12b3
Author: Yalei Wang <email address hidden>
Date: Mon Jan 5 17:05:47 2015 +0800

    delete cinder configuration file before config it

    Some misleading configuration item will remain if we don't delete the cinder
    conf everytime before we configure it.

    Change-Id: Iab6a5d7bc5fdcb05b28d24b0419c0bf380a140c1
    Closes-bug: #1405301

Changed in devstack:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.