StarlingX System Configuration Management
Go to file
Patrick Bonnell be0ea9d20c Data interface creation failing due to existing PCI interface
This commit prevents the data interface creation from failing due to
an issue involving a previously created PCI interface.

The function set_defaults() within interface.py was setting the
interface networktype to 'data' if it was originally set to None. Then,
a check was made later to see if the provider network being used in the
newly created data interface was being used by another data interface.
Even though the already created interface's ifclass was set to
'pci-passthrough', the networktype was set to 'data' and this was
causing the data interface creation to fail since the provider network
being assigned to the data interface was already being used by the PCI
interface.

Now, the function set_defaults() sets the networktype properly and the
semantic check for the provider network now checks the ifclass rather
than the networktype.

Closes-Bug: 1795717

Change-Id: I79cbe67fec92552e06189c3592b7a63d17f4c909
Signed-off-by: Patrick Bonnell <patrick.bonnell@windriver.com>
2018-10-04 12:10:23 -04:00
api-ref/source stx-config: API ref doc content added. 2018-09-27 11:26:39 -07:00
compute-huge Fixing linters errors E010, E011, E020, E041,E043, E003, E001,E042 2018-09-11 21:47:40 +08:00
computeconfig Fixing linters errors E010, E011, E020, E041,E043, E003, E001,E042 2018-09-11 21:47:40 +08:00
config-gate Fixing linters errors E010, E011, E020, E041,E043, E003, E001,E042 2018-09-11 21:47:40 +08:00
configutilities Allow mgmt and infra network on single interface 2018-09-17 15:20:44 -04:00
controllerconfig Merge "Enable upstream Cinder volume backup/restore capabilities" 2018-09-26 21:46:38 +00:00
devstack Fixing linters errors E010, E011, E020, E041,E043, E003, E001,E042 2018-09-11 21:47:40 +08:00
doc [Doc] OpenStack API Reference Guide 2018-09-21 16:08:09 -05:00
puppet-manifests Merge "Horizon: Error viewing system information page with https" 2018-09-27 19:26:47 +00:00
puppet-modules-wrs Merge "LLDP OVS enablement: puppet configuration" 2018-09-27 00:56:51 +00:00
releasenotes [Doc] stx.2018.10 Release Summary 2018-09-27 11:19:16 -05:00
storageconfig Fixing linters errors E010, E011, E020, E041,E043, E003, E001,E042 2018-09-11 21:47:40 +08:00
sysinv Data interface creation failing due to existing PCI interface 2018-10-04 12:10:23 -04:00
tmp/patch-scripts/EXAMPLE_SYSINV/scripts StarlingX open source release updates 2018-05-31 07:35:52 -07:00
.gitignore [Doc] OpenStack API Reference Guide 2018-09-21 16:08:09 -05:00
.gitreview Update .gitreview for r/2018.10 2018-09-28 13:38:11 -05:00
.yamllint clear yamllint errors under stx-config 2018-09-12 21:11:57 +08:00
.zuul.yaml [Doc] OpenStack API Reference Guide 2018-09-21 16:08:09 -05:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:35:52 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:35:52 -07:00
README.rst StarlingX open source release updates 2018-05-31 07:35:52 -07:00
centos_iso_image.inc Split image.inc across git repos 2018-08-16 10:08:08 -04:00
centos_pkg_dirs Decouple Fault Management from stx-config 2018-08-16 17:24:19 -04:00
test-requirements.txt Add default test framework 2018-06-08 20:06:21 -05:00
tox.ini [Doc] OpenStack API Reference Guide 2018-09-21 16:08:09 -05:00

README.rst

stx-config

StarlingX Configuration Management