We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We are facing an issue whereby we are not able to create a vnic template under a org, e.g org-root/org-ucsmdndb.
Based on the error description, I am not sure why "lan-conn-templ" is appended to vNIC-A and it is not found.
"msg": "setup error: [ErrorCode]: 102[ErrorDescription]: configured object (org-root/org-ucsmdndb/lan-conn-templ-vNIC-A) not found "
The error we faced, { "exception": "WARNING: The below traceback may not be related to the actual failure.\n File "/tmp/ansible_ucs_vnic_template_payload_KBk9Rc/main.py", line 363, in main\n ucs.login_handle.commit()\n File "/var/lib/awx/venv/ansible/lib/python2.7/site-packages/ucsmsdk/ucshandle.py", line 942, in commit\n raise UcsException(response.error_code, response.error_descr)\n", "_ansible_no_log": false, "changed": false, "invocation": { "module_args": { "username": "ucs-local\admin", "redundancy_type": "none", "cdn_name": "", "stats_policy": "default", "network_control_policy": "", "proxy": null, "cdn_source": "vnic-name", "use_ssl": true, "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "port": null, "peer_redundancy_template": "", "use_proxy": true, "vlans_list": null, "fabric": "A", "description": "", "hostname": "10.173.253.72", "org_dn": "org-root/org-ucsmdndb", "name": "vNIC-A", "template_type": "updating-template", "state": "present", "mac_pool": "", "target": "adaptor", "pin_group": "", "mtu": "1500", "qos_policy": "" } }, "msg": "setup error: [ErrorCode]: 102[ErrorDescription]: configured object (org-root/org-ucsmdndb/lan-conn-templ-vNIC-A) not found " }
The version of the module and ansible,,
(ansible) [root@anstvwells02 admin]# pip show ucsmsdk Name: ucsmsdk Version: 0.9.9
(ansible) [root@ansnvlonls01 ~]# ansible --version ansible 2.8.0
The vars_file which was used,
ucs_vnic_template:
The playbook itself,
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We are facing an issue whereby we are not able to create a vnic template under a org, e.g org-root/org-ucsmdndb.
Based on the error description, I am not sure why "lan-conn-templ" is appended to vNIC-A and it is not found.
The error we faced,
{
"exception": "WARNING: The below traceback may not be related to the actual failure.\n File "/tmp/ansible_ucs_vnic_template_payload_KBk9Rc/main.py", line 363, in main\n ucs.login_handle.commit()\n File "/var/lib/awx/venv/ansible/lib/python2.7/site-packages/ucsmsdk/ucshandle.py", line 942, in commit\n raise UcsException(response.error_code, response.error_descr)\n",
"_ansible_no_log": false,
"changed": false,
"invocation": {
"module_args": {
"username": "ucs-local\admin",
"redundancy_type": "none",
"cdn_name": "",
"stats_policy": "default",
"network_control_policy": "",
"proxy": null,
"cdn_source": "vnic-name",
"use_ssl": true,
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"port": null,
"peer_redundancy_template": "",
"use_proxy": true,
"vlans_list": null,
"fabric": "A",
"description": "",
"hostname": "10.173.253.72",
"org_dn": "org-root/org-ucsmdndb",
"name": "vNIC-A",
"template_type": "updating-template",
"state": "present",
"mac_pool": "",
"target": "adaptor",
"pin_group": "",
"mtu": "1500",
"qos_policy": ""
}
},
"msg": "setup error: [ErrorCode]: 102[ErrorDescription]: configured object (org-root/org-ucsmdndb/lan-conn-templ-vNIC-A) not found "
}
The version of the module and ansible,,
(ansible) [root@anstvwells02 admin]# pip show ucsmsdk
Name: ucsmsdk
Version: 0.9.9
(ansible) [root@ansnvlonls01 ~]# ansible --version
ansible 2.8.0
The vars_file which was used,
ucs_vnic_template:
state: present
fabric: A
org_dn: 'org-root/org-ucsmdndb'
template_type: 'updating-template'
The playbook itself,
ignore_errors: True
ucs_vnic_template:
hostname: "{{ansible_host}}"
username: "{{username}}"
password: "{{password}}"
name: "{{ucs_vnic_item.name}}"
fabric: "{{ucs_vnic_item.fabric}}"
state: "{{ucs_vnic_item.state}}"
template_type: "{{ucs_vnic_item.template_type}}"
org_dn: "{{ucs_vnic_item.org_dn}}"
The text was updated successfully, but these errors were encountered: