[ironic] Port for node that already has a port
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Invalid
|
Medium
|
Kyrylo Romanenko |
Bug Description
We can create a port for the node that already has a port.
Expected that such action should be prohibited in Ironic.
Steps:
root@node-4:~# ironic port-create -n 53c690ef-
+------
| Property | Value |
+------
| node_uuid | 53c690ef-
| extra | {} |
| uuid | 2558b4a1-
| address | 64:5f:1b:c3:5c:d5 |
+------
root@node-4:~# ironic port-create -n 53c690ef-
+------
| Property | Value |
+------
| node_uuid | 53c690ef-
| extra | {} |
| uuid | 679ba606-
| address | 64:5f:1b:c3:5c:d6 |
+------
Here you can see that two ports with MACs 64:5f:1b:c3:5c:d5 and 64:5f:1b:c3:5c:d6 were assigned for one node with uuid 53c690ef-
Env:
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
openstack_
api: "1.0"
build_number: "243"
build_id: "243"
fuel-nailgun_sha: "1b6ae6c7fd4766
python-
fuel-agent_sha: "660c6514caa8f5
fuel-
astute_sha: "b60624ee2c5f1d
fuel-library_sha: "22ed1ebd780445
fuel-ostf_sha: "a98973482f8395
fuel-mirror_sha: "5a1efffd411611
fuelmenu_sha: "fcb15df4fd1a79
shotgun_sha: "25a0cc461a9fa4
network-
fuel-upgrade_sha: "1e894e26d4e142
fuelmain_sha: "ff6eec402830ea
ironic client version 0.8.1
summary: |
- Port for node that already has a port + [ironic] Port for node that already has a port |
Why can't a node have multiple ports? I thought, this was a valid use case.