Skip to content

NETOBSERV-1981: Fix Exporters form view#912

Merged
Amoghrd merged 3 commits intonetobserv:mainfrom
Amoghrd:netobserv-1981
Jan 28, 2025
Merged

NETOBSERV-1981: Fix Exporters form view#912
Amoghrd merged 3 commits intonetobserv:mainfrom
Amoghrd:netobserv-1981

Conversation

@Amoghrd
Copy link
Member

@Amoghrd Amoghrd commented Nov 26, 2024

Description

Fix form view for exporters section

Dependencies

n/a

Checklist

If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.

  • Is this PR backed with a JIRA ticket? If so, make sure it is written as a title prefix (in general, PRs affecting the NetObserv/Network Observability product should be backed with a JIRA ticket - especially if they bring user facing changes).
  • Does this PR require product documentation?
    • If so, make sure the JIRA epic is labeled with "documentation" and provides a description relevant for doc writers, such as use cases or scenarios. Any required step to activate or configure the feature should be documented there, such as new CRD knobs.
  • Does this PR require a product release notes entry?
    • If so, fill in "Release Note Text" in the JIRA.
  • Is there anything else the QE team should know before testing? E.g: configuration changes, environment setup, etc.
    • If so, make sure it is described in the JIRA ticket.
  • QE requirements (check 1 from the list):
    • Standard QE validation, with pre-merge tests unless stated otherwise.
    • Regression tests only (e.g. refactoring with no user-facing change).
    • No QE (e.g. trivial change with high reviewer's confidence, or per agreement with the QE team).

@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Nov 26, 2024

@Amoghrd: This pull request references NETOBSERV-1981 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.19.0" version, but no target version was set.

Details

In response to this:

Description

Fix form view for exporters section

Dependencies

n/a

Checklist

If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.

  • Is this PR backed with a JIRA ticket? If so, make sure it is written as a title prefix (in general, PRs affecting the NetObserv/Network Observability product should be backed with a JIRA ticket - especially if they bring user facing changes).
  • Does this PR require product documentation?
  • If so, make sure the JIRA epic is labeled with "documentation" and provides a description relevant for doc writers, such as use cases or scenarios. Any required step to activate or configure the feature should be documented there, such as new CRD knobs.
  • Does this PR require a product release notes entry?
  • If so, fill in "Release Note Text" in the JIRA.
  • Is there anything else the QE team should know before testing? E.g: configuration changes, environment setup, etc.
  • If so, make sure it is described in the JIRA ticket.
  • QE requirements (check 1 from the list):
  • Standard QE validation, with pre-merge tests unless stated otherwise.
  • Regression tests only (e.g. refactoring with no user-facing change).
  • No QE (e.g. trivial change with high reviewer's confidence, or per agreement with the QE team).

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@Amoghrd Amoghrd requested a review from jpinsonneau November 26, 2024 17:09
@Amoghrd Amoghrd force-pushed the netobserv-1981 branch 4 times, most recently from cc674a3 to 37a15d2 Compare November 26, 2024 17:21
Copy link
Member

@jpinsonneau jpinsonneau left a comment

Choose a reason for hiding this comment

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

Code looks good, did you give a try ?

@Amoghrd
Copy link
Member Author

Amoghrd commented Nov 26, 2024

nope not yet. Will try it now

@Amoghrd
Copy link
Member Author

Amoghrd commented Nov 26, 2024

Do the changes to files other than the CSV look good?

@Amoghrd
Copy link
Member Author

Amoghrd commented Nov 26, 2024

/ok-to-test

@openshift-ci openshift-ci bot added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Nov 26, 2024
@github-actions
Copy link

New images:

  • quay.io/netobserv/network-observability-operator:52cc70c
  • quay.io/netobserv/network-observability-operator-bundle:v0.0.0-52cc70c
  • quay.io/netobserv/network-observability-operator-catalog:v0.0.0-52cc70c

They will expire after two weeks.

To deploy this build:

# Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:52cc70c make deploy

# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-52cc70c

Or as a Catalog Source:

apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: netobserv-dev
  namespace: openshift-marketplace
spec:
  sourceType: grpc
  image: quay.io/netobserv/network-observability-operator-catalog:v0.0.0-52cc70c
  displayName: NetObserv development catalog
  publisher: Me
  updateStrategy:
    registryPoll:
      interval: 1m

@openshift-ci openshift-ci bot removed the lgtm label Nov 26, 2024
@github-actions github-actions bot removed the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Nov 26, 2024
@Amoghrd
Copy link
Member Author

Amoghrd commented Nov 26, 2024

/ok-to-test

@openshift-ci openshift-ci bot added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Nov 26, 2024
@github-actions
Copy link

New images:

  • quay.io/netobserv/network-observability-operator:cf05dd6
  • quay.io/netobserv/network-observability-operator-bundle:v0.0.0-cf05dd6
  • quay.io/netobserv/network-observability-operator-catalog:v0.0.0-cf05dd6

They will expire after two weeks.

To deploy this build:

# Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:cf05dd6 make deploy

# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-cf05dd6

Or as a Catalog Source:

apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: netobserv-dev
  namespace: openshift-marketplace
spec:
  sourceType: grpc
  image: quay.io/netobserv/network-observability-operator-catalog:v0.0.0-cf05dd6
  displayName: NetObserv development catalog
  publisher: Me
  updateStrategy:
    registryPoll:
      interval: 1m

@Amoghrd
Copy link
Member Author

Amoghrd commented Nov 26, 2024

OpenTelemtry does not show up as default now but I dont see the sub fields for any of the exporters so there is still something missing
Screenshot 2024-11-26 at 11 18 13 PM

@github-actions github-actions bot removed the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Nov 26, 2024
@Amoghrd
Copy link
Member Author

Amoghrd commented Nov 26, 2024

/ok-to-test

@openshift-ci openshift-ci bot added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Nov 26, 2024
@github-actions
Copy link

New images:

  • quay.io/netobserv/network-observability-operator:19d5070
  • quay.io/netobserv/network-observability-operator-bundle:v0.0.0-19d5070
  • quay.io/netobserv/network-observability-operator-catalog:v0.0.0-19d5070

They will expire after two weeks.

To deploy this build:

# Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:19d5070 make deploy

# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-19d5070

Or as a Catalog Source:

apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: netobserv-dev
  namespace: openshift-marketplace
spec:
  sourceType: grpc
  image: quay.io/netobserv/network-observability-operator-catalog:v0.0.0-19d5070
  displayName: NetObserv development catalog
  publisher: Me
  updateStrategy:
    registryPoll:
      interval: 1m

@github-actions
Copy link

github-actions bot commented Dec 9, 2024

New images:

  • quay.io/netobserv/network-observability-operator:93dda85
  • quay.io/netobserv/network-observability-operator-bundle:v0.0.0-93dda85
  • quay.io/netobserv/network-observability-operator-catalog:v0.0.0-93dda85

They will expire after two weeks.

To deploy this build:

# Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:93dda85 make deploy

# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-93dda85

Or as a Catalog Source:

apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: netobserv-dev
  namespace: openshift-marketplace
spec:
  sourceType: grpc
  image: quay.io/netobserv/network-observability-operator-catalog:v0.0.0-93dda85
  displayName: NetObserv development catalog
  publisher: Me
  updateStrategy:
    registryPoll:
      interval: 1m

@Amoghrd
Copy link
Member Author

Amoghrd commented Dec 10, 2024

@jotak The exporters view is still not fixed with latest changes and still facing the issue mentioned here

@github-actions github-actions bot removed the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Dec 10, 2024
@jotak
Copy link
Member

jotak commented Jan 9, 2025

@Amoghrd I rebased and fixed the bad generated names issue, can you check if this is still good for you?

@Amoghrd
Copy link
Member Author

Amoghrd commented Jan 14, 2025

/ok-to-test

@openshift-ci openshift-ci bot added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Jan 14, 2025
@github-actions
Copy link

New images:

  • quay.io/netobserv/network-observability-operator:b01b2a1
  • quay.io/netobserv/network-observability-operator-bundle:v0.0.0-b01b2a1
  • quay.io/netobserv/network-observability-operator-catalog:v0.0.0-b01b2a1

They will expire after two weeks.

To deploy this build:

# Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:b01b2a1 make deploy

# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-b01b2a1

Or as a Catalog Source:

apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: netobserv-dev
  namespace: openshift-marketplace
spec:
  sourceType: grpc
  image: quay.io/netobserv/network-observability-operator-catalog:v0.0.0-b01b2a1
  displayName: NetObserv development catalog
  publisher: Me
  updateStrategy:
    registryPoll:
      interval: 1m

@openshift-ci openshift-ci bot added the lgtm label Jan 24, 2025
@jpinsonneau
Copy link
Member

are we good to merge this ?

@Amoghrd
Copy link
Member Author

Amoghrd commented Jan 27, 2025

I have attached the screen-recording of the issue I am still facing on the JIRA. I am not able to figure out how to fix that. If that will be fixed at a later stage then this PR can be merged to fix just the view

@jpinsonneau
Copy link
Member

targetHost & targetPort fields are mandatory in both FlowCollectorIPFIXReceiver & FlowCollectorOpenTelemetry.

So adding defaults to these ports should make the trick here 😸
Use 4739 for IPFIX and 4317 for otel

@openshift-ci openshift-ci bot removed the lgtm label Jan 27, 2025
@github-actions github-actions bot removed the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Jan 27, 2025
@Amoghrd
Copy link
Member Author

Amoghrd commented Jan 27, 2025

/ok-to-test

@openshift-ci openshift-ci bot added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Jan 27, 2025
@github-actions
Copy link

New images:

  • quay.io/netobserv/network-observability-operator:0c6a359
  • quay.io/netobserv/network-observability-operator-bundle:v0.0.0-0c6a359
  • quay.io/netobserv/network-observability-operator-catalog:v0.0.0-0c6a359

They will expire after two weeks.

To deploy this build:

# Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:0c6a359 make deploy

# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-0c6a359

Or as a Catalog Source:

apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: netobserv-dev
  namespace: openshift-marketplace
spec:
  sourceType: grpc
  image: quay.io/netobserv/network-observability-operator-catalog:v0.0.0-0c6a359
  displayName: NetObserv development catalog
  publisher: Me
  updateStrategy:
    registryPoll:
      interval: 1m

@Amoghrd
Copy link
Member Author

Amoghrd commented Jan 27, 2025

Okay, that helped and I dont see the error now. Thanks @jpinsonneau
This can be merged if code looks good

@Amoghrd Amoghrd requested review from jotak and jpinsonneau January 27, 2025 16:11
@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Jan 27, 2025

@Amoghrd: This pull request references NETOBSERV-1981 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.19.0" version, but no target version was set.

Details

In response to this:

Description

Fix form view for exporters section

Dependencies

n/a

Checklist

If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.

  • Is this PR backed with a JIRA ticket? If so, make sure it is written as a title prefix (in general, PRs affecting the NetObserv/Network Observability product should be backed with a JIRA ticket - especially if they bring user facing changes).
  • Does this PR require product documentation?
  • If so, make sure the JIRA epic is labeled with "documentation" and provides a description relevant for doc writers, such as use cases or scenarios. Any required step to activate or configure the feature should be documented there, such as new CRD knobs.
  • Does this PR require a product release notes entry?
  • If so, fill in "Release Note Text" in the JIRA.
  • Is there anything else the QE team should know before testing? E.g: configuration changes, environment setup, etc.
  • If so, make sure it is described in the JIRA ticket.
  • QE requirements (check 1 from the list):
  • Standard QE validation, with pre-merge tests unless stated otherwise.
  • Regression tests only (e.g. refactoring with no user-facing change).
  • No QE (e.g. trivial change with high reviewer's confidence, or per agreement with the QE team).

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@Amoghrd
Copy link
Member Author

Amoghrd commented Jan 28, 2025

/retest

Copy link
Member

@jpinsonneau jpinsonneau left a comment

Choose a reason for hiding this comment

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

Code looks good, feel free to merge when all the tests pass 😉

Thanks @Amoghrd !

@openshift-ci openshift-ci bot added the lgtm label Jan 28, 2025
@Amoghrd
Copy link
Member Author

Amoghrd commented Jan 28, 2025

Only Konflux check is failing. Will merge the PR
/approve

@openshift-ci
Copy link

openshift-ci bot commented Jan 28, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Amoghrd
Once this PR has been reviewed and has the lgtm label, please ask for approval from jpinsonneau. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Amoghrd Amoghrd merged commit 5d32870 into netobserv:main Jan 28, 2025
13 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira/valid-reference lgtm ok-to-test To set manually when a PR is safe to test. Triggers image build on PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants