Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to upload RPM artifact using nexus cli #121

Open
shashanksinha1989 opened this issue Jun 28, 2016 · 0 comments
Open

Unable to upload RPM artifact using nexus cli #121

shashanksinha1989 opened this issue Jun 28, 2016 · 0 comments

Comments

@shashanksinha1989
Copy link

This is the error log


sudo /opt/ruby/bin/nexus-cli push_artifact devcloud:unrar:0.0.1:rpm unrar-4.0.7-1.el6.rf.x86_64.rpm --overrides url:<NEXUS_URL>:cfg-mgmt-chef-cookbook-archives-pre username:
/opt/ruby/lib/ruby/gems/2.2.0/gems/nexus_cli-4.2.0/lib/nexus_cli/configuration.rb:30: warning: found = in conditional, should be ==
/opt/ruby/lib/ruby/gems/2.2.0/gems/nexus_cli-4.2.0/lib/nexus_cli/configuration.rb:58: warning: found = in conditional, should be ==
/opt/ruby/lib/ruby/gems/2.2.0/gems/nexus_cli-4.2.0/lib/nexus_cli/configuration.rb:98: warning: mismatched indentations at 'end' with 'def' at 92
/opt/ruby/lib/ruby/gems/2.2.0/gems/nexus_cli-4.2.0/lib/nexus_cli/configuration.rb:94: warning: assigned but unused variable - config
/opt/ruby/lib/ruby/gems/2.2.0/gems/nexus_cli-4.2.0/lib/nexus_cli/configuration.rb:99: warning: mismatched indentations at 'end' with 'class' at 8
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/blank.rb:12: warning: method redefined; discarding old blank?
/opt/ruby/lib/ruby/gems/2.2.0/gems/activesupport-3.2.22.1/lib/active_support/core_ext/object/blank.rb:15: warning: previous definition of blank? was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/blank.rb:28: warning: method redefined; discarding old blank?
/opt/ruby/lib/ruby/gems/2.2.0/gems/activesupport-3.2.22.1/lib/active_support/core_ext/object/blank.rb:118: warning: previous definition of blank? was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/blank.rb:42: warning: method redefined; discarding old blank?
/opt/ruby/lib/ruby/gems/2.2.0/gems/activesupport-3.2.22.1/lib/active_support/core_ext/object/blank.rb:48: warning: previous definition of blank? was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/blank.rb:56: warning: method redefined; discarding old blank?
/opt/ruby/lib/ruby/gems/2.2.0/gems/activesupport-3.2.22.1/lib/active_support/core_ext/object/blank.rb:68: warning: previous definition of blank? was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/blank.rb:70: warning: method redefined; discarding old blank?
/opt/ruby/lib/ruby/gems/2.2.0/gems/activesupport-3.2.22.1/lib/active_support/core_ext/object/blank.rb:58: warning: previous definition of blank? was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/blank.rb:86: warning: method redefined; discarding old blank?
/opt/ruby/lib/ruby/gems/2.2.0/gems/activesupport-3.2.22.1/lib/active_support/core_ext/object/blank.rb:102: warning: previous definition of blank? was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/object.rb:138: warning: method redefined; discarding old try_dup
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/try_dup.rb:5: warning: previous definition of try_dup was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/object.rb:163: warning: method redefined; discarding old in?
/opt/ruby/lib/ruby/gems/2.2.0/gems/activesupport-3.2.22.1/lib/active_support/core_ext/object/inclusion.rb:13: warning: previous definition of in? was here
/opt/ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54: warning: loading in progress, circular require considered harmful - /opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/mash.rb
from /opt/ruby/bin/nexus-cli:23:in <main>' from /opt/ruby/bin/nexus-cli:23:inload'
from /opt/ruby/lib/ruby/gems/2.2.0/gems/nexus_cli-4.2.0/bin/nexus-cli:8:in <top (required)>' from /root/.gem/ruby/2.2.0/gems/thor-0.19.1/lib/thor/base.rb:440:instart'
from /root/.gem/ruby/2.2.0/gems/thor-0.19.1/lib/thor.rb:359:in dispatch' from /root/.gem/ruby/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:ininvoke_command'
from /root/.gem/ruby/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:27:in run' from /opt/ruby/lib/ruby/gems/2.2.0/gems/nexus_cli-4.2.0/lib/nexus_cli/tasks.rb:43:inpush_artifact'
from /opt/ruby/lib/ruby/gems/2.2.0/gems/nexus_cli-4.2.0/lib/nexus_cli/tasks.rb:497:in nexus_remote' from /opt/ruby/lib/ruby/gems/2.2.0/gems/nexus_cli-4.2.0/lib/nexus_cli/remote_factory.rb:18:increate'
from /opt/ruby/lib/ruby/gems/2.2.0/gems/nexus_cli-4.2.0/lib/nexus_cli/configuration.rb:1:in <top (required)>' from /opt/ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
from /opt/ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' from /opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib.rb:8:in<top (required)>'
from /opt/ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' from /opt/ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
from /opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/array.rb:1:in <top (required)>' from /opt/ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
from /opt/ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' from /opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/mash.rb:1:in<top (required)>'
from /opt/ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' from /opt/ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
from /opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/hash.rb:6:in <top (required)>' from /opt/ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
from /opt/ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/hash.rb:84: warning: method redefined; discarding old from_xml
/opt/ruby/lib/ruby/gems/2.2.0/gems/activesupport-3.2.22.1/lib/active_support/core_ext/hash/conversions.rb:97: warning: previous definition of from_xml was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/hash.rb:184: warning: method redefined; discarding old except
/opt/ruby/lib/ruby/gems/2.2.0/gems/activesupport-3.2.22.1/lib/active_support/core_ext/hash/except.rb:14: warning: previous definition of except was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/symbol.rb:3: warning: method redefined; discarding old try_dup
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/try_dup.rb:41: warning: previous definition of try_dup was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/boolean.rb:2: warning: method redefined; discarding old try_dup
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/try_dup.rb:11: warning: previous definition of try_dup was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/boolean.rb:8: warning: method redefined; discarding old try_dup
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/try_dup.rb:17: warning: previous definition of try_dup was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/inflection.rb:437: warning: method redefined; discarding old singularize
/opt/ruby/lib/ruby/gems/2.2.0/gems/activesupport-3.2.22.1/lib/active_support/core_ext/string/inflections.rb:41: warning: previous definition of singularize was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/inflection.rb:441: warning: method redefined; discarding old pluralize
/opt/ruby/lib/ruby/gems/2.2.0/gems/activesupport-3.2.22.1/lib/active_support/core_ext/string/inflections.rb:25: warning: previous definition of pluralize was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/module.rb:14: warning: method redefined; discarding old try_dup
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/try_dup.rb:23: warning: previous definition of try_dup was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/nil.rb:2: warning: method redefined; discarding old try_dup
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/try_dup.rb:29: warning: previous definition of try_dup was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/numeric.rb:2: warning: method redefined; discarding old try_dup
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/try_dup.rb:35: warning: previous definition of try_dup was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/chozo-0.6.1/lib/chozo/core_ext/hash/keys.rb:34: warning: method redefined; discarding old stringify_keys
/opt/ruby/lib/ruby/gems/2.2.0/gems/activesupport-3.2.22.1/lib/active_support/core_ext/hash/keys.rb:6: warning: previous definition of stringify_keys was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/chozo-0.6.1/lib/chozo/core_ext/hash/keys.rb:40: warning: method redefined; discarding old stringify_keys!
/opt/ruby/lib/ruby/gems/2.2.0/gems/activesupport-3.2.22.1/lib/active_support/core_ext/hash/keys.rb:12: warning: previous definition of stringify_keys! was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/chozo-0.6.1/lib/chozo/core_ext/hash/keys.rb:70: warning: method redefined; discarding old assert_valid_keys
/opt/ruby/lib/ruby/gems/2.2.0/gems/activesupport-3.2.22.1/lib/active_support/core_ext/hash/keys.rb:48: warning: previous definition of assert_valid_keys was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/chozo-0.6.1/lib/chozo/hashie_ext/hash.rb:5: warning: method redefined; discarding old to_hash
/opt/ruby/lib/ruby/gems/2.2.0/gems/hashie-3.4.3/lib/hashie/hash.rb:18: warning: previous definition of to_hash was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/activesupport-3.2.22.1/lib/active_support/core_ext/class/attribute_accessors.rb:32: warning: method redefined; discarding old cattr_reader
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/class.rb:40: warning: previous definition of cattr_reader was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/activesupport-3.2.22.1/lib/active_support/core_ext/class/attribute_accessors.rb:92: warning: method redefined; discarding old cattr_writer
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/class.rb:66: warning: previous definition of cattr_writer was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/activesupport-3.2.22.1/lib/active_support/core_ext/class/attribute_accessors.rb:164: warning: method redefined; discarding old cattr_accessor
/opt/ruby/lib/ruby/gems/2.2.0/gems/extlib-0.9.16/lib/extlib/class.rb:96: warning: previous definition of cattr_accessor was here
/opt/ruby/lib/ruby/gems/2.2.0/gems/activesupport-3.2.22.1/lib/active_support/core_ext/load_error.rb:9: warning: method redefined; discarding old path
/opt/ruby/lib/ruby/gems/2.2.0/gems/chozo-0.6.1/lib/chozo/varia_model.rb:71: warning: assigned but unused variable - errors
Please enter a password:
/opt/ruby/lib/ruby/gems/2.2.0/gems/nexus_cli-4.2.0/lib/nexus_cli/mixins/artifact_actions.rb:30: warning: assigned but unused variable - artifact_file
/opt/ruby/lib/ruby/gems/2.2.0/gems/nexus_cli-4.2.0/lib/nexus_cli/mixins/global_settings_actions.rb:15: warning: assigned but unused variable - artifact_file
/opt/ruby/lib/ruby/gems/2.2.0/gems/nexus_cli-4.2.0/lib/nexus_cli/mixins/role_actions.rb:106: warning: mismatched indentations at 'end' with 'module' at 4
The server responded with a 500 status code which is unexpected. Please submit a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant