This wizard will help you upload your SSH keys, set your application namespace, and check that other programs like Git are properly installed.
The server's certificate is self-signed, which means that a secure connection can't be established to 'broker.xdpaas.com'.
You may bypass this check, but any data you send to the server could be intercepted by others.
Connect without checking the certificate? (yes|no): yes
Login to broker.xdpaas.com: adminpass
Password: ********
1 2 3
OpenShift can createand store a token on disk which allows to you toaccess the serverwithoutusing your password. The key is stored in your home directory and should be kept secret. You can delete the key at anytimeby running 'rhc logout'.
Generate a token now? (yes|no) yes
1 2 3 4 5 6 7
Generating an authorization tokenfor this client ... lasts about 23 hours
Saving configuration to /root/.openshift/express.conf ... done
No SSH keys were found. We will generate a pair ofkeysfor you.
Created: /root/.ssh/id_rsa.pub
Your public SSH key must be uploaded to the OpenShift server to access code. Upload now? (yes|no) yes
Waiting for your DNS name to be available ... retry # 1 - Waiting for DNS: pythonapp-xdpaas.xdpaas.com retry # 2 - Waiting for DNS: pythonapp-xdpaas.xdpaas.com retry # 3 - Waiting for DNS: pythonapp-xdpaas.xdpaas.com retry # 4 - Waiting for DNS: pythonapp-xdpaas.xdpaas.com retry # 5 - Waiting for DNS: pythonapp-xdpaas.xdpaas.com retry # 6 - Waiting for DNS: pythonapp-xdpaas.xdpaas.com retry # 7 - Waiting for DNS: pythonapp-xdpaas.xdpaas.com failure !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WARNING: Your application was created successfully but had problems during configuration. Below is a list of the issues and steps you can take to complete the configuration of your application.
Deleting domain 'xdpaas' ... Domain contains applications. Delete applications first or set force totrue. [root@node rhc]# rhc app-delete pythonapp This is a non-reversible action! Your application code and data will be permanently deleted if you continue!
Are you sure you want todelete the application 'pythonapp'? (yes|no): yes
删除错误的主机
[root@node rhc]# rhc domain-delete xdpaas
1
Deleting domain'xdpaas' ... Domaincontains applications. Delete applications first or set force to true.
重新建立主机
[root@node rhc]# rhc create-domain broker
1 2 3
Creating domain 'broker' ... done You may now create an application using the 'rhc create-app'command [root@noderhc]#
Waiting for your DNS name to be available ... retry # 1 - Waiting for DNS: pythonapp-broker.xdpaas.com retry # 2 - Waiting for DNS: pythonapp-broker.xdpaas.com retry # 3 - Waiting for DNS: pythonapp-broker.xdpaas.com retry # 4 - Waiting for DNS: pythonapp-broker.xdpaas.com retry # 5 - Waiting for DNS: pythonapp-broker.xdpaas.com retry # 6 - Waiting for DNS: pythonapp-broker.xdpaas.com retry # 7 - Waiting for DNS: pythonapp-broker.xdpaas.com failure !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WARNING: Your application was created successfully but had problems during configuration. Below is a list of the issues and steps you can take to complete the configuration of your application.
Unable toconnectto the server (getaddrinfo: Nameor service not known (https://broker.xdpaas.com:443)). Check that you have correctly specified your OpenShift server'https://broker.xdpaas.com/broker/rest/api'.