Bug 1504588

Summary: DBus service Config does not get an actual value when the value is changed
Product: Red Hat Enterprise Linux 7 Reporter: Jan Stavel <jstavel>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED CURRENTRELEASE QA Contact: John Sefler <jsefler>
Severity: low Docs Contact:
Priority: medium    
Version: 7.5CC: bcourt, csnyder, redakkan, skallesh, wpoteat
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-13 20:56:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Stavel 2017-10-20 09:31:50 UTC
Description of problem:

   If I change some property in /etc/rhsm/rhsm.conf
   and I call DBus method /com/redhat/RHSM1/Config Get s rhsm.manage_repos
   Then I get the old value of the property.

Version-Release number of selected component (if applicable):
 
   subscription-manager-initial-setup-addon-1.20.2-1.git.3.cf221d7.el7.x86_64
   cockpit-ws-138-9.el7.x86_64
   subscription-manager-migration-data-2.0.37-1.git.0.d45a6c7.el7.noarch
   subscription-manager-plugin-ostree-1.20.2-1.git.3.cf221d7.el7.x86_64
   subscription-manager-1.20.2-1.git.3.cf221d7.el7.x86_64
   subscription-manager-plugin-container-1.20.2-1.git.3.cf221d7.el7.x86_64
   python-rhsm-1.20.2-1.git.6.cf221d7.el7.x86_64
   subscription-manager-migration-1.20.2-1.git.3.cf221d7.el7.x86_64
   cockpit-bridge-138-9.el7.x86_64
   python-rhsm-certificates-1.20.2-1.git.6.cf221d7.el7.x86_64
   subscription-manager-gui-1.20.2-1.git.3.cf221d7.el7.x86_64


How reproducible:


Steps to Reproduce:

Set a property [rhsm]/manage_repos to a new value
Call DBus method:

   busctl call com.redhat.RHSM1 /com/redhat/RHSM1/Config com.redhat.RHSM1.Config Get s rhsm.manage_repos

   You should get the new value of the property.


Actual results:

   The old value of the property is returned.

Expected results:

   You should get the new value of the property.

Comment 2 Kevin Howell 2018-02-08 15:25:10 UTC
*** Bug 1540937 has been marked as a duplicate of this bug. ***

Comment 3 Jan Stavel 2018-03-12 11:34:09 UTC
*** Bug 1489103 has been marked as a duplicate of this bug. ***

Comment 4 Chris Snyder 2018-07-23 20:57:27 UTC
The fix for this has been merged upstream in PR https://github.com/candlepin/subscription-manager/pull/1864

Will move to MODIFIED if and when there are appropriate ACKs to merge this into the 7.6 branch.