Giter VIP home page Giter VIP logo

ansible-dcos's Introduction

DEPRECATED - Deploy DC/OS using Ansible

Notice: This repo was deprecated. Please consider using the Ansible Roles for DC/OS maintained by the Mesosphere SRE team: https://github.com/dcos/dcos-ansible

Overview

Infrastructure for Cloud Providers is bootstrapped with Terraform.

Ansible playbook installs Open or Enterprise DC/OS to infrastucture On-Premises/Cloud Providers and is supposed to run on CentOS 7. The installation steps are based on the Advanced Installation Guide of DC/OS.

Getting Started

All development is done on the master branch. Tested versions are identified via git tags. To get started, you can clone or fork this repo:

git clone https://github.com/dcos-labs/ansible-dcos

Use git tag to list all versions:

git tag
v0.7.0-dcos-1.11

Check out the latest version with:

git checkout v0.7.0-dcos-1.11

Install

Here are guides to follow to install the DC/OS cluster:

Here are guides to follow to install framework as-a-service:

Operational tasks

Upgrade the DC/OS cluster:

Change number of DC/OS agents:

Upgrade the Kubernetes cluster:

Documentation

All documentation for this project is located in the docs directory at the root of this repository.

Acknowledgements

Current maintainers:

Roadmap

  • Support for On-Premises
  • Support for AWS
  • Support for Azure
  • Support for GCP
  • Support Kubernetes as-a-service

License

DC/OS, along with this project, are both open source software released under the Apache Software License, Version 2.0.

ansible-dcos's People

Contributors

driabich avatar linben avatar masterofmonkeys avatar matt2000 avatar mrmarvin avatar rimusz avatar tgoodyear avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ansible-dcos's Issues

problem when installing Mesosphere DC/OS in Bare Metal

Hello,
I installed Mesosphere DC/OS in Bare Metal with 1 master, 1 agent, 1 public agent and 1 boot.
The script Ansible ran very good but i couldn't access to my the dashboard of Mesosphere.
I got an error with the mesos-dns.service :
sept. 17 13:36:17 gzlaac01 mesos-dns[14638]: 2018/09/17 13:36:17 Failed to connect to zk-5.zk:2181: dial tcp: lookup zk-5.zk on 198.51.100.3:53: no such host
sept. 17 13:36:17 gzlaac01 mesos-dns[14638]: 2018/09/17 13:36:17 Failed to connect to zk-3.zk:2181: dial tcp: lookup zk-3.zk on 198.51.100.3:53: no such host
sept. 17 13:36:18 gzlaac01 mesos-dns[14638]: 2018/09/17 13:36:18 Failed to connect to zk-4.zk:2181: dial tcp: i/o timeout
sept. 17 13:36:18 gzlaac01 mesos-dns[14638]: 2018/09/17 13:36:18 Failed to connect to zk-2.zk:2181: dial tcp: lookup zk-2.zk on 198.51.100.3:53: no such host
sept. 17 13:36:19 gzlaac01 mesos-dns[14638]: 2018/09/17 13:36:19 Failed to connect to zk-1.zk:2181: dial tcp: lookup zk-1.zk on 198.51.100.3:53: no such host
sept. 17 13:36:19 gzlaac01 mesos-dns[14638]: 2018/09/17 13:36:19 Failed to connect to zk-5.zk:2181: dial tcp: lookup zk-5.zk on 198.51.100.3:53: no such host
sept. 17 13:36:19 gzlaac01 mesos-dns[14638]: 2018/09/17 13:36:19 Failed to connect to zk-3.zk:2181: dial tcp: lookup zk-3.zk on 198.51.100.3:53: no such host
sept. 17 13:36:19 gzlaac01 mesos-dns[14638]: 2018/09/17 13:36:19 Failed to connect to zk-4.zk:2181: dial tcp: lookup zk-4.zk on 198.51.100.3:53: no such host
sept. 17 13:36:19 gzlaac01 mesos-dns[14638]: 2018/09/17 13:36:19 Failed to connect to zk-2.zk:2181: dial tcp: lookup zk-2.zk on 198.51.100.3:53: no such host
sept. 17 13:36:20 gzlaac01 mesos-dns[14638]: 2018/09/17 13:36:20 Failed to connect to zk-1.zk:2181: dial tcp: lookup zk-1.zk on 198.51.100.3:53: no such host

Can you help me please ?

ssh: connect to host localhost port 22: Connection refused in plays/access-onprem.yml

Minor problem

 ___________________________________
< TASK [Test Ansible user's access] >
 -----------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

fatal: [11.11.243.54 -> localhost]: FAILED! => 
{"changed": true, "cmd": "ssh centos@localhost 'sudo echo success'", 
"delta": "0:00:00.044245", "end": "2018-08-04 19:03:49.032553", 
"msg": "non-zero return code", "rc": 255, "start": "2018-08-04 19:03:48.988308", 
"stderr": "ssh: connect to host localhost port 22: Connection refused",
 "stderr_lines": ["ssh: connect to host localhost port 22: Connection refused"],
 "stdout": "", "stdout_lines": []}

When running plays/access-onprem.yml on Centos7 on Hetzner Cloud.

However note that the failure did not seem to affect the install as I did run ansible-playbook plays/install.yml just after and all is perfect

kubernetes configurations

Hello,
I want to ask you if i can change etc and apiserver to 1 container instead of 3 because i try to run kubernetes in a local cluster (one master, one agent) and i haven't a lot of resources.

Thank you.

Can't access to the DC/OS dashboard on a bare-metal server from my machine

Hello,

I installed Mesosphere DC/OS with this project ansible-dcos on a bare-metal cluster (boot+master+private agent+public agent) but I can't access the DC/OS dashboard from my local machine.

There is no error in the services (dcos-mesos-dns, dcos-mesos-master, dcos-admin-router...).

Any ideas ?

On prem installation - missing yum-utils package

Hi there, when you try use this playbook on fresh centos 7 installation, you receive a error like that :

fatal: [192.168.0.217]: FAILED! => {"changed": false, "cmd": "yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo", "delta": "0:00:00.004238", "end": "2018-05-13 16:00:00.061159", "msg": "non-zero return code", "rc": 127, "start": "2018-05-13 16:00:00.056921", "stderr": "/bin/sh: yum-config-manager: command not found", "stderr_lines": ["/bin/sh: yum-config-manager: command not found"], "stdout": "", "stdout_lines": []}
fatal: [192.168.0.216]: FAILED! => {"changed": false, "cmd": "yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo", "delta": "0:00:00.004296", "end": "2018-05-13 16:00:00.547001", "msg": "non-zero return code", "rc": 127, "start": "2018-05-13 16:00:00.542705", "stderr": "/bin/sh: yum-config-manager: command not found", "stderr_lines": ["/bin/sh: yum-config-manager: command not found"], "stdout": "", "stdout_lines": []}

Solution :
Add in "install system utilities" task package "yum-utils" to instalation list, like bellow :

roles/common/tasks/main.yml 
- name: install system utilities
  yum:
    name: "{{ item }}"
    state: latest
  with_items:
    - tar
    - xz
    - unzip
    - curl
    - ipset
    - ntp
    - firewalld
    - dnsmasq
    - yum-utils

~/ansible-dcos$ ansible hosts.yaml -i inventory.py -m ping [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' [WARNING]: Could not match supplied host pattern, ignoring: hosts.yaml

~/ansible-dcos$ ansible hosts.yaml -i inventory.py -m ping
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'

[WARNING]: Could not match supplied host pattern, ignoring: hosts.yaml

URL Unreachable: dcos cluster setup

When I run dcos cluster setup http://xxx.xx.xx.xx

I get the following error: URL [http://xxx.xx.xx.xx/acs/api/v1/auth/login] is unreachable.

I'm running this on an open stack cluster.

Any pointers in the right direction?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.