| Summary: | wrong description and unit in qpid-tool | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Martin Kudlej <mkudlej> |
| Component: | qpid-qmf | Assignee: | messaging-bugs <messaging-bugs> |
| Status: | NEW --- | QA Contact: | MRG Quality Engineering <mrgqe-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | Development | CC: | jross |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Description of problem: qpid-tool doesn't show proper "units" and "description" column for QMF objects variables which have undefined "units" property. $ qpid-tool qpid: schema scheduler bject Class: Table Class: com.redhat.grid:scheduler:_data(bd2ad5ee-e92d-f62b-250f-e1518db1e8ef) Element Type Access Unit Notes Description ================================================================================================================================================= CondorPlatform short-string ReadOnly The Condor platform string for the daemon's platform CondorVersion short-string ReadOnly The Condor version string for the daemon's version DaemonStartTime abs-time ReadOnly nanosecond Number of nanoseconds since epoch when the daemon was started Pool short-string ReadOnly index System short-string ReadOnly index JobQueueBirthdate abs-time ReadOnly MaxJobsRunning uint32 ReadOnly Machine short-string ReadOnly MyAddress short-string ReadOnly Name short-string ReadOnly index WindowedStatWidth uint32 ReadOnly seconds The stat window width, config param WINDOWED_STAT_WIDTH MonitorSelfAge uint32 seconds The stat window width, config param WINDOWED_STAT_WIDTH MonitorSelfCPUUsage double seconds The stat window width, config param WINDOWED_STAT_WIDTH MonitorSelfImageSize double seconds The stat window width, config param WINDOWED_STAT_WIDTH MonitorSelfRegisteredSocketCount uint32 seconds The stat window width, config param WINDOWED_STAT_WIDTH MonitorSelfResidentSetSize uint32 seconds The stat window width, config param WINDOWED_STAT_WIDTH MonitorSelfTime abs-time seconds The stat window width, config param WINDOWED_STAT_WIDTH NumUsers uint32 seconds The stat window width, config param WINDOWED_STAT_WIDTH TotalHeldJobs uint32 seconds The stat window width, config param WINDOWED_STAT_WIDTH TotalIdleJobs uint32 seconds The stat window width, config param WINDOWED_STAT_WIDTH TotalJobAds uint32 seconds The stat window width, config param WINDOWED_STAT_WIDTH TotalRemovedJobs uint32 seconds The stat window width, config param WINDOWED_STAT_WIDTH TotalRunningJobs uint32 seconds The stat window width, config param WINDOWED_STAT_WIDTH UpdateInterval uint32 seconds The stat window width, config param WINDOWED_STAT_WIDTH JobsSubmitted uint32 seconds The stat window width, config param WINDOWED_STAT_WIDTH JobSubmissionRate double seconds The stat window width, config param WINDOWED_STAT_WIDTH JobsCompleted uint32 seconds The stat window width, config param WINDOWED_STAT_WIDTH JobCompletionRate double seconds The stat window width, config param WINDOWED_STAT_WIDTH JobsExited uint32 seconds The stat window width, config param WINDOWED_STAT_WIDTH ShadowExceptions uint32 seconds The stat window width, config param WINDOWED_STAT_WIDTH JobsSubmittedCum uint32 seconds The stat window width, config param WINDOWED_STAT_WIDTH JobsCompletedCum uint32 seconds The stat window width, config param WINDOWED_STAT_WIDTH JobsExitedCum uint32 seconds The stat window width, config param WINDOWED_STAT_WIDTH ShadowExceptionsCum uint32 seconds The stat window width, config param WINDOWED_STAT_WIDTH JobsStartedCum uint32 seconds The stat window width, config param WINDOWED_STAT_WIDTH JobsStarted uint32 seconds The stat window width, config param WINDOWED_STAT_WIDTH JobStartRate double seconds The stat window width, config param WINDOWED_STAT_WIDTH MeanTimeToStartCum double seconds The stat window width, config param WINDOWED_STAT_WIDTH MeanRunningTimeCum double seconds The stat window width, config param WINDOWED_STAT_WIDTH SumTimeToStartCum uint64 seconds The stat window width, config param WINDOWED_STAT_WIDTH SumRunningTimeCum uint64 seconds The stat window width, config param WINDOWED_STAT_WIDTH MeanTimeToStart double seconds The stat window width, config param WINDOWED_STAT_WIDTH MeanRunningTime double seconds The stat window width, config param WINDOWED_STAT_WIDTH corresponding xml definition for scheduler object: $ cat "mrg grid git:.../src/condor_contrib/mgmt/qmf/plugins/condor-management-schema.xml?id=4c15deb8fb98e3d8c5e234e7447f05d5bc88ec33" ... <property name="WindowedStatWidth" type="uint32" unit="seconds" desc="The stat window width, config param WINDOWED_STAT_WIDTH"/> <statistic name="UpdateInterval" type="uint32" unit="seconds" desc="Seconds between current publish and previous"/> <statistic name="JobsSubmitted" type="uint32" desc="Number of jobs submitted over most recent sampling window"/> <statistic name="JobSubmissionRate" type="double" desc="Rate of job submissions (jobs per second) over most recent sampling window"/> <statistic name="JobsCompleted" type="uint32" desc="Number of jobs completed (successfully, shadow code=100 or 115) over most recent sampling window"/> <statistic name="JobCompletionRate" type="double" desc="Rate of job completions (jobs per second) over most recent sampling window"/> <statistic name="JobsExited" type="uint32" desc="Number of jobs that exited over most recent sampling window"/> <statistic name="ShadowExceptions" type="uint32" desc="Number of shadow excptions over most recent sampling window"/> <!-- ExitCodeXXX: number of jobs exited with code XXX (100, 115, etc) over window --> <statistic name="JobsSubmittedCum" type="uint32" desc="Number of jobs submitted over lifetime of the Scheduler"/> <statistic name="JobsCompletedCum" type="uint32" desc="Number of jobs successfully completed over lifetime of the Scheduler"/> <statistic name="JobsExitedCum" type="uint32" desc="Number of jobs exited over the lifetime of the Scheduler"/> <statistic name="ShadowExceptionsCum" type="uint32" desc="Number of shadow exceptions over the lifetime of the Scheduler"/> ... Version-Release number of selected component (if applicable): condor-7.6.1-0.4.el5 condor-aviary-7.6.1-0.4.el5 condor-classads-7.6.1-0.4.el5 condor-qmf-7.6.1-0.4.el5 condor-wallaby-client-4.0-6.el5 condor-wallaby-tools-4.0-6.el5 python-condorutils-1.5-3.el5 python-qpid-0.10-1.el5 python-qpid-qmf-0.10-6.el5 qpid-cpp-client-0.10-7.el5 qpid-cpp-client-devel-0.10-7.el5 qpid-cpp-client-devel-docs-0.10-7.el5 qpid-cpp-client-ssl-0.10-7.el5 qpid-cpp-server-0.10-7.el5 qpid-cpp-server-cluster-0.10-7.el5 qpid-cpp-server-devel-0.10-7.el5 qpid-cpp-server-ssl-0.10-7.el5 qpid-cpp-server-store-0.10-7.el5 qpid-cpp-server-xml-0.10-7.el5 qpid-java-client-0.10-6.el5 qpid-java-common-0.10-6.el5 qpid-java-example-0.10-6.el5 qpid-qmf-0.10-6.el5 qpid-qmf-devel-0.10-6.el5 qpid-tools-0.10-5.el5 ruby-qpid-qmf-0.10-6.el5 How reproducible: 100% Steps to Reproduce: 1. install qpid-cpp-server, condor, condor plugins 2. configure scheduler plugin 3. qpid-tool 4. schema scheduler Actual results: Some properties of QMF objects have wrong "unit" and "description" columns when there is unit undefined in definition xml schema. Expected results: All properties of QMF objects have right "unit" and "description" columns when there is unit undefined in definition xml schema.