Issue installing ceph with ceph-deploy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I have a problem installing ceph jewel with ceph-deploy (1.5.33) on ubuntu 14.04.4 (openstack instance).

This is my setup:

ceph-admin
ceph-mon
ceph-osd-1
ceph-osd-2

I've following these steps from ceph-admin node:

I have the user "ceph" created in all nodes and access from ssh key.


1. # wget -q -O- 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' | apt-key add -
2. # echo deb http://download.ceph.com/debian-jewel/ $(lsb_release -sc) main | tee /etc/apt/sources.list.d/ceph.list
3. # apt-get update
4. # apt-get install ceph-deploy
5. $ ceph-deploy new ceph-mon
6. Modify ceph.conf and add "osd_pool_default_size = 2"
7. $ ceph-deploy install ceph-admin ceph-mon ceph-osd-1 ceph-osd-2

And this is the output:
[ceph-admin][DEBUG ] Setting up ceph-common (10.2.1-1trusty) ...
[ceph-admin][DEBUG ] Setting system user ceph properties..Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
[ceph-admin][WARNIN] usermod: user ceph is currently used by process 1303
[ceph-admin][WARNIN] dpkg: error processing package ceph-common (--configure):
[ceph-admin][WARNIN]  subprocess installed post-installation script returned error exit status 8
[ceph-admin][WARNIN] dpkg: dependency problems prevent configuration of ceph-base:
[ceph-admin][WARNIN]  ceph-base depends on ceph-common (= 10.2.1-1trusty); however:
[ceph-admin][WARNIN]   Package ceph-common is not configured yet.
[ceph-admin][WARNIN]
[ceph-admin][WARNIN] dpkg: error processing package ceph-base (--configure):
[ceph-admin][WARNIN]  dependency problems - leaving unconfigured
[ceph-admin][WARNIN] dpkg: dependency problems prevent configuration of ceph-mon:
[ceph-admin][WARNIN]  ceph-mon depends on ceph-base (= 10.2.1-1trusty); however:
[ceph-admin][WARNIN]   Package ceph-base is not configured yet.
[ceph-admin][WARNIN]
[ceph-admin][WARNIN] dpkg: error processing package ceph-mon (--configure):
[ceph-admin][WARNIN]  dependency problems - leaving unconfigured
[ceph-admin][WARNIN] dpkg: dependency problems prevent configuration of ceph-osd:
[ceph-admin][WARNIN]  ceph-osd depends on ceph-base (= 10.2.1-1trusty); however:
[ceph-admin][WARNIN]   Package ceph-base is not configured yet.
[ceph-admin][WARNIN]
[ceph-admin][WARNIN] dpkg: error processing package ceph-osd (--configure):
[ceph-admin][WARNIN]  dependency problems - leaving unconfigured
[ceph-admin][WARNIN] dpkg: dependency problems prevent configuration of ceph:
[ceph-admin][WARNIN]  ceph depends on ceph-mon (= 10.2.1-1trusty); however:
[ceph-admin][WARNIN]   Package ceph-mon is not configured yet.
[ceph-admin][WARNIN]  ceph depends on ceph-osd (= 10.2.1-1trusty); however:
[ceph-admin][WARNIN]   Package ceph-osd is not configured yet.
[ceph-admin][WARNIN]
[ceph-admin][WARNIN] dpkg: error processing package ceph (--configure):
[ceph-admin][WARNIN]  dependency problems - leaving unconfigured
[ceph-admin][WARNIN] dpkg: dependency problems prevent configuration of ceph-mds:
[ceph-admin][WARNIN]  ceph-mds depends on ceph-base (= 10.2.1-1trusty); however:
[ceph-admin][WARNIN]   Package ceph-base is not configured yet.
[ceph-admin][WARNIN]
[ceph-admin][WARNIN] dpkg: error processing package ceph-mds (--configure):
[ceph-admin][WARNIN]  dependency problems - leaving unconfigured
[ceph-admin][WARNIN] dpkg: dependency problems prevent configuration of radosgw:
[ceph-admin][WARNIN]  radosgw depends on ceph-common (= 10.2.1-1trusty); however:
[ceph-admin][WARNIN]   Package ceph-common is not configured yet.
[ceph-admin][WARNIN]
[ceph-admin][WARNIN] dpkg: error processing package radosgw (--configure):
[ceph-admin][WARNIN]  dependency problems - leaving unconfigured
[ceph-admin][WARNIN] No apport report written because the error message indicates its a followup error from a previous failure.
[ceph-admin][WARNIN] No apport report written because the error message indicates its a followup error from a previous failure.
[ceph-admin][WARNIN] No apport report written because MaxReports is reached already
[ceph-admin][WARNIN] No apport report written because MaxReports is reached already
[ceph-admin][WARNIN] No apport report written because MaxReports is reached already
[ceph-admin][WARNIN] No apport report written because MaxReports is reached already
[ceph-admin][DEBUG ] Processing triggers for ureadahead (0.100.0-16) ...
[ceph-admin][WARNIN] Errors were encountered while processing:
[ceph-admin][WARNIN]  ceph-common
[ceph-admin][WARNIN]  ceph-base
[ceph-admin][WARNIN]  ceph-mon
[ceph-admin][WARNIN]  ceph-osd
[ceph-admin][WARNIN]  ceph
[ceph-admin][WARNIN]  ceph-mds
[ceph-admin][WARNIN]  radosgw
[ceph-admin][WARNIN] E: Sub-process /usr/bin/dpkg returned an error code (1)
[ceph-admin][ERROR ] RuntimeError: command returned non-zero exit status: 100
[ceph_deploy][ERROR ] RuntimeError: Failed to execute command: 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


Is there any error in my steps?

Thanks,
Fran.

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux