Il 07/06/2013 10:37, Federico Simoncelli ha scritto:
> ----- Original Message -----
>> From: "Sandro Bonazzola" <sbona...@redhat.com>
>> To: "Federico Simoncelli" <fsimo...@redhat.com>
>> Cc: vdsm-devel@lists.fedorahosted.org, "Alex Lourie" <alou...@redhat.com>, 
>> "Moran Goldboim" <mgold...@redhat.com>
>> Sent: Friday, June 7, 2013 10:19:55 AM
>> Subject: Re: issue while creating data domain over NFS
>>
>> Il 07/06/2013 10:05, Federico Simoncelli ha scritto:
>>> ----- Original Message -----
>>>> From: "Sandro Bonazzola" <sbona...@redhat.com>
>>>> To: vdsm-devel@lists.fedorahosted.org
>>>> Cc: "Federico Simoncelli" <fsimo...@redhat.com>, "Alex Lourie"
>>>> <alou...@redhat.com>, "Moran Goldboim"
>>>> <mgold...@redhat.com>
>>>> Sent: Friday, June 7, 2013 9:58:46 AM
>>>> Subject: issue while creating data domain over NFS
>>>>
>>>> Hi here is the relevant log in vdsm.log: vdsm is taken from master,
>>>> commit 419cafb
>>>>
>>>> 09:49:44,068::fileSD::238::Storage.Misc.excCmd::(getReadDelay) SUCCESS:
>>>> <err> = '0+1 records in\n0+1 records out\n479 bytes (479 B) copied,
>>>> 5.6832e-05 s, 8.4 MB/s\n'; <rc> = 0
>>>> Thread-263::ERROR::2013-06-07
>>>> 09:49:44,069::misc::240::Storage.Misc::(readspeed) Unable to parse dd
>>>> output: '479 bytes (479 B) copied, 5.6832e-05 s, 8.4 MB/s'
>>> My bad this is an issue I introduced recently. I didn't know that dd could
>>> output such a human-friendly string. I thought I got it all covered, but I
>>> didn't take in consideration the exponential notation (and your super-fast
>>> storage domain :)
>>>
>>> 5.6832e-05
>>>
>>>> Thread-263::ERROR::2013-06-07
>>>> 09:49:44,069::domainMonitor::225::Storage.DomainMonitorThread::(_monitorDomain)
>>>> Error while collecting domain 5569b4ce-c43b-434e-b0d2-7066a6e9489a
>>>> monitoring information
>>>> Traceback (most recent call last):
>>>>   File "/usr/share/vdsm/storage/domainMonitor.py", line 203, in
>>>> _monitorDomain
>>>>     self.nextStatus.readDelay = self.domain.getReadDelay()
>>>>   File "/usr/share/vdsm/storage/fileSD.py", line 238, in getReadDelay
>>>>     stats = misc.readspeed(self.metafile, 4096)
>>>>   File "/usr/share/vdsm/storage/misc.py", line 241, in readspeed
>>>>     raise se.MiscFileReadException(path)
>>>> MiscFileReadException: Internal file read failure:
>>>> ('/rhev/data-center/mnt/192.168.1.104:_var_lib_images2/5569b4ce-c43b-434e-b0d2-7066a6e9489a/dom_md/metadata',)
>>> I'll get it fixed soon.
>>>
>> Thanks!
> Can you verify that this is working?
>
> http://gerrit.ovirt.org/15433
>
> Make sure that your dd commands with "Storage.Misc.excCmd::(getReadDelay)"
> prefix are still returning values in scientific notation.
>
> Thanks,

seems to work fine, thanks.

59fe9f79-c681-4980-b3b6-6006f1acf3a8::DEBUG::2013-06-07
11:14:20,917::task::974::TaskManager.Task::(_decref)
Task=`59fe9f79-c681-4980-b3b6-6006f1acf3a8`::ref 0 aborting False
59fe9f79-c681-4980-b3b6-6006f1acf3a8::DEBUG::2013-06-07
11:14:20,918::threadPool::57::Misc.ThreadPool::(setRunningTask) Number
of running tasks: 0
Thread-81::DEBUG::2013-06-07
11:14:22,179::fileSD::238::Storage.Misc.excCmd::(getReadDelay)
'/usr/bin/dd iflag=direct
if=/rhev/data-center/mnt/192.168.1.104:_var_lib_images2/7627dea9-6906-4954-9ad4-091713d7b160/dom_md/metadata
bs=4096 count=1' (cwd None)
Thread-81::DEBUG::2013-06-07
11:14:22,184::fileSD::238::Storage.Misc.excCmd::(getReadDelay) SUCCESS:
<err> = '0+1 records in\n0+1 records out\n479 bytes (479 B) copied,
0.000110129 s, 4.3 MB/s\n'; <rc> = 0
Thread-81::DEBUG::2013-06-07
11:14:32,200::fileSD::238::Storage.Misc.excCmd::(getReadDelay)
'/usr/bin/dd iflag=direct
if=/rhev/data-center/mnt/192.168.1.104:_var_lib_images2/7627dea9-6906-4954-9ad4-091713d7b160/dom_md/metadata
bs=4096 count=1' (cwd None)
Thread-81::DEBUG::2013-06-07
11:14:32,204::fileSD::238::Storage.Misc.excCmd::(getReadDelay) SUCCESS:
<err> = '0+1 records in\n0+1 records out\n479 bytes (479 B) copied,
9.7255e-05 s, 4.9 MB/s\n'; <rc> = 0

^^^^ this has scientific notation and not failed.


Thread-81::DEBUG::2013-06-07
11:14:42,217::fileSD::238::Storage.Misc.excCmd::(getReadDelay)
'/usr/bin/dd iflag=direct
if=/rhev/data-center/mnt/192.168.1.104:_var_lib_images2/7627dea9-6906-4954-9ad4-091713d7b160/dom_md/metadata
bs=4096 count=1' (cwd None)
Thread-81::DEBUG::2013-06-07
11:14:42,223::fileSD::238::Storage.Misc.excCmd::(getReadDelay) SUCCESS:
<err> = '0+1 records in\n0+1 records out\n479 bytes (479 B) copied,
0.000155976 s, 3.1 MB/s\n'; <rc> = 0
Thread-81::DEBUG::2013-06-07
11:14:52,237::fileSD::238::Storage.Misc.excCmd::(getReadDelay)
'/usr/bin/dd iflag=direct
if=/rhev/data-center/mnt/192.168.1.104:_var_lib_images2/7627dea9-6906-4954-9ad4-091713d7b160/dom_md/metadata
bs=4096 count=1' (cwd None)


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com

_______________________________________________
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel

Reply via email to