riak-cs fails to start after reimporting Docker container

Jean-Marc Le Roux jeanmarc.leroux at aerys.in
Thu Feb 9 04:58:48 EST 2017


Hello,

here is the original github issue :

https://github.com/basho/riak_cs/issues/1329

I'm using riak-cs 2.1.1-1.el6 with stanchion 1.5.0-1.el6 on CentOS 6.8 in a
Docker container.
To make the data persistent, the following directories are mounted from
outside the container :

   - /var/log
   - /var/lib/riak/

Everything works fine except when I remove/reimport the container.
Even when it's the same container.
The riak data is here in /var/lib/riak (bitcask and leveldb stuff). ACLs
look fine on those files.

Riak starts. Stanchion starts. But riak-cs won't start.
With a riak-cs concole, it looks like the problem is here :

> (riak-cs at 127.0.0.1)1> [os_mon] memory supervisor port (memsup): Erlang has closed
>
> =INFO REPORT==== 18-Jan-2017::09:38:31 ===
>     alarm_handler: {clear,system_memory_high_watermark}
> [os_mon] cpu supervisor port (cpu_sup): Erlang has closed
> {"Kernel pid terminated",application_controller,"{application_start_failure,riak_cs,{notfound,{riak_cs_app,start,[normal,[]]}}}"}
>
> var/log/riak-cs/access.log.2017_01_18_09 is empty.
Here is what /var/log/riak-cs/crash.log says:
>
> 2017-01-18 09:38:31 =CRASH REPORT====
>   crasher:
>     initial call: application_master:init/4
>     pid: <0.148.0>
>     registered_name: []
>     exception exit: {{notfound,{riak_cs_app,start,[normal,[]]}},[{application_master,init,4,[{file,"application_master.erl"},{line,133}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
>     ancestors: [<0.147.0>]
>     messages: [{'EXIT',<0.149.0>,normal}]
>     links: [<0.147.0>,<0.7.0>]
>     dictionary: []
>     trap_exit: true
>     status: running
>     heap_size: 376
>     stack_size: 27
>     reductions: 119
>   neighbours:
>
> As I understand it, there is a "notfound" exception but I have no idea
what is missing...

Please advise.

Regards,

-- 
*Jean-Marc Le Roux*


Founder and CEO of Aerys (http://aerys.in)

Blog: http://blogs.aerys.in/jeanmarc-leroux
Cell: (+33)6 20 56 45 78
Phone: (+33)9 72 40 17 58
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20170209/299bc193/attachment-0002.html>


More information about the riak-users mailing list