Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Enable openshift e2e tests on centos #2910

Merged
merged 1 commit into from
Jun 19, 2018
Merged

Enable openshift e2e tests on centos #2910

merged 1 commit into from
Jun 19, 2018

Conversation

0xmichalis
Copy link
Contributor

@@ -529,6 +566,10 @@ workflows:
filters:
branches:
only: master
- openshift-3.9-centos-e2e:
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing
requires:
- test

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@codecov
Copy link

codecov bot commented May 11, 2018

Codecov Report

Merging #2910 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2910   +/-   ##
=======================================
  Coverage   52.87%   52.87%           
=======================================
  Files         104      104           
  Lines       15714    15714           
=======================================
  Hits         8308     8308           
  Misses       6671     6671           
  Partials      735      735

Copy link
Contributor

@CecileRobertMichon CecileRobertMichon left a comment

Choose a reason for hiding this comment

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

lgtm

@CecileRobertMichon
Copy link
Contributor

@Kargakis the openshift centos e2e test failed with:

$ az group deployment create --name openshift-eastus-14694 --resource-group openshift-eastus-14694 --template-file /go/src/github.com/Azure/acs-engine/_output/openshift-eastus-14694/azuredeploy.json --parameters /go/src/github.com/Azure/acs-engine/_output/openshift-eastus-14694/azuredeploy.parameters.json
2018/05/11 18:29:04 
Error from deployment for openshift-eastus-14694 in resource group openshift-eastus-14694:exit status 1
2018/05/11 18:29:04 Command Output: ERROR: Marketplace purchase eligibilty check returned errors. See inner errors for details

Copy link
Contributor

@CecileRobertMichon CecileRobertMichon left a comment

Choose a reason for hiding this comment

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

centos test failed see my above comment

echo 'export DISTRO=openshift39_centos' >> $BASH_ENV
echo 'export LOCATION=eastus' >> $BASH_ENV
echo 'export ORCHESTRATOR_RELEASE=3.9' >> $BASH_ENV
echo 'export CLUSTER_DEFINITION=examples/openshift.json' >> $BASH_ENV
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jim-minter this is how you configure the api model

@0xmichalis
Copy link
Contributor Author

I'll look into the failure on Monday but it looks like an issue with the CI subscription not being able to access the centos image.

@0xmichalis
Copy link
Contributor Author

@kwoodson can you walk me through how to check the enabled subscriptions in the centos image?

@0xmichalis
Copy link
Contributor Author

Also, seeing a permission issue when running locally that needs to be fixed before we merge this

#2960

@0xmichalis
Copy link
Contributor Author

@CecileRobertMichon can you please restart the test?

@CecileRobertMichon
Copy link
Contributor

@Kargakis it failed again with $ az group deployment create --name openshift-eastus-40186 --resource-group openshift-eastus-40186 --template-file /go/src/github.com/Azure/acs-engine/_output/openshift-eastus-40186/azuredeploy.json --parameters /go/src/github.com/Azure/acs-engine/_output/openshift-eastus-40186/azuredeploy.parameters.json 2018/05/16 16:18:55 Error from deployment for openshift-eastus-40186 in resource group openshift-eastus-40186:exit status 1 2018/05/16 16:18:55 Command Output: ERROR: Marketplace purchase eligibilty check returned errors. See inner errors for details.

@0xmichalis
Copy link
Contributor Author

@kwoodson any idea why we are seeing marketplace errors when using the published centos image?

@kwoodson
Copy link
Contributor

@Kargakis, this same issue was happening previously with @jackfrancis. @haroldwongms gave the following instructions:

When you click on the staged offer in the portal, do you see an option at the bottom called "Want to deploy programmatically? Get started"
Click there and enable that for your subscription

I believe this needs to be done from the testing subscription.

@0xmichalis
Copy link
Contributor Author

@CecileRobertMichon @jackfrancis ptal ^

@0xmichalis
Copy link
Contributor Author

Here are the image fields used for the centos image:

DefaultOpenShift39CentOSImageConfig = AzureOSImageConfig{
ImageOffer: "origin-acsengine-preview",
ImageSku: "centos7",
ImagePublisher: "redhat",
ImageVersion: "latest",
}

@0xmichalis
Copy link
Contributor Author

@CecileRobertMichon ping

@CecileRobertMichon
Copy link
Contributor

@Kargakis the latest test failed with a vm extension provisioning error so I restarted it

@ghost ghost assigned 0xmichalis Jun 1, 2018
@ghost ghost added the in progress label Jun 1, 2018
@acs-bot acs-bot added the size/M label Jun 1, 2018
@CecileRobertMichon
Copy link
Contributor

@Kargakis please rebase

/lgtm

Copy link
Contributor

@CecileRobertMichon CecileRobertMichon left a comment

Choose a reason for hiding this comment

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

lgtm

@acs-bot acs-bot removed the lgtm label Jun 18, 2018
@0xmichalis
Copy link
Contributor Author

@CecileRobertMichon rebased, ptal

/unassign

Copy link
Contributor

@CecileRobertMichon CecileRobertMichon left a comment

Choose a reason for hiding this comment

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

/lgtm

@acs-bot acs-bot added the lgtm label Jun 18, 2018
@acs-bot
Copy link

acs-bot commented Jun 18, 2018

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: CecileRobertMichon, kargakis

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

@acs-bot acs-bot merged commit 2bc3eb7 into Azure:master Jun 19, 2018
@ghost ghost removed the in progress label Jun 19, 2018
@0xmichalis 0xmichalis deleted the centos-e2e branch June 19, 2018 13:27
PaulCharlton added a commit to ElementAnalytics/acs-engine that referenced this pull request Jun 20, 2018
* 'master' of https://github.com/Azure/acs-engine: (44 commits)
  remove duplicate ebtables (Azure#3308)
  Kubernetes: Remove Windows-specific foo for control plane config (Azure#3240)
  add k8s 1.8.14 (Azure#3303)
  run /usr/lib/apt/apt.systemd.daily in background (Azure#3304)
  add annotation to secrets field (Azure#3292)
  fix(oms): pull oms directly from docker (Azure#3294)
  ensure params vals are bool, with test (Azure#3285)
  udpate to latest 16.04 LTS image (Azure#3286)
  Enable openshift e2e tests on centos (Azure#2910)
  remove docker dependency from hyperkube extract (Azure#3296)
  remove pathological test (Azure#3291)
  Refactor validateDNSPrefix function in one place (Azure#3276)
  remove unnecessary nil check (Azure#3290)
  Fixing panic issue in Validate when properties are nil (Azure#3242)
  Updating the omsagent yaml file to include new changes for node zero dependency (Azure#3277)
  revert Azure CNI to 1.0.4 (Azure#3289)
  Add e2e test for openshift vnet (Azure#3274)
  Support upgrading a Kubernetes cluster that contains Virtual Machine Scale Sets (Azure#3223)
  Set extension for custom DNS (Azure#3264)
  don't exit CSE on apt.systemd.daily error (Azure#3278)
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants