[ovirt-users] Re: Cinderlib RBD ceph template issues

2022-02-01 Thread Ricardo Alonso
Thank you Benny.

Is there any way to apply this correction on version 4.4.10?

On Tue, Feb 1, 2022 at 7:18 PM Benny Zlotnik  wrote:

> hi, this was fixed as part of
> https://bugzilla.redhat.com/show_bug.cgi?id=2006745 (in 4.5)
>
>
> On Tue, Feb 1, 2022 at 9:12 PM Ricardo Alonso 
> wrote:
> >
> > Could you find the solution?
> >
> > I didn't find any bug report and I hit this same problem on version
> 4.4.10, so I filled one:
> https://bugzilla.redhat.com/show_bug.cgi?id=2049224
> >
> > /R
> > ___
> > Users mailing list -- users@ovirt.org
> > To unsubscribe send an email to users-le...@ovirt.org
> > Privacy Statement: https://www.ovirt.org/privacy-policy.html
> > oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> > List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/LTBBCVUDRT2AHCHHDQF3X2AEQGF6FLGH/
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CAVYPMBWLNLS4NHVGJICVBS7F7IDWF5G/


[ovirt-users] Re: Cinderlib RBD ceph template issues

2022-02-01 Thread Benny Zlotnik
hi, this was fixed as part of
https://bugzilla.redhat.com/show_bug.cgi?id=2006745 (in 4.5)


On Tue, Feb 1, 2022 at 9:12 PM Ricardo Alonso  wrote:
>
> Could you find the solution?
>
> I didn't find any bug report and I hit this same problem on version 4.4.10, 
> so I filled one: https://bugzilla.redhat.com/show_bug.cgi?id=2049224
>
> /R
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/LTBBCVUDRT2AHCHHDQF3X2AEQGF6FLGH/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/W73H5M2ZYOYAZNSDQIYOCY27YCBH7EJY/


[ovirt-users] Re: Cinderlib RBD ceph template issues

2022-02-01 Thread Ricardo Alonso
Could you find the solution? 

I didn't find any bug report and I hit this same problem on version 4.4.10, so 
I filled one: https://bugzilla.redhat.com/show_bug.cgi?id=2049224

/R
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LTBBCVUDRT2AHCHHDQF3X2AEQGF6FLGH/


[ovirt-users] Re: Cinderlib RBD ceph template issues

2021-09-01 Thread Benny Zlotnik
Hi,

Can you please submit a bug[1] with all logs attached?


[1] https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine

On Wed, Sep 1, 2021 at 6:04 PM Sketch  wrote:
>
> This is on oVirt 4.4.8, engine on CS8, hosts on C8, cluster and DC are
> both set to 4.6.
>
> With a newly configured cinderlib/ceph RBD setup.  I can create new VM
> images, and copy existing VM images, but I can't copy existing template
> images to RBD.  When I do, I try, I get this error in cinderlib.log (see
> below), which sounds like the disk already exists there, but it definitely
> does not.  This leaves me unable to create new VMs on RBD, only migrate
> existing VM disks.
>
> 2021-09-01 04:31:05,881 - cinder.volume.driver - INFO - Driver hasn't 
> implemented _init_vendor_properties()
> 2021-09-01 04:31:05,882 - cinderlib-client - INFO - Creating volume 
> '0e8b9aca-1eb1-4837-ac9e-cb3d8f4c1676', with size '500' GB [5c5d0a6b]
> 2021-09-01 04:31:05,943 - cinderlib-client - ERROR - Failure occurred when 
> trying to run command 'create_volume': Entity ' 'cinder.db.sqlalchemy.models.Volume'>' has no property 'glance_metadata' 
> [5c5d0a6b]
> 2021-09-01 04:31:05,944 - cinder - CRITICAL - Unhandled error
> Traceback (most recent call last):
>File "/usr/lib/python3.6/site-packages/cinderlib/objects.py", line 455, in 
> create
>  self._raise_with_resource()
>File "/usr/lib/python3.6/site-packages/cinderlib/objects.py", line 222, in 
> _raise_with_resource
>  six.reraise(*exc_info)
>File "/usr/lib/python3.6/site-packages/six.py", line 703, in reraise
>  raise value
>File "/usr/lib/python3.6/site-packages/cinderlib/objects.py", line 448, in 
> create
>  model_update = self.backend.driver.create_volume(self._ovo)
>File "/usr/lib/python3.6/site-packages/cinder/volume/drivers/rbd.py", line 
> 986, in create_volume
>  features=client.features)
>File "/usr/lib/python3.6/site-packages/eventlet/tpool.py", line 190, in 
> doit
>  result = proxy_call(self._autowrap, f, *args, **kwargs)
>File "/usr/lib/python3.6/site-packages/eventlet/tpool.py", line 148, in 
> proxy_call
>  rv = execute(f, *args, **kwargs)
>File "/usr/lib/python3.6/site-packages/eventlet/tpool.py", line 129, in 
> execute
>  six.reraise(c, e, tb)
>File "/usr/lib/python3.6/site-packages/six.py", line 703, in reraise
>  raise value
>File "/usr/lib/python3.6/site-packages/eventlet/tpool.py", line 83, in 
> tworker
>  rv = meth(*args, **kwargs)
>File "rbd.pyx", line 629, in rbd.RBD.create
> rbd.ImageExists: [errno 17] RBD image already exists (error creating image)
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>File "/usr/lib64/python3.6/site-packages/sqlalchemy/orm/base.py", line 
> 399, in _entity_descriptor
>  return getattr(entity, key)
> AttributeError: type object 'Volume' has no attribute 'glance_metadata'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>File "./cinderlib-client.py", line 170, in main
>  args.command(args)
>File "./cinderlib-client.py", line 208, in create_volume
>  backend.create_volume(int(args.size), id=args.volume_id)
>File "/usr/lib/python3.6/site-packages/cinderlib/cinderlib.py", line 175, 
> in create_volume
>  vol.create()
>File "/usr/lib/python3.6/site-packages/cinderlib/objects.py", line 457, in 
> create
>  self.save()
>File "/usr/lib/python3.6/site-packages/cinderlib/objects.py", line 628, in 
> save
>  self.persistence.set_volume(self)
>File "/usr/lib/python3.6/site-packages/cinderlib/persistence/dbms.py", 
> line 254, in set_volume
>  self.db.volume_update(objects.CONTEXT, volume.id, changed)
>File "/usr/lib/python3.6/site-packages/cinder/db/sqlalchemy/api.py", line 
> 236, in wrapper
>  return f(*args, **kwargs)
>File "/usr/lib/python3.6/site-packages/cinder/db/sqlalchemy/api.py", line 
> 184, in wrapper
>  return f(*args, **kwargs)
>File "/usr/lib/python3.6/site-packages/cinder/db/sqlalchemy/api.py", line 
> 2570, in volume_update
>  result = query.filter_by(id=volume_id).update(values)
>File "/usr/lib64/python3.6/site-packages/sqlalchemy/orm/query.py", line 
> 3818, in update
>  update_op.exec_()
>File "/usr/lib64/python3.6/site-packages/sqlalchemy/orm/persistence.py", 
> line 1670, in exec_
>  self._do_pre_synchronize()
>File "/usr/lib64/python3.6/site-packages/sqlalchemy/orm/persistence.py", 
> line 1743, in _do_pre_synchronize
>  self._additional_evaluators(evaluator_compiler)
>File "/usr/lib64/python3.6/site-packages/sqlalchemy/orm/persistence.py", 
> line 1912, in _additional_evaluators
>  values = self._resolved_values_keys_as_propnames
>File "/usr/lib64/python3.6/site-packages/sqlalchemy/orm/persistence.py", 
> line 1831, in _resolved_values_keys_as_propnames
>  for k, v in self._resolved_values:
>