Project

General

Profile

Bug #15726

ceph-deploy install bombs out with: usermod: user ceph is currently used by process 10032

Added by Ron Arts almost 8 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
ceph-deploy
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
ceps-deploy
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
ceph-deploy
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I cannot install cep using the documentation. The documentation recommends adding a ceph user, and preparing password-less login.
When I start ceps-deploy install, the .deb that is installed tries to create or modify the cep user, but that's not allowed while the user is logged-in. And the user will always be logged in, because ceph-deploy uses it to login to that machine to install the packages.

When I log in as root to install the packages myself, that goes through, but then ceph-deploy cannot not continue, because the user has been modified, and the passwordless login fails.

There is no clear way out of this situation.

History

#1 Updated by Ron Arts almost 8 years ago

Later I found out there are more problems with the documentation. It says jewel in the URL, but it seems to be just copied from an older version. Examples:

  • doc recommends creating directories (sudo mkdir /var/local/osd0) but forgets to mention they should be chows'ed to cep
  • it is mentioned to chmod +r /etc/ceph/ceph.client.admin.keyring, but not on which machine, so the naive user is left searching for why that generates an error.

Finally, I recommend putting this video on the cep homepage: https://www.youtube.com/watch?v=OyH1C0C4HzM

Really! This video is perfect for first-timers. And greatly improved my motivation to go ahead with ceph notwithstanding the troubles I had starting up.

#2 Updated by Ron Arts almost 8 years ago

OK, found a way out I think: Need to run ceph-deploy per-host, will bomb out half-way, then run:

ssh root@host env DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get --assume-yes -q --no-install-recommends install -o Dpkg::Options::=--force-confnew ceph ceph-mds radosgw

Note this cleans out the home directory for the ceph user, so you'll need to re-add the ssh-keys.

And re-run ceph-deploy for that host just to be sure.

#3 Updated by Loïc Dachary almost 8 years ago

  • Target version deleted (v10.2.1)

Also available in: Atom PDF