----- Original Message -----
> From: "Eduardo Ramos" <edua...@freedominterface.org>
> To: "users" <users@ovirt.org>
> Sent: Friday, February 7, 2014 2:35:03 PM
> Subject: [Users] 'Drive' object has no attribute 'format'
> 
> Hi all!
> 
> I'm getting this strange message on my vdsm.log
> 
> Thread-187887::ERROR::2014-02-07
> 10:31:13,246::sampling::355::vm.Vm::(collect)
> vmId=`226fb21b-ce7e-45ec-8e6e-75b987374ead`::Stats function failed:
> <AdvancedStatsFunction _highWrite at 0x2d328f0>
> Traceback (most recent call last):
>    File "/usr/share/vdsm/sampling.py", line 351, in collect
>      statsFunction()
>    File "/usr/share/vdsm/sampling.py", line 226, in __call__
>      retValue = self._function(*args, **kwargs)
>    File "/usr/share/vdsm/vm.py", line 528, in _highWrite
>      self._vm.extendDrivesIfNeeded()
>    File "/usr/share/vdsm/vm.py", line 2285, in extendDrivesIfNeeded
>      if not drive.blockDev or drive.format != 'cow':
> AttributeError: 'Drive' object has no attribute 'format'
> 
> Anyone know what could be happening?

Hi Eduardo,

I'm afraid you have a vm with an invalid drive, created without the required
"format" attribute.

We have seen this issue when upgrading from old versions, or when migrating vms.
See https://bugzilla.redhat.com/show_bug.cgi?id=1055437

Can you add more information that will help debug this issue?

- ovirt-engine/vdsm versions
- logs: engine.log, vdsm.log
- what was the trigger of this error (e.g. started when migrating vm?)

If you think your case is not relevant to bug 1055437, please open a new bug.

Thanks,
Nir




_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to