Bug 1537471

Summary: [CINDER] default_volume_type is not set
Product: Red Hat OpenStack Reporter: Yurii Prokulevych <yprokule>
Component: openstack-cinderAssignee: Eric Harney <eharney>
Status: CLOSED DUPLICATE QA Contact: Avi Avraham <aavraham>
Severity: medium Docs Contact: Kim Nylander <knylande>
Priority: medium    
Version: 11.0 (Ocata)CC: abishop, augol, cschwede, eharney, geguileo, mburns, mcornea, rhel-osp-director-maint, srevivo, ssbarnea, thiago
Target Milestone: Upstream M1Keywords: Reopened, Triaged, ZStream
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-09 14:50:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yurii Prokulevych 2018-01-23 09:43:38 UTC
Description of problem:
-----------------------
default_volume_type for cinder is not set. And based on description from /etc/puppet/modules/cinder/manifests/api.pp:
 (optional) default volume type to use.
 This should contain the name of the default volume type to use.
 If not configured, it produces an error when creating a volume without specifying a type

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
puppet-cinder-10.3.1-1.el7ost.noarch
openstack-tripleo-heat-templates-6.2.1-2.el7ost.noarch


How reproducible:
-----------------
100%


Steps to Reproduce:
1. Deploy RHOS-11, e.g:
openstack overcloud deploy --templates /usr/share/openstack-tripleo-heat-templates \
  --stack overcloud \
  -r /home/stack/composable_roles/roles/roles_data.yaml \
  -e /home/stack/composable_roles/roles/nodes.yaml \
  -e /home/stack/composable_roles/roles/network-config.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/storage-environment.yaml \
-e /home/stack/composable_roles/internal.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /home/stack/composable_roles/network/network-environment.yaml \
-e /home/stack/composable_roles/enable-tls.yaml \
-e /home/stack/composable_roles/inject-trust-anchor.yaml \
-e /home/stack/composable_roles/public_vip.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/tls-endpoints-public-ip.yaml \
-e /home/stack/composable_roles/debug.yaml \
-e /home/stack/composable_roles/nova-disable-versioned-notifications.yaml

2. Check default_volume_type value in cinder.conf on controller


Actual results:
---------------
default_volume_type is not configured

Expected results:
-----------------
default_volume_type is configured

Additional info:
----------------
Virtual setup: 3controllers + 2computes + 3ceph

Comment 1 Christian Schwede (cschwede) 2018-01-24 14:20:23 UTC

*** This bug has been marked as a duplicate of bug 1477606 ***

Comment 3 Alan Bishop 2018-03-06 22:19:49 UTC
I've been speaking with others on the cinder team about this.