Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when creating simple tenant #3

Open
Hemakuma opened this issue Oct 18, 2017 · 0 comments
Open

error when creating simple tenant #3

Hemakuma opened this issue Oct 18, 2017 · 0 comments
Assignees
Labels

Comments

@Hemakuma
Copy link

Hemakuma commented Oct 18, 2017

I have a playbook just to create a simple tenant. Tenant is created but i get the following error. Note i am not configuring any L3out.

inventory file

fabric01:
  hosts:
    apic:
      apic_host: 10.114.217.xx
      apic_username: admin
      apic_password: xxxxxx
  vars:
    apic_use_proxy: no
    apic_validate_certs: no

    aci_topology:
      tenant:
      - name: Example99
        description: Example99

Playbook

- name: Configuring APIC
  hosts: apic
  gather_facts: no
  roles:
    - role: datacenter.aci-model
      aci_model_data: "{{ aci_topology }}"
TASK [datacenter.aci-model : Associate BDs to l3outs] **************************************************
task path: /Users/hemakuma/.ansible/roles/datacenter.aci-model/tasks/main-json.yml:116
ERROR! Unexpected Exception, this is probably a bug: 'access_policy'
the full traceback was:

Traceback (most recent call last):
  File "/usr/local/bin/ansible-playbook", line 106, in <module>
    exit_code = cli.run()
  File "/usr/local/lib/python2.7/site-packages/ansible/cli/playbook.py", line 130, in run
    results = pbex.run()
  File "/usr/local/lib/python2.7/site-packages/ansible/executor/playbook_executor.py", line 154, in run
    result = self._tqm.run(play=play)
  File "/usr/local/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py", line 292, in run
    play_return = strategy.run(iterator, play_context)
  File "/usr/local/lib/python2.7/site-packages/ansible/plugins/strategy/linear.py", line 248, in run
    task_vars = self._variable_manager.get_vars(play=iterator._play, host=host, task=task)
  File "/usr/local/lib/python2.7/site-packages/ansible/vars/manager.py", line 440, in get_vars
    all_vars['ansible_delegated_vars'] = self._get_delegated_vars(play, task, all_vars)
  File "/usr/local/lib/python2.7/site-packages/ansible/vars/manager.py", line 509, in _get_delegated_vars
    loader=self._loader, fail_on_undefined=True, convert_bare=False)
  File "/usr/local/lib/python2.7/site-packages/ansible/utils/listify.py", line 34, in listify_lookup_plugin_terms
    terms = templar.template(terms.strip(), convert_bare=convert_bare, fail_on_undefined=fail_on_undefined)
  File "/usr/local/lib/python2.7/site-packages/ansible/template/__init__.py", line 450, in template
    disable_lookups=disable_lookups,
  File "/usr/local/lib/python2.7/site-packages/ansible/template/__init__.py", line 672, in do_template
    res = j2_concat(rf)
  File "<template>", line 12, in root
  File "/Users/hemakuma/.ansible/roles/datacenter.aci-model/plugins/filter/aci.py", line 8, in listify
    return listify_worker(d, keys, 0, [], {}, '')
  File "/Users/hemakuma/.ansible/roles/datacenter.aci-model/plugins/filter/aci.py", line 13, in listify_worker
    for item in d[keys[depth]]:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants