Hide Forgot
Description of problem: If you do not have a small node profile in an OSE environment, the Jenkions build fails to get created because it is bound to this gear type. --- Notes from my logs --- ==> /var/log/openshift/broker/user_action.log <== FAILURE DATE=2013-11-06 TIME=12:16:59 ACTION=ADD_APPLICATION REQ_ID=1cbde3cdf76a4a293707c3e45b588d6e USER_ID=51f938969e0f88db43000001 LOGIN=demo DOMAIN=test No nodes available. ==> /var/log/openshift/broker/production.log <== Completed 500 Internal Server Error in 10256ms (Views: 2.0ms) Started POST "/broker/rest/domains/test/applications" for 127.0.0.1 at 2013-11-06 12:17:05 -0500 Processing by ApplicationsController#create as JSON Parameters: {"cartridge"=>"jbosseap-6.0", "name"=>"minibossbldr", "gear_profile"=>"small", "domain_id"=>"test"} How reproducible: Edit the following on: /etc/openshift/broker.conf VALID_GEAR_SIZES="medium" DEFAULT_GEAR_CAPABILITIES="medium" DEFAULT_GEAR_SIZE="medium" Edit the following on: /etc/openshift/resource_limits.conf node_profile=medium # rhc app create butler jenkins-1 --config ~/.openshift/ose.conf # rhc git-clone miniboss --config ~/.openshift/ose.conf # cd minboss ; echo "Testing" >> README.md # git commit -am "Testing"; git push Actual results: Errors seen above. Expected results: A builder to get created and build the changes for the app. Additional info: Modifying the following and reinstalling the cartridge is the current workaround to this issue: /var/lib/openshift/.cartridge_repository/redhat-jenkins-client/0.0.1/configuration/jenkins_job_template.xml.erb.hidden: <builderSize>medium</builderSize> /var/lib/openshift/.cartridge_repository/redhat-jenkins/0.0.1/configuration/config.xml: <defaultBuilderSize>medium</defaultBuilderSize>
We need to create a kbase article for all known issues like this with our Jenkins integration.
Its very rudamentay, but we can use https://access.redhat.com/site/solutions/541973 as a Work in Progress for issue like this.
*** Bug 1015141 has been marked as a duplicate of this bug. ***
This has been resolved. $ --> rhc app create butler jenkins-1 -g medium Application Options ------------------- Domain: penguinforge Cartridges: jenkins-1 Gear Size: medium Scaling: no Creating application 'butler' ... done Jenkins created successfully. Please make note of these credentials: User: admin Password: PASSWORD ...