Skip to content

ROX-13722: Readd nodeID to NodeInventory proto#4483

Merged
vikin91 merged 2 commits intomasterfrom
piotr/ROX-13722-readd-node-id
Jan 23, 2023
Merged

ROX-13722: Readd nodeID to NodeInventory proto#4483
vikin91 merged 2 commits intomasterfrom
piotr/ROX-13722-readd-node-id

Conversation

@vikin91
Copy link
Contributor

@vikin91 vikin91 commented Jan 20, 2023

Description

This PR was created as a split from #4430 in order to make the change easier to review.
This PR is meant to replace #3757 - as we will not attach NodeInventory to Node anymore, we need to change the NodeInventory so that it contains the information we will need in Central.

Here, we readd the nodeID field to NodeInventory as this field will be needed to uniquely identify the Node that the NodeInventory belongs to. The NodeInventory.NodeID will be filled by Sensor in another PR.

Note that by abandoning #3757 and following #4430 we DO NOT:

  • attach NodeInventory to Node,
  • expose NodeInventory over public APIs,
  • save NodeInventory in the Central-DB

anymore.

I also renamed central pipeline for handling Node Inventories from nodescanv2 to nodeinventory.

Checklist

  • Investigated and inspected CI test results

Not apply

  • Unit test and regression tests added
  • Evaluated and added CHANGELOG entry if required
  • Determined and documented upgrade steps
  • Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

Testing Performed

  • CI
  • Deploy locally on Colima, enable FF and check log for errors

@vikin91
Copy link
Contributor Author

vikin91 commented Jan 20, 2023

@vikin91 vikin91 changed the title ROX-13722-readd-node-id ROX-13722: Readd nodeID to NodeInventory proto Jan 20, 2023
@vikin91 vikin91 force-pushed the piotr/ROX-13722-readd-node-id branch from 8f73b48 to f562c16 Compare January 20, 2023 09:39
@ghost
Copy link

ghost commented Jan 20, 2023

Images are ready for the commit at f562c16.

To use with deploy scripts, first export MAIN_IMAGE_TAG=3.73.x-446-gf562c16d9b.

Comment on lines +87 to +89
string node_id = 1;
string node_name = 2;
google.protobuf.Timestamp scan_time = 3;
Copy link
Contributor Author

@vikin91 vikin91 Jan 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for backwards compatibility here as this object is fully protected by the feature flag and has not been used by our customers before.

@vikin91
Copy link
Contributor Author

vikin91 commented Jan 20, 2023

/test all

@vikin91
Copy link
Contributor Author

vikin91 commented Jan 20, 2023

/test gke-postgres-nongroovy-e2e-tests

Copy link
Contributor

@jschnath jschnath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vikin91 vikin91 merged commit c413530 into master Jan 23, 2023
@vikin91 vikin91 deleted the piotr/ROX-13722-readd-node-id branch January 23, 2023 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants