Re: RBD getting unmapped every time when server reboot

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

 



Hi,
Which version of the script do you use? From ceph-common package ?
If this is not the case, you should verify that it contains this line somewhere at the begining :
# chkconfig: 2345 20 80

and make a `chkconfig --add rbdmap`

To avoid the errors "log_*: command not found", you need to install redhat-lsb-core package.

Laurent

Le 26/10/2014 12:13, Vickey Singh a écrit :
Hi Chris

yes i have checked this message and i am sure that secret file is
present in correct location. Any other suggestions are weelcome.

Hi Sebastien

Can you suggest something here.

Thanks
vicky


On Sun, Oct 26, 2014 at 1:23 AM, Christopher Armstrong
<chris@xxxxxxxxxxxx <mailto:chris@xxxxxxxxxxxx>> wrote:

    unable to read secretfile: No such file or directory

    Looks like it's trying to mount, but your secretfile is gone.

    *Chris Armstrong
    *Head of Services
    OpDemand / Deis.io

    GitHub: https://github.com/deis/deis -- Docs: http://docs.deis.io/


    On Sat, Oct 25, 2014 at 2:07 PM, Vickey Singh
    <vickey.singh22693@xxxxxxxxx <mailto:vickey.singh22693@xxxxxxxxx>>
    wrote:

        Hello Cephers , need your advice and tips here.

        *Problem statement : Ceph RBD getting unmapped each time i
        reboot my server . After reboot every time i need to manually
        map it and mount it.*
        *
        *
        *Setup : *
        *
        *
        Ceph Firefly 0.80.1
        CentOS 6.5  , Kernel : 3.15.0-1

        *
        *
        I have tried doing as mentioned in the blog , but looks like
        this does not works with CentOS

        http://ceph.com/planet/mapunmap-rbd-device-on-bootshutdown/



        # /etc/init.d/rbdmap start
        /etc/init.d/rbdmap: line 26: log_daemon_msg: command not found
        /etc/init.d/rbdmap: line 42: log_progress_msg: command not found
        /etc/init.d/rbdmap: line 47: echo: write error: Invalid argument
        /etc/init.d/rbdmap: line 52: log_end_msg: command not found
        /etc/init.d/rbdmap: line 56: log_action_begin_msg: command not found
        unable to read secretfile: No such file or directory
        error reading secret file
        failed to parse ceph_options
        Thread::try_create(): pthread_create failed with error
        13common/Thread.cc: In function 'void Thread::create(size_t)'
        thread 7fb8ec4ed760 time 2014-10-26 00:01:10.180440
        common/Thread.cc: 110: FAILED assert(ret == 0)
          ceph version 0.80.1 (a38fe1169b6d2ac98b427334c12d7cf81f809b74)
          1: (Thread::create(unsigned long)+0x8a) [0x6ba82a]
          2: (CephContext::CephContext(unsigned int)+0xba) [0x60ef7a]
          3: (common_preinit(CephInitParameters const&,
        code_environment_t, int)+0x45) [0x6e8305]
          4: (global_pre_init(std::vector<char const*,
        std::allocator<char const*> >*, std::vector<char const*,
        std::allocator<char const*> >&, unsigned int,
        code_environment_t, int)+0xaf) [0x5ee21f]
          5: (global_init(std::vector<char const*, std::allocator<char
        const*> >*, std::vector<char const*, std::allocator<char const*>
         >&, unsigned int, code_environment_t, int)+0x2f) [0x5eed6f]
          6: (main()+0x7f) [0x5289af]
          7: (__libc_start_main()+0xfd) [0x3efa41ed1d]
          8: ceph-fuse() [0x5287c9]
          NOTE: a copy of the executable, or `objdump -rdS <executable>`
        is needed to interpret this.
        terminate called after throwing an instance of
        'ceph::FailedAssertion'
        /etc/init.d/rbdmap: line 58: log_action_end_msg: command not found
        #


        # cat /etc/ceph/rbdmap
        rbd/rbd-disk1id=admin,secret=AQAinItT8Ip9AhAAS93FrXLrrnVp8/sQhjvTIg==
        #


        Many Thanks in Advance
        Vicky

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





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

_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux