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

OCPBUGS-20345: OCPBUGS-19092: Enable serial console for external OCI platform #7511

Merged

Conversation

pawanpinjarkar
Copy link
Contributor

When creating an Agent ISO for OCI, add the kernel argument console=ttyS0 to the ISO/PXE kargs.

CoreOS does not include a console arg by default when using metal as the platform because different hardware has different consoles and specifying one can cause booting to fail on some, but it does on many cloud platforms. Since we know when the user is definitely using OCI and we know the correct settings for OCI, we should set them up automatically.

Signed-off-by: Pawan Pinjarkar ppinjark@redhat.com
@pawanpinjarkar

@openshift-ci-robot openshift-ci-robot added jira/severity-low Referenced Jira bug's severity is low for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. labels Sep 20, 2023
@openshift-ci-robot
Copy link
Contributor

@pawanpinjarkar: This pull request references Jira Issue OCPBUGS-19092, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.15.0) matches configured target version for branch (4.15.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @mhanss

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

When creating an Agent ISO for OCI, add the kernel argument console=ttyS0 to the ISO/PXE kargs.

CoreOS does not include a console arg by default when using metal as the platform because different hardware has different consoles and specifying one can cause booting to fail on some, but it does on many cloud platforms. Since we know when the user is definitely using OCI and we know the correct settings for OCI, we should set them up automatically.

Signed-off-by: Pawan Pinjarkar ppinjark@redhat.com
@pawanpinjarkar

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.

@openshift-ci-robot openshift-ci-robot added the jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. label Sep 20, 2023
@pawanpinjarkar
Copy link
Contributor Author

/cc @zaneb @bfournie @andfasano

@pawanpinjarkar pawanpinjarkar changed the title OCPBUGS-19092: Enable serial console for external OCT platform OCPBUGS-19092: Enable serial console for external OCI platform Sep 21, 2023
@pawanpinjarkar pawanpinjarkar force-pushed the enable-console-on-oci branch 3 times, most recently from 944a3bc to cae4021 Compare September 21, 2023 14:13
@pawanpinjarkar
Copy link
Contributor Author

/retest-required

pkg/asset/agent/image/kargs.go Outdated Show resolved Hide resolved
pkg/asset/agent/image/kargs.go Outdated Show resolved Hide resolved
@zaneb
Copy link
Member

zaneb commented Sep 25, 2023

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 25, 2023
When creating an Agent ISO for OCI, add the kernel argument
console=ttyS0 to the ISO/PXE kargs.

CoreOS does not include a console arg by default when using metal
as the platform because different hardware has different consoles
and specifying one can cause booting to fail on some,
but it does on many cloud platforms.

Since we know when the user is definitely using OCI
and we know the correct settings for OCI,
we should set them up automatically.

Signed-off-by: Pawan Pinjarkar <ppinjark@redhat.com>
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Sep 26, 2023
@andfasano
Copy link
Contributor

/retest-required

1 similar comment
@pawanpinjarkar
Copy link
Contributor Author

/retest-required

@bfournie
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 27, 2023
Copy link
Contributor

@rwsu rwsu left a comment

Choose a reason for hiding this comment

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

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 27, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rwsu

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 Sep 27, 2023
@rwsu
Copy link
Contributor

rwsu commented Sep 27, 2023

/test agent-integration-tests

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD bd9232f and 2 for PR HEAD 4b7a664 in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD af2f183 and 1 for PR HEAD 4b7a664 in total

@zaneb
Copy link
Member

zaneb commented Sep 28, 2023

Integration test failure looks... persistent: https://prow.ci.openshift.org/pr-history/?org=openshift&repo=installer&pr=7511

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD a055cb2 and 0 for PR HEAD 4b7a664 in total

@openshift-ci-robot
Copy link
Contributor

/hold

Revision 4b7a664 was retested 3 times: holding

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 29, 2023
@openshift-ci-robot
Copy link
Contributor

@pawanpinjarkar: This pull request references Jira Issue OCPBUGS-19092, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.15.0) matches configured target version for branch (4.15.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @mhanss

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

When creating an Agent ISO for OCI, add the kernel argument console=ttyS0 to the ISO/PXE kargs.

CoreOS does not include a console arg by default when using metal as the platform because different hardware has different consoles and specifying one can cause booting to fail on some, but it does on many cloud platforms. Since we know when the user is definitely using OCI and we know the correct settings for OCI, we should set them up automatically.

Signed-off-by: Pawan Pinjarkar ppinjark@redhat.com
@pawanpinjarkar

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.

@pawanpinjarkar
Copy link
Contributor Author

/retest-required

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 29, 2023

@pawanpinjarkar: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/okd-e2e-aws-ovn 4b7a664 link false /test okd-e2e-aws-ovn
ci/prow/okd-e2e-agent-sno-ipv6 4b7a664 link false /test okd-e2e-agent-sno-ipv6
ci/prow/e2e-agent-sno-ipv6 4b7a664 link false /test e2e-agent-sno-ipv6
ci/prow/okd-e2e-agent-compact-ipv4 4b7a664 link false /test okd-e2e-agent-compact-ipv4
ci/prow/okd-e2e-aws-ovn-upgrade 4b7a664 link false /test okd-e2e-aws-ovn-upgrade
ci/prow/e2e-agent-sno-ipv4-pxe 4b7a664 link false /test e2e-agent-sno-ipv4-pxe

Full PR test history. Your PR dashboard.

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.

@pawanpinjarkar
Copy link
Contributor Author

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 29, 2023
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD a055cb2 and 2 for PR HEAD 4b7a664 in total

@openshift-merge-robot openshift-merge-robot merged commit 80866ab into openshift:master Sep 29, 2023
29 of 35 checks passed
@openshift-ci-robot
Copy link
Contributor

@pawanpinjarkar: Jira Issue OCPBUGS-19092: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-19092 has been moved to the MODIFIED state.

In response to this:

When creating an Agent ISO for OCI, add the kernel argument console=ttyS0 to the ISO/PXE kargs.

CoreOS does not include a console arg by default when using metal as the platform because different hardware has different consoles and specifying one can cause booting to fail on some, but it does on many cloud platforms. Since we know when the user is definitely using OCI and we know the correct settings for OCI, we should set them up automatically.

Signed-off-by: Pawan Pinjarkar ppinjark@redhat.com
@pawanpinjarkar

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.

@openshift-merge-robot
Copy link
Contributor

Fix included in accepted release 4.15.0-0.nightly-2023-09-30-045436

@pawanpinjarkar
Copy link
Contributor Author

/jira cherrypick OCPBUGS-19092

@openshift-ci-robot
Copy link
Contributor

@pawanpinjarkar: Jira Issue OCPBUGS-19092 has been cloned as Jira Issue OCPBUGS-20345. Will retitle bug to link to clone.
/retitle OCPBUGS-20345: OCPBUGS-19092: Enable serial console for external OCI platform

In response to this:

/jira cherrypick OCPBUGS-19092

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.

@openshift-ci openshift-ci bot changed the title OCPBUGS-19092: Enable serial console for external OCI platform OCPBUGS-20345: OCPBUGS-19092: Enable serial console for external OCI platform Oct 10, 2023
@openshift-ci-robot
Copy link
Contributor

@pawanpinjarkar: Jira Issue OCPBUGS-20345: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-20345 has been moved to the MODIFIED state.

In response to this:

When creating an Agent ISO for OCI, add the kernel argument console=ttyS0 to the ISO/PXE kargs.

CoreOS does not include a console arg by default when using metal as the platform because different hardware has different consoles and specifying one can cause booting to fail on some, but it does on many cloud platforms. Since we know when the user is definitely using OCI and we know the correct settings for OCI, we should set them up automatically.

Signed-off-by: Pawan Pinjarkar ppinjark@redhat.com
@pawanpinjarkar

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.

@pawanpinjarkar
Copy link
Contributor Author

/cherry-pick release-4.14

@openshift-cherrypick-robot

@pawanpinjarkar: #7511 failed to apply on top of branch "release-4.14":

Applying: OCPBUGS-19092: Enable serial console for external OCI platform
.git/rebase-apply/patch:16: trailing whitespace.
# Verify a default configuration for the compact topology for external platform. 
.git/rebase-apply/patch:38: trailing whitespace.
controlPlane: 
.git/rebase-apply/patch:41: trailing whitespace.
compute: 
.git/rebase-apply/patch:49: trailing whitespace.
  - cidr: 10.128.0.0/14 
.git/rebase-apply/patch:50: trailing whitespace.
    hostPrefix: 23 
warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.
Using index info to reconstruct a base tree...
M	pkg/asset/agent/image/kargs.go
Falling back to patching base and 3-way merge...
Auto-merging pkg/asset/agent/image/kargs.go
CONFLICT (content): Merge conflict in pkg/asset/agent/image/kargs.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 OCPBUGS-19092: Enable serial console for external OCI platform
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherry-pick release-4.14

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. jira/severity-low Referenced Jira bug's severity is low for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants