pxeboot network allowed to be created multiple times when its already provisioned
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Patrick Bonnell |
Bug Description
Brief Description
-------
Only one oam, infra, mgmt & pxeboot can be created per node. For pxeboot network it allows user to create multiple times.
Severity
--------
Major
Steps to Reproduce
-------
1. Add pxeboot network to already provisioned node
[wrsroot@
+----+-
| id | uuid | name | type | dynamic | pool_uuid |
+----+-
| 1 | 72938abe-
| 5 | 7b2caae4-
| 3 | 99965b24-
| 2 | c0f29e2b-
| 4 | c3372f8e-
+----+-
2[wrsroot@
+------
| Property | Value |
+------
| ifname | pxeboot1 |
| iftype | ethernet |
| ports | [u'ens785f1'] |
| providernetworks | None |
| imac | 3c:fd:fe:ac:64:a1 |
| imtu | 1500 |
| ifclass | platform |
| networks | pxeboot |
| aemode | None |
| schedpolicy | None |
| txhashpolicy | None |
| uuid | 11172da1-
| ihost_uuid | 2bf3a912-
| vlan_id | None |
| uses | [] |
| used_by | [] |
| created_at | 2018-09-
| updated_at | 2018-09-
| sriov_numvfs | 0 |
| accelerated | [True] |
+------
2. [wrsroot@
+------
| uuid | name | class | type | vlan id | ports | uses i/f | used by i/f | attributes | provider networks |
+------
| 04087d27-
| 11172da1-
| 32c70564-
| 85c0caab-
| d70376d5-
+------
Expected Behavior
------------------ -------
It should be rejected as other platform network type: Oam, infra, mgmt
[wrsroot@
An interface with 'oam' network type is already provisioned on this node
[wrsroot@
An interface with 'mgmt' network type is already provisioned on this node
[wrsroot@
An interface with 'infra' network type is already provisioned on this node
Actual Behavior
-------
Creation of multiple pxeboot platform network allowed
Reproducibility
---------------
Reproducible
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
StarlingX master as of 2018-09-19_20-18-00
Changed in starlingx: | |
assignee: | Teresa Ho (teresaho) → Patrick Bonnell (pbonnell) |
tags: |
added: stx.1.0 removed: stx.2018.10 |
Targeting stx.2018.10 for now; this issue is related to the Generalized Interface and Network Configuration Feature: /storyboard. openstack. org/#!/ story/2003087
https:/
which was recently submitted
If this cannot be addressed within the needed deadline, it can be re-gated since it's not a major issue. The issue can be avoided by not creating multiple pxeboot networks.