Bug 1249344

Summary: Can't create disk within cinder volume provider
Product: [Retired] oVirt Reporter: Alexey Vyrodov <vyrodov.alexey>
Component: ovirt-engine-webadminAssignee: Daniel Erez <derez>
Status: CLOSED NOTABUG QA Contact: Ori Gofen <ogofen>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6CC: acanan, amureini, bugs, ecohen, gklein, lsurette, mgoldboi, rbalakri, vyrodov.alexey, yeylon, ylavi
Target Milestone: m1   
Target Release: 3.6.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: 3.6.0-10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-25 11:12:19 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
PrintScreen
none
EngineLog none

Description Alexey Vyrodov 2015-08-01 20:56:02 UTC
Description of problem:


I installed ovirt 3.6 master-snapshot and Openstack Juno (KeyStone, Glance and Cinder) with Ceph rbd support.
I connected to cinder volume provider in ovirt admin portal. But i can't create disk within cinder volume provider from ovirt admin portal. I can only create volume in cinder directly and then registred one in Ovirt admin portal. VM works fine. 
Function cloning of VM with disks on cinder volume provider also doesn't worked.

Comment 1 Daniel Erez 2015-08-02 15:20:52 UTC
Hi Alexey,

* Can you please attach the relevant engine and vdsm logs?

* Which error do you get when trying to create a disk?

* Are you trying to create a disk from 'VMs -> Disks' sub-tab or from Disks main-tab?

Comment 2 Alexey Vyrodov 2015-08-02 21:41:48 UTC
Created attachment 1058607 [details]
PrintScreen

Hi Daniel,
From any tabs. 
There is no error. I can't choose volume type. Without volume type disk can not be created. See PrintScreen.
oVirt Engine Version: 3.6.0-0.0.master.20150721112911.gite6eee13.el7.centos

Comment 3 Alexey Vyrodov 2015-08-02 21:44:50 UTC
Created attachment 1058608 [details]
EngineLog

Comment 4 Daniel Erez 2015-08-03 06:38:14 UTC
(In reply to Alexey Vyrodov from comment #2)
> Created attachment 1058607 [details]
> PrintScreen
> 
> Hi Daniel,
> From any tabs. 
> There is no error. I can't choose volume type. Without volume type disk can
> not be created. See PrintScreen.
> oVirt Engine Version: 3.6.0-0.0.master.20150721112911.gite6eee13.el7.centos

You need to create a volume type first and associate it with a ceph backend. 
E.g. from horizon: 
* Admin -> Volumes -> Volume Types -> Create Volume Type
* On the new Volume Type -> View Extra Specs -> Create Key/Value -> volume_backend_name/ceph

Comment 5 Daniel Erez 2015-08-17 08:53:17 UTC
Added a tool-tip next to 'Volume Type' select-box in case of an empty list (for explaining that 'Volume Types' should be manually created and configured in Cinder).