Bug 963985
Summary: | rhc client fails to display admin credentials if there is a problem cloning jenkins repository | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Brian Harrington <bharrington> |
Component: | oc | Assignee: | Clayton Coleman <ccoleman> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | low | Docs Contact: | |
Priority: | high | ||
Version: | 2.x | CC: | kburres, wsun |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-06-24 14:49:01 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
Brian Harrington
2013-05-17 00:09:45 UTC
Fixed in https://github.com/openshift/rhc/pull/400 - also overhauled the output of the command to make it more relevant. Example output follows: $ bundle exec bin/rhc create-app foo2 php-5 Using php-5.3 (PHP 5.3) for 'php-5' Application Options ------------------- Namespace: aoeu Cartridges: php-5.3 Gear Size: default Scaling: no Creating application 'foo2' ... http://foo2-aoeu.dev.rhcloud.com/ Application foo2 was created. The cartridge php deployed a template application Starting Apache+mod_php HTTPD server Waiting for your DNS name to be available ... done Cloning into 'foo2'... Your application 'foo2' is now available. URL: http://foo2-aoeu.dev.rhcloud.com/ SSH to: 365943475092213085503488.rhcloud.com Git remote: ssh://365943475092213085503488.rhcloud.com/~/git/foo2.git/ Cloned to: /home/clayton/code/rhc/foo2 Run 'rhc show-app foo2' for more details about your app. Will verify it after the pull request is merged. Commit pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/a5fb68b1fcb60572faf2cbbd79ffd86606d7781e Bug 963985 - Overhaul how RHC app-create generates output Instead of displaying all messages at the end, indent them and put them near the step that generates them. If errors occur, display a simpler warning. Skip displaying the entire app-show output, instead show more relevant user info Simplify the other output in the command Verified on devenv_3368,and rhc is build from devenv_3368 Step: 1.mkdir jenkins 2.rhc app create jenkins jenkins-1.4 Result: [sunwei@dhcp-8-229 dev]$ rhc app create jenkins jenkins-1.4 Password: * Application Options ------------------- Namespace: wsundev3368 Cartridges: jenkins-1.4 Gear Size: default Scaling: no Creating application 'jenkins' ... done Application jenkins was created. The cartridge jenkins deployed a template application Jenkins created successfully. Please make note of these credentials: User: admin Password: u-n1Til1nM7h Note: You can change your password at: https://jenkins-wsundev3368.dev.rhcloud.com/me/configure Waiting for your DNS name to be available ... done Cloning into 'jenkins'... The authenticity of host 'jenkins-wsundev3368.dev.rhcloud.com (54.242.65.128)' can't be established. RSA key fingerprint is 28:b5:1a:f1:78:ab:29:38:42:b7:54:14:fd:db:e9:af. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'jenkins-wsundev3368.dev.rhcloud.com,54.242.65.128' (RSA) to the list of known hosts. Your application 'jenkins' is now available. URL: http://jenkins-wsundev3368.dev.rhcloud.com/ SSH to: dd6fe97ad70111e291e712313d04ead9.rhcloud.com Git remote: ssh://dd6fe97ad70111e291e712313d04ead9.rhcloud.com/~/git/jenkins.git/ Cloned to: /home/sunwei/test/dev/jenkins Run 'rhc show-app jenkins' for more details about your app. |