Last modified: 2014-02-03 03:52:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T43622, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41622 - Unable to create and initialize home directory
Unable to create and initialize home directory
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-01 10:28 UTC by Ori Livneh
Modified: 2014-02-03 03:52 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ori Livneh 2012-11-01 10:28:15 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.
Comment 1 Ori Livneh 2012-11-02 17:49:23 UTC
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
Comment 2 Ori Livneh 2012-11-02 18:57:22 UTC
I tried creating another instance in the same project and I get the same failure. Also tried restarting -- no luck there either.
Comment 3 Ryan Lane 2012-11-02 19:20:44 UTC
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.
Comment 4 Andre Saboia 2014-02-02 09:10:13 UTC
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.
Comment 5 Tim Landscheidt 2014-02-03 03:43:42 UTC
(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.
Comment 6 Andrew Bogott 2014-02-03 03:52:23 UTC
Andre, this should be fixed now -- it was unrelated to this original bug, just a gluster hang-up.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links