Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

e2e:must-gather: Get NRO namespace from status #390

Conversation

jlojosnegros
Copy link
Contributor

@jlojosnegros jlojosnegros commented Aug 11, 2022

Namespace for some of the elements of the NRO cannot be known in advance
so it is better to read it from the NRO status

correction over: #339
issue: #330
blocks: openshift/release#31102

@openshift-ci openshift-ci bot requested review from mrniranjan and shajmakh August 11, 2022 10:49
@jlojosnegros jlojosnegros changed the title Get NRO namespace from status e2e:must-gather: Get NRO namespace from status Aug 11, 2022
Namespace for some of the elements of the NRO cannot be known in advance
so it is better to read it from the NRO status
ginkgo.By("Checking 'numaresources' namespace")
namespaceFolder := filepath.Join(mgContentFolder, "namespaces/numaresources")
ginkgo.By("Looking for namespace in NUMAResourcesOperator")
updatedNRO, err := wait.ForDaemonsetInNUMAResourcesOperatorStatus(e2eclient.Client, deployment.NroObj, 5*time.Second, 2*time.Minute)
Copy link
Member

Choose a reason for hiding this comment

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

when the NRO status is Available, we should have daemonsets populated (bar unavoidable race). But we can improve later.

Copy link
Member

@ffromani ffromani left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 11, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 11, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fromanirh, jlojosnegros

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

The pull request process is described here

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 11, 2022
@openshift-merge-robot openshift-merge-robot merged commit 8787683 into openshift-kni:main Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants