overcloud node import shows node already registered for a new baremetal box

Bug #2007569 reported by swogat pradhan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ironic (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,
I have 2 separate baremetal boxes, 1 is dell and the other is of lenovo make.
I have created 2 separate instanenv.json files for both of them, and tried importing.

the dell box was imported earlier and is now part of the cloud and now when i am trying to import the lenovo box it gives me the <uuid of dell> is alredy registered.

I am not sure why this is coming when they both have separate ip addresses and even mac.

json files:

(undercloud) [stack@hkg2director ~]$ cat dcn01/hci3.json
{
    "nodes": [

{
            "name": "HCI3",
            "pm_type": "ipmi",
            "ports": [
                {
                    "address": "90:B1:1C:4F:CA:3B",
                    "physical_network": "ctlplane"
                }
            ],
            "cpu": "24",
            "memory": "114688",
            "disk": "2602",
            "arch": "x86_64",
            "pm_user": "root",
            "pm_password": "password",
            "pm_addr": "172.25.180.57",
            "_comment": "HCI 3"
        }
     ]
   }

(undercloud) [stack@hkg2director ~]$ cat dcn02/ceph3.json
{
    "nodes": [
{
            "name": "ceph3",
            "pm_type": "ipmi",
            "ports": [
                {
                    "address": "38:68:DD:8D:9E:4A",
                    "physical_network": "ctlplane"
                }
            ],
            "cpu": "48",
            "memory": "65536",
            "disk": "558",
            "arch": "x86_64",
            "pm_user": "root",
            "pm_password": "password",
            "pm_addr": "10.11.11.12",
            "_comment": "ceph 3"
        }
     ]
}

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.