Bug 1821331 - OSP 16.1 baremetal node delete failed on TypeError: can only concatenate list (not "AnsibleUnicode") to list
Summary: OSP 16.1 baremetal node delete failed on TypeError: can only concatenate list...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 16.0 (Train)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: beta
: 16.1 (Train on RHEL 8.2)
Assignee: Luke Short
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-06 15:21 UTC by Yuri Obshansky
Modified: 2020-07-29 07:51 UTC (History)
8 users (show)

Fixed In Version: tripleo-ansible-0.4.2-0.20200407120218.2996a44.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-29 07:51:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
command output (31.47 KB, text/plain)
2020-04-06 15:21 UTC, Yuri Obshansky
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1871228 0 None None None 2020-04-06 21:28:54 UTC
OpenStack gerrit 717864 0 None MERGED tripleo_all_nodes_data: Append server node IP to the list. 2020-06-14 16:52:34 UTC
Red Hat Product Errata RHBA-2020:3148 0 None None None 2020-07-29 07:51:53 UTC

Description Yuri Obshansky 2020-04-06 15:21:19 UTC
Created attachment 1676626 [details]
command output

Description of problem:
OSP 16.1 multistack DCN with OVS network backend
Remove of node failed on error
TASK [Render all_nodes data as group_vars for overcloud] ***********************
Monday 06 April 2020  14:59:47 +0000 (0:00:01.311)       0:00:01.590 ********** 
Process Process-3:3:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib64/python3.6/multiprocessing/process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/share/ansible/plugins/action/tripleo_all_nodes_data.py", line 129, in compute_service
    service_node_ips + self.all_nodes_extra_map_data[v]
TypeError: can only concatenate list (not "AnsibleUnicode") to list

And node dcn2-compute-1  not deleted 
(undercloud) [stack@site-undercloud-0 ~]$ openstack baremetal node list
+--------------------------------------+-------------------+--------------------------------------+-------------+--------------------+-------------+
| UUID                                 | Name              | Instance UUID                        | Power State | Provisioning State | Maintenance |
+--------------------------------------+-------------------+--------------------------------------+-------------+--------------------+-------------+
| c70ff790-3eeb-4d70-9b3e-2763190c0e91 | dcn1-compute-0    | 2afdedfb-e1b2-424a-ac6d-dbbd54c12f95 | power on    | active             | False       |
| 8553e316-4646-42a0-996a-c335c94c01e0 | dcn1-compute-1    | 7c29974c-ad0d-4674-8fc7-bc35c9ffa3da | power on    | active             | False       |
| 9e882aeb-ad46-4904-ae4a-4fff3da062ec | dcn2-compute-0    | 0fb82f6c-8032-4c9a-b55b-426f6f29ce4e | power on    | active             | False       |
| 81386518-7157-46cb-8069-af8748b4ece1 | dcn2-compute-1    | None                                 | power off   | available          | False       |
| 4b8db7be-3644-4445-937b-9a93e9824d98 | site-compute-0    | 112c2f6f-5e57-4842-9db6-8bc3e42d7f88 | power on    | active             | False       |
| 746fdb1a-bfb5-4bcb-8053-da926afd87c3 | site-compute-1    | 0a301fda-d68a-421f-b184-9047301c4d52 | power on    | active             | False       |
| 695f366b-05da-4473-b41a-6df224daf5f7 | site-controller-0 | 29d58103-0c37-488a-bffa-f4e8834997c9 | power on    | active             | False       |
| f8ade810-aa63-4ac5-a8c6-8d49c1341060 | site-controller-1 | 3b9d1c65-2c34-449e-818b-b6a4d74745ca | power on    | active             | False       |
| f7a79063-acc5-4126-8676-a96766c542f3 | site-controller-2 | ae560e5d-d259-45b5-bc5f-df7bdba20651 | power on    | active             | False       |
+--------------------------------------+-------------------+--------------------------------------+-------------+--------------------+-----------


Version-Release number of selected component (if applicable):
RHOS_TRUNK-16.1-RHEL-8-20200327.n.0
openstack-tripleo-puppet-elements-11.2.2-0.20200311084936.a6fef08.el8ost.noarch
python3-tripleoclient-12.3.2-0.20200324104458.7f4622d.el8ost.noarch
python3-tripleo-common-11.3.3-0.20200324103441.09acbeb.el8ost.noarch
openstack-tripleo-common-11.3.3-0.20200324103441.09acbeb.el8ost.noarch
openstack-tripleo-image-elements-10.6.2-0.20200313223428.8c91b46.el8ost.noarch
openstack-tripleo-validations-11.3.2-0.20200318113434.3fd14c9.el8ost.noarch
tripleo-ansible-0.4.2-0.20200326125313.9d5ef54.el8ost.noarch
python3-tripleoclient-heat-installer-12.3.2-0.20200324104458.7f4622d.el8ost.noarch
openstack-tripleo-common-containers-11.3.3-0.20200324103441.09acbeb.el8ost.noarch
puppet-tripleo-11.4.1-0.20200326113426.b4085a5.el8ost.noarch
ansible-tripleo-ipsec-9.2.1-0.20200311073016.0c8693c.el8ost.noarch
openstack-tripleo-heat-templates-11.3.2-0.20200326123146.302d2d9.el8ost.noarch
ansible-role-tripleo-modify-image-1.1.1-0.20200311081746.bb6f78d.el8ost.noarch

How reproducible:
https://rhos-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/DFG/view/edge/job/DFG-edge-day2-16.1-rhel-virthost-3cont-2comp-2leafs-x-2comp-ovs-compute-replacement/8/

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 11 Alex McLeod 2020-06-16 12:30:06 UTC
If this bug requires doc text for errata release, please set the 'Doc Type' and provide draft text according to the template in the 'Doc Text' field. The documentation team will review, edit, and approve the text.

If this bug does not require doc text, please set the 'requires_doc_text' flag to '-'.

Comment 13 errata-xmlrpc 2020-07-29 07:51:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:3148


Note You need to log in before you can comment on or make changes to this bug.