Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237421
Summary: Bad cpuTime retrieved from Sys::Virt::Domain->get_info Product: Fedora Extras Version: fc6 Platform: i686 OS/Version: Linux Status: NEW Severity: medium Priority: medium Component: perl-Sys-Virt AssignedTo: steve@silug.org ReportedBy: g+fedora@pkg.fr QAContact: extras-qa@fedoraproject.org CC: berrange@redhat.com,fedora-perl-devel-list@redhat.com
Description of problem: I tried the API on a AMD Athlon(tm) XP 3000+, I got bad values with some negative one for the cpuTime of a domain.
Version-Release number of selected component (if applicable): perl-Sys-Virt-0.1.1
How reproducible: every time
Steps to Reproduce: 1. Run a server with some xen domains 2. Try the example included in the package: /usr/share/doc/perl-Sys-Virt-0.1.1/examples/dump-info.pl 3. Observe the "cpuTime" values
Actual results: False
Expected results: Good
Additional info: I search the sources and I found this value is in fact unsigned long long value in libvirt library to represent nanoseconds (cf http://libvirt.org/html/libvirt-libvirt.html#virDomainInfo). I didn't try on a 64 bits arch but I think the it could work on it.
I managed to obtain the expected results by patching the sources: I edit Virt.xs from the source and changed the line 359 from: hv_store (RETVAL, "cpuTime", 7, newSViv(info.cpuTime), 0); to hv_store (RETVAL, "cpuTime", 7, newSVnv(info.cpuTime), 0);
So the unsigned long long is read as a float scalar and not an integer scalar.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: Bad cpuTime retrieved from Sys::Virt::Domain->get_info
https://bugzilla.redhat.com/show_bug.cgi?id=237421
bugzilla@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Product|Fedora Extras |Fedora Version|fc6 |6
fedora-triage-list@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fedora-triage- | |list@redhat.com Status Whiteboard| | bzcl34nup
------- Additional Comments From fedora-triage-list@redhat.com 2008-04-04 02:55 EST ------- Fedora apologizes that these issues have not been resolved yet. We're sorry it's taken so long for your bug to be properly triaged and acted on. We appreciate the time you took to report this issue and want to make sure no important bugs slip through the cracks.
If you're currently running a version of Fedora Core between 1 and 6, please note that Fedora no longer maintains these releases. We strongly encourage you to upgrade to a current Fedora release. In order to refocus our efforts as a project we are flagging all of the open bugs for releases which are no longer maintained and closing them. http://fedoraproject.org/wiki/LifeCycle/EOL
If this bug is still open against Fedora Core 1 through 6, thirty days from now, it will be closed 'WONTFIX'. If you can reporduce this bug in the latest Fedora version, please change to the respective version. If you are unable to do this, please add a comment to this bug requesting the change.
Thanks for your help, and we apologize again that we haven't handled these issues to this point.
The process we are following is outlined here: http://fedoraproject.org/wiki/BugZappers/F9CleanUp
We will be following the process here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this doesn't happen again.
And if you'd like to join the bug triage team to help make things better, check out http://fedoraproject.org/wiki/BugZappers
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: Bad cpuTime retrieved from Sys::Virt::Domain->get_info
https://bugzilla.redhat.com/show_bug.cgi?id=237421
fedora-triage-list@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: Bad cpuTime retrieved from Sys::Virt::Domain->get_info
https://bugzilla.redhat.com/show_bug.cgi?id=237421
mmaslano@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| bzcl34nup |bzcl34nup Flag| |needinfo?
------- Additional Comments From mmaslano@redhat.com 2008-05-05 08:15 EST ------- Could someone with xen reproduce it?
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: Bad cpuTime retrieved from Sys::Virt::Domain->get_info
https://bugzilla.redhat.com/show_bug.cgi?id=237421
fedora-triage-list@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Flag|needinfo? | Status|NEW |CLOSED Resolution| |WONTFIX
------- Additional Comments From fedora-triage-list@redhat.com 2008-05-06 15:31 EST ------- This bug is open for a Fedora version that is no longer maintained and will not be fixed by Fedora. Therefore we are closing this bug.
If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen thus bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: Bad cpuTime retrieved from Sys::Virt::Domain->get_info
https://bugzilla.redhat.com/show_bug.cgi?id=237421
berrange@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |ASSIGNED Keywords| |Reopened Resolution|WONTFIX | Status Whiteboard|bzcl34nup | Version|6 |8
------- Additional Comments From berrange@redhat.com 2008-05-06 15:36 EST ------- Stupid bot. Re-opening this still relevant issue.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: Bad cpuTime retrieved from Sys::Virt::Domain->get_info
https://bugzilla.redhat.com/show_bug.cgi?id=237421
------- Additional Comments From g+fedora@pkg.fr 2008-05-06 17:21 EST ------- Hi, indeed,
just tried that case on my production server with some Xen host but on a 64 bits arch. Fedora is version 7 and package is perl-Sys-Virt-0.1.1-9.fc7.x86_64.
As expected, cpuTime are correct and are set in nano-second. As example, 'xm list' gives me '218775.2' sec for a given virtual host and the perl script returns '218775244013148' for cpuTime.
Sorry but I can't try on i686 as my production server is now x86_64.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=237421
--- Comment #6 from Bug Zapper fedora-triage-list@redhat.com 2008-11-26 02:14:08 EDT ---
This message is a reminder that Fedora 8 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 8. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '8'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 8's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 8 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=237421
Bug Zapper fedora-triage-list@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |WONTFIX
--- Comment #7 from Bug Zapper fedora-triage-list@redhat.com 2009-01-09 02:06:17 EDT ---
Fedora 8 changed to end-of-life (EOL) status on 2009-01-07. Fedora 8 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=237421
Daniel Berrange berrange@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |ASSIGNED Version|8 |10 Resolution|WONTFIX |
--- Comment #8 from Daniel Berrange berrange@redhat.com 2009-03-27 20:10:52 EDT --- Re-opening as this bug is still valid, and a fix is now available in upstream 0.2.0 release of Sys-Virt
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=237421
Stepan Kasal skasal@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |skasal@redhat.com AssignedTo|steve@silug.org |skasal@redhat.com
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=237421
--- Comment #9 from Stepan Kasal skasal@redhat.com 2009-03-30 11:57:05 EDT --- perl-Sys-Virt-0.2.0-2.fc11 should appear in rawhide tomorrow.
Still working on a fix for Fedora 10.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=237421
--- Comment #10 from Bug Zapper fedora-triage-list@redhat.com 2009-11-18 03:11:30 EDT ---
This message is a reminder that Fedora 10 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 10. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '10'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 10's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 10 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=237421
Bug Zapper fedora-triage-list@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |WONTFIX
--- Comment #11 from Bug Zapper fedora-triage-list@redhat.com 2009-12-18 00:55:17 EDT ---
Fedora 10 changed to end-of-life (EOL) status on 2009-12-17. Fedora 10 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.
perl-devel@lists.fedoraproject.org