mesoshq / mesosctl Goto Github PK
View Code? Open in Web Editor NEWA command-line tool to dynamically provision and manage Mesos clusters and their applications
A command-line tool to dynamically provision and manage Mesos clusters and their applications
Hi,
if I install mesosctl from npm and try to start it I get the following error:
$ node --version
v6.3.1
$ npm --version
3.10.3
$ npm install [email protected]
[...]
$ echo $?
0
$ grep 'current version' node_modules/mesosctl/README.md
The current version is `0.1.0`, which is the initial release. We consider it as `alpha` and a developer preview.
$ ./node_modules/mesosctl/bin/mesosctl.js
(node:63621) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
fs.js:987
return binding.stat(pathModule._makeLong(path));
^
Error: ENOENT: no such file or directory, stat '/Users/temal/.mesosctl'
at Error (native)
at Object.fs.statSync (fs.js:987:18)
at Object.mesosCtl.functions.ensureConfigStoragePath (/Users/temal/src/temp/mesosctl/node_modules/mesosctl/lib/mesosCtl.js:82:32)
at module.exports (/Users/temal/src/temp/mesosctl/node_modules/mesosctl/modules/config.js:160:24)
at Object.<anonymous> (/Users/temal/src/temp/mesosctl/node_modules/mesosctl/bin/mesosctl.js:5:38)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
It looks as if there is an old version sitting at the npm repo.
Hi,
if I run config create
the application just plain exits with an exit code of 0. I couldn't figure out why, so I thought I better create an issue. ;)
Regards
Malte
Hi,
me again. :)
cluster privision
fails at some point with the following error:
Starting task setup
Starting task mesos-dns : Pull Mesos DNS image
-----------------------------------------------------------
Error(s) occurred:
-----------------------------------------------------------
fatal: [host-158221]: FAILED! => {"changed": false, "failed": true, "rc": 1, "stderr": "", "stdout": "Error response from daemon: Get https://registry:5000/v1/_ping: x509: certificate signed by unknown authority\r\n", "stdout_lines": ["Error response from daemon: Get https://registry:5000/v1/_ping: x509: certificate signed by unknown authority"]}
The certificate gets generated on the registry node but is
/tmp/pull_and_push.sh
fails because of the missing certificate)Maybe creating the private key + certificate locally is a better idea, because it might be easier to distribute them to all the nodes. Currently I've done it manually but doing it w/ ansible is obviously the way to go.
Manual steps:
copy registry:/opt/registry/certs/registry.crt
to:
registry:/etc/docker/certs.d/registry:5000/ca.crt
master-nodes:/etc/docker/certs.d/registry:5000/ca.crt
BTW: It looks like you've put a hell lot of work into this project! Amazing!
Regards
A "file not found" error is returned, although the file exists at the exact location...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.