Coder Social home page Coder Social logo

ansible's People

Contributors

mengkzhaoyun 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

Watchers

 avatar  avatar  avatar  avatar  avatar

ansible's Issues

删除node节点的etcd服务

hi,@Mengkzhaoyun
我将node节点的etcd3删除,准备只在所有的master节点运行etcd, 导致flanneld服务启动不了,日志如下:

-- Unit flanneld.service has begun starting up.
Mar 06 18:00:54 worker02 rkt[1477]: rm: unable to resolve UUID from file: open /var/lib/coreos/flannel-wrapper.uuid: no such file or directory
Mar 06 18:00:54 worker02 rkt[1477]: rm: failed to remove one or more pods
Mar 06 18:00:54 worker02 etcdctl[1483]: Error: client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 127.0.0.1:2379: getsockopt: connection refused
Mar 06 18:00:54 worker02 etcdctl[1483]: ; error #1: dial tcp 127.0.0.1:4001: getsockopt: connection refused
Mar 06 18:00:54 worker02 etcdctl[1483]: error #0: dial tcp 127.0.0.1:2379: getsockopt: connection refused
Mar 06 18:00:54 worker02 etcdctl[1483]: error #1: dial tcp 127.0.0.1:4001: getsockopt: connection refused
Mar 06 18:00:54 worker02 systemd[1]: flanneld.service: Control process exited, code=exited status=2
Mar 06 18:00:54 worker02 systemd[1]: flanneld.service: Failed with result 'exit-code'.
Mar 06 18:00:54 worker02 systemd[1]: Failed to start flannel - Network fabric for containers (System Application Container).

coreos 安装到步骤b时出错

hi,@Mengkzhaoyun

错误如下:

`[root@ansible coreos]# ap b.install.yml

PLAY [coreos] ******************************************************************

TASK [setup] *******************************************************************
ok: [master01]
ok: [worker02]
ok: [worker01]

TASK [wod.coreos-install : template master.yml to /usr/share/oem/coreos-install.yml] ***
skipping: [worker01]
skipping: [worker02]
fatal: [master01]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: {{ ansible_default_ipv4['address'] }}: 'dict object' has no attribute 'address'"}

TASK [wod.coreos-install : template worker.yml to /usr/share/oem/coreos-install.yml] ***
fatal: [worker01]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: {{ ansible_default_ipv4['address'] }}: 'dict object' has no attribute 'address'"}
fatal: [worker02]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: {{ ansible_default_ipv4['address'] }}: 'dict object' has no attribute 'address'"}
to retry, use: --limit @/etc/ansible/coreos/b.install.retry

PLAY RECAP *********************************************************************
master01 : ok=1 changed=0 unreachable=0 failed=1
worker01 : ok=1 changed=0 unreachable=0 failed=1
worker02 : ok=1 changed=0 unreachable=0 failed=1

`

脚本不执行

运行任何脚本都只打印
PLAY RECAP *********************************************************************

请问有什么方向可以排查问题么?

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.