Giter VIP home page Giter VIP logo

ntc-misc's Introduction

NTC Public Repository for sharing misc items.

ntc-misc's People

Contributors

jedelman8 avatar jmcgill298 avatar termlen0 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  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

ntc-misc's Issues

Full Config Playbook Failing

- name: TASK 06 - ENSURE FILTERS HAVE FILTER ENTRIES

When running the full config playbook it is failing at this task:

TASK [TASK 06 - ENSURE FILTERS HAVE FILTER ENTRIES] ***************************************************************************************************
failed: [sandboxapicdc.cisco.com] (item={u'filter': u'https', u'entry': u'https', u'protocol': u'tcp', u'port': u'443'}) => {"changed": false, "failed": true, "item": {"entry": "https", "filter": "https", "port": "443", "protocol": "tcp"}, "msg": "Unsupported parameters for (aci_filter_entry) module: dest_port_end,dest_port_start Supported parameters include: arp_flag,description,dst_port,dst_port_end,dst_port_start,entry,ether_type,filter,hostname,icmp6_msg_type,icmp_msg_type,ip_protocol,password,protocol,state,stateful,tenant,timeout,use_proxy,use_ssl,username,validate_certs"}
failed: [sandboxapicdc.cisco.com] (item={u'filter': u'sql', u'entry': u'sql', u'protocol': u'tcp', u'port': u'1433'}) => {"changed": false, "failed": true, "item": {"entry": "sql", "filter": "sql", "port": "1433", "protocol": "tcp"}, "msg": "Unsupported parameters for (aci_filter_entry) module: dest_port_end,dest_port_start Supported parameters include: arp_flag,description,dst_port,dst_port_end,dst_port_start,entry,ether_type,filter,hostname,icmp6_msg_type,icmp_msg_type,ip_protocol,password,protocol,state,stateful,tenant,timeout,use_proxy,use_ssl,username,validate_certs"}
	to retry, use: --limit @/Users/hapresto/coding/ntc-misc/cisco/ansible-aci/05_aci_deploy_app.retry

Code and resource path updates

I was taking another look and noticed the path for the code samples wasn't updated to match the move from sbx_nxos/yang -> sbx_nxos/learning_labs/yang in the instructions. This will need to be fixed across all three labs.

@termlen0

"RuntimeError: dictionary changed size during iteration" on Bridge Domain

- name: ENSURE TENANT BRIDGE DOMAIN EXISTS

This maybe a module bug more than a lab bug, but wanted to flag here for reference. Getting the below when running this playbook using Python 3.6.2 on both Mac and Ubuntu. Running with Python 2.7.13 works.

TASK [ENSURE TENANT BRIDGE DOMAIN EXISTS] *************************************************************************************************************
task path: /Users/hapresto/coding/ntc-misc/cisco/ansible-aci/02_aci_tenant_network_pb.yml:23
Using module file /Users/hapresto/coding/ntc-misc/cisco/ansible-aci/venv/lib/python3.6/site-packages/ansible/modules/network/aci/aci_bd.py
<sandboxapicdc.cisco.com> ESTABLISH LOCAL CONNECTION FOR USER: hapresto
<sandboxapicdc.cisco.com> EXEC /bin/sh -c 'echo ~ && sleep 0'
<sandboxapicdc.cisco.com> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/hapresto/.ansible/tmp/ansible-tmp-1505916329.651716-16063377934995 `" && echo ansible-tmp-1505916329.651716-16063377934995="` echo /Users/hapresto/.ansible/tmp/ansible-tmp-1505916329.651716-16063377934995 `" ) && sleep 0'
<sandboxapicdc.cisco.com> PUT /var/folders/dh/t0frtgx514388l6ycj2bl7740000gn/T/tmpfv51fh1m TO /Users/hapresto/.ansible/tmp/ansible-tmp-1505916329.651716-16063377934995/aci_bd.py
<sandboxapicdc.cisco.com> EXEC /bin/sh -c 'chmod u+x /Users/hapresto/.ansible/tmp/ansible-tmp-1505916329.651716-16063377934995/ /Users/hapresto/.ansible/tmp/ansible-tmp-1505916329.651716-16063377934995/aci_bd.py && sleep 0'
<sandboxapicdc.cisco.com> EXEC /bin/sh -c '/usr/bin/env python /Users/hapresto/.ansible/tmp/ansible-tmp-1505916329.651716-16063377934995/aci_bd.py; rm -rf "/Users/hapresto/.ansible/tmp/ansible-tmp-1505916329.651716-16063377934995/" > /dev/null 2>&1 && sleep 0'
The full traceback is:
Traceback (most recent call last):
  File "/var/folders/dh/t0frtgx514388l6ycj2bl7740000gn/T/ansible_3iknkomf/ansible_module_aci_bd.py", line 324, in <module>
    main()
  File "/var/folders/dh/t0frtgx514388l6ycj2bl7740000gn/T/ansible_3iknkomf/ansible_module_aci_bd.py", line 307, in main
    {'fvRsBdToEpRet': {'attributes': {'resolveAct': endpoint_retention_action, 'tnFvEpRetPolName': endpoint_retention_policy}}},
  File "/var/folders/dh/t0frtgx514388l6ycj2bl7740000gn/T/ansible_3iknkomf/ansible_modlib.zip/ansible/module_utils/aci.py", line 721, in payload
RuntimeError: dictionary changed size during iteration

fatal: [sandboxapicdc.cisco.com]: FAILED! => {
    "changed": false,
    "failed": true,
    "module_stderr": "Traceback (most recent call last):\n  File \"/var/folders/dh/t0frtgx514388l6ycj2bl7740000gn/T/ansible_3iknkomf/ansible_module_aci_bd.py\", line 324, in <module>\n    main()\n  File \"/var/folders/dh/t0frtgx514388l6ycj2bl7740000gn/T/ansible_3iknkomf/ansible_module_aci_bd.py\", line 307, in main\n    {'fvRsBdToEpRet': {'attributes': {'resolveAct': endpoint_retention_action, 'tnFvEpRetPolName': endpoint_retention_policy}}},\n  File \"/var/folders/dh/t0frtgx514388l6ycj2bl7740000gn/T/ansible_3iknkomf/ansible_modlib.zip/ansible/module_utils/aci.py\", line 721, in payload\nRuntimeError: dictionary changed size during iteration\n",
    "module_stdout": "",
    "msg": "MODULE FAILURE",
    "rc": 0
}
	to retry, use: --limit @/Users/hapresto/coding/ntc-misc/cisco/ansible-aci/02_aci_tenant_network_pb.retry

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.