| Summary: | Could not scale-up jbosseap application | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Gaoyun Pei <gpei> | ||||
| Component: | ImageStreams | Assignee: | Brenton Leanhardt <bleanhar> | ||||
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 2.0.0 | CC: | bleanhar, gpei, kcleveng | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-05-15 14:40:39 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Gaoyun Pei
2013-12-16 09:23:24 UTC
Created attachment 837160 [details]
mcollective.log
I reinstalled the blade with ose-2.1-2014-03-21.4, still couldn't create a scalable jbosseap app successfully, which is really disappointing. The same error information reported at the client side. [root@broker ~]# rhc app create app1 jbosseap -s Using jbosseap-6 (JBoss Enterprise Application Platform 6) for 'jbosseap' Application Options ------------------- Domain: 1234 Cartridges: jbosseap-6 Gear Size: default Scaling: yes Creating application 'app1' ... Unable to complete the requested operation due to: The server node.stress.com that your application is running on failed to respond in time. This may be due to a system restart. Reference ID: 8ff93eb60851b8d9a651f1c0fb7ac0e0 Here's the error logs in platform.log when creating this app : ... March 25 02:33:00 INFO 5331230a34c48c8fb7000064 start against 'jbosseap' March 25 02:33:34 INFO AdminGearsControl: initialized for gear(s) 5331230a34c48c8fb7000064 AdminGearsControl: initialized with timeout 360s AdminGearsControl: initialized with 1 process per CPU March 25 02:33:34 ERROR (24510) Stopping gear 5331230a34c48c8fb7000064 ... [ FAILED ] undefined method `values' for nil:NilClass March 25 02:33:34 INFO 5331230a34c48c8fb7000064 start against 'haproxy' March 25 02:33:34 INFO Shell command '/sbin/runuser -s /bin/sh 5331230a34c48c8fb7000064 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c3,c526' /bin/sh -c \"set -e; /var/lib/openshift/5331230a34c48c8fb7000064/haproxy/bin/control start \""' ran. rc=0 out=HAProxy instance is started March 25 02:33:34 INFO The file context database is being reloaded. March 25 02:33:34 INFO 5331230a34c48c8fb7000064 start against 'jbosseap' March 25 02:33:35 INFO Shell command '/sbin/runuser -s /bin/sh 5331230a34c48c8fb7000064 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c3,c526' /bin/sh -c \"set -e; /var/lib/openshift/5331230a34c48c8fb7000064/jbosseap/bin/control start \""' ran. rc=0 out=Application is already running March 25 02:33:35 INFO (24510) Starting gear 5331230a34c48c8fb7000064 ... [ OK ] March 25 02:33:35 ERROR Gear: 5331230a34c48c8fb7000064 failed, Error: undefined method `values' for nil:NilClass March 25 02:33:35 INFO Gear: 5331230a34c48c8fb7000064 failed, Exception: #<NoMethodError: undefined method `values' for nil:NilClass> March 25 02:33:35 INFO Gear: 5331230a34c48c8fb7000064 failed, Exception: #<NoMethodError: undefined method `values' for nil:NilClass> March 25 02:33:35 INFO Gear: 5331230a34c48c8fb7000064 failed, Backtrace: ["/opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/user_interaction.rb:237:in `method_missing'", "/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.22.4/lib/openshift-origin-node/model/application_container_ext/cartridge_actions.rb:1646:in `update_proxy_status'", "/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.22.4/lib/openshift-origin-node/model/application_container.rb:469:in `stop_gear'", "/usr/sbin/oo-admin-ctl-gears:177:in `block (2 levels) in restart'", "/usr/sbin/oo-admin-ctl-gears:115:in `block in gear_action'", "/opt/rh/ruby193/root/usr/share/ruby/timeout.rb:69:in `timeout'", "/usr/sbin/oo-admin-ctl-gears:114:in `gear_action'", "/usr/sbin/oo-admin-ctl-gears:177:in `block in restart'", "/opt/rh/ruby193/root/usr/share/gems/gems/parallel-0.8.0/lib/parallel.rb:345:in `call'", "/opt/rh/ruby193/root/usr/share/gems/gems/parallel-0.8.0/lib/parallel.rb:345:in `call_with_index'", "/opt/rh/ruby193/root/usr/share/gems/gems/parallel-0.8.0/lib/parallel.rb:274:in `process_incoming_jobs'", "/opt/rh/ruby193/root/usr/share/gems/gems/parallel-0.8.0/lib/parallel.rb:257:in `block in worker'", "/opt/rh/ruby193/root/usr/share/gems/gems/parallel-0.8.0/lib/parallel.rb:250:in `fork'", "/opt/rh/ruby193/root/usr/share/gems/gems/parallel-0.8.0/lib/parallel.rb:250:in `worker'", "/opt/rh/ruby193/root/usr/share/gems/gems/parallel-0.8.0/lib/parallel.rb:238:in `block in create_workers'", "/opt/rh/ruby193/root/usr/share/gems/gems/parallel-0.8.0/lib/parallel.rb:237:in `each'", "/opt/rh/ruby193/root/usr/share/gems/gems/parallel-0.8.0/lib/parallel.rb:237:in `create_workers'", "/opt/rh/ruby193/root/usr/share/gems/gems/parallel-0.8.0/lib/parallel.rb:201:in `work_in_processes'", "/opt/rh/ruby193/root/usr/share/gems/gems/parallel-0.8.0/lib/parallel.rb:106:in `map'", "/usr/sbin/oo-admin-ctl-gears:173:in `restart'", "/usr/sbin/oo-admin-ctl-gears:403:in `block (2 levels) in <main>'", "/opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/command.rb:180:in `call'", "/opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/command.rb:180:in `call'", "/opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/command.rb:155:in `run'", "/opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/runner.rb:385:in `run_active_command'", "/opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/runner.rb:62:in `run!'", "/opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/delegates.rb:11:in `run!'", "/opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/import.rb:10:in `block in <top (required)>'"] March 25 02:33:35 INFO Gear: 5331230a34c48c8fb7000064 output, undefined method `values' for nil:NilClass March 25 02:33:35 INFO Gear: 5331230a34c48c8fb7000064 output, undefined method `values' for nil:NilClass ... After increase the configuration setting in /etc/openshift/resource_limits.conf as Comment 12 said, scalable jbosseap app could be created and scale-up smoothly. So move this bug to VERIFIED. |