Skip to content

Conversation

@andfasano
Copy link
Contributor

@andfasano andfasano commented Feb 23, 2023

This patch finalizes the integration of the agent-tui binary within the agent ISO

This patch also bumps up the default release image to registry.ci.openshift.org/origin/release:4.13, as it's required by the integration tests (as pointed out by @zane in the comment, there's also a ticket for it https://issues.redhat.com/browse/CORS-2235)

Extracts the agent-tui files from the assisted-installer-agent image.
Fix the dracut script to set the correct selinux label.
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Feb 23, 2023
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Feb 23, 2023

@andfasano: This pull request references AGENT-502 which is a valid jira issue.

Details

In response to this:

This patch finalizes the integration of the agent-tui binary within the agent ISO

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 added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 23, 2023
@openshift-ci openshift-ci bot requested review from dhellmann and lranjbar February 23, 2023 17:44
Change the agent services sequence so that agent-interactive-console starts after set-hostname, and before node-zero and agent service. This will prevent installation to start until the interactive console completes.
@andfasano andfasano changed the title [WIP] AGENT-502: Enable agent tui AGENT-502: Enable agent tui Feb 27, 2023
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 27, 2023
@andfasano
Copy link
Contributor Author

andfasano commented Feb 27, 2023

/retest-required

@andfasano
Copy link
Contributor Author

/retest-required

@zaneb
Copy link
Member

zaneb commented Feb 28, 2023

openshift/agent-installer-utils#12 has merged
/retest

Copy link
Member

@zaneb zaneb left a comment

Choose a reason for hiding this comment

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

/approve

Copy link
Member

Choose a reason for hiding this comment

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

Wouldn't hurt to list both here.

Copy link
Member

Choose a reason for hiding this comment

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

In a perfect world, *.so* files would end up being copied to /usr/local/lib64.
Maybe we should put the a path hierarchy under agent-files? (i.e. store stuff as /agent-files/bin/agent-tui and do rsync -a /agent-files/ /usr/local)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In general I agree, in the sense that this is just a first rough mechanism to copy over stuff from the initramfs to the disk to have an initial integration, and it could be definitely improved as our requirements increase. We could follouwup in a subsequent pr

Copy link
Member

Choose a reason for hiding this comment

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

This is worth at least a comment.

Copy link
Member

Choose a reason for hiding this comment

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

If restorecon -F worked and avoided having to explicitly specify the type, that seems preferable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure if I've missed something, but in my tests restorecon wasn't available

Copy link
Member

Choose a reason for hiding this comment

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

It's in CoreOS, but maybe not in the initramfs 🙁

This version is used implicitly by the integration tests, and currently it contains the required updated images
@zaneb
Copy link
Member

zaneb commented Feb 28, 2023

/lgtm
/test-unit

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

/test ci/prow/unit

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 28, 2023

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

  • /test agent-integration-tests
  • /test aro-unit
  • /test e2e-agent-compact-ipv4
  • /test e2e-aws-ovn
  • /test e2e-aws-ovn-upi
  • /test e2e-azure-ovn
  • /test e2e-azure-ovn-upi
  • /test e2e-gcp-ovn
  • /test e2e-gcp-ovn-upi
  • /test e2e-metal-ipi-ovn-ipv6
  • /test e2e-openstack-ovn
  • /test e2e-vsphere-ovn
  • /test e2e-vsphere-upi
  • /test gofmt
  • /test golint
  • /test govet
  • /test images
  • /test okd-images
  • /test okd-scos-images
  • /test okd-unit
  • /test okd-verify-codegen
  • /test openstack-manifests
  • /test shellcheck
  • /test tf-lint
  • /test unit
  • /test verify-codegen
  • /test verify-vendor
  • /test yaml-lint

The following commands are available to trigger optional jobs:

  • /test e2e-agent-ha-dualstack
  • /test e2e-agent-sno-ipv6
  • /test e2e-alibaba
  • /test e2e-aws-ovn-disruptive
  • /test e2e-aws-ovn-fips
  • /test e2e-aws-ovn-imdsv2
  • /test e2e-aws-ovn-proxy
  • /test e2e-aws-ovn-shared-vpc
  • /test e2e-aws-ovn-single-node
  • /test e2e-aws-ovn-upgrade
  • /test e2e-aws-ovn-workers-rhel8
  • /test e2e-aws-upi-proxy
  • /test e2e-azure-ovn-resourcegroup
  • /test e2e-azure-ovn-shared-vpc
  • /test e2e-azurestack
  • /test e2e-azurestack-upi
  • /test e2e-crc
  • /test e2e-gcp-ovn-shared-vpc
  • /test e2e-gcp-ovn-xpn
  • /test e2e-gcp-secureboot
  • /test e2e-gcp-upgrade
  • /test e2e-gcp-upi-xpn
  • /test e2e-ibmcloud-ovn
  • /test e2e-libvirt
  • /test e2e-metal-assisted
  • /test e2e-metal-ipi-ovn-dualstack
  • /test e2e-metal-ipi-sdn
  • /test e2e-metal-ipi-sdn-swapped-hosts
  • /test e2e-metal-ipi-sdn-virtualmedia
  • /test e2e-metal-single-node-live-iso
  • /test e2e-nutanix-ovn
  • /test e2e-nutanix-sdn
  • /test e2e-openstack-externallb-techpreview
  • /test e2e-openstack-kuryr
  • /test e2e-openstack-proxy
  • /test e2e-openstack-sdn-parallel
  • /test e2e-openstack-upi
  • /test e2e-ovirt-sdn
  • /test e2e-vsphere-upi-zones
  • /test e2e-vsphere-zones
  • /test okd-e2e-aws-ovn
  • /test okd-e2e-aws-ovn-upgrade
  • /test okd-e2e-gcp
  • /test okd-e2e-gcp-ovn-upgrade
  • /test okd-e2e-vsphere
  • /test okd-scos-e2e-aws-ovn
  • /test okd-scos-e2e-aws-upgrade
  • /test okd-scos-e2e-gcp
  • /test okd-scos-e2e-gcp-ovn-upgrade
  • /test okd-scos-e2e-vsphere
  • /test okd-scos-unit
  • /test okd-scos-verify-codegen
  • /test tf-fmt

Use /test all to run the following jobs that were automatically triggered:

  • pull-ci-openshift-installer-master-agent-integration-tests
  • pull-ci-openshift-installer-master-aro-unit
  • pull-ci-openshift-installer-master-e2e-agent-compact-ipv4
  • pull-ci-openshift-installer-master-e2e-agent-ha-dualstack
  • pull-ci-openshift-installer-master-e2e-agent-sno-ipv6
  • pull-ci-openshift-installer-master-e2e-aws-ovn
  • pull-ci-openshift-installer-master-e2e-aws-ovn-upgrade
  • pull-ci-openshift-installer-master-e2e-aws-ovn-workers-rhel8
  • pull-ci-openshift-installer-master-e2e-vsphere-upi-zones
  • pull-ci-openshift-installer-master-gofmt
  • pull-ci-openshift-installer-master-golint
  • pull-ci-openshift-installer-master-govet
  • pull-ci-openshift-installer-master-images
  • pull-ci-openshift-installer-master-okd-e2e-aws-ovn
  • pull-ci-openshift-installer-master-okd-e2e-aws-ovn-upgrade
  • pull-ci-openshift-installer-master-okd-images
  • pull-ci-openshift-installer-master-okd-scos-e2e-aws-ovn
  • pull-ci-openshift-installer-master-okd-scos-e2e-aws-upgrade
  • pull-ci-openshift-installer-master-okd-scos-images
  • pull-ci-openshift-installer-master-okd-scos-unit
  • pull-ci-openshift-installer-master-okd-scos-verify-codegen
  • pull-ci-openshift-installer-master-okd-unit
  • pull-ci-openshift-installer-master-okd-verify-codegen
  • pull-ci-openshift-installer-master-shellcheck
  • pull-ci-openshift-installer-master-tf-fmt
  • pull-ci-openshift-installer-master-tf-lint
  • pull-ci-openshift-installer-master-unit
  • pull-ci-openshift-installer-master-verify-codegen
  • pull-ci-openshift-installer-master-verify-vendor
  • pull-ci-openshift-installer-master-yaml-lint
Details

In response to this:

/test ci/prow/unit

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.

@andfasano
Copy link
Contributor Author

/test unit

Description=Get interactive user configuration at boot
After=network-pre.target NetworkManager.service pre-network-manager-config.service selinux.service
Before=network.target network.service agent.service NetworkManager-wait-online.service
Before=network.target network.service agent.service node-zero.service NetworkManager-wait-online.service
Copy link
Member

Choose a reason for hiding this comment

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

I'm surprised [email protected] is not on this list

Copy link
Member

Choose a reason for hiding this comment

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

Is network.service a real thing?

I thought for a minute that we should use Before=getty-pre.target (https://www.freedesktop.org/software/systemd/man/systemd.special.html#getty-pre.target), but that will block all consoles and we are only displaying on one console, so I think [email protected] is the right thing.

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Feb 28, 2023

@andfasano: This pull request references AGENT-502 which is a valid jira issue.

Details

In response to this:

This patch finalizes the integration of the agent-tui binary within the agent ISO

This patch also bumps up the default release image to registry.ci.openshift.org/origin/release:4.13, as it's required by the integration tests

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
Copy link
Contributor

openshift-ci-robot commented Feb 28, 2023

@andfasano: This pull request references AGENT-502 which is a valid jira issue.

Details

In response to this:

This patch finalizes the integration of the agent-tui binary within the agent ISO

This patch also bumps up the default release image to registry.ci.openshift.org/origin/release:4.13, as it's required by the integration tests (as pointed out by @zane in the comment, there's also a ticket for it https://issues.redhat.com/browse/CORS-2235)

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.

@andfasano
Copy link
Contributor Author

/retest-required

@patrickdillon
Copy link
Contributor

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 28, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: patrickdillon, zaneb

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 openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 28, 2023
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 41e436e and 2 for PR HEAD 2cc87af in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 1445b3b and 1 for PR HEAD 2cc87af in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD b8acff2 and 0 for PR HEAD 2cc87af in total

@openshift-ci-robot
Copy link
Contributor

/hold

Revision 2cc87af 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 Mar 1, 2023
@andfasano
Copy link
Contributor Author

/retest-required

@andfasano
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 Mar 1, 2023
@andfasano
Copy link
Contributor Author

/test e2e-agent-compact-ipv4

1 similar comment
@andfasano
Copy link
Contributor Author

/test e2e-agent-compact-ipv4

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 664311c and 2 for PR HEAD 2cc87af in total

@zaneb
Copy link
Member

zaneb commented Mar 2, 2023

/test e2e-agent-sno-ipv6
/test e2e-agent-ha-dualstack

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD c5e3266 and 1 for PR HEAD 2cc87af in total

@zaneb
Copy link
Member

zaneb commented Mar 2, 2023

The HA and SNO jobs are failing with sshd not coming up. They are both disconnected jobs, so the likely cause is https://issues.redhat.com/browse/OCPBUGS-8107. This should be resolved by https://issues.redhat.com/browse/AGENT-565 once it is revendored into the a-i-a repo.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 2, 2023

@andfasano: 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-upgrade 2cc87af link false /test okd-e2e-aws-ovn-upgrade
ci/prow/okd-scos-e2e-aws-upgrade 2cc87af link false /test okd-scos-e2e-aws-upgrade
ci/prow/okd-scos-e2e-aws-ovn 2cc87af link false /test okd-scos-e2e-aws-ovn

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.

@andfasano
Copy link
Contributor Author

/test e2e-aws-ovn

@zaneb
Copy link
Member

zaneb commented Mar 2, 2023

/test e2e-agent-sno-ipv6

@openshift-merge-robot openshift-merge-robot merged commit 56e85be into openshift:master Mar 2, 2023
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/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.

5 participants