Adding new node to cluster fails with the error " TypeError: sequence item 1: expected string or Unicode, int found "
Issue
- Adding new node to the cluster and running scaleup fails to complete.
- Error reported:
TASK [openshift_facts : Gather Cluster facts and set is_containerized if needed] ***
fatal: [y44461.example.net]: FAILED! => {
"changed": false,
"failed": true,
"module_stderr": "Shared connection to y44461.example.net closed.\r\n",
"module_stdout": "Traceback (most recent call last):\r\n File \"/tmp/ansible_aVAPjT/ansible_module_openshift_facts.py\", line 2560, in <module>\r\n main()\r\n File \"/tmp/ansible_aVAPjT/ansible_module_openshift_facts.py\", line 2547, in main\r\n protected_facts_to_overwrite)\r\n File \"/tmp/ansible_aVAPjT/ansible_module_openshift_facts.py\", line 1955, in __init__\r\n protected_facts_to_overwrite)\r\n File \"/tmp/ansible_aVAPjT/ansible_module_openshift_facts.py\", line 2013, in generate_facts\r\n facts = build_kubelet_args(facts)\r\n File \"/tmp/ansible_aVAPjT/ansible_module_openshift_facts.py\", line 1217, in build_kubelet_args\r\n labels_str = list(map(lambda x: '='.join(x), facts['node']['labels'].items()))\r\n File \"/tmp/ansible_aVAPjT/ansible_module_openshift_facts.py\", line 1217, in <lambda>\r\n labels_str = list(map(lambda x: '='.join(x), facts['node']['labels'].items()))\r\nTypeError: sequence item 1: expected string or Unicode, int found\r\n"
}
Environment
- OCP 3.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.