Bug 831478 - unexpected warning messages for the broken dependency parseconfig (1.0.2)
Summary: unexpected warning messages for the broken dependency parseconfig (1.0.2)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: ---
Assignee: Clayton Coleman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-13 05:47 UTC by Meng Bo
Modified: 2015-05-15 01:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-25 18:27:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Meng Bo 2012-06-13 05:47:18 UTC
Description of problem:
Install rhc client via 'gem install rhc', it will install the dependency parseconfig (=1.0.2) automatically. 
Run any rhc command from the terminal, error message "ParseConfig Deprecation Warning: get_value() is deprecated. Use config['param'] or config['group']['param'] instead." appears.

Version-Release number of selected component (if applicable):
parseconfig 1.0.2

How reproducible:
always

Steps to Reproduce:
1.install rhc client via gem install
2.run any rhc command
3.
  
Actual results:
warning message "ParseConfig Deprecation Warning: get_value() is deprecated. Use config['param'] or config['group']['param'] instead." appears.

Expected results:
no any warning message.

Additional info:
This issue caused by parseconfig upgrade today, which is ok for parseconfig (0.5.2).


$gem list
parseconfig (1.0.2)
<......>
rhc (0.93.19)


$rhc domain show
[root@F17i386-openshift ~]# rhc domain show
ParseConfig Deprecation Warning: get_value() is deprecated. Use config['param'] or config['group']['param'] instead.
ParseConfig Deprecation Warning: get_value() is deprecated. Use config['param'] or config['group']['param'] instead.
ParseConfig Deprecation Warning: get_value() is deprecated. Use config['param'] or config['group']['param'] instead.
ParseConfig Deprecation Warning: get_value() is deprecated. Use config['param'] or config['group']['param'] instead.
ParseConfig Deprecation Warning: get_value() is deprecated. Use config['param'] or config['group']['param'] instead.
Password:******

User Info
=========
Namespace: mydomain
  RHLogin: bmeng


Application Info
================
No applications found.  You can use 'rhc app create' to create new applications.

Comment 1 Xiaoli Tian 2012-06-18 08:34:37 UTC
Checked it on rhc-0.94.4, it will install parseconfig 0.5.2 in default now, if that's the fix for this bug, please help to move it to ON_QA, we'll move it to verified.

Thanks

Comment 2 Clayton Coleman 2012-06-18 16:40:08 UTC
We want to be more flexible to future usage - we're going to support both 0.5.2 and 1.0+ with no warnings in the code.

Comment 3 Clayton Coleman 2012-06-18 19:11:09 UTC
Johnp committed a fix today.

Comment 4 Meng Bo 2012-06-20 02:12:07 UTC
Verified with rhc-0.94.7.gem, rhc do not need install parseconfig as dependency now.
Mark bug as verified.


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