Bug 1071812 - Failed to create redmine quickstart
Summary: Failed to create redmine quickstart
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Templates
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Jakub Hadvig
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-03 08:33 UTC by Wei Sun
Modified: 2015-05-15 02:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-12 03:09:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Wei Sun 2014-03-03 08:33:54 UTC
Description of problem:
Try to creat redmine quickstart,but it failed.There are some error messages when git push
remote: rake aborted!
remote: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/connection_adapters/mysql_adapter.rb:411:in `real_connect'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/connection_adapters/mysql_adapter.rb:411:in `connect'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/connection_adapters/mysql_adapter.rb:131:in `initialize'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/connection_adapters/mysql_adapter.rb:38:in `new'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/connection_adapters/mysql_adapter.rb:38:in `mysql_connection'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:315:in `send'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:315:in `new_connection'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:325:in `checkout_new_connection'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:247:in `checkout'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:242:in `loop'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:242:in `checkout'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:239:in `checkout'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:102:in `connection'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:101:in `connection'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:410:in `retrieve_connection'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_specification.rb:171:in `retrieve_connection'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_specification.rb:145:in `connection'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/model_schema.rb:224:in `table_exists?'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/attribute_methods/primary_key.rb:75:in `get_primary_key'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/attribute_methods/primary_key.rb:60:in `reset_primary_key'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/attribute_methods/primary_key.rb:49:in `primary_key'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activerecord-3.2.16/lib/active_record/attribute_assignment.rb:13:in `attributes_protected_by_default'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activemodel-3.2.16/lib/active_model/mass_assignment_security.rb:216:in `protected_attributes_configs'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activemodel-3.2.16/lib/active_model/mass_assignment_security.rb:188:in `call'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activemodel-3.2.16/lib/active_model/mass_assignment_security.rb:188:in `default'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activemodel-3.2.16/lib/active_model/mass_assignment_security.rb:188:in `[]'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activemodel-3.2.16/lib/active_model/mass_assignment_security.rb:188:in `protected_attributes'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activemodel-3.2.16/lib/active_model/mass_assignment_security.rb:118:in `attr_protected'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activemodel-3.2.16/lib/active_model/mass_assignment_security.rb:117:in `each'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activemodel-3.2.16/lib/active_model/mass_assignment_security.rb:117:in `attr_protected'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/app/models/issue_relation.rb:73
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236:in `load_dependency'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:359:in `require_or_load'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:502:in `load_missing_constant'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:192:in `const_missing'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:190:in `each'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:190:in `const_missing'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:514:in `load_missing_constant'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:192:in `const_missing'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:190:in `each'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:190:in `const_missing'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:514:in `load_missing_constant'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:192:in `const_missing'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:190:in `each'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:190:in `const_missing'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:514:in `load_missing_constant'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:192:in `const_missing'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:190:in `each'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:190:in `const_missing'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/lib/redmine/helpers/gantt.rb:28
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236:in `load_dependency'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/lib/redmine.rb:51
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236:in `load_dependency'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/config/initializers/30-redmine.rb:4
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:245:in `load'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:245:in `load'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236:in `load_dependency'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:245:in `load'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/railties-3.2.16/lib/rails/engine.rb:593
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/railties-3.2.16/lib/rails/engine.rb:592:in `each'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/railties-3.2.16/lib/rails/engine.rb:592
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/railties-3.2.16/lib/rails/initializable.rb:30:in `instance_exec'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/railties-3.2.16/lib/rails/initializable.rb:30:in `run'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/railties-3.2.16/lib/rails/initializable.rb:55:in `run_initializers'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/railties-3.2.16/lib/rails/initializable.rb:54:in `each'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/railties-3.2.16/lib/rails/initializable.rb:54:in `run_initializers'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/railties-3.2.16/lib/rails/application.rb:136:in `initialize!'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30:in `send'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30:in `method_missing'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/config/environment.rb:14
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236:in `load_dependency'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/railties-3.2.16/lib/rails/application.rb:103:in `require_environment!'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/railties-3.2.16/lib/rails/application.rb:305:in `initialize_tasks'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/actionpack-3.2.16/lib/sprockets/assets.rake:93
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/actionpack-3.2.16/lib/sprockets/assets.rake:60
remote: Tasks: TOP => environment
remote: (See full trace by running task with --trace)
remote: rake aborted!
remote: Command failed with status (1): [/usr/bin/ruby /var/lib/openshift/53142a603...]
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/actionpack-3.2.16/lib/sprockets/assets.rake:12:in `ruby_rake_task'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/actionpack-3.2.16/lib/sprockets/assets.rake:21:in `invoke_or_reboot_rake_task'
remote: /var/lib/openshift/53142a603719c35119000073/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/actionpack-3.2.16/lib/sprockets/assets.rake:29
remote: Tasks: TOP => assets:precompile
remote: (See full trace by running task with --trace)
remote: -------------------------
remote: Git Post-Receive Result: failure
remote: Activation status: failure
remote: Activation failed for the following gears:
remote: 53142a603719c35119000073 (Error activating gear: CLIENT_ERROR: Failed to execute: 'control deploy' for /var/lib/openshift/53142a603719c35119000073/ruby)
remote: Deployment completed with status: failure
remote: postreceive failed
To ssh://53142a603719c35119000073.rhcloud.com/~/git/redmine.git/
   06ee93c..3ce1e58  master -> master

Version-Release number of selected component (if applicable):
https://github.com/openshift/openshift-redmine-quickstart
devenv_4449

How reproducible:
always

Steps to Reproduce:
1.Create redmine quickstart following https://github.com/openshift/openshift-redmine-quickstart
2.
3.

Actual results:
Failed to create redmine quickstart

Expected results:
Could create redmine quickstart successfully

Additional info:

Comment 1 Jakub Hadvig 2014-03-03 13:47:26 UTC
Unable to reproduced on devenv_4449.
Tried every combination: Scalabla/ Non-scalable
                         Ruby 1.9/1.8
                         MySQL 5.1/5.5

Everything was working fine.

Also saw the tcms issues about login to created redmine application as an Admin user:
https://tcms.engineering.redhat.com/run/118520/?order_by=&case__summary__icontains=&tested_by__email__startswith=&assignee__email__startswith=&case__is_automated=&case_run_bug__bug_id__in=&case_run_status__pk=3&case__priority__pk=&case__tag__name=#caserun_4432290

Can not reproduce this issue.
Putting on back to ON_QA

Comment 2 Wei Sun 2014-03-04 07:22:09 UTC
Verified on devenv_4455

Now could create non-scalable/scalable redmine quickstart with ruby-1.9/ruby-1.8 mysql-5.1/mysql-5.5


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