Featureset039 failing on TASK [ovb-manage : Build nodes.json file to be used as instackenv.json]

Bug #1930190 reported by Sandeep Yadav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Sandeep Yadav

Bug Description

Description:
Featureset039 jobs is failing on TASK [ovb-manage : Build nodes.json file to be used as instackenv.json] in multiple branches.

Logs:-

https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp_1supp-featureset039-master/12cbd53/job-output.txt
~~~
2021-05-30 03:50:56.576526 | TASK [ovb-manage : Build nodes.json file to be used as instackenv.json]
2021-05-30 03:51:01.634972 | primary | Traceback (most recent call last):
2021-05-30 03:51:01.635164 | primary | File "/home/zuul/workspace/ovb/openstack-virtual-baremetal/bin/build-nodes-json", line 288, in <module>
2021-05-30 03:51:01.635196 | primary | main()
2021-05-30 03:51:01.635211 | primary | File "/home/zuul/workspace/ovb/openstack-virtual-baremetal/bin/build-nodes-json", line 277, in main
2021-05-30 03:51:01.635238 | primary | baremetal_base)
2021-05-30 03:51:01.635249 | primary | File "/home/zuul/workspace/ovb/openstack-virtual-baremetal/bin/build-nodes-json", line 114, in _get_ports
2021-05-30 03:51:01.635259 | primary | bm_ports))
2021-05-30 03:51:01.635341 | primary | RuntimeError: Found different numbers of baremetal and bmc ports. bmc: [{'id': '29d81212-903c-4ab6-b9c8-8bd682b91ddf', 'name': 'bmc-77078_0', 'network_id': 'e7b76186-4b95-4716-9722-228550d7239b', 'tenant_id': '4b633c451ac74233be3721a3635275e5', 'mac_address': 'fa:16:3e:83:8b:8d', 'admin_state_up': True, 'status': 'DOWN', 'device_id': '', 'device_owner': '', 'fixed_ips': [{'subnet_id': 'f096eb35-fd57-443a-8e27-f54c1d880cdc', 'ip_address': '10.0.1.144'}], 'allowed_address_pairs': [], 'extra_dhcp_opts': [], 'security_groups': ['d9c1053c-f188-4266-a2ce-84ea6dc4b9a6'], 'description': '', 'binding:vnic_type': 'normal', 'port_security_enabled': True, 'tags': [], 'created_at': '2021-05-30T03:46:14Z', 'updated_at': '2021-05-30T03:46:14Z', 'revision_number': 1, 'project_id': '4b633c451ac74233be3721a3635275e5'}, {'id': 'bf47e016-68d3-4b6c-a0d0-83867258e356', 'name': 'bmc-77078_1', 'network_id': 'e7b76186-4b95-4716-9722-228550d7239b', 'tenant_id': '4b633c451ac74233be3721a3635275e5', 'mac_address': 'fa:16:3e:e3:f7:e7', 'admin_state_up': True, 'status': 'DOWN', 'device_id': '', 'device_owner': '', 'fixed_ips': [{'subnet_id': 'f096eb35-fd57-443a-8e27-f54c1d880cdc', 'ip_address': '10.0.1.238'}], 'allowed_address_pairs': [], 'extra_dhcp_opts': [], 'security_groups': ['d9c1053c-f188-4266-a2ce-84ea6dc4b9a6'], 'description': '', 'binding:vnic_type': 'normal', 'port_security_enabled': True, 'tags': [], 'created_at': '2021-05-30T03:46:13Z', 'updated_at': '2021-05-30T03:46:13Z', 'revision_number': 1, 'project_id': '4b633c451ac74233be3721a3635275e5'}, {'id': 'd8bf53bb-cd05-40a2-821f-94343b5abcc8', 'name': 'bmc-77078_2', 'network_id': 'e7b76186-4b95-4716-9722-228550d7239b', 'tenant_id': '4b633c451ac74233be3721a3635275e5', 'mac_address': 'fa:16:3e:76:51:d2', 'admin_state_up': True, 'status': 'DOWN', 'device_id': '', 'device_owner': '', 'fixed_ips': [{'subnet_id': 'f096eb35-fd57-443a-8e27-f54c1d880cdc', 'ip_address': '10.0.1.154'}], 'allowed_address_pairs': [], 'extra_dhcp_opts': [], 'security_groups': ['d9c1053c-f188-4266-a2ce-84ea6dc4b9a6'], 'description': '', 'binding:vnic_type': 'normal', 'port_security_enabled': True, 'tags': [], 'created_at': '2021-05-30T03:46:15Z', 'updated_at': '2021-05-30T03:46:16Z', 'revision_number': 1, 'project_id': '4b633c451ac74233be3721a3635275e5'}, {'id': '933b3332-574b-49a2-9c4c-33f62c1d3517', 'name': 'bmc-77078_3', 'network_id': 'e7b76186-4b95-4716-9722-228550d7239b', 'tenant_id': '4b633c451ac74233be3721a3635275e5', 'mac_address': 'fa:16:3e:df:d8:52', 'admin_state_up': True, 'status': 'DOWN', 'device_id': '', 'device_owner': '', 'fixed_ips': [{'subnet_id': 'f096eb35-fd57-443a-8e27-f54c1d880cdc', 'ip_address': '10.0.1.62'}], 'allowed_address_pairs': [], 'extra_dhcp_opts': [], 'security_groups': ['d9c1053c-f188-4266-a2ce-84ea6dc4b9a6'], 'description': '', 'binding:vnic_type': 'normal', 'port_security_enabled': True, 'tags': [], 'created_at': '2021-05-30T03:46:15Z', 'updated_at': '2021-05-30T03:46:15Z', 'revision_number': 1, 'project_id': '4b633c451ac74233be3721a3635275e5'}] baremetal: [{'id': 'de52b5fc-32a2-4d86-be4b-b855723270fd', 'name': 'baremetal-77078-extra_0', 'network_id': '99a6ec1f-0c5f-462c-a0aa-9ec5fd8a2796', 'tenant_id': '4b633c451ac74233be3721a3635275e5', 'mac_address': 'fa:16:3e:79:df:d2', 'admin_state_up': True, 'status': 'ACTIVE', 'device_id': '61b918bd-9e0a-4cbb-862a-c8a112817121', 'device_owner': 'compute:nova', 'fixed_ips': [{'subnet_id': '3757fbfd-59f6-413f-94ab-9b609eacb347', 'ip_address': '192.168.24.42'}], 'allowed_address_pairs': [], 'extra_dhcp_opts': [], 'security_groups': [], 'description': '', 'binding:vnic_type': 'normal', 'port_security_enabled': False, 'tags': [], 'created_at': '2021-05-30T03:49:00Z', 'updated_at': '2021-05-30T03:49:23Z', 'revision_number': 4, 'project_id': '4b633c451ac74233be3721a3635275e5'}, {'id': '8346e631-cfba-4135-85f9-7983c2e6cd95', 'name': 'baremetal-77078_0', 'network_id': '99a6ec1f-0c5f-462c-a0aa-9ec5fd8a2796', 'tenant_id': '4b633c451ac74233be3721a3635275e5', 'mac_address': 'fa:16:3e:f9:74:9f', 'admin_state_up': True, 'status': 'ACTIVE', 'device_id': '62ddd4a3-5d92-4673-9769-83f74376c470', 'device_owner': 'compute:nova', 'fixed_ips': [{'subnet_id': '3757fbfd-59f6-413f-94ab-9b609eacb347', 'ip_address': '192.168.24.38'}], 'allowed_address_pairs': [], 'extra_dhcp_opts': [], 'security_groups': [], 'description': '', 'binding:vnic_type': 'normal', 'port_security_enabled': False, 'tags': [], 'created_at': '2021-05-30T03:45:28Z', 'updated_at': '2021-05-30T03:46:01Z', 'revision_number': 4, 'project_id': '4b633c451ac74233be3721a3635275e5'}, {'id': 'f8d4463d-f1df-4711-af21-6e58ef845a4b', 'name': 'baremetal-77078_1', 'network_id': '99a6ec1f-0c5f-462c-a0aa-9ec5fd8a2796', 'tenant_id': '4b633c451ac74233be3721a3635275e5', 'mac_address': 'fa:16:3e:40:3f:d3', 'admin_state_up': True, 'status': 'ACTIVE', 'device_id': '8044566e-5d1c-460c-9337-a76bfa530832', 'device_owner': 'compute:nova', 'fixed_ips': [{'subnet_id': '3757fbfd-59f6-413f-94ab-9b609eacb347', 'ip_address': '192.168.24.137'}], 'allowed_address_pairs': [], 'extra_dhcp_opts': [], 'security_groups': [], 'description': '', 'binding:vnic_type': 'normal', 'port_security_enabled': False, 'tags': [], 'created_at': '2021-05-30T03:45:25Z', 'updated_at': '2021-05-30T03:46:00Z', 'revision_number': 4, 'project_id': '4b633c451ac74233be3721a3635275e5'}, {'id': '801286e5-f786-4822-bfd6-31b04e0ad500', 'name': 'baremetal-77078_2', 'network_id': '99a6ec1f-0c5f-462c-a0aa-9ec5fd8a2796', 'tenant_id': '4b633c451ac74233be3721a3635275e5', 'mac_address': 'fa:16:3e:ff:37:fa', 'admin_state_up': True, 'status': 'ACTIVE', 'device_id': '160a966a-cca0-4bc0-b263-d2385086aa7c', 'device_owner': 'compute:nova', 'fixed_ips': [{'subnet_id': '3757fbfd-59f6-413f-94ab-9b609eacb347', 'ip_address': '192.168.24.240'}], 'allowed_address_pairs': [], 'extra_dhcp_opts': [], 'security_groups': [], 'description': '', 'binding:vnic_type': 'normal', 'port_security_enabled': False, 'tags': [], 'created_at': '2021-05-30T03:45:26Z', 'updated_at': '2021-05-30T03:46:01Z', 'revision_number': 4, 'project_id': '4b633c451ac74233be3721a3635275e5'}, {'id': '56c41852-30d8-4de0-bac1-23ac31c3c58f', 'name': 'baremetal-77078_3', 'network_id': '99a6ec1f-0c5f-462c-a0aa-9ec5fd8a2796', 'tenant_id': '4b633c451ac74233be3721a3635275e5', 'mac_address': 'fa:16:3e:b7:d0:23', 'admin_state_up': True, 'status': 'ACTIVE', 'device_id': '9c98b8d4-abbd-45ed-88e9-6b9319e24107', 'device_owner': 'compute:nova', 'fixed_ips': [{'subnet_id': '3757fbfd-59f6-413f-94ab-9b609eacb347', 'ip_address': '192.168.24.46'}], 'allowed_address_pairs': [], 'extra_dhcp_opts': [], 'security_groups': [], 'description': '', 'binding:vnic_type': 'normal', 'port_security_enabled': False, 'tags': [], 'created_at': '2021-05-30T03:45:31Z', 'updated_at': '2021-05-30T03:45:57Z', 'revision_number': 4, 'project_id': '4b633c451ac74233be3721a3635275e5'}]
~~~

More logs from other branches:-

https://logserver.rdoproject.org/openstack-periodic-integration-stable1/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp_1supp-featureset039-wallaby/8b70121/job-output.txt

https://logserver.rdoproject.org/openstack-periodic-integration-stable4/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp_1supp-featureset039-train/398201c/job-output.txt

Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :
Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :
Changed in tripleo:
status: Triaged → Fix Released
assignee: nobody → Sandeep Yadav (sandeepyadav93)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.