Setting up Mesos with Ansible on Ubuntu 14.04 on Digital Ocean -


i have been following tutorial how configure production ready mesos cluster , have been creating ansible playbook along way can see here mesos ansible playbook

ansible runs , can visit port 5050 on master , see mesos dashboard. there seems 3 problems connected seem seperate @ face value.

  1. at top of mesos dashboard says no masters leading
  2. no slaves registered
  3. the marathon dashboard not work when visit port 8080 on of masters

any ideas of have done wrong or if has changed since tutorial published?

edit: tried dig in deeper. after running ansible logged each node , restarted mesos , marathon services myself manually. appeared trick got marathon dashboard , after bit of fiddling on slaves see activated well. unfortunately not able reproduce after nuking nodes , rebuilding. settings consistent tutorial linked , tutorial linked celine think order doing service restarts. still looking help

edit2: copy of logs 1 of masters on startup last http call repeats , repeats

i1014 18:56:32.746968 11494 logging.cpp:172] info level logging started! i1014 18:56:32.748177 11494 main.cpp:229] build: 2015-10-12 20:57:28 root i1014 18:56:32.748277 11494 main.cpp:231] version: 0.25.0 i1014 18:56:32.748345 11494 main.cpp:234] git tag: 0.25.0 i1014 18:56:32.748406 11494 main.cpp:238] git sha: 2dd7f7ee115fe00b8e098b0a10762a4fa8f4600f i1014 18:56:32.748615 11494 main.cpp:252] using 'hierarchicaldrf' allocator i1014 18:56:32.759768 11494 leveldb.cpp:176] opened db in 10.929155ms i1014 18:56:32.763638 11494 leveldb.cpp:183] compacted db in 3.722708ms i1014 18:56:32.763713 11494 leveldb.cpp:198] created db iterator in 33931ns i1014 18:56:32.763761 11494 leveldb.cpp:204] seeked beginning of db in 8624ns i1014 18:56:32.764142 11494 leveldb.cpp:273] iterated through 1 keys in db in 352415ns i1014 18:56:32.764263 11494 replica.cpp:744] replica recovered log positions 0 -> 0 1 holes , 0 unlearned i1014 18:56:32.767266 11520 log.cpp:238] attempting join replica zookeeper group i1014 18:56:32.767493 11520 recover.cpp:449] starting replica recovery i1014 18:56:32.767623 11520 recover.cpp:475] replica in voting status i1014 18:56:32.767695 11520 recover.cpp:464] recover process terminated i1014 18:56:32.775274 11494 main.cpp:465] starting mesos master i1014 18:56:32.779567 11516 master.cpp:376] master 75abeaaa-a949-45a3-bd85-bebf100eecad (159.203.107.10) started on 159.203.107.10:5050 i1014 18:56:32.779597 11516 master.cpp:378] flags @ startup: --allocation_interval="1secs" --allocator="hierarchicaldrf" --authenticate="false" --authenticate_slaves="false" --authenticators="crammd5" --authorizers="local" --framework_sorter="drf" --help="false" --hostname="159.203.107.10" --hostname_lookup="true" --initialize_driver_logging="true" --ip="159.203.107.10" --log_auto_initialize="true" --log_dir="/var/log/mesos" --logbufsecs="0" --logging_level="info" --max_slave_ping_timeouts="5" --port="5050" --quiet="false" --quorum="1" --recovery_slave_removal_limit="100%" --registry="replicated_log" --registry_fetch_timeout="1mins" --registry_store_timeout="5secs" --registry_strict="false" --root_submissions="true" --slave_ping_timeout="15secs" --slave_reregister_timeout="10mins" --user_sorter="drf" --version="false" --webui_dir="/usr/share/mesos/webui" --work_dir="/var/lib/mesos" --zk="zk://159.203.107.10:2181,159.203.107.151:2181,159.203.107.162:2181/mesos" --zk_session_timeout="10secs" i1014 18:56:32.779762 11516 master.cpp:425] master allowing unauthenticated frameworks register i1014 18:56:32.779770 11516 master.cpp:430] master allowing unauthenticated slaves register i1014 18:56:32.779778 11516 master.cpp:467] using default 'crammd5' authenticator w1014 18:56:32.779798 11516 authenticator.cpp:505] no credentials provided, authentication requests refused i1014 18:56:32.779906 11516 authenticator.cpp:512] initializing server sasl i1014 18:56:32.791836 11515 master.cpp:1542] attached file '/var/log/mesos/mesos-master.info' i1014 18:56:32.792043 11519 contender.cpp:149] joining zk group i1014 18:56:34.968217 11517 http.cpp:336] http /master/state.json 12.228.115.34:40863 user-agent='mozilla/5.0 (macintosh; intel mac os x 10_10_5) applewebkit/537.36 (khtml, gecko) chrome/45.0.2454.101 safari/537.36' i1014 18:56:45.242039 11518 http.cpp:336] http /master/state.json 12.228.115.34:63018 user-agent='mozilla/5.0 (macintosh; intel mac os x 10_10_5) applewebkit/537.36 (khtml, gecko) chrome/45.0.2454.101 safari/537.36' i1014 18:56:55.319259 11519 http.cpp:336] http /master/state.json 12.228.115.34:50024 user-agent='mozilla/5.0 (macintosh; intel mac os x 1

thanks

the first problem "no masters leading" due issue zookeeper.

check zookeeper running on server. explain issue have marathon , mesos slaves.

this documentation seems more date: http://open.mesosphere.com/getting-started/datacenter/install/


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -