Bug 1518264 - activation should default to --bluestore if no objectstore is defined
Summary: activation should default to --bluestore if no objectstore is defined
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Volume
Version: 3.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: 3.*
Assignee: Alfredo Deza
QA Contact: shylesh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-28 14:07 UTC by Alfredo Deza
Modified: 2018-11-14 20:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-14 20:36:20 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 19213 0 None None None 2017-11-28 14:46:09 UTC

Description Alfredo Deza 2017-11-28 14:07:36 UTC
Description of problem: Activation stops silently if --filestore or --bluestore is not explicitly used


How reproducible: Always


Steps to Reproduce:
1. ceph-volume lvm activate $ID $FSID

Actual results: No output, exit status code of 0


Expected results: Activation succeeds like when using --bluestore


Additional info: This is basically because this piece of code:

        if args.bluestore is None and args.filestore is None:
            args.bluestore = True

Should be checking for false-ish values, not None. `args.bluestore` is False, as well as args.filestore


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