Git Product home page Git Product logo

ll_net_cicd_code_samples's Introduction

ll_net_cicd_code_samples

Code Samples for the NetDevOps CICD Learning Labs

ll_net_cicd_code_samples's People

Contributors

hpreston avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

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

ll_net_cicd_code_samples's Issues

DevBox does not have connectivity to github

(venv) [root@devbox cicd]# git clone https://github.com/CiscoDevNet/ll_net_cicd_code_samples
Cloning into 'll_net_cicd_code_samples'...
fatal: unable to access 'https://github.com/CiscoDevNet/ll_net_cicd_code_samples/': Could not resolve host: github.com; Unknown error

(venv) [root@devbox cicd]# ping github.com
ping: unknown host github.com
(venv) [root@devbox cicd]#
(venv) [root@devbox cicd]# tracepath github.com
gethostbyname2: Host name lookup failure
(venv) [root@devbox cicd]#
(venv) [root@devbox cicd]#
(venv) [root@devbox cicd]# tracepath 8.8.8.8
1?: [LOCALHOST] pmtu 1500
1: 10.10.20.254 6.202ms
1: 10.10.20.254 0.487ms
2: no reply
3: no reply
4: no reply
5: no reply
6: no reply
7: no reply
8: no reply
9: no reply
^C
(venv) [root@devbox cicd]#

Devbox_setup.sh fails when installing docker

When running devbox_setup.sh, the ansible playbook fails when going through the zaxos.docker-ce-ansible-role. It is saying the python2 bindings for RPM are needed for this module. I attempted changing to the package format in the role playbook and forcing the python2.7 interpreter in the local ansible.cfg but neither worked to resolve the issue.

The error below is from before I changed anything,
(venv) [root@devbox pipeline]# ./devbox_setup.sh
[WARNING]: - zaxos.docker-ce-ansible-role (1.1.1) is already installed - use --force to change version to unspecified

[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for dynamic
inclusions. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.
[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more
about this rationale.. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False
in ansible.cfg.

PLAY [Update Docker CE] ******************************************************************************************************************************

TASK [Gathering Facts] *******************************************************************************************************************************
ok: [10.10.20.20]

TASK [zaxos.docker-ce-ansible-role : Remove previous docker installation] ****************************************************************************
failed: [10.10.20.20] (item={u'package': u'docker'}) => {"changed": false, "item": {"package": "docker"}, "msg": "python2 bindings for rpm are needed for this module. python2 yum module is needed for this module"}
failed: [10.10.20.20] (item={u'package': u'docker-common'}) => {"changed": false, "item": {"package": "docker-common"}, "msg": "python2 bindings for rpm are needed for this module. python2 yum module is needed for this module"}
failed: [10.10.20.20] (item={u'package': u'docker-client'}) => {"changed": false, "item": {"package": "docker-client"}, "msg": "python2 bindings for rpm are needed for this module. python2 yum module is needed for this module"}
failed: [10.10.20.20] (item={u'package': u'docker-engine'}) => {"changed": false, "item": {"package": "docker-engine"}, "msg": "python2 bindings for rpm are needed for this module. python2 yum module is needed for this module"}
to retry, use: --limit @/root/ll_net_cicd_code_samples/pipeline/pipeline_setup.retry

PLAY RECAP *******************************************************************************************************************************************
10.10.20.20 : ok=1 changed=0 unreachable=0 failed=1

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.