Bug 851398 - The output of cmd "subscription-manager facts" and "subscription-manager facts --list" should be same
Summary: The output of cmd "subscription-manager facts" and "subscription-manager fact...
Keywords:
Status: CLOSED DUPLICATE of bug 838123
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.9
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On:
Blocks: 771748
TreeView+ depends on / blocked
 
Reported: 2012-08-24 04:47 UTC by xingge
Modified: 2016-09-20 02:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-19 20:52:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
facts --list output when system is registered (2.92 KB, application/octet-stream)
2012-08-24 06:01 UTC, xingge
no flags Details
facts --list output when system is unregistered (2.83 KB, application/octet-stream)
2012-08-24 06:02 UTC, xingge
no flags Details
facts output when system is registered (2.92 KB, application/octet-stream)
2012-08-24 06:03 UTC, xingge
no flags Details
facts output when system is unregistered (2.83 KB, application/octet-stream)
2012-08-24 06:03 UTC, xingge
no flags Details

Description xingge 2012-08-24 04:47:13 UTC
Description of problem:
There is a difference between the output of cmd "subscription-manager facts" and
"subscription-manager facts --list" no matter the system is registered or not.

Version-Release number of selected component (if applicable):
subscription-manager-firstboot-1.0.14-1.el5
subscription-manager-gui-1.0.14-1.el5
subscription-manager-1.0.14-1.el5
python-rhsm-1.0.5-1.el5

How reproducible:
always

Steps to Reproduce:
1.run command below:
#subscription-manager facts

2.run command below:
#subscription-manager facts --list

3.compare the output of above 2 commands

Actual results:
1.after above step 3, find a difference:
the item 'net.interface.sit0.mac_address' is different between the output of step 2 and step 3 as below:
When the system is not registered:
the output of step 2 is:
  net.interface.sit0.mac_address: 00:00:00:00:21:01 
the output of step 3 is: 
  net.interface.sit0.mac_address: 00:00:00:00:31:01

When the system is registered:
the output of step 2 is:
  net.interface.sit0.mac_address: 00:00:00:00:00:00 
the output of step 3 is: 
  net.interface.sit0.mac_address: 00:00:00:00:21:00

Expected results:
no different between the output of step 2 and step 3 no matter the system is registered or not.

Additional info:

Comment 1 xingge 2012-08-24 06:01:13 UTC
Created attachment 606762 [details]
facts --list output when system is registered

Comment 2 xingge 2012-08-24 06:02:41 UTC
Created attachment 606763 [details]
facts --list output when system is unregistered

Comment 3 xingge 2012-08-24 06:03:10 UTC
Created attachment 606764 [details]
facts output when system is registered

Comment 4 xingge 2012-08-24 06:03:42 UTC
Created attachment 606765 [details]
facts output when system is unregistered


Note You need to log in before you can comment on or make changes to this bug.