
<span class=3D"GEMOY02DCID" id=3D"SubTabProviderGeneralView_formPanel_col0= _row1_value">OpenStack Volume</span></strong><br>Provider url: <a class=3D"=
<div>Hi<br></div><div><br></div><div>Can you help with below?<br>This is c= ommunity email and will be great if you can help this guy.<br></div><div><b= r></div><div>Aharon<br>---------- Forwarded message ----------<br>From: Log= an Kuhn <<a class=3D"linkification-ext" href=3D"mailto:logank@wolfram.co= m" title=3D"Linkification: mailto:logank@wolfram.com" target=3D"_blank">log= ank@wolfram.com</a>><br>Date: Tue, Aug 30, 2016 at 11:07 PM<br>Subject: = [ovirt-users] Unable to backend oVirt with Cinder<br>To: users <<a class= =3D"linkification-ext" href=3D"mailto:users@ovirt.org" title=3D"Linkificati= on: mailto:users@ovirt.org" target=3D"_blank">users@ovirt.org</a>><br></=
volume_driver =3D cinder.volume.drivers.rbd.RBDDriver<br>volume_backend_na= me =3D ceph<br>rbd_pool =3D ovirt-images<br>rbd_user =3D cinder<br>rbd_secr= et_uuid =3D <secret><br>rbd_ceph_conf =3D /etc/ceph/ceph.conf<br>rbd_= flatten_volume_from_snapshot =3D true<br>rbd_max_clone_depth =3D 5<br>rbd_s= tore_chunk_size =3D 4<br>rados_connect_timeout =3D -1<br>#glance_api_versio= n =3D 2<br></div><div><br></div><div>[database]<br>connection =3D postgresq= l://<a class=3D"linkification-ext" href=3D"http://user:pass@10.128.2.33/cin= der" title=3D"Linkification: http://user:pass@10.128.2.33/cinder" target=3D= "_blank">user:pass@10.128.2.33/cinder</a><br></div><div><br></div><div>[osl= o_concurrency]<br>lock_path =3D /var/lib/cinder/tmp<br></div><div><br></div= <div>[oslo_messaging_rabbit]<br>rabbit_host =3D localhost<br>rabbit_port = =3D 5672<br>rabbit_userid =3D user<br>rabbit_password =3D pass<br></div><di= v><br></div><div>Regards,<br>Logan<br></div><div><br></div><div>___________= ____________________________________<br>Users mailing list<br><a class=3D"l= inkification-ext" href=3D"mailto:Users@ovirt.org" title=3D"Linkification: m= ailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.org</a><br><a class=3D= "linkification-ext" href=3D"http://lists.ovirt.org/mailman/listinfo/users" =
------=_Part_78565955_853594013.1472641664749 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi Logen, I'll refer only to using authentication , because I had configured it previously. This means: /etc/cinder/cinder.conf should have: auth_strategy = keystone I'm using keystonerc file, example keystonerc_admin: ---------------------------------------------------------------------------- unset OS_SERVICE_TOKEN export OS_USERNAME=admin export OS_PASSWORD=password export OS_AUTH_URL=http://CINDER-HOST:5000/v2.0 export PS1='[\u@\h \W(keystone_admin)]\$ ' export OS_TENANT_NAME=admin export OS_REGION_NAME=RegionOne ---------------------------------------------------------------------------- This will be step by step as much as possible just to make sure nothing is missed (assuming Cinder and Ceph are configured correctly). Go to: External providers -> Add Fill in the fields: Name: Type: OpenStack Volume Provider url: http://CINDER_HOST:8776 Check "Requires Authentication" Fill in the information, this is an example: Username: admin Password: password Tenant name: admin Authentication URL: http://CINDER-HOST:5000/v2.0 Test should return "Test succeeded, managed to access provider." Now click Ok. Now lets configure additional information: Lower pane: Authentication Keys Click on: New Fill in UUID field with rbd_secret_uuid and value :which is the key (it's in /etc/ceph/ceph.client.USERNAME.keyring) Hope this helps.. Regards, Natalie ----- Original Message ----- From: "Aharon Canan" < acanan@redhat.com > To: "Natalie Gavrilov" < ngavrilo@redhat.com > Sent: Wednesday, August 31, 2016 8:53:22 AM Subject: Fwd: [ovirt-users] Unable to backend oVirt with Cinder Hi Can you help with below? This is community email and will be great if you can help this guy. Aharon ---------- Forwarded message ---------- From: Logan Kuhn < logank@wolfram.com > Date: Tue, Aug 30, 2016 at 11:07 PM Subject: [ovirt-users] Unable to backend oVirt with Cinder To: users < users@ovirt.org > I've got Cinder configured and pointed at Ceph for it's back end storage. I can run ceph commands on the cinder machine and cinder is configured for noauth and I've also tried it with Keystone for auth. I can run various cinder commands and it'll return as expected. When I configure it in oVirt it'll add the external provider fine, but when I go to create a disk it doesn't populate the volume type field, it's just empty. The corresponding command for cinder: cinder type-list and cinder type-show <name> returns fine and it is public. Ovirt and Cinder are on the same host so it isn't a firewall issue. Cinder config: [DEFAULT] rpc_backend = rabbit #auth_strategy = keystone auth_strategy = noauth enabled_backends = ceph #glance_api_servers = http://10.128.7.252:9292 #glance_api_version = 2 #[keystone_authtoken] #auth_uri = http://10.128.7.252:5000/v3 #auth_url = http://10.128.7.252:35357/v3 #auth_type = password #memcached_servers = localhost:11211 #project_domain_name = default #user_domain_name = default #project_name = services #username = user #password = pass [ceph] volume_driver = cinder.volume.drivers.rbd.RBDDriver volume_backend_name = ceph rbd_pool = ovirt-images rbd_user = cinder rbd_secret_uuid = <secret> rbd_ceph_conf = /etc/ceph/ceph.conf rbd_flatten_volume_from_snapshot = true rbd_max_clone_depth = 5 rbd_store_chunk_size = 4 rados_connect_timeout = -1 #glance_api_version = 2 [database] connection = postgresql:// user:pass@10.128.2.33/cinder [oslo_concurrency] lock_path = /var/lib/cinder/tmp [oslo_messaging_rabbit] rabbit_host = localhost rabbit_port = 5672 rabbit_userid = user rabbit_password = pass Regards, Logan _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ------=_Part_78565955_853594013.1472641664749 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: arial,helvetica,sans-serif; font-siz= e: 12pt; color: #000000"><div>Hi Logen,<br></div><div><br></div><div>I'll r= efer only to<strong> using authentication</strong>, because I had configure= d it previously. </div><div>This means: /etc/cinder/cinder.conf should have= : auth_strategy =3D keystone</div><div>I'm using keystonerc file, exa= mple keystonerc_admin:<br></div><div>--------------------------------------= --------------------------------------<br></div><div>unset OS_SERVICE_TOKEN= <br>export OS_USERNAME=3Dadmin<br>export OS_PASSWORD=3Dpassword<br>export O= S_AUTH_URL=3Dhttp://CINDER-HOST:5000/v2.0<br>export PS1=3D'[\u@\h \W(keysto= ne_admin)]\$ '<br><br>export OS_TENANT_NAME=3Dadmin<br>export OS_REGION_NAM= E=3DRegionOne<br>----------------------------------------------------------= ------------------<br></div><div><br></div><div>This will be step by step a= s much as possible just to make sure nothing is missed (assuming Cinder and= Ceph are configured correctly).<br></div><div><br></div><div>Go to: <br>Ex= ternal providers -> Add<br>Fill in the fields:<br>Name:<br>Type: <strong= linkification-ext" href=3D"http://ogofen-cinder.scl.lab.tlv.redhat.com:8776= " title=3D"Linkification: http://ogofen-cinder.scl.lab.tlv.redhat.com:8776"= target=3D"_blank">http://CINDER_HOST:8776</a><br>Check "Requires Authentic= ation" </div><div><br></div><div>Fill in the information, this is an exampl= e:<br></div><div>Username: admin<br>Password: password<br>Tenant name: admi= n<br>Authentication URL: <a class=3D"linkification-ext" href=3D"http://nata= lie-cinder.scl.lab.tlv.redhat.com:5000/v2.0" title=3D"Linkification: http:/= /natalie-cinder.scl.lab.tlv.redhat.com:5000/v2.0" target=3D"_blank">http://= CINDER-HOST:5000/v2.0</a><br></div><div><br></div><div>Test should return <= strong>"Test succeeded, managed to access provider."</strong> <br>Now click= Ok.<br></div><div><br></div><div><br></div><div><strong><span data-mce-sty= le=3D"text-decoration: underline;" style=3D"text-decoration: underline;">No= w lets configure additional information:</span></strong><br></div><div><br>= </div><div>Lower pane: <strong>Authentication Keys</strong><br>Click on: Ne= w<br>Fill in <strong>UUID</strong> field with rbd_secret_uuid <br>and <stro= ng>value</strong>:which is the key (it's in /etc/ceph/ceph.client.USERNAME.= keyring)<br></div><div><br></div><div><br>Hope this helps..<br></div><div><= br></div><div>Regards,<br></div><div>Natalie<br></div><div><br><hr id=3D"zw= chr"><br>From: "Aharon Canan" <<a class=3D"linkification-ext" href=3D"ma= ilto:acanan@redhat.com" title=3D"Linkification: mailto:acanan@redhat.com" t= arget=3D"_blank">acanan@redhat.com</a>><br>To: "Natalie Gavrilov" <<a= class=3D"linkification-ext" href=3D"mailto:ngavrilo@redhat.com" title=3D"L= inkification: mailto:ngavrilo@redhat.com" target=3D"_blank">ngavrilo@redhat= .com</a>><br>Sent: Wednesday, August 31, 2016 8:53:22 AM<br>Subject: Fwd= : [ovirt-users] Unable to backend oVirt with Cinder<br></div><div><br></div= div><div><br></div><div><br>I've got Cinder configured and pointed at Ceph = for it's back end storage.<br>I can run ceph commands on the cinder machine= and cinder is configured for<br>noauth and I've also tried it with Keyston= e for auth. I can run various<br>cinder commands and it'll return as = expected.<br></div><div><br></div><div>When I configure it in oVirt it'll a= dd the external provider fine, but when<br>I go to create a disk it doesn't= populate the volume type field, it's just<br>empty. The correspondin= g command for cinder: cinder type-list and cinder<br>type-show <name>= returns fine and it is public.<br></div><div><br></div><div>Ovirt and Cind= er are on the same host so it isn't a firewall issue.<br></div><div><br></d= iv><div>Cinder config:<br>[DEFAULT]<br>rpc_backend =3D rabbit<br>#auth_stra= tegy =3D keystone<br>auth_strategy =3D noauth<br>enabled_backends =3D ceph<= br>#glance_api_servers =3D <a class=3D"linkification-ext" href=3D"http://10= .128.7.252:9292" title=3D"Linkification: http://10.128.7.252:9292" target= =3D"_blank">http://10.128.7.252:9292</a><br>#glance_api_version =3D 2<br></= div><div><br></div><div>#[keystone_authtoken]<br>#auth_uri =3D <a class=3D"= linkification-ext" href=3D"http://10.128.7.252:5000/v3" title=3D"Linkificat= ion: http://10.128.7.252:5000/v3" target=3D"_blank">http://10.128.7.252:500= 0/v3</a><br>#auth_url =3D <a class=3D"linkification-ext" href=3D"http://10.= 128.7.252:35357/v3" title=3D"Linkification: http://10.128.7.252:35357/v3" t= arget=3D"_blank">http://10.128.7.252:35357/v3</a><br>#auth_type =3D passwor= d<br>#memcached_servers =3D localhost:11211<br>#project_domain_name =3D def= ault<br>#user_domain_name =3D default<br>#project_name =3D services<br>#use= rname =3D user<br>#password =3D pass<br></div><div><br></div><div>[ceph]<br= title=3D"Linkification: http://lists.ovirt.org/mailman/listinfo/users" targ= et=3D"_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br></div></= div></body></html> ------=_Part_78565955_853594013.1472641664749--