Bug 1844797

Summary: Can't extend a managed block disk
Product: [oVirt] ovirt-engine Reporter: shani <sleviim>
Component: BLL.StorageAssignee: shani <sleviim>
Status: CLOSED CURRENTRELEASE QA Contact: Shir Fishbain <sfishbai>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4.1.2CC: bugs, eshenitz, sfishbai, tnisan
Target Milestone: ovirt-4.4.1Flags: pm-rhel: ovirt-4.4+
Target Release: 4.4.1.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.4.1.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-08 08:25:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine.log none

Description shani 2020-06-07 09:08:41 UTC
Created attachment 1695785 [details]
engine.log

Description of problem:
While trying to extend a managed block disk, the operation fails due to an "ERROR: null value in column "entity_id" violates not-null constraint" error, and the disk remains lock.

Version-Release number of selected component (if applicable):
master-ovirt-engine-4.4.1.2-git6889dcbbad3

How reproducible:
100%

Steps to Reproduce:
1. Try to extend a managed block disk

Actual results:
The operation fails due to an "ERROR: null value in column "entity_id" violates not-null constraint" error.

Expected results:
Operation should work

Additional info:
engine.log

Comment 1 Shir Fishbain 2020-06-30 22:00:38 UTC
Verified, succeded to extend MBD disk (storage domain with Ceph driver)

from cinderlib.log:
2020-07-01 00:49:01,495 - cinderlib-client - INFO - Creating volume 'a4c110df-5030-4496-993c-882337fddaa1', with size '2' GB [31e72547-6b87-4177-9764-22bc9e2d954a]
2020-07-01 00:52:28,780 - cinder.volume.driver - INFO - Driver hasn't implemented _init_vendor_properties()
2020-07-01 00:52:28,876 - cinderlib-client - INFO - Extending volume 'a4c110df-5030-4496-993c-882337fddaa1' by 3 GB [2b6f93a5-ffb9-4cf5-9a57-4abbf0ebf501]

Versions:
 RHV build name: rhv-4.4.1-5
ovirt-engine-4.4.1.5-0.17.el8ev.noarch
openstack-cinder-15.1.1-0.20200528033427.adecc81.el8ost.noarch

Comment 2 Sandro Bonazzola 2020-07-08 08:25:35 UTC
This bugzilla is included in oVirt 4.4.1 release, published on July 8th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.1 release, it has been closed with a resolution of CURRENT RELEASE.

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