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

Remove pivot invocations of systemctl reboot #1809

Merged

Conversation

cgwalters
Copy link
Member

While chasing https://bugzilla.redhat.com/show_bug.cgi?id=1842906
I thought at one point this code might be invoked and was causing
a reboot that shouldn't be happening.

That turned out not to be the case. But since nothing uses
the --reboot or stamp file anymore (we use the -firstboot)
code, the MCD code is always controlling reboots, delete this code.

Code that doesn't exist can't have (potential) bugs.

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

While chasing https://bugzilla.redhat.com/show_bug.cgi?id=1842906
I thought at one point this code might be invoked and was causing
a reboot that shouldn't be happening.

That turned out not to be the case.  But since nothing uses
the `--reboot` or stamp file anymore (we use the `-firstboot`)
code, the MCD code is always controlling reboots, delete this code.

Code that doesn't exist can't have (potential) bugs.
@cgwalters
Copy link
Member Author

OK finally ran make verify locally!

@cgwalters
Copy link
Member Author

/retest

etcPivotFile = "/etc/pivot/image-pullspec"
runPivotRebootFile = "/run/pivot/reboot-needed"
// etcPivotFile is used for 4.1 bootimages and is how the MCD
// currently communicated with this service.
Copy link
Member

Choose a reason for hiding this comment

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

nit: currently communicated would've made my English teacher's stomach turn 😆
Is it currently communicates or previously communicated (previously as in before this PR)?

@cgwalters
Copy link
Member Author

Using this as a victim PR to test openshift/release#9835
/test cluster-bootimages

@openshift-ci-robot
Copy link
Contributor

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

  • /test e2e-aws
  • /test e2e-aws-disruptive
  • /test e2e-aws-scaleup-rhel7
  • /test e2e-azure
  • /test e2e-gcp-op
  • /test e2e-gcp-upgrade
  • /test e2e-metal-ipi
  • /test e2e-openstack
  • /test e2e-ovirt
  • /test e2e-vsphere
  • /test e2e-vsphere-upi
  • /test images
  • /test unit
  • /test verify

Use /test all to run the following jobs:

  • pull-ci-openshift-machine-config-operator-master-e2e-aws
  • pull-ci-openshift-machine-config-operator-master-e2e-aws-scaleup-rhel7
  • pull-ci-openshift-machine-config-operator-master-e2e-gcp-op
  • pull-ci-openshift-machine-config-operator-master-e2e-gcp-upgrade
  • pull-ci-openshift-machine-config-operator-master-e2e-metal-ipi
  • pull-ci-openshift-machine-config-operator-master-images
  • pull-ci-openshift-machine-config-operator-master-unit
  • pull-ci-openshift-machine-config-operator-master-verify

In response to this:

Using this as a victim PR to test openshift/release#9835
/test cluster-bootimages

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.

@cgwalters
Copy link
Member Author

Hmm, maybe it takes a few minutes to roll out after the Prow configmap updates. Will retry later.

@cgwalters
Copy link
Member Author

cgwalters commented Jun 22, 2020

/test cluster-bootimages

Edit: seems to be working

ci/prow/cluster-bootimages Pending — Job triggered.

@cgwalters
Copy link
Member Author

/test cluster-bootimages
Hmm, seems to have hung

@cgwalters
Copy link
Member Author

Seems like the test is using the wrong KUBECONFIG? I need to debug that...

@sinnykumari
Copy link
Contributor

/retest

@sinnykumari
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 23, 2020
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgwalters, sinnykumari

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:
  • OWNERS [cgwalters,sinnykumari]

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

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.

None yet

5 participants