Application creation failed on Openshift

Solution Verified - Updated -

Issue

  • Application creation failed on Openshift with below error in broker production logs :
2015-05-22 08:52:24.726 [ERROR] Encountered error during execute 'Neither PUB key nor PRIV key:: header too long' (pid:2706)
2015-05-22 08:52:26.813 [ERROR] Reference ID: 653f238c5d6f18db24a549d164e241b2 - Neither PUB key nor PRIV key:: header too long
  /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-controller-1.35.1.3/lib/openshift/auth/broker_key.rb:98:in `initialize'
  /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-controller-1.35.1.3/lib/openshift/auth/broker_key.rb:98:in `new'
  /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-controller-1.35.1.3/lib/openshift/auth/broker_key.rb:98:in `public_key'
  /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-controller-1.35.1.3/lib/openshift/auth/broker_key.rb:37:in `generate_broker_key'
  /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-controller-1.35.1.3/app/pending_ops_models/add_broker_auth_key_op.rb:17:in `add_parallel_execute_job'
  /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-controller-1.35.1.3/app/models/pending_app_op_group.rb:101:in `block in execute'
  /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-controller-1.35.1.3/app/models/pending_app_op_group.rb:94:in `each'
  /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-controller-1.35.1.3/app/models/pending_app_op_group.rb:94:in `execute'
  /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-controller-1.35.1.3/app/models/application.rb:1771:in `run_jobs'
  • After installing a new OSE 2.2 system on a redundant infrastructure with two brokers, one mongodb replication host and two nodes, we are facing problems when attempting to create a new application via rhc or the web console.

  • When creating an application on openshift below error is seen:

Neither PUB key nor PRIV key:: header too long
  • Application creation fails on freshly installed system

Environment

  • Openshift Enterprise
    • 2.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.