Skip to content

Conversation

@stbenjam
Copy link
Member

Assisted deploys with platform=baremetal, but without any provisioning
CR. I believe the correct fix for this is to set the operator to
Available=true, Disabled=true, Progressing=false, and requeue to wait to
see if a provisioning CR is created.

…nd no CR is found

Assisted deploys with platform=baremetal, but without any provisioning
CR. I believe the correct fix for this is to set the operator to
Available=true, Disabled=true, Progressing=false, and requeue to wait to
see if a provisioning CR is created.
@stbenjam
Copy link
Member Author

/test e2e-metal-assisted

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: stbenjam

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

The pull request process is described 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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 24, 2020
@openshift-ci-robot
Copy link
Contributor

@stbenjam: The specified target(s) for /test were not found.
The following commands are available to trigger jobs:

  • /test e2e-agnostic
  • /test e2e-metal-ipi
  • /test e2e-metal-ipi-ovn-dualstack
  • /test e2e-metal-ipi-ovn-ipv6
  • /test e2e-metal-ipi-upgrade
  • /test e2e-metal-ipi-virtualmedia
  • /test generate-check
  • /test gofmt
  • /test govet
  • /test images
  • /test lint
  • /test unit

Use /test all to run the following jobs:

  • pull-ci-openshift-cluster-baremetal-operator-master-e2e-agnostic
  • pull-ci-openshift-cluster-baremetal-operator-master-e2e-metal-ipi
  • pull-ci-openshift-cluster-baremetal-operator-master-e2e-metal-ipi-ovn-ipv6
  • pull-ci-openshift-cluster-baremetal-operator-master-generate-check
  • pull-ci-openshift-cluster-baremetal-operator-master-gofmt
  • pull-ci-openshift-cluster-baremetal-operator-master-govet
  • pull-ci-openshift-cluster-baremetal-operator-master-images
  • pull-ci-openshift-cluster-baremetal-operator-master-lint
  • pull-ci-openshift-cluster-baremetal-operator-master-unit
Details

In response to this:

/test e2e-metal-assisted

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 kubernetes/test-infra repository.

}

// We're disabled, but requeue in case we get a provisioning CR
return ctrl.Result{}, fmt.Errorf("no provisioning CR found; will remain Disabled until CR available")
Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not entirely clear if this is the right fix; will we hit the Reconcile loop if there's no CR at all? This might need to go to main.

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
return ctrl.Result{}, fmt.Errorf("no provisioning CR found; will remain Disabled until CR available")
return ctrl.Result{}, nil

We are watching the CR so we will get a Reconcile if one is created/updated. this will just cause a lot of unnecessary Reconcile calls

Copy link
Member Author

Choose a reason for hiding this comment

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

I guess we need to check in main; assisted is still failing and looking at the logs it looks like it does start but we're never reconciling which makes sense if there's no CR at all yet.

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah, this will only hit if you delete the cr. We probably need to initialize the status to Unsupported in case the cr never gets created

@stbenjam
Copy link
Member Author

/test e2e-metal-assisted

@openshift-ci-robot
Copy link
Contributor

@stbenjam: The specified target(s) for /test were not found.
The following commands are available to trigger jobs:

  • /test e2e-agnostic
  • /test e2e-metal-ipi
  • /test e2e-metal-ipi-ovn-dualstack
  • /test e2e-metal-ipi-ovn-ipv6
  • /test e2e-metal-ipi-upgrade
  • /test e2e-metal-ipi-virtualmedia
  • /test generate-check
  • /test gofmt
  • /test govet
  • /test images
  • /test lint
  • /test unit

Use /test all to run the following jobs:

  • pull-ci-openshift-cluster-baremetal-operator-master-e2e-agnostic
  • pull-ci-openshift-cluster-baremetal-operator-master-e2e-metal-ipi
  • pull-ci-openshift-cluster-baremetal-operator-master-e2e-metal-ipi-ovn-ipv6
  • pull-ci-openshift-cluster-baremetal-operator-master-generate-check
  • pull-ci-openshift-cluster-baremetal-operator-master-gofmt
  • pull-ci-openshift-cluster-baremetal-operator-master-govet
  • pull-ci-openshift-cluster-baremetal-operator-master-images
  • pull-ci-openshift-cluster-baremetal-operator-master-lint
  • pull-ci-openshift-cluster-baremetal-operator-master-unit
Details

In response to this:

/test e2e-metal-assisted

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 kubernetes/test-infra repository.

@stbenjam
Copy link
Member Author

/test e2e-metal-assisted

@openshift-ci-robot
Copy link
Contributor

@stbenjam: The specified target(s) for /test were not found.
The following commands are available to trigger jobs:

  • /test e2e-agnostic
  • /test e2e-metal-ipi
  • /test e2e-metal-ipi-ovn-dualstack
  • /test e2e-metal-ipi-ovn-ipv6
  • /test e2e-metal-ipi-upgrade
  • /test e2e-metal-ipi-virtualmedia
  • /test generate-check
  • /test gofmt
  • /test govet
  • /test images
  • /test lint
  • /test unit

Use /test all to run the following jobs:

  • pull-ci-openshift-cluster-baremetal-operator-master-e2e-agnostic
  • pull-ci-openshift-cluster-baremetal-operator-master-e2e-metal-ipi
  • pull-ci-openshift-cluster-baremetal-operator-master-e2e-metal-ipi-ovn-ipv6
  • pull-ci-openshift-cluster-baremetal-operator-master-generate-check
  • pull-ci-openshift-cluster-baremetal-operator-master-gofmt
  • pull-ci-openshift-cluster-baremetal-operator-master-govet
  • pull-ci-openshift-cluster-baremetal-operator-master-images
  • pull-ci-openshift-cluster-baremetal-operator-master-lint
  • pull-ci-openshift-cluster-baremetal-operator-master-unit
Details

In response to this:

/test e2e-metal-assisted

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 kubernetes/test-infra repository.

@stbenjam
Copy link
Member Author

/refresh

@stbenjam
Copy link
Member Author

/test e2e-metal-assisted

2 similar comments
@stbenjam
Copy link
Member Author

/test e2e-metal-assisted

@romfreiman
Copy link

/test e2e-metal-assisted

@openshift-merge-robot
Copy link
Contributor

@stbenjam: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-metal-assisted f112615 link /test e2e-metal-assisted

Full PR test history. Your PR dashboard.

Details

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 kubernetes/test-infra repository. I understand the commands that are listed here.

@stbenjam
Copy link
Member Author

stbenjam commented Dec 1, 2020

/close

Fixed by #81

@openshift-ci-robot
Copy link
Contributor

@stbenjam: Closed this PR.

Details

In response to this:

/close

Fixed by #81

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 kubernetes/test-infra repository.

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants