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

create a hybrid cluster and run the e2e tests on it #8075

Merged

Conversation

JacobTanenbaum
Copy link
Contributor

No description provided.

@JacobTanenbaum
Copy link
Contributor Author

/retest

@JacobTanenbaum JacobTanenbaum force-pushed the e2e-aws-ovn-hybrid branch 3 times, most recently from ed8d728 to a36526a Compare April 2, 2020 14:27
@JacobTanenbaum
Copy link
Contributor Author

@stevekuznetsov PTAL


TF_LOG=debug openshift-install --dir="${dir}" create manifests

cat >> "${dir}/manifests/cluster-network-03-config.yml" << EOF
Copy link
Contributor

Choose a reason for hiding this comment

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

I would much rather see you break apart the current install step into a manifest-create and a run-install or something. Whenver we find ourselves copy-pasting in this system we need to be refactoring to make this reusable

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated with the code split into steps

@@ -0,0 +1,31 @@
#!/bin/bash
Copy link
Contributor

Choose a reason for hiding this comment

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

I meant -- everyone running the installer should ideally be using the same steps to do so, or we have drift. So this should underpin the IPI install flow, too.

@JacobTanenbaum JacobTanenbaum force-pushed the e2e-aws-ovn-hybrid branch 2 times, most recently from 222094e to 355b05c Compare April 3, 2020 18:45
@JacobTanenbaum
Copy link
Contributor Author

/retest

@JacobTanenbaum
Copy link
Contributor Author

/retest

@openshift-ci-robot
Copy link
Contributor

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

Test name Commit Details Rerun command
ci/rehearse/openshift/cluster-network-operator/master/e2e-ovn-step-registry 6d03e1a link /test pj-rehearse
ci/rehearse/openshift/cluster-network-operator/master/e2e-ovn-hybrid-step-registry 6d03e1a link /test pj-rehearse
ci/rehearse/cri-o/cri-o/release-1.13/e2e-aws 6d03e1a link /test pj-rehearse
ci/prow/pj-rehearse 6d03e1a link /test pj-rehearse

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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.

@@ -7,4 +7,4 @@ ref:
cpu: 1000m
memory: 2Gi
documentation: |-
The IPI install step runs the OpenShift Installer in order to bring up an OpenShift cluster, using the provided cluster profile to choose a target IaaS platform.
The IPI install step runs the OpenShift Installer in order to bring up an OpenShift cluster, using the provided cluster profile to choose a target IaaS platform. Anything that needs to be configured using manifests should generate them before this step and put them in the SHARED_DIR with the filename manifest_(manifest_name).yml so that this step can pull in the manifest in.
Copy link
Contributor

Choose a reason for hiding this comment

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

@AlexNPavel can we embed HTML here or something? I would love to see a fully-fledged example.

Copy link
Contributor

Choose a reason for hiding this comment

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

we could allow markdown and use https://godoc.org/github.com/gomarkdown/markdown/html to convert to html for steps.svc.

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JacobTanenbaum, stevekuznetsov

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-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 6, 2020
@openshift-merge-robot openshift-merge-robot merged commit 3b19588 into openshift:master Apr 6, 2020
@openshift-ci-robot
Copy link
Contributor

@JacobTanenbaum: Updated the following 9 configmaps:

  • job-config-master configmap in namespace ci at cluster app.ci using the following files:
    • key openshift-cluster-network-operator-master-presubmits.yaml using file ci-operator/jobs/openshift/cluster-network-operator/openshift-cluster-network-operator-master-presubmits.yaml
  • ci-operator-master-configs configmap in namespace ci at cluster app.ci using the following files:
    • key openshift-cluster-network-operator-master.yaml using file ci-operator/config/openshift/cluster-network-operator/openshift-cluster-network-operator-master.yaml
  • ci-operator-master-configs configmap in namespace ci at cluster ci/api-build01-ci-devcluster-openshift-com:6443 using the following files:
    • key openshift-cluster-network-operator-master.yaml using file ci-operator/config/openshift/cluster-network-operator/openshift-cluster-network-operator-master.yaml
  • ci-operator-master-configs configmap in namespace ci at cluster default using the following files:
    • key openshift-cluster-network-operator-master.yaml using file ci-operator/config/openshift/cluster-network-operator/openshift-cluster-network-operator-master.yaml
  • job-config-master configmap in namespace ci at cluster default using the following files:
    • key openshift-cluster-network-operator-master-presubmits.yaml using file ci-operator/jobs/openshift/cluster-network-operator/openshift-cluster-network-operator-master-presubmits.yaml
  • ci-operator-master-configs configmap in namespace ci-stg at cluster app.ci using the following files:
    • key openshift-cluster-network-operator-master.yaml using file ci-operator/config/openshift/cluster-network-operator/openshift-cluster-network-operator-master.yaml
  • ci-operator-master-configs configmap in namespace ci-stg at cluster default using the following files:
    • key openshift-cluster-network-operator-master.yaml using file ci-operator/config/openshift/cluster-network-operator/openshift-cluster-network-operator-master.yaml
  • step-registry configmap in namespace ci at cluster app.ci using the following files:
    • key ipi-install-install-commands.sh using file ci-operator/step-registry/ipi/install/install/ipi-install-install-commands.sh
    • key ipi-install-install-ref.yaml using file ci-operator/step-registry/ipi/install/install/ipi-install-install-ref.yaml
    • key OWNERS using file ci-operator/step-registry/origin/e2e-aws-ovn-hybrid/OWNERS
    • key origin-e2e-aws-ovn-hybrid-workflow.yaml using file ci-operator/step-registry/origin/e2e-aws-ovn-hybrid/origin-e2e-aws-ovn-hybrid-workflow.yaml
    • key OWNERS using file ci-operator/step-registry/ovn/conf/hybrid-manifest/OWNERS
    • key ovn-conf-hybrid-manifest-commands.sh using file ci-operator/step-registry/ovn/conf/hybrid-manifest/ovn-conf-hybrid-manifest-commands.sh
    • key ovn-conf-hybrid-manifest-ref.yaml using file ci-operator/step-registry/ovn/conf/hybrid-manifest/ovn-conf-hybrid-manifest-ref.yaml
  • step-registry configmap in namespace ci at cluster default using the following files:
    • key ipi-install-install-commands.sh using file ci-operator/step-registry/ipi/install/install/ipi-install-install-commands.sh
    • key ipi-install-install-ref.yaml using file ci-operator/step-registry/ipi/install/install/ipi-install-install-ref.yaml
    • key OWNERS using file ci-operator/step-registry/origin/e2e-aws-ovn-hybrid/OWNERS
    • key origin-e2e-aws-ovn-hybrid-workflow.yaml using file ci-operator/step-registry/origin/e2e-aws-ovn-hybrid/origin-e2e-aws-ovn-hybrid-workflow.yaml
    • key OWNERS using file ci-operator/step-registry/ovn/conf/hybrid-manifest/OWNERS
    • key ovn-conf-hybrid-manifest-commands.sh using file ci-operator/step-registry/ovn/conf/hybrid-manifest/ovn-conf-hybrid-manifest-commands.sh
    • key ovn-conf-hybrid-manifest-ref.yaml using file ci-operator/step-registry/ovn/conf/hybrid-manifest/ovn-conf-hybrid-manifest-ref.yaml

In response to this:

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.

wking added a commit to wking/openshift-release that referenced this pull request Apr 13, 2020
…ests'

No Terraform involved in creating manifests.  Cleans up after
d11bca7 (create a hybrid cluster and run the e2e tests on it,
2020-04-01, openshift#8075).  Also removes trailing whitespace from the YAML
documentation.

Also backgrounds the 'create manifests' call and immediately waits for
it, so we can gracefully handle TERM as described in 4472ace
(ci-operator/templates/openshift/installer: Restore backgrounded
'create cluster', 2019-01-23, openshift#2680).
aravindhp added a commit to aravindhp/release that referenced this pull request Apr 14, 2020
Use the hybrid OVN step registry introduced in openshift#8075 for the operator's
e2e tests.
Ran `make jobs` after adding the step registry config.
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.

5 participants