Bug 1497946

Summary: after upgrade from cns 3.5 to 3.6, volume creation fails
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: krishnaram Karthick <kramdoss>
Component: CNS-deploymentAssignee: Michael Adam <madam>
Status: CLOSED ERRATA QA Contact: krishnaram Karthick <kramdoss>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: cns-3.6CC: akhakhar, annair, asriram, asrivast, hchiramm, jarrpa, madam, mliyazud, mzywusko, pprakash, rhs-bugs, rreddy, rtalur, sarumuga, sselvan
Target Milestone: ---Keywords: Regression
Target Release: CNS 3.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: heketi-5.0.0-16.el7rhgs Doc Type: Bug Fix
Doc Text:
On upgrading heketi, creation of file and block volumes got disabled on existing clusters. With this fix, heketi does not disable file and block volume creation.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-11 07:09:46 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:
Bug Depends On:    
Bug Blocks: 1445448    
Attachments:
Description Flags
heketi logs none

Description krishnaram Karthick 2017-10-03 08:06:15 UTC
Description of problem:
After upgrading from cns 3.5 to 3.6 following the steps outlined in [1], new volume creation fails.

heketi-cli volume create --size=1
Error: No space

[heketi] INFO 2017/10/03 08:01:14 Creating volume 3c70fa03cac988ec7c55bd8cf632679a
[heketi] ERROR 2017/10/03 08:01:14 /src/github.com/heketi/heketi/apps/glusterfs/volume_entry.go:290: Volume being ask to be created, but there are no clusters configured
[negroni] Started GET /queue/2cc3e5a3f570f92bf1e9aed73f531ccd
[negroni] Completed 200 OK in 47.91µs
[asynchttp] INFO 2017/10/03 08:01:14 asynchttp.go:129: Completed job 2cc3e5a3f570f92bf1e9aed73f531ccd in 115.386862ms
[heketi] ERROR 2017/10/03 08:01:14 /src/github.com/heketi/heketi/apps/glusterfs/app_volume.go:149: Failed to create volume: No space
[negroni] Started GET /queue/2cc3e5a3f570f92bf1e9aed73f531ccd
[negroni] Completed 500 Internal Server Error in 89.654µs

heketi-cli cluster list
Clusters:
Id:83767272f27df11472bb41f0318ba7a5 []

file and block access for the cluster seems to be missing from the above output. 

[1] - https://access.qa.redhat.com/documentation/en-us/red_hat_gluster_storage/3.3/html-single/container-native_storage_for_openshift_container_platform/#idm140661927080880

Version-Release number of selected component (if applicable):
cns-deploy-5.0.0-52.el7rhgs.x86_64

How reproducible:
1/1

Steps to Reproduce:
1. upgrade cns 3.5 to 3.6
2. provision volumes after the upgrade

Comment 4 krishnaram Karthick 2017-10-03 08:10:15 UTC
Created attachment 1333545 [details]
heketi logs

Comment 11 Raghavendra Talur 2017-10-05 09:27:11 UTC
doc text looks good to me

Comment 12 krishnaram Karthick 2017-10-09 06:47:00 UTC
Verified the bug in build - cns-deploy-5.0.0-54.el7rhgs.x86_64

Fresh volume creation works and block volume creation is successful after the upgrade.

Moving the bug to verified.

Comment 13 errata-xmlrpc 2017-10-11 07:09:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:2879