Last modified: 2014-02-03 03:52:23 UTC
When I try to log in to i-000004fa.pmtpa.wmflabs (project: gerrit-stream, newly created on 31-Oct-2012 by Andrew) I get the following error: Creating directory '/home/ori'. Unable to create and initialize directory '/home/ori'. I then get disconnected.
Relevant bits from console output: Nov 2 17:25:32 eventstream dhclient: DHCPACK of 10.4.1.27 from 10.4.0.1 Nov 2 17:25:32 eventstream dhclient: bound to 10.4.1.27 -- renewal in 55 seconds. Nov 2 17:25:59 eventstream puppet-agent[4080]: (/Stage[first]/Base::Apt::Update/Exec[/usr/bin/apt-get update]/returns) executed successfully Nov 2 17:25:59 eventstream puppet-agent[4080]: (/Stage[main]/Ldap::Client::Utils/Exec[checkout_user_ldap_tools]/returns) executed successfully Nov 2 17:26:01 eventstream puppet-agent[4080]: (/Stage[main]/Base::Puppet/Exec[puppet snmp trap]/returns) executed successfully Nov 2 17:26:05 eventstream puppet-agent[4080]: (/Stage[main]/Ldap::Client::Utils/Exec[checkout_instance_ldap_tools]/returns) executed successfully Nov 2 17:26:06 eventstream nslcd[13712]: [584cfd] <group=1054> error writing to client: Broken pipe Nov 2 17:26:06 eventstream nslcd[13712]: [a26c33] <group=1054> error writing to client: Broken pipe Nov 2 17:26:07 eventstream automount[2195]: umount_autofs_indirect: ask umount returned busy /home Nov 2 17:26:08 eventstream automount[2195]: do_umount_autofs_direct: couldn't get ioctl fd for direct mount /home Nov 2 17:26:08 eventstream puppet-agent[4080]: (/Stage[last]/Ldap::Client::Instance-finish/Exec[check_autofs]/returns) executed successfully Nov 2 17:26:08 eventstream puppet-agent[4080]: Finished catalog run in 27.36 seconds Nov 2 17:26:27 eventstream dhclient: DHCPREQUEST of 10.4.1.27 on eth0 to 10.4.0.1 port 67 Nov 2 17:26:27 eventstream dhclient: DHCPACK of 10.4.1.27 from 10.4.0.1 Nov 2 17:26:27 eventstream dhclient: bound to 10.4.1.27 -- renewal in 44 seconds. Nov 2 17:26:54 eventstream puppet-agent[4008]: Finished catalog run in 0.10 seconds Nov 2 17:27:11 eventstream dhclient: DHCPREQUEST of 10.4.1.27 on eth0 to 10.4.0.1 port 67 Nov 2 17:27:11 eventstream dhclient: DHCPACK of 10.4.1.27 from 10.4.0.1 Nov 2 17:27:11 eventstream dhclient: bound to 10.4.1.27 -- renewal in 49 seconds. Nov 2 17:28:00 eventstream dhclient: DHCPREQUEST of 10.4.1.27 on eth0 to 10.4.0.1 port 67 Nov 2 17:28:00 eventstream dhclient: DHCPACK of 10.4.1.27 from 10.4.0.1 Nov 2 17:28:00 eventstream dhclient: bound to 10.4.1.27 -- renewal in 50 seconds. Nov 2 17:28:16 eventstream nslcd[13712]: [134022] <group=1054> error writing to client: Broken pipe Nov 2 17:28:16 eventstream nslcd[13712]: [82e1aa] <group=1054> error writing to client: Broken pipe Nov 2 17:28:50 eventstream dhclient: DHCPREQUEST of 10.4.1.27 on eth0 to 10.4.0.1 port 67 Nov 2 17:28:50 eventstream dhclient: DHCPACK of 10.4.1.27 from 10.4.0.1 Nov 2 17:28:50 eventstream dhclient: bound to 10.4.1.27 -- renewal in 47 seconds. Nov 2 17:29:37 eventstream dhclient: DHCPREQUEST of 10.4.1.27 on eth0 to 10.4.0.1 port 67 Nov 2 17:29:37 eventstream dhclient: DHCPACK of 10.4.1.27 from 10.4.0.1 Nov 2 17:29:37 eventstream dhclient: bound to 10.4.1.27 -- renewal in 51 seconds. Nov 2 17:29:39 eventstream ntpd[14697]: bind(22) AF_INET6 fe80::f816:3eff:fe51:b6bb%2#123 flags 0x11 failed: Cannot assign requested address Nov 2 17:29:39 eventstream ntpd[14697]: unable to create socket on eth0 (400) for fe80::f816:3eff:fe51:b6bb#123 Nov 2 17:29:39 eventstream ntpd[14697]: failed to init interface for address fe80::f816:3eff:fe51:b6bb Nov 2 17:30:28 eventstream dhclient: DHCPREQUEST of 10.4.1.27 on eth0 to 10.4.0.1 port 67 Nov 2 17:30:28 eventstream dhclient: DHCPACK of 10.4.1.27 from 10.4.0.1
I tried creating another instance in the same project and I get the same failure. Also tried restarting -- no luck there either.
Seems when I disabled auto-creation of home directories in my script that I also disabled the creation of the project directories too. Autofs can't mount a directory that doesn't exist on the server ;). This is fixed now.
Hi, its seams that I am having the same problem.. (and this bug 57626 is very similar) Here is what I have, when I try to connect with the bastion project: $ ssh anboia@bastion.wmflabs.org If you are having access problems, please see: https://wikitech.wikimedia.org/wiki/Access#Accessing_public_and_private_instances Enter passphrase for key '/home/ass4/.ssh/id_rsa': Creating directory '/home/anboia'. Unable to create and initialize directory '/home/anboia'. Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-58-virtual x86_64) bastion1 is a Wikimedia Labs bastion host (with mosh enabled) (role::labs::bastion). System information as of Sun Feb 2 09:05:31 UTC 2014 System load: 0.0 Processes: 90 Usage of /: 33.3% of 9.83GB Users logged in: 0 Memory usage: 19% IP address for eth0: 10.4.1.55 Swap usage: 0% Graph this data and manage this system at https://landscape.canonical.com/ 72 packages can be updated. 0 updates are security updates. The last Puppet run was at Sun Feb 2 08:50:58 UTC 2014 (14 minutes ago). Get cloud support with Ubuntu Advantage Cloud Guest http://www.ubuntu.com/business/services/cloud The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Connection to bastion.wmflabs.org closed.
(In reply to comment #4) > Hi, its seams that I am having the same problem.. (and this bug 57626 is very > similar) > [...] I submitted bug #60751 for that.
Andre, this should be fixed now -- it was unrelated to this original bug, just a gluster hang-up.