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
"msg": "a bytes-like object is required, not 'str'", "invocation": { "module_args": { "config": [ { "name": "Eth1/1", "description": "Uplink to UNV-LR1-SP1", "enabled": null, "mtu": null, "speed": null, "auto_negotiate": null, "advertised_speed": null, "fec": null } ], "state": "merged" }
Dell Enterprise Sonic
sonic_interface
2.4.0
4.0.1
Ran through AWX
- name: Interface Manager connection: httpapi dellemc.enterprise_sonic.sonic_interfaces: config: - name: "{{ item.name }}" description: "{{ item.description }}"
state: merged
Update Description, and Enabled State without Error
"a bytes-like object is required, not 'str'"
{ "started": 1, "finished": 1, "stdout": "", "stderr": "", "stdout_lines": [], "stderr_lines": [], "ansible_job_id": "j708448897745.301", "results_file": "/runner/.ansible_async/j708448897745.301", "code": -32603, "msg": "a bytes-like object is required, not 'str'", "invocation": { "module_args": { "config": [ { "name": "PortChannel 3", "description": "UNV-LR1-L1 E1/3 & UNV-LR1-L2 E1/3", "enabled": null, "mtu": null, "speed": null, "auto_negotiate": null, "advertised_speed": null, "fec": null } ], "state": "merged" } }
No response
The text was updated successfully, but these errors were encountered:
kerry-meyer
No branches or pull requests
Bug Description
"msg": "a bytes-like object is required, not 'str'",
"invocation": {
"module_args": {
"config": [
{
"name": "Eth1/1",
"description": "Uplink to UNV-LR1-SP1",
"enabled": null,
"mtu": null,
"speed": null,
"auto_negotiate": null,
"advertised_speed": null,
"fec": null
}
],
"state": "merged"
}
Product Name
Dell Enterprise Sonic
Component or Module Name
sonic_interface
DellEMC Enterprise SONiC Ansible Collection Version
2.4.0
SONiC Software Version
4.0.1
Configuration
Ran through AWX
enabled: "{{ item.enabled | bool }}"
Steps to Reproduce
Ran through AWX
Expected Behavior
Update Description, and Enabled State without Error
Actual Behavior
"a bytes-like object is required, not 'str'"
Logs
{
"started": 1,
"finished": 1,
"stdout": "",
"stderr": "",
"stdout_lines": [],
"stderr_lines": [],
"ansible_job_id": "j708448897745.301",
"results_file": "/runner/.ansible_async/j708448897745.301",
"code": -32603,
"msg": "a bytes-like object is required, not 'str'",
"invocation": {
"module_args": {
"config": [
{
"name": "PortChannel 3",
"description": "UNV-LR1-L1 E1/3 & UNV-LR1-L2 E1/3",
"enabled": null,
"mtu": null,
"speed": null,
"auto_negotiate": null,
"advertised_speed": null,
"fec": null
}
],
"state": "merged"
}
}
Screenshots
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: