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

Enable k8s 1.7.2 release #1072

Merged
merged 12 commits into from
Jul 28, 2017
Merged

Enable k8s 1.7.2 release #1072

merged 12 commits into from
Jul 28, 2017

Conversation

lachie83
Copy link
Member

@lachie83 lachie83 commented Jul 21, 2017

Fixes #1071

This change is Reviewable

@msftclas
Copy link

@lachie83,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@acs-bot
Copy link

acs-bot commented Jul 21, 2017

Can one of the admins verify this patch? Say "@acs-bot test this please" to start tests.

@seanknox
Copy link
Contributor

@acs-bot test this please

@martell
Copy link
Contributor

martell commented Jul 24, 2017

@lachie83 is there a reason why the resizer was rolled back to 1.7 when 2.0 is used with 1.7.1?

Looking forward to seeing this merged because https://github.com/kubernetes/kubernetes/pull/46360/files
currently disks are very slow attaching and fail a lot in random ways :)

@lachie83
Copy link
Member Author

lachie83 commented Jul 24, 2017

hey @martell. It seems it has caused a regression because some options have been removed in 2.0. I've currently opted to go back to 1.7 then we can raise another PR to go to 2.0 across the board later. #1075 How does that sound? I couldn't actually see any compelling reason to bounce this version as part of any of these PR. Do you know of one. Is there a changelog somewhere for the resizer?

@martell
Copy link
Contributor

martell commented Jul 24, 2017

hey @lachie83 :)

hmm, the versioning for that contrib project is not immediately obvious.
I do not see any clear change logs also btw nor am I aware of any.
From looking through the commit logs though I see we can just remove the following 2 options.
--estimator=exponential and --threshold=5 the latter seems to be removed by the rbac PR.
Assuming we can get that merged it should be easy to just remove the former option.
Seems reasonable to revert 170 and 171 to 1.7 until we do this.

Are there other options where it is causing trouble for you?

@lachie83
Copy link
Member Author

That sounds good to me.

@lachie83
Copy link
Member Author

@acs-bot test this please

@JiangtianLi
Copy link
Contributor

@lachie83 @rjtsdl I think there will be merge conflict with your PRs. Please coordinate to resolve.

@JiangtianLi
Copy link
Contributor

Also, do we need to add to tests for 1.7.2 (except Windows, which I will add)?

@lachie83
Copy link
Member Author

Also, do we need to add to tests for 1.7.2 (except Windows, which I will add)?

Nothing specific to this release

@lachie83
Copy link
Member Author

@lachie83 @rjtsdl I think there will be merge conflict with your PRs. Please coordinate to resolve.

I will rebase once this is approved

@JiangtianLi
Copy link
Contributor

Jingtao's #1108 is not in yet.

Copy link
Contributor

@JiangtianLi JiangtianLi left a comment

Choose a reason for hiding this comment

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

LGTM

@lachie83
Copy link
Member Author

@acs-bot test this please

@rjtsdl
Copy link
Contributor

rjtsdl commented Jul 26, 2017

Let's get this in first. I Will resolve on my. Lgtm. You can consider approved from me. Don't know How to hit approve button on phone :(

@lachie83
Copy link
Member Author

@rjtsdl @JiangtianLi how do I get CI running?

@rjtsdl
Copy link
Contributor

rjtsdl commented Jul 26, 2017

1 remove in progress label
2 @acs-bot test this please

@lachie83
Copy link
Member Author

@acs-bot test this please

1 similar comment
@seanknox
Copy link
Contributor

@acs-bot test this please

@seanknox
Copy link
Contributor

@rjtsdl @lachie83 no need to remove the "in progress" label—CI doesn't use it anymore. In fact, please do not do this as our backlog uses it.

@seanknox
Copy link
Contributor

@lachie83 can you try deploying a k8s 1.5.7 cluster from your branch? e2e tests keep failing on v1.5.7 tests due to some error in the provisioning process:

{
  "id": "/subscriptions/xxx/resourceGroups/y-kubernetesversions-kubernetes1.5.7-centralus-1037-16-0",
  "location": "centralus",
  "managedBy": null,
  "name": "y-kubernetesversions-kubernetes1.5.7-centralus-1037-16-0",
  "properties": {
    "provisioningState": "Succeeded"
  },
  "tags": null
}
time="2017-07-27T02:43:02Z" level=info msg="Generating assets..." 
time="2017-07-27T02:43:12Z" level=debug msg="pki: PKI asset creation took 3.345644484s" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/apimodel.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/azuredeploy.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/azuredeploy.parameters.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.australiaeast.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.australiasoutheast.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.brazilsouth.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.canadacentral.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.canadaeast.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.centralindia.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.centralus.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.centraluseuap.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.chinaeast.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.chinanorth.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.eastasia.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.eastus.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.eastus2.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.eastus2euap.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.japaneast.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.japanwest.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.koreacentral.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.koreasouth.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.northcentralus.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.northeurope.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.southcentralus.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.southeastasia.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.southindia.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.uksouth.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.ukwest.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.westcentralus.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.westeurope.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.westindia.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.westus.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubeconfig/kubeconfig.westus2.json" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/ca.key" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/ca.crt" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/apiserver.key" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/apiserver.crt" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/client.key" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/client.crt" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubectlClient.key" 
time="2017-07-27T02:43:12Z" level=debug msg="output: wrote /gopath/src/github.com/Azure/acs-engine/_output/acse-2257273-centralus-1037-16-0/kubectlClient.crt" 
Error [deploy_template:y-kubernetesversions-kubernetes1.5.7-centralus-1037-16-0] exit status 1
Output: /usr/local/bin/kubectl
/usr/local/bin/az
ERROR: At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details. {
  "status": "Failed",
  "error": {
    "code": "ResourceDeploymentFailure",
    "message": "The resource operation completed with terminal provisioning state 'Failed'.",
    "details": [
      {
        "code": "VMExtensionProvisioningError",
        "message": "VM has reported a failure when processing extension 'cse0'. Error message: \"Enable failed: failed to execute command: command terminated with exit status=127\"."
      }
    ]
  }
}  

https://jenkins.azure-containers.io/job/acs-engine-pr/1037/artifact/_logs/y-kubernetesversions-kubernetes1.5.7-centralus-1037-16-0.log

@lachie83
Copy link
Member Author

@seanknox sure thing

@lachie83
Copy link
Member Author

@seanknox please retest.

@lachie83
Copy link
Member Author

@acs-bot test this please

@seanknox seanknox merged commit 0c0091b into Azure:master Jul 28, 2017
Globegitter pushed a commit to Globegitter/acs-engine that referenced this pull request Jul 28, 2017
* [API] use validate tag for vlab version as well (Azure#1096)

* use validate tag for vlab version as well

* move handleValidationErrors function into a common place

* Added retries for apt-get install and systemctl enable commands for kubernetes custom script. (Azure#1104)

* added retries to apt-get in runcmd for kubernetes cloudinit

* Added retries for systemctl enable commands as part of kubernetes custom
script. (Azure#853)

* Change exit to different number.

* Build Linux, Mac, and Windows binaries (Azure#1077)

* chore(Makefile): improve bootstrap command

* ref(Makefile): refactor `make build`, use go install

* chore(release): support building windows, linux, macos binaries

* ref(Makefile): change name order of bins (project-ver-platform-arch)

* fix(ci): fix path of acs-engine binary

* fix(Makefile): fix wrong argument in go install

* added metrics for deployment and validation durations (Azure#1111)

* added metrics for deployment and validation durations

* fix(deploy): Change SP creation logging to debug (Azure#1121)

* remove StorageProfile defaults in v20170701 (Azure#1119)

* remove StorageProfile defaults in v20170701

* fix v20170701 test

* remove comments

* acs-engine test housekeeping (Azure#1125)

- added label to resource group, to enable auto-removal in case
   of unexpected job termination (performed by another scheduled job)
 - set the default for metrics sending to false

* add script to add admin to docker group (Azure#1113)

* Enable k8s 1.7.2 release (Azure#1072)

* Enable k8s 1.7.2 release

* remove version specific pieces of the heapster deployment. Rollback reziser to 1.7

* rollback resizer to 1.7

* fixed typo in version

* Add new storageclasses for managed disk types

* add storagetier label to nodes

* add newlines

* Add error handling to getStorageAccountType function
Remove toLower from storage tier name

* fixed indentation

* add StorageClass resources to 1.5

* remove version specific pieces of the heapster deployment. Rollback reziser to 1.7 (Azure#1076)

* Removing the requirement for same vNet (Azure#850)

As per Azure#272 - this is no longer necessary.

* docs(large-clusters): add docs for building large k8s clusters (Azure#1001)

* docs(large-clusters): add docs for building large k8s clusters

* doc(large-clusters): mention 100 pod/node limit in k8s v1.7

* Obvious Makefile typo and documentation update (Azure#1126)

* fix Makefile typo

* fix documentation with new acs-engine path

* Added minimal rbac setup for k8s.

* Make heapster rolebinding.

* Add kube-dns rolebindings.

* Smaller fixes,

* Conditionalize enabling of RBAC
Add rbac cluster definition example
Update kube addon manager to support clusterrolebinding creation
Update kube-addon-manager to use service account
Update API server with RBAC parameter
Update Controller Manager to use separate accounts per controller
Update heapster to support RBAC
Update dashboard to support RBAC
Add enableRbac field to ClusterConfig and add docs

* remove service account from addon manager

* Make heapster rolebinding.

* Add kube-dns rolebindings.

* Smaller fixes,

* Conditionalize enabling of RBAC
Add rbac cluster definition example
Update kube addon manager to support clusterrolebinding creation
Update kube-addon-manager to use service account
Update API server with RBAC parameter
Update Controller Manager to use separate accounts per controller
Update heapster to support RBAC
Update dashboard to support RBAC
Add enableRbac field to ClusterConfig and add docs

* remove service account from addon manager

* update heapster deployment

* Fix some merge conflicts.

* update CR and CRB to support heapster nanny rather than use the bootstrapped CR

* removed unrelated modifications to addons

* Added test for certificate creation with and without organisation.

* re-add resource limits and remove quotes

* rebase master heapster updates, add 1.5 rbac apis

* manifest updates

* update addon-manager version across all releases, update kube-dns 1.5

* fixed dup field defs

* remove templates.go

* cleaned up more rebase dups
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants