Bug 1121298
| Summary: | can't install drupal from code | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Peter Ruan <pruan> |
| Component: | Node | Assignee: | Luke Meyer <lmeyer> |
| Status: | CLOSED WORKSFORME | QA Contact: | libra bugs <libra-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.2.0 | CC: | jialiu, jokerman, libra-onpremise-devel, mmccomas, pruan |
| 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-07-25 07:06:24 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: | |
| Embargoed: | |||
|
Description
Peter Ruan
2014-07-18 23:47:50 UTC
Seems likely it's just taking longer than the timeouts set. Does it work if you expand timeouts? https://access.redhat.com/documentation/en-US/OpenShift_Enterprise/2/html-single/Administration_Guide/index.html#Component_Timeout_Value_Locations The broker mco timeout is the shortest, 240 seconds = 3 minutes. How long does it take to deploy if not --from-code? Ping on this - any response to comment 2? Will close shortly if not. Hi Luke, Do you want me to modify the timeout value and try it? Do you know how I can create the drupal app w/o the --from-code option? Thanks, -peter Hmmm, I could not reproduce this bug, $ rhc app create tjyjulvn php-5.4 --from-code https://github.com/drupal/drupal#7.x Application Options ------------------- Domain: jialiu Cartridges: php-5.4 Source Code: https://github.com/drupal/drupal#7.x Gear Size: default Scaling: no Creating application 'tjyjulvn' ... done Waiting for your DNS name to be available ... done Cloning into 'tjyjulvn'... Warning: Permanently added 'tjyjulvn-jialiu.ose-21.com.cn,10.3.13.225' (RSA) to the list of known hosts. Your application 'tjyjulvn' is now available. URL: http://tjyjulvn-jialiu.ose-21.com.cn/ SSH to: 53d1f1dfbe739b3a3c00003b.com.cn Git remote: ssh://53d1f1dfbe739b3a3c00003b.com.cn/~/git/tjyjulvn.git/ Cloned to: /home/jialiu/tjyjulvn Run 'rhc show-app tjyjulvn' for more details about your app. $ curl -I http://tjyjulvn-jialiu.ose-21.com.cn/ HTTP/1.1 302 Found Date: Fri, 25 Jul 2014 06:24:09 GMT Server: Apache/2.2.15 (Red Hat) Location: http://tjyjulvn-jialiu.ose-21.com.cn/install.php Cache-Control: no-cache Content-Type: text/html; charset=UTF-8 Connection: close @peter, if you do not want to change mco timeout mentioned in comment 2, you could split the quick-start app creation into 2 steps, that would also avoid time out issue happen. $ rhc app create tjyjulvn php-5.4 $ cd tjyjulvn && git remote add upstream -m master https://github.com/drupal/drupal#7.x && git pull -s recursive -X theirs upstream master && git push && cd - I tried it again with an updated puddle and it works now. Will close this bug. [peter@unused-16-138 <CUCUSHIFT_ONPREM> junk]# rhc app create tjyjulvn php-5.4 --from-code https://github.com/drupal/drupal#7.x Your authorization token has expired. Please sign in now to continue on 10.14.16.216. Password: ******** Application Options ------------------- Domain: ose Cartridges: php-5.4 Source Code: https://github.com/drupal/drupal#7.x Gear Size: default Scaling: no Creating application 'tjyjulvn' ... done Waiting for your DNS name to be available ... done Cloning into 'tjyjulvn'... Warning: Permanently added 'tjyjulvn-ose.ose21z.example.com' (RSA) to the list of known hosts. Your application 'tjyjulvn' is now available. URL: http://tjyjulvn-ose.ose21z.example.com/ SSH to: 53d2009416ae3143320000f1.example.com Git remote: ssh://53d2009416ae3143320000f1.example.com/~/git/tjyjulvn.git/ Cloned to: /home/peter/junk/tjyjulvn Run 'rhc show-app tjyjulvn' for more details about your app. |