[jbosstools-issues] [JBoss JIRA] (JBIDE-21871) Weird message in error log when connecting to cdk openshift - Unauthorized

Andre Dietisheim (JIRA) issues at jboss.org
Tue Mar 15 14:08:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-21871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177344#comment-13177344 ] 

Andre Dietisheim edited comment on JBIDE-21871 at 3/15/16 2:07 PM:
-------------------------------------------------------------------

in the further discussion [~mmalina] tried with the OpenShift 3.2 CDK which sits on a different IP (10.3.2.2 vs 10.1.2.2 for the 3.1 CDK) and still had no dialog popping up. Inspecting the secure storage showed no username nor password:

!secure-storage.png!

Which seems utterly weird. This definitely shouldnt work and one should get the connection dialog popping up to provide username/pw.
Removing the secure storage entries though made the connection dialog appear. This definitely needs further investigations.

{quote}
Martin Malina
6:19 PM
@AndreDietisheim I'm pretty sure this was the first time ever that I had this 10.3 ip
@AndreDietisheim the one set in https://github.com/redhat-developer-tooling/openshift-vagrant/tree/master/cdk-v2-ose-3-2

Andre Dietisheim
6:20 PM
@MartinMalina easy to verify in prefs, can you see the entry in the secure storage?

Martin Malina
6:21 PM
@AndreDietisheim I have this: https://www.dropbox.com/s/jvf3g0qtx6v1m73/Screenshot%202016-03-15%2018.21.36.png?dl=0
@AndreDietisheim so yes, it is there. but how did it get there? and shouldn't the password be there?

Martin Malina
6:24 PM
@AndreDietisheim I deleted the secure storage (I wanted to only delete the one entry, but it seems I deleted everything), restarted IDE and now it shows me the wizard

Martin Malina
6:28 PM
@AndreDietisheim and same for the other cdk - it too now shows the dialog and requires password. so I really have no idea how it worked without it today, since it was the first time I started the cdk with ip 10.3.2.2
Martin Malina is going home

Andre Dietisheim
7:00 PM
@MartinMalina that's utterly weird, I dont expect this to work without any username nor pw
@MartinMalina this definitely shouldnt work
{quote}


was (Author: adietish):
in the further discussion [~mmalina] tried with the OpenShift 3.2 CDK which sits on a different IP (10.3.2.2 vs 10.1.2.2 for the 3.1 CDK) and still had no dialog popping up. Inspecting the secure storage showed no username nor password:

!secure-stoage.png!

Which seems utterly weird. This definitely shouldnt work and one should get the connection dialog popping up to provide username/pw.
Removing the secure storage entries though made the connection dialog appear. This definitely needs further investigations.

{quote}
Martin Malina
6:19 PM
@AndreDietisheim I'm pretty sure this was the first time ever that I had this 10.3 ip
@AndreDietisheim the one set in https://github.com/redhat-developer-tooling/openshift-vagrant/tree/master/cdk-v2-ose-3-2

Andre Dietisheim
6:20 PM
@MartinMalina easy to verify in prefs, can you see the entry in the secure storage?

Martin Malina
6:21 PM
@AndreDietisheim I have this: https://www.dropbox.com/s/jvf3g0qtx6v1m73/Screenshot%202016-03-15%2018.21.36.png?dl=0
@AndreDietisheim so yes, it is there. but how did it get there? and shouldn't the password be there?

Martin Malina
6:24 PM
@AndreDietisheim I deleted the secure storage (I wanted to only delete the one entry, but it seems I deleted everything), restarted IDE and now it shows me the wizard

Martin Malina
6:28 PM
@AndreDietisheim and same for the other cdk - it too now shows the dialog and requires password. so I really have no idea how it worked without it today, since it was the first time I started the cdk with ip 10.3.2.2
Martin Malina is going home

Andre Dietisheim
7:00 PM
@MartinMalina that's utterly weird, I dont expect this to work without any username nor pw
@MartinMalina this definitely shouldnt work
{quote}

> Weird message in error log when connecting to cdk openshift - Unauthorized 
> ---------------------------------------------------------------------------
>
>                 Key: JBIDE-21871
>                 URL: https://issues.jboss.org/browse/JBIDE-21871
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.3.1.CR1
>            Reporter: Martin Malina
>             Fix For: 4.4.0.Alpha1
>
>         Attachments: secure-storage.png
>
>
> Everytime I start cdk and then want to connect to the openshift instance in OpenShift Explorer view, I get this info message in Error Log:
> Unauthorized.  Trying to reauthenticate
> All the time I was thinking that the connection is actually not working, but then I tried to create a project and it worked.
> I can see a few issues here:
> 1. Why is this info message displayed even though the connection is actually established? It's confusing.
> 2. There is no clear indication if a connection is established or not - could we do something about it? If there is an existing project, then you can see it. But currently there is none for the openshift-dev user by default. What makes is worse is the fact that once you start cdk, there is a little arrow next to the openshift connection as if you could expand it. When you do that, it will expand 1 line with "Loading.." and then it will suddenly disappear, so it really looks like something is wrong.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list