Closed GoogleCodeExporter closed 9 years ago
I was unable to reproduce on a new ubuntu 14.04 vmware vm.
Original comment by stephe...@google.com
on 18 Feb 2015 at 6:49
Is there any setup needed to use the gnome key ring? All I did was install a
new 14.04 VM and run your three commands to install gcloud from the partner
repos.
Original comment by stephe...@google.com
on 18 Feb 2015 at 6:51
I am not sure if that kind of test would work, but I have little
experience with virtual machines.
To clarify the issue:
I highly doubt that this problem will occur if you remotely ssh to a
machine running ubuntu (virtual or not), and then on that machine run
"gcloud compute ssh". If that's what you are doing, you probably will
not be able to reproduce the error.
In my case it happens when you are directly (physically) at the computer.
(...using the default window manager that comes with ubuntu, logged in
from the splash-screen that appears after startup. You need to be in
the full windowing environment.)
No. I certainly am not consciously aware of having done anything
manual to activate gnome keyring or change it's default behaviour.
However I installed my operating system 10 months ago, and a lot of
settings could have been changed between now and then.
To rule out this possibility, I will create a bootable USB stick
running plain vanilla ubuntu 14.04 and see if the same problem occurs.
I suspect that it will, but I will report back today either way.
Thanks for following up with this.
Andrew
I'll email back later today.
Original comment by jewett....@gmail.com
on 18 Feb 2015 at 7:58
To be clear, I installed vanilla desktop ubuntu. I just did it in a VM (think
virtualbox) instead of a physical computer. I did not ssh into the box.
Original comment by stephe...@google.com
on 18 Feb 2015 at 8:17
I finally did that and I am ashamed to admit that the problem disappears.
(I should have tried this but it takes time.)
Please close this issue.
I apologize for wasting everyone's time.
However I can suggest an even easier work-around for people who are
experiencing this problem:
If your computer is having this issue, try creating a new user account.
In my case, the problem (with gcloud compute ssh) disappears. This
is odd because I had tested it on several different accounts before I
reported the problem. (I repeated those tests today, and the problem
returned). So the problem appears to be something specific to the way
ssh was configured on this computer for those particular users (one
admin user, one regular user).
So I suggest creating a new user account and copy the old user's
files to the new account (excluding the hidden files and folders).
(You could also try resetting your gnome-keyring and ssh settings).
Original comment by jewett....@gmail.com
on 18 Feb 2015 at 11:17
Unfortunately I was wrong about this also. My apologies.
That does not solve the problem.
It turned out that one of my recently created (but not new) user
accounts does not (or did not) have this problem.
However deleting that user's ~/.ssh or ~/.local/share/keyrings
directories and trying gcloud again causes the problem to appear.
And newly created account DO have the problem.
So my original suggestion (using KDE instead of gnome) might have been
a better one.
If I figure out what's causing this, I'll email back.
Original comment by jewett....@gmail.com
on 19 Feb 2015 at 12:55
Conclusion:
The problem does not occur on a fresh install of ubuntu 14.04.
If anyone else runs into this problem, I was finally able to get
gcloud ssh working on the original problematic OS, (with all the user
accounts on that computer that were having difficulty) using these
steps:
1) I deleted these two directories:
~/.local/share/keyrings
~/.ssh
(Perhaps it was not necessary to delete the .ssh directory.)
2) I logged out of the user account on my local machine.
(This step seems to be important.)
3) Then I logged in again.
4) Then I attempted to connect with "gcloud auth login" and "gcloud
compute ssh".
After one or two iterations of steps 1-4, things eventually started working.
I did this for each user on the machine.
(Again, this is on the 10-month-old ubuntu 14.04 using the GNOME
window manager. Fresh versions of ubuntu 14.04 don't have this
problem.)
I feel a bit foolish, but I hope this helps somebody.
Andrew
Original comment by jewett....@gmail.com
on 19 Feb 2015 at 2:46
Glad to see you solved your problem. If you ever find a way to reproduce it,
let us know.
Original comment by stephe...@google.com
on 19 Feb 2015 at 2:45
Original issue reported on code.google.com by
jewett....@gmail.com
on 11 Feb 2015 at 11:44