I noticed an rpmbuild starting from ceph-0.80.8.tar.bzw got the following error: cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security] cc1: some warnings being treated as errors Makefile:10333: recipe for target 'test/librbd/ceph_test_librbd_fsx-fsx.o' failed -----Original Message----- From: Deneau, Tom Sent: Wednesday, February 04, 2015 11:54 AM To: 'John Spray' Cc: ceph-devel@xxxxxxxxxxxxxxx Subject: RE: using ceph-deploy on build after make install John -- Ah yes, I see that the init.d scripts are not installed by make install. I tried copying the init.d scripts over manually and still had some problems. If I really do want to install everything from a new build rather than piece by piece, should I just use rpmbuild? -- Tom -----Original Message----- From: john.spray@xxxxxxxxxxx [mailto:john.spray@xxxxxxxxxxx] On Behalf Of John Spray Sent: Wednesday, February 04, 2015 2:35 AM To: Deneau, Tom Cc: ceph-devel@xxxxxxxxxxxxxxx Subject: Re: using ceph-deploy on build after make install I suspect that your clue is "Failed to execute command: /usr/sbin/service ceph" -- as a rule, service scripts are part of the per-distro packaging rather than make install. Personally, if I'm installing systemwide I always start with some built packages, and if I need to substitute a home-built binary for debugging then I do so by directly overwriting it in /usr/bin/. John On Wed, Feb 4, 2015 at 12:58 AM, Deneau, Tom <tom.deneau@xxxxxxx> wrote: > New to ceph building but here is my situation... > > I have been successfully able to build ceph starting from > git checkout firefly > (also successful from git checkout master). After building, I am able > to run vstarth.sh from the source directory as ./vstart.sh -d -n -x > (or with -X). I can then do rados commands such as rados bench. > > I should also add that when I have installed binaries from rpms (this > is a fedora21 aarch64 system), I have been successfully able to deploy > a cluster using various ceph-deploy commands. > > Now I would like to do make install to install my built version and > then use the installed version with my ceph-deploy commands. In this > case I installed ceph-deploy with pip install ceph-deploy which gives > me 5.21. > > The first ceph-deploy command I use is: > > ceph-deploy new myhost > > which seems to work fine. > > The next command however is > > ceph-deploy mon create-initial > > which ends up failing with > > [INFO ] Running command: /usr/sbin/service ceph -c > /etc/ceph/ceph.conf start mon.hostname [WARNIN] The service command > supports only basic LSB actions (start, stop, restart, try-rest\ art, reload, force-reload, status). For other actions, please try to use systemctl. > [ERROR ] RuntimeError: command returned non-zero exit status: 2 [ERROR > ] Failed to execute command: /usr/sbin/service ceph -c > /etc/ceph/ceph.conf start mon.seattle-tdeneau [ERROR ] GenericError: > Failed to create 1 monitors > > and even the ceph status command fails > > # ceph -c ./ceph.conf status > -1 monclient(hunting): ERROR: missing keyring, cannot use cephx for authentication > 0 librados: client.admin initialization error (2) No such file or > directory Error connecting to cluster: ObjectNotFound > > Whereas this all worked fine when I used binaries from rpms. > Is there some install step that I am missing? > > -- Tom Deneau, AMD > > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" > in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo > info at http://vger.kernel.org/majordomo-info.html ��.n��������+%������w��{.n����z��u���ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f