/ / Konfiguracja Rhc Openshift czeka chwilę - openshift

Openshift na rhc czeka na chwilę - openshift

Czeka chwilę bezczynności. Jest to normalne? Kiedy idę do linku w ostatniej wiadomości debugowania w Chrome, otwiera się strona z oknem logowania. Ale moja linia poleceń czeka bez robienia czegokolwiek.

(Zainstalowałem z w tym samouczku)

Oto wynik:

arjempagan@arjempagan-o-e-m:~$ rhc setup --debug
DEBUG: Using config file /home/arjempagan/.openshift/express.conf
DEBUG: Running greeting_stage
OpenShift Client Tools (RHC) Setup Wizard

This wizard will help you upload your SSH keys, set your application
namespace, and check that other programs like Git are properly installed.
DEBUG: Running server_stage

If you have your own OpenShift server, you can specify it now. Just hit
enter to use the server for OpenShift Online: openshift.redhat.com.


You can add more servers later using "rhc server".
DEBUG: Running login_stage
DEBUG: Connecting to https://openshift.redhat.com/broker/rest/api
DEBUG: Client supports API versions 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7
DEBUG: Created new httpclient
DEBUG: Request GET https://openshift.redhat.com/broker/rest/api
DEBUG:    code 200  919 ms
DEBUG: Server supports API versions 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7
DEBUG:    Using API version 1.7
DEBUG: Client API version 1.7 is not current. Refetching API
DEBUG: Request GET https://openshift.redhat.com/broker/rest/api
DEBUG:    code 200  207 ms
DEBUG: Getting user info
DEBUG: Request GET https://openshift.redhat.com/broker/rest/user

Ciekawy dorobek:

$ rhc --version
rhc 0.0.0

Odpowiedzi:

2 dla odpowiedzi № 1

Znalazłem kilka zgłoszonych błędów.

Możesz zobaczyć tutaj i tutaj:

Cytat za rozwiązanie:

W Ubuntu 15.10 i rhc 1.35.4-3, rhc --version daje 0.0.0, a konfiguracja wisi po GET (...) / broker/rest / user. Odinstalowanie pakietu (sudo apt-get remove rhc), instalacja gem (sudo Gem install rhc) i wyczyszczenie bash ' s paths cache (hash-d rhc) zadziałało.


1 dla odpowiedzi nr 2

Miałem ten sam problem na Ubuntu 16.04, i nie mogłem "t zrobić to działa z @ Ciekawe Knox" s rozwiązanie

Oto podjęte kroki, które zadziałały dla mnie i mam nadzieję, że komuś pomogą.

// removing debian package
sudo apt-get remove rhc

// installing rhc with gems
sudo gem install rhc

// version installed is rhc-1.38.4
// navigate to /var/lib/gems/2.3.0/gems/rhc-1.38.4

cd /var/lib/gems/2.3.0/gems/rhc-1.38.4

// run setup
rhc setup