Description of problem: Unable to create scalable app and jenkins server due to unable to find the pubkeyfile. Version-Release number of selected component (if applicable): http://buildvm-devops.usersys.redhat.com/puddle/build/OpenShiftEnterprise/2.0/2013-10-08.1 How reproducible: Always Steps to Reproduce: 1.create a scalable app [root@dhcp-8-133 workspace]# rhc app create app1 python-2.6 -s Application Options ------------------- Domain: 12 Cartridges: python-2.6 Gear Size: default Scaling: yes Creating application 'app1' ... Unable to complete the requested operation due to: No such file or directory - /var/www/openshift/broker/config/server_pub.pem. Reference ID: a3fee5f487954139317c61a548f995fe 2.create a jenkens server app [root@dhcp-8-133 workspace]# rhc app create j jenkins-1 Application Options ------------------- Domain: 12 Cartridges: jenkins-1 Gear Size: default Scaling: no Creating application 'j' ... Unable to complete the requested operation due to: No such file or directory - /var/www/openshift/broker/config/server_pub.pem. Reference ID: f980a918abece91194fc708d572dfa66 Actual results: Expected results: Apps should be created successfully Additional info: Noticed that there's inconsistency between /var/www/openshift/broker/config/environments/production.rb and /etc/openshift/broker.conf In production.rb, the name defined is AUTH_PRIV_KEY_FILE/AUTH_PRIV_KEY_PASS/AUTH_PUB_KEY_FILE, while in broker.conf, the name defined is AUTH_PRIVKEYFILE/AUTH_PRIVKEYPASS/AUTH_PUBKEYFILE /var/www/openshift/broker/config/environments/production.rb: config.auth = { :salt => conf.get("AUTH_SALT", ""), :privkeyfile => conf.get("AUTH_PRIV_KEY_FILE", "/var/www/openshift/broker/config/server_priv.pem"), :privkeypass => conf.get("AUTH_PRIV_KEY_PASS", ""), :pubkeyfile => conf.get("AUTH_PUB_KEY_FILE", "/var/www/openshift/broker/config/server_pub.pem"), :rsync_keyfile => conf.get("AUTH_RSYNC_KEY_FILE", "/etc/openshift/rsync_id_rsa") } /etc/openshift/broker.conf: AUTH_PRIVKEYFILE="/etc/openshift/server_priv.pem" AUTH_PRIVKEYPASS="" AUTH_PUBKEYFILE="/etc/openshift/server_pub.pem" AUTH_RSYNC_KEY_FILE="/etc/openshift/rsync_id_rsa"
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/d581d65888db65412a08621273f753f68deca55c Bug 1017005 - Fixing the Broker's AUTH_* settings that have been renamed If they are wrong it will break jenkins integration
This bug was already fixed on the new puddle 2.0/2013-10-10.2 with package openshift-origin-broker-1.15.1-1.git.648.c9bf8fd.el6op.noarch.rpm, would move it to VERIFIED once its status changed to ON_QA
I forgot to move this bug to ON_QA since we picked it up during the rebase. :)
Move this bug to VERIFIED according to Comment 3