[Users] 'Drive' object has no attribute 'format'

Eduardo Ramos eduardo at freedominterface.org
Mon Feb 10 19:13:50 UTC 2014


Hi Nir, thanks for responding.

That's what you asked me.

vdms:
[root at gauss vdsm]# rpm -qa | grep vdsm
vdsm-xmlrpc-4.10.3-0.36.23.el6.noarch
vdsm-cli-4.10.3-0.36.23.el6.noarch
vdsm-python-4.10.3-0.36.23.el6.x86_64
vdsm-4.10.3-0.36.23.el6.x86_64
vdsm-hook-qos-4.10.3-0.36.23.el6.noarch
vdsm-hook-nestedvt-4.10.3-0.36.23.el6.noarch
vdsm-hook-hostusb-4.10.3-0.36.23.el6.noarch

engine:
[eduardo at ovirt-dir ~]$ rpm -qa|grep ovirt
ovirt-engine-tools-3.2.2-1.1.43.el6.noarch
ovirt-engine-backend-3.2.2-1.1.43.el6.noarch
ovirt-engine-dwh-3.2.0-1.el6.noarch
ovirt-engine-reports-3.2.0-2.el6.noarch
ovirt-log-collector-3.2.0-1.el6.noarch
ovirt-engine-cli-3.3.0.4-1.el6.noarch
ovirt-host-deploy-1.1.0-0.0.master.el6.noarch
ovirt-engine-dbscripts-3.2.2-1.1.43.el6.noarch
ovirt-engine-genericapi-3.2.2-1.1.43.el6.noarch
ovirt-iso-uploader-3.2.0-1.el6.noarch
ovirt-engine-setup-3.2.2-1.1.43.el6.noarch
ovirt-host-deploy-java-1.1.0-0.0.master.el6.noarch
ovirt-engine-userportal-3.2.2-1.1.43.el6.noarch
ovirt-engine-webadmin-portal-3.2.2-1.1.43.el6.noarch
ovirt-engine-sdk-python-3.3.0.6-1.el6.noarch
ovirt-engine-jbossas711-1-0.x86_64
ovirt-engine-restapi-3.2.2-1.1.43.el6.noarch
ovirt-engine-3.2.2-1.1.43.el6.noarch
ovirt-image-uploader-3.2.0-1.el6.noarch
ovirt-release-el6-10-1.noarch

Follows the logs on my dropbox:

https://www.dropbox.com/sh/cp93cqzs7ow4zp2/XRDsr_D1L3/ovirt


On 02/08/2014 08:02 PM, Nir Soffer wrote:
> ----- Original Message -----
>> From: "Eduardo Ramos" <eduardo at freedominterface.org>
>> To: "users" <users at 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
>
>
>
>





More information about the Users mailing list