google cloud serial console output

673 views
Skip to first unread message

allan gladwell

unread,
Jun 17, 2016, 10:15:49 AM6/17/16
to gce-discussion
am running an ubuntu vm in gce and I have deployed kobo-docker.It refuses to ssh in the web giving me an alternative to check my google c serial console output..What should I do to be able to connect using ssh..Here is the serial console output:
Jun 17 14:03:12 instance-1 accounts-from-metadata: WARNING Could not update /home/ubuntu/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:04:12 instance-1 accounts-from-metadata: WARNING Could not update /home/cmsaudit1/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:04:12 instance-1 accounts-from-metadata: WARNING Not creating account for user [ALLAN].  Usernames must comprise characters [A-Za-z0-9._-] and not start with '-'.
Jun 17 14:04:12 instance-1 accounts-from-metadata: WARNING Could not update /root/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:04:12 instance-1 accounts-from-metadata: WARNING Could not update /home/ubuntu/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:05:12 instance-1 accounts-from-metadata: WARNING Could not update /home/cmsaudit1/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:05:12 instance-1 accounts-from-metadata: WARNING Not creating account for user [ALLAN].  Usernames must comprise characters [A-Za-z0-9._-] and not start with '-'.
Jun 17 14:05:12 instance-1 accounts-from-metadata: WARNING Could not update /root/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:05:12 instance-1 accounts-from-metadata: WARNING Could not update /home/ubuntu/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:05:21 instance-1 sshd[32252]: Received disconnect from 116.31.116.41: 11:  [preauth]
Jun 17 14:06:12 instance-1 accounts-from-metadata: WARNING Could not update /home/cmsaudit1/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:06:12 instance-1 accounts-from-metadata: WARNING Not creating account for user [ALLAN].  Usernames must comprise characters [A-Za-z0-9._-] and not start with '-'.
Jun 17 14:06:12 instance-1 accounts-from-metadata: WARNING Could not update /root/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:06:12 instance-1 accounts-from-metadata: WARNING Could not update /home/ubuntu/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:07:12 instance-1 accounts-from-metadata: WARNING Could not update /home/cmsaudit1/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:07:12 instance-1 accounts-from-metadata: WARNING Not creating account for user [ALLAN].  Usernames must comprise characters [A-Za-z0-9._-] and not start with '-'.
Jun 17 14:07:12 instance-1 accounts-from-metadata: WARNING Could not update /root/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:07:12 instance-1 accounts-from-metadata: WARNING Could not update /home/ubuntu/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:07:15 instance-1 sshd[32411]: Connection closed by 74.125.73.160 [preauth]
Jun 17 14:08:12 instance-1 accounts-from-metadata: WARNING Could not update /home/cmsaudit1/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:08:12 instance-1 accounts-from-metadata: WARNING Not creating account for user [ALLAN].  Usernames must comprise characters [A-Za-z0-9._-] and not start with '-'.
Jun 17 14:08:12 instance-1 accounts-from-metadata: WARNING Could not update /root/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:08:12 instance-1 accounts-from-metadata: WARNING Could not update /home/ubuntu/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:09:12 instance-1 accounts-from-metadata: WARNING Could not update /home/cmsaudit1/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:09:12 instance-1 accounts-from-metadata: WARNING Not creating account for user [ALLAN].  Usernames must comprise characters [A-Za-z0-9._-] and not start with '-'.
Jun 17 14:09:12 instance-1 accounts-from-metadata: WARNING Could not update /root/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:09:12 instance-1 accounts-from-metadata: WARNING Could not update /home/ubuntu/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:10:12 instance-1 accounts-from-metadata: WARNING Could not update /home/cmsaudit1/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:10:12 instance-1 accounts-from-metadata: WARNING Not creating account for user [ALLAN].  Usernames must comprise characters [A-Za-z0-9._-] and not start with '-'.
Jun 17 14:10:12 instance-1 accounts-from-metadata: WARNING Could not update /root/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jun 17 14:10:12 instance-1 accounts-from-metadata: WARNING Could not update /home/ubuntu/.ssh/authorized_keys due to [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']

George (Google Cloud Support)

unread,
Jun 17, 2016, 4:40:27 PM6/17/16
to gce-discussion
Hello Allan,

Have you made any permission changes after installing Kobo-Docker on your instance? Did your instance have enough space on the disk?
 
In order to make changes on the affected instance's disk you can use the following steps:
1. Take a snapshot of the affected disk (for backup purposes)
2. Create a disk from the snapshot
3. Create a new instance where you can ssh and attach the affected disk as secondary disk
4. Mount and access the disk on the newly created instance and revert the changes.
5. Once done, detach the fixed disk and create a new instance using the same fixed disk as boot disk.

I hope this helps.

Sincerely,
George
Reply all
Reply to author
Forward
0 new messages