Timestamp/Logs
--------------
Problem code is here
sysinv/conductor/kube_app.py
def _process_node_labels(self, app, op=constants.LABEL_ASSIGN_OP):
# Node labels are host personality based and are defined in
# metadata.yaml file in the following format:
# labels:
# controller: '<label-key1>=<value>, <label-key2>=<value>, ...'
# compute: '<label-key1>=<value>, <label-key2>=<value>, ...'
...
# Add the default labels for system app. They must exist for
# the app manifest to be applied successfully. If the nodes have
# been assigned these labels manually before, these
# reassignments are simply ignored.
if app.system_app: controller_labels_set.add(constants.CONTROL_PLANE_LABEL) compute_labels_set.add(constants.COMPUTE_NODE_LABEL) compute_labels_set.add(constants.OPENVSWITCH_LABEL) compute_labels_set.add(constants.SRIOV_LABEL)
Brief Description
-----------------
I did not assign the openstack compute labels to a worker node. After
Severity
--------
Critical, system not useable for non-openstack worker nodes
Steps to Reproduce
------------------
Install and provision a worker node without assigning the openstack compute labels. Unlock worker nodes
Expected Behavior
------------------
Openstack compute labels were not assigned
Actual Behavior
----------------
Openstack compute labels are assigned
Reproducibility
---------------
100%
System Configuration ------- ------
-------
Standard system
Branch/Pull Time/Commit ------- ------- --
-------
19.01
2019-04-05 20:23:11 -0400
Last Pass
---------
Suspect never
Timestamp/Logs conductor/ kube_app. py
--------------
Problem code is here
sysinv/
def _process_ node_labels( self, app, op=constants. LABEL_ASSIGN_ OP): key1>=< value>, <label- key2>=< value>, ...' key1>=< value>, <label- key2>=< value>, ...'
# Node labels are host personality based and are defined in
# metadata.yaml file in the following format:
# labels:
# controller: '<label-
# compute: '<label-
...
# Add the default labels for system app. They must exist for
controller _labels_ set.add( constants. CONTROL_ PLANE_LABEL)
compute_ labels_ set.add( constants. COMPUTE_ NODE_LABEL)
compute_ labels_ set.add( constants. OPENVSWITCH_ LABEL)
compute_ labels_ set.add( constants. SRIOV_LABEL)
# the app manifest to be applied successfully. If the nodes have
# been assigned these labels manually before, these
# reassignments are simply ignored.
if app.system_app:
Test Activity
-------------
Other