Unable to enable swift on ceph backend

Bug #1796912 reported by Maria Yousaf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Jack Ding

Bug Description

Brief Description
-----------------
Swift cannot be enabled on the ceph backend

Severity
--------
Major

Steps to Reproduce
------------------
- Run system storage-backend-modify -s cinder,swift,nova,glance ceph-store
- The following error is returned: Swift is already enabled through service parameter
- Looking at system service-parameter-list, swift is set to false

Expected Behavior
------------------
Swift should be added in the ceph backend

Actual Behavior
----------------
Swift provisioning is rejected

Reproducibility
---------------
100%

System Configuration
--------------------
Storage

Branch/Pull Time/Commit
-----------------------
StarlingX master as of 2018-10-01_20-18-00

Revision history for this message
Ghada Khalil (gkhalil) wrote :

stx.2018.10 - issue introduced recently by code changes for: https://storyboard.openstack.org/#!/story/2003518

Changed in starlingx:
assignee: nobody → Jack Ding (jackding)
importance: Undecided → High
status: New → Triaged
tags: added: stx.2018.10 stx.distro.openstack
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to stx-config (master)

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

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

Reviewed: https://review.openstack.org/609505
Committed: https://git.openstack.org/cgit/openstack/stx-config/commit/?id=76724fe4d2bfac2233f4a92aaa0a8a28a6b74d1e
Submitter: Zuul
Branch: master

commit 76724fe4d2bfac2233f4a92aaa0a8a28a6b74d1e
Author: Jack Ding <email address hidden>
Date: Wed Oct 10 13:39:36 2018 -0400

    Correct checking of swift_enabled service param

    The checking of swift_enabled service parameter should be against value
    instead of against object. The incorrect checking produced false
    positive, as a result Ceph-backed Swift could not be activated.

    Closes-Bug: 1796912
    Change-Id: I712221f882437f92f1f08e22d5db2265258ccc9e
    Signed-off-by: Jack Ding <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to stx-config (r/2018.10)

Fix proposed to branch: r/2018.10
Review: https://review.openstack.org/609770

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stx-config (r/2018.10)

Reviewed: https://review.openstack.org/609770
Committed: https://git.openstack.org/cgit/openstack/stx-config/commit/?id=c01e701cbf51ba1ceb3967bc0886a72b7d894065
Submitter: Zuul
Branch: r/2018.10

commit c01e701cbf51ba1ceb3967bc0886a72b7d894065
Author: Jack Ding <email address hidden>
Date: Wed Oct 10 13:39:36 2018 -0400

    Correct checking of swift_enabled service param

    The checking of swift_enabled service parameter should be against value
    instead of against object. The incorrect checking produced false
    positive, as a result Ceph-backed Swift could not be activated.

    Closes-Bug: 1796912
    Change-Id: I712221f882437f92f1f08e22d5db2265258ccc9e
    Signed-off-by: Jack Ding <email address hidden>

Ken Young (kenyis)
tags: added: stx.1.0
removed: stx.2018.10
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.