Bug 915934 - Ruby 2.0 doesn't work - results in ""DL is deprecated, please use Fiddle" error
Summary: Ruby 2.0 doesn't work - results in ""DL is deprecated, please use Fiddle" error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Fabiano Franz
QA Contact: libra bugs
URL:
Whiteboard:
: 915932 915933 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-26 19:33 UTC by Sumana Annam
Modified: 2015-05-15 02:15 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-20 03:34:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rhc error (113.97 KB, image/png)
2013-02-26 19:33 UTC, Sumana Annam
no flags Details
successful rhc gem installation (54.41 KB, image/png)
2013-02-26 19:35 UTC, Sumana Annam
no flags Details

Description Sumana Annam 2013-02-26 19:33:51 UTC
Created attachment 703091 [details]
rhc error

Description of problem:

Ref: https://openshift.redhat.com/community/forums/openshift/openshift-client-tool-could-not-installed-dl-is-deprecated-error

Few users are running into "DL is deprecated, please use Fiddle" when running rhc commands. rhc gem installs fine.

Env:  Windows XP - git version 1.8.1 - ruby version 2.0.0-p0



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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Sumana Annam 2013-02-26 19:35:16 UTC
Created attachment 703092 [details]
successful rhc gem installation

Comment 2 Sumana Annam 2013-02-26 19:53:51 UTC
*** Bug 915932 has been marked as a duplicate of this bug. ***

Comment 3 Sumana Annam 2013-02-26 19:54:21 UTC
*** Bug 915933 has been marked as a duplicate of this bug. ***

Comment 4 Clayton Coleman 2013-02-26 21:56:19 UTC
Ruby 2.0.0 is not yet supported.  This is an upstream Ruby issue.

Comment 5 Jianwei Hou 2013-02-27 08:56:39 UTC
This is broken on win7(32bit) + ruby 2.0.0p0 + rhc-1.5.5.gem as well

The errors are exactly same with the added attachements.

Comment 6 Clayton Coleman 2013-03-26 14:14:42 UTC
Still waiting for an upstream ruby patch for this.

Comment 7 Clayton Coleman 2013-03-28 16:05:50 UTC
Fixed in ssh-agent gem: https://github.com/net-ssh/net-ssh/issues/85

Please upgrade to net-ssh 2.6.6 on Windows when using Ruby 2.0

Comment 8 joycezhang 2013-03-29 03:14:18 UTC
Verified this bug as below:


Build&Client:
rhc-1.6.8.gem
Wind7+ruby-2.0.0p0+net-ssh 2.6.6

Steps:
1. Install rhc client and check rhc commands

Actual results:
A warning "DL is deprecated" is shown, the rhc function work well instead of the original error as below:
$ rhc
DL is deprecated, please use Fiddle
Usage: rhc [--help] [--version] [--debug] <command> [<args>]

Command line interface for OpenShift.

Getting started:
  setup              Connects to OpenShift and sets up your keys and domain
  app create         Create an application
  apps               List all your applications
  cartridge list     List available cartridges
  cartridge add      Add a cartridge to your application
  server             Display information about the status of the OpenShift
service.
  account logout     End the current session

Working with apps:
  app restart        Restart the application
  app show           Show information about an application
  tail               Tail the logs of an application
  port-forward       Forward remote ports to the workstation
  threaddump         Trigger a thread dump for JBoss and Ruby applications.
  snapshot           Save the current state of your application locally
  git-clone          Clone and configure an application's repository locally


-- press enter/return to continue or q to stop --
Management commands:
  account            Display details about your OpenShift account
  alias              Add or remove a custom domain name (alias) for the
application
  app                Commands for creating and managing applications
  authorization      Display the authorization tokens created under your
account
  cartridge          Manage your application cartridges
  domain             Manage the domain and namespace for your applications.
  sshkey             Manage multiple keys for the registered rhcloud user.

See 'rhc help <command>' for more information on a specific command.  See 'rhc
help options' for a list of global command-line options and information about
the config file.

$ rhc domain show -p redhat
DL is deprecated, please use Fiddle
The domain stgtest1 exists but has no applications. You can use 'rhc app create'

to create a new application.


So mark this bug as Verified, Thanks.

Comment 10 joycezhang 2013-04-10 06:01:33 UTC
QE can't reproduce this bug now. Please refer to the steps as below:

Build:
rhc-1.7.2.gem
INT(devenv_3062)


Steps:
1. Try to use rhc commands like rhc , rhc domain show and etc.

Actual results:
A warning message "DL is deprecated, please use Fiddle" is shown and then the function will work well, the errors in attachement are not shown now.
C:\Users\Win7x64>rhc
DL is deprecated, please use Fiddle
Usage: rhc [--help] [--version] [--debug] <command> [<args>]

Command line interface for OpenShift.

Getting started:
  setup              Connects to OpenShift and sets up your keys and domain
  app create         Create an application
  apps               List all your applications
  cartridge list     List available cartridges
  cartridge add      Add a cartridge to your application
  server             Display information about the status of the OpenShift
service.
  account logout     End the current session

Working with apps:
  app restart        Restart the application
  app show           Show information about an application
  tail               Tail the logs of an application
  port-forward       Forward remote ports to the workstation
  threaddump         Trigger a thread dump for JBoss and Ruby applications.
  snapshot           Save the current state of your application locally
  git-clone          Clone and configure an application's repository locally


-- press enter/return to continue or q to stop --
Management commands:
  account            Display details about your OpenShift account
  alias              Add or remove a custom domain name (alias) for the
application
  app                Commands for creating and managing applications
  authorization      Display the authorization tokens created under your
account
  cartridge          Manage your application cartridges
  domain             Manage the domain and namespace for your applications.
  sshkey             Manage multiple keys for the registered rhcloud user.

See 'rhc help <command>' for more information on a specific command.  See 'rhc
help options' for a list of global command-line options and information about
the config file.





And the client infor as below:
Client:
Windows7 64bit
ruby-2.0 64bit
net-ssh 2.6.6
C:\Users\Win7x64>ruby -v
ruby 2.0.0p0 (2013-02-24) [x64-mingw32]

C:\Users\Win7x64>gem list

*** LOCAL GEMS ***

archive-tar-minitar (0.5.2)
bigdecimal (1.2.0)
commander (4.1.3)
highline (1.6.16)
httpclient (2.3.3)
io-console (0.4.2)
json (1.7.7)
minitest (4.3.2)
net-ssh (2.6.6)
open4 (1.3.0)
psych (2.0.0)
rake (0.9.6)
rdoc (4.0.0)
rhc (1.7.2)
test-unit (2.0.0.0)

Comment 11 Fabiano Franz 2013-04-15 16:55:39 UTC
I was also unable to reproduce. The "DL is deprecated, please use Fiddle" warning shows up eventually but all commands work fine. I suggest closing this bug (and maybe adding a KB warning windows users to always use net-ssh >= 2.6.6).
Using the following:

C:\Documents and Settings\Administrator>gem list

*** LOCAL GEMS ***

archive-tar-minitar (0.5.2)
bigdecimal (1.2.0)
commander (4.1.3)
highline (1.6.17)
httpclient (2.3.3)
io-console (0.4.2)
json (1.7.7)
minitest (4.3.2)
net-ssh (2.6.6)
open4 (1.3.0)
psych (2.0.0)
rake (0.9.6)
rdoc (4.0.0)
rhc (1.6.8)
test-unit (2.0.0.0)

C:\Documents and Settings\Administrator>ruby -v
ruby 2.0.0p0 (2013-02-24) [i386-mingw32]

C:\Documents and Settings\Administrator>rhc --version
DL is deprecated, please use Fiddle
rhc 1.6.8

Comment 12 joycezhang 2013-04-16 03:30:07 UTC
Mark this bug as verified according to the comments above. Thanks.


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