I am trying to install ceph in ubuntu 16.04 by this link
but when I am run this command #ceph-deploy install ceph-deploy monnode1 osd0 osd1
I am facing this error.
[ceph-deploy][WARNIN] E: Sub-process /usr/bin/dpkg returned an error code (1)
[ceph-deploy][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-osd ceph-mds ceph-mon radosgw
$ sudo apt-get install ceph-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
ceph-common is already the newest version (12.2.12-1xenial).
ceph-common set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
8 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up ceph-common (12.2.12-1xenial) ...
Setting system user ceph properties..usermod: user ceph is currently used by process 1648
dpkg: error processing package ceph-common (--configure):
subprocess installed post-installation script returned error exit status 8
dpkg: dependency problems prevent configuration of ceph-base:
ceph-base depends on ceph-common (= 12.2.12-1xenial); however:
Package ceph-common is not configured yet.
dpkg: error processing package ceph-base (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ceph-mds:
ceph-mds depends on ceph-base (= 12.2.12-1xenial); however:
Package ceph-base is not configured yet.
dpkg: error processing package ceph-mds (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of ceph-osd:
ceph-osd depends on ceph-base (= 12.2.12-1xenial); however:
Package ceph-base is not configured yet.
dpkg: error processing package ceph-osd (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ceph-mon:
ceph-mon depends on ceph-base (= 12.2.12-1xenial); however:
Package ceph-base is not configured yet.
dpkg: error processing package ceph-mon (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of ceph-mgr:
ceph-mgr depends on ceph-base (= 12.2.12-1xenial); however:
Package ceph-base is not configured yet.
dpkg: error processing package ceph-mgr (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of ceph:
ceph depends on ceph-mgr (= 12.2.12-1xenial); however:
Package ceph-mgr is not configured yet.
ceph depends on ceph-mon (= 12.2.12-1xenial); however:
Package ceph-mon is not configured yet.
ceph depends on ceph-osd (= 12.2.12-1xenial); however:
Package ceph-osd is not configured yet.
dpkg: error processing package ceph (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of radosgw:
radosgw depends on ceph-common (= 12.2.12-1xenial); however:
Package ceph-common is not configured yet.
dpkg: error processing package radosgw (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Errors were encountered while processing:
ceph-common
ceph-base
ceph-mds
ceph-osd
ceph-mon
ceph-mgr
ceph
radosgw
[ceph-deploy][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-osd ceph-mds ceph-mon radosgw
$ sudo apt-get install ceph-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
ceph-common is already the newest version (12.2.12-1xenial).
ceph-common set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
8 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up ceph-common (12.2.12-1xenial) ...
Setting system user ceph properties..usermod: user ceph is currently used by process 1648
dpkg: error processing package ceph-common (--configure):
subprocess installed post-installation script returned error exit status 8
dpkg: dependency problems prevent configuration of ceph-base:
ceph-base depends on ceph-common (= 12.2.12-1xenial); however:
Package ceph-common is not configured yet.
dpkg: error processing package ceph-base (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ceph-mds:
ceph-mds depends on ceph-base (= 12.2.12-1xenial); however:
Package ceph-base is not configured yet.
dpkg: error processing package ceph-mds (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of ceph-osd:
ceph-osd depends on ceph-base (= 12.2.12-1xenial); however:
Package ceph-base is not configured yet.
dpkg: error processing package ceph-osd (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ceph-mon:
ceph-mon depends on ceph-base (= 12.2.12-1xenial); however:
Package ceph-base is not configured yet.
dpkg: error processing package ceph-mon (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of ceph-mgr:
ceph-mgr depends on ceph-base (= 12.2.12-1xenial); however:
Package ceph-base is not configured yet.
dpkg: error processing package ceph-mgr (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of ceph:
ceph depends on ceph-mgr (= 12.2.12-1xenial); however:
Package ceph-mgr is not configured yet.
ceph depends on ceph-mon (= 12.2.12-1xenial); however:
Package ceph-mon is not configured yet.
ceph depends on ceph-osd (= 12.2.12-1xenial); however:
Package ceph-osd is not configured yet.
dpkg: error processing package ceph (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of radosgw:
radosgw depends on ceph-common (= 12.2.12-1xenial); however:
Package ceph-common is not configured yet.
dpkg: error processing package radosgw (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Errors were encountered while processing:
ceph-common
ceph-base
ceph-mds
ceph-osd
ceph-mon
ceph-mgr
ceph
radosgw
E: Sub-process /usr/bin/dpkg returned an error code (1)
[ceph-deploy][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 ca-certificates apt-transport-https
[ceph-deploy][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 ca-certificates apt-transport-https
I have wasted a lot of time with this error. Could anyone give me a solution?
_______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx