| Summary: | Drupal 7 Quickstart do not show the credentials for admin at installation (rhc & web console) | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Diane Mueller <dmueller2001> |
| Component: | Templates | Assignee: | Michal Fojtik <mfojtik> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.x | CC: | mfojtik, vvitek, xiuwang |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-10 00:46:35 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: | |
| Bug Depends On: | |||
| Bug Blocks: | 1013684 | ||
|
Description
Diane Mueller
2013-09-27 13:44:32 UTC
Talked with Dan, we'd like to finally enable this in post-configure. In cartridge_actions.rb#post_configure, if the configure is successful, grep the build.log to extract lines starting with CLIENT_MESSAGE|CLIENT_DEBUG|CLIENT_ERROR|CLIENT_RESULT, then ship only those lines (up to a certain size) back to the broker as part of the output. This should ensure that quickstarts can report messages back to the client. Agree this is fairly high priority. Pull request https://github.com/openshift/origin-server/pull/3751 provides support for post_configure to report CLIENT_* messages to broker. Currently these quickstarts emit admin credentials from the deploy action hook, who's stream cannot be parsed. A solution would be to refactor the quickstarts to use the build action hook to output the admin credentials. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/b48dadaf12af9789690362c3d1831b8bb6365b39 Bug 1012981 - Parse post-configure output for client messages https://github.com/openshift/drupal-quickstart/pull/21 This PR also fixes the insecure default password issue. Checked in devenv_5003 1. Three scenarios for drupal7 quickstart with https://github.com/openshift/drupal-quickstart. Could show the randomly generated password: when creates the application from the web ui when creates the app with rhc app create --from-app [...] when creates the cartridges and pushes the quickstart via git 2. And the shown like the following: Drupal installed successfully. Drupal admin login: admin Drupal admin password: B7lrWPysBrp8 Don't forget to change your drupal admin password! 3.Could reset admin passwd of drupal7 quickstart. Move bug to VERIFIED. drupal8 quickstart(https://github.com/phase2/drupal-quickstart) is still created with the default password(openshift_changeme) from rhc and web console site. Assignee this bug back @XiuJuan we don't support drupal8 at the moment, we also don't have control on the linked quickstart. I'll notify the owner about the change I made, if he wants, he can apply them. @Balazs Thanks for your information~! |