2020-04-23 10:20:32 |
Marios Andreou |
description |
In [1][2][3] (many other examples this happens a lot) periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp_1supp-featureset039-master fails during undercloud setup due to a conflict for the 10.0.0.1 address:
2020-04-23 01:46:51.064683 | primary | TASK [Add eth2 interface from eth2.conf] ***************************************
2020-04-23 01:46:51.064740 | primary | Thursday 23 April 2020 01:46:51 +0000 (0:00:00.030) 0:03:36.186 ********
2020-04-23 01:46:52.724367 | primary | fatal: [undercloud]: FAILED! => {
...
2020-04-23 01:46:52.724673 | primary | [2020/04/23 01:46:52 AM] [INFO] running ifup on interface: eth2
2020-04-23 01:46:52.724682 | primary | [2020/04/23 01:46:52 AM] [ERROR] Failure(s) occurred when applying configuration
2020-04-23 01:46:52.724688 | primary | [2020/04/23 01:46:52 AM] [ERROR] stdout: ERROR : [/etc/sysconfig/network-scripts/ifup-eth] Error, some other host (FA:16:3E:B5:60:2A) already uses address 10.0.0.1.
It appears that 10.0.0.1 is hard-coded for the undercloud with [4]. The error then happens when one of the ovb nodes gets the same address in nodes.json [5]:
2020-04-23 01:39:52.052646 | TASK [ovb-manage : Build nodes.json file to be used as instackenv.json]
2020-04-23 01:40:00.492779 | primary | Undercloud undercloud-89503 specified in the environment file is not available in nova. No undercloud details will be included in the output.
...
2020-04-23 01:40:00.493739 | primary | "network_details": {
2020-04-23 01:40:00.493748 | primary | "baremetal-89503-extra_0": {
...
2020-04-23 01:40:00.493934 | primary | "public-89503": [
2020-04-23 01:40:00.493954 | primary | {
2020-04-23 01:40:00.493964 | primary | "OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:b5:60:2a",
2020-04-23 01:40:00.493973 | primary | "version": 4,
2020-04-23 01:40:00.493982 | primary | "addr": "10.0.0.1",
Note there is some similarity to the bug at [6] and I added comments/15 there recently but I believe this is a different root cause hence filing here
[1] https://logserver.rdoproject.org/openstack-periodic-master/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp_1supp-featureset039-master/028ad5c/job-output.txt
[2] https://logserver.rdoproject.org/openstack-periodic-master/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp_1supp-featureset039-master/c79e43c/job-output.txt
[3] https://logserver.rdoproject.org/openstack-periodic-master/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp_1supp-featureset039-master/a03877a/job-output.txt
[4] https://opendev.org/openstack/tripleo-quickstart-extras/src/commit/cb6c9c47c8c8e96975d0d5c0a0ff6b5631ea95df/playbooks/prepare-slave.yml#L44
[5] https://opendev.org/openstack/openstack-virtual-baremetal/src/branch/master/openstack_virtual_baremetal/build_nodes_json.py
[6] https://bugs.launchpad.net/tripleo/+bug/1818060 |
In [1][2][3] (many other examples this happens a lot) periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp_1supp-featureset039-master fails during undercloud setup due to a conflict for the 10.0.0.1 address:
2020-04-23 01:46:51.064683 | primary | TASK [Add eth2 interface from eth2.conf] ***************************************
2020-04-23 01:46:51.064740 | primary | Thursday 23 April 2020 01:46:51 +0000 (0:00:00.030) 0:03:36.186 ********
2020-04-23 01:46:52.724367 | primary | fatal: [undercloud]: FAILED! => {
...
2020-04-23 01:46:52.724673 | primary | [2020/04/23 01:46:52 AM] [INFO] running ifup on interface: eth2
2020-04-23 01:46:52.724682 | primary | [2020/04/23 01:46:52 AM] [ERROR] Failure(s) occurred when applying configuration
2020-04-23 01:46:52.724688 | primary | [2020/04/23 01:46:52 AM] [ERROR] stdout: ERROR : [/etc/sysconfig/network-scripts/ifup-eth] Error, some other host (FA:16:3E:B5:60:2A) already uses address 10.0.0.1.
---
It appears that 10.0.0.1 is hard-coded for the undercloud with [4]. The error then happens when one of the ovb nodes gets the same address in nodes.json [5]:
2020-04-23 01:39:52.052646 | TASK [ovb-manage : Build nodes.json file to be used as instackenv.json]
2020-04-23 01:40:00.492779 | primary | Undercloud undercloud-89503 specified in the environment file is not available in nova. No undercloud details will be included in the output.
...
2020-04-23 01:40:00.493739 | primary | "network_details": {
2020-04-23 01:40:00.493748 | primary | "baremetal-89503-extra_0": {
...
2020-04-23 01:40:00.493934 | primary | "public-89503": [
2020-04-23 01:40:00.493954 | primary | {
2020-04-23 01:40:00.493964 | primary | "OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:b5:60:2a",
2020-04-23 01:40:00.493973 | primary | "version": 4,
2020-04-23 01:40:00.493982 | primary | "addr": "10.0.0.1",
---
Note there is some similarity to the bug at [6] and I added comments/15 there recently but I believe this is a different root cause hence filing here
[1] https://logserver.rdoproject.org/openstack-periodic-master/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp_1supp-featureset039-master/028ad5c/job-output.txt
[2] https://logserver.rdoproject.org/openstack-periodic-master/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp_1supp-featureset039-master/c79e43c/job-output.txt
[3] https://logserver.rdoproject.org/openstack-periodic-master/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp_1supp-featureset039-master/a03877a/job-output.txt
[4] https://opendev.org/openstack/tripleo-quickstart-extras/src/commit/cb6c9c47c8c8e96975d0d5c0a0ff6b5631ea95df/playbooks/prepare-slave.yml#L44
[5] https://opendev.org/openstack/openstack-virtual-baremetal/src/branch/master/openstack_virtual_baremetal/build_nodes_json.py
[6] https://bugs.launchpad.net/tripleo/+bug/1818060 |
|