manila default share type not working

Bug #2031528 reported by Xing Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
In Progress
Medium
Xing Zhang
Antelope
Confirmed
Medium
Unassigned
Bobcat
In Progress
Medium
Xing Zhang
Wallaby
Won't Fix
Medium
Unassigned
Xena
Confirmed
Medium
Unassigned
Yoga
Confirmed
Medium
Unassigned
Zed
Confirmed
Medium
Unassigned

Bug Description

**Bug Report**

What happened:
manila default share type is configured in manila-share:
[DEFAULT]
default_share_type = default_share_type

manila type-list
+--------------------------------------+--------+------------+------------+--------------------------------------+-------------------------------------------+-------------+
| ID | Name | visibility | is_default | required_extra_specs | optional_extra_specs | Description |
+--------------------------------------+--------+------------+------------+--------------------------------------+-------------------------------------------+-------------+
| c06dc973-3527-4e91-a874-de1b906c9633 | default_share_type | public | - | driver_handles_share_servers : False | share_backend_name : CEPHFS1 | None |
| | | | | | vendor_name : Ceph | |
| | | | | | create_share_from_snapshot_support : True | |
| | | | | | mount_snapshot_support : False | |
| | | | | | storage_protocol : CEPHFS | |
| | | | | | snapshot_support : True | |
| | | | | | revert_to_snapshot_support : False | |
+--------------------------------------+--------+------------+------------+--------------------------------------+-------------------------------------------+-------------+

is_default returns "-"

What you expected to happen:
mainila type-list
+--------------------------------------+--------+------------+------------+--------------------------------------+-------------------------------------------+-------------+
| ID | Name | visibility | is_default | required_extra_specs | optional_extra_specs | Description |
+--------------------------------------+--------+------------+------------+--------------------------------------+-------------------------------------------+-------------+
| c06dc973-3527-4e91-a874-de1b906c9633 | default_share_type | public | YES | driver_handles_share_servers : False | share_backend_name : CEPHFS1 | None |
| | | | | | vendor_name : Ceph | |
| | | | | | create_share_from_snapshot_support : True | |
| | | | | | mount_snapshot_support : False | |
| | | | | | storage_protocol : CEPHFS | |
| | | | | | snapshot_support : True | |
| | | | | | revert_to_snapshot_support : False | |
+--------------------------------------+--------+------------+------------+--------------------------------------+-------------------------------------------+-------------+

How to reproduce it (minimal and precise):

**Environment**:
* Kolla-Ansible version (e.g. `git head or tag or stable branch` or pip package version if using release): from stable/wallaby to master

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)
Changed in kolla-ansible:
status: New → In Progress
Xing Zhang (xingzhang)
Changed in kolla-ansible:
assignee: nobody → Xing Zhang (xingzhang)
Changed in kolla-ansible:
importance: Undecided → Medium
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.