diff --git a/CHANGELOG.md b/CHANGELOG.md index 58d6ea79b57..df7508269b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,59 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## 0.10.1 - 2019-01-22 + +### Changed + +- `create ignition-configs` now also writes `metadata.json` to the + asset directory, which allows [Hive][] to more reliably destroy + clusters. +- `destroy cluster` now removes `.openshift_install_state.json` on + success, clearing the way for future `create cluster` runs in the + same asset directory. +- On AWS, we now default to m4.xlarge masters. The increased CPU + reduces etcd latencies, which in turn helps with cluster stability. +- On AWS, the bootstrap machine has a new security-group allowing + journald-gateway and kubelet access, for easier debugging when + bootstrapping fails. +- Several doc and internal cleanups. + +### Removed + +- The SSH public key is no longer inserted in the pointer Ignition + configurations, now that authorized public keys are [managed by the + machine-config daemon][machine-config-daemon-ssh-keys]. + +### Fixed + +- On AWS, the cluster-API provider now supports configuring machine + volumes, so `rootVolume` settings in `install-config.yaml` will be + respected. +- On AWS, the generated Terraform variables no longer clobber master + instance type and root volume configuration set via + `install-config.yaml`. You can now use: + + ```yaml + machines: + - name: master + platform: + aws: + type: m5.large + rootVolume: + iops: 3000 + size: 220 + type: io1 + replicas: 3 + - name: worker + ... + ``` + + and similar to successfully customize your master machines. +- On AWS, `delete cluster` has been adjusted to use more efficient + tag-based lookup and fix several bugs due to previously-missing + pagination. This should address some issues we had been seeing with + leaking AWS resources despite `delete cluster` claiming success. + ## 0.10.0 - 2019-01-15 ### Added @@ -669,12 +722,14 @@ the new `openshift-install` command instead. [cluster-bootstrap]: https://github.com/openshift/cluster-bootstrap [cluster-version-operator]: https://github.com/openshift/cluster-version-operator [dot]: https://www.graphviz.org/doc/info/lang.html +[Hive]: https://github.com/openshift/hive/ [ingress-operator]: https://github.com/openshift/cluster-ingress-operator [kube-apiserver-operator]: https://github.com/openshift/cluster-kube-apiserver-operator [kube-controller-manager-operator]: https://github.com/openshift/cluster-kube-controller-manager-operator [kube-selector]: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors [machine-api-operator]: https://github.com/openshift/machine-api-operator [machine-config-operator]: https://github.com/openshift/machine-config-operator +[machine-config-daemon-ssh-keys]: https://github.com/openshift/machine-config-operator/blob/master/docs/Update-SSHKeys.md [openshift-ansible]: https://github.com/openshift/openshift-ansible [Prometheus]: https://github.com/prometheus/prometheus [ssh.ParseAuthorizedKey]: https://godoc.org/golang.org/x/crypto/ssh#ParseAuthorizedKey diff --git a/hack/build.sh b/hack/build.sh index 87d9c454a82..66ac0ef6111 100755 --- a/hack/build.sh +++ b/hack/build.sh @@ -2,6 +2,9 @@ set -ex +RELEASE_IMAGE="${RELEASE_IMAGE:-quay.io/openshift-release-dev/ocp-release:4.0.0-0.1}" +RHCOS_BUILD_NAME="${RELEASE_BUILD_NAME:-47.249}" + # shellcheck disable=SC2068 version() { IFS="."; printf "%03d%03d%03d\\n" $@; unset IFS;} diff --git a/pkg/asset/ignition/bootstrap/bootstrap.go b/pkg/asset/ignition/bootstrap/bootstrap.go index fde8a392660..49410ae9de7 100644 --- a/pkg/asset/ignition/bootstrap/bootstrap.go +++ b/pkg/asset/ignition/bootstrap/bootstrap.go @@ -145,7 +145,7 @@ func (a *Bootstrap) getTemplateData(installConfig *types.InstallConfig) (*bootst } releaseImage := defaultReleaseImage - if ri, ok := os.LookupEnv("OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE"); ok && ri != "" { + if ri, ok := os.LookupEnv("_OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE"); ok && ri != "" { logrus.Warn("Found override for ReleaseImage. Please be warned, this is not advised") releaseImage = ri } diff --git a/pkg/types/aws/validation/platform.go b/pkg/types/aws/validation/platform.go index a231372b9bd..95c50732228 100644 --- a/pkg/types/aws/validation/platform.go +++ b/pkg/types/aws/validation/platform.go @@ -15,22 +15,22 @@ var ( Regions = map[string]string{ "ap-northeast-1": "Tokyo", "ap-northeast-2": "Seoul", - "ap-northeast-3": "Osaka-Local", + //"ap-northeast-3": "Osaka-Local", "ap-south-1": "Mumbai", "ap-southeast-1": "Singapore", "ap-southeast-2": "Sydney", "ca-central-1": "Central", - "cn-north-1": "Beijing", - "cn-northwest-1": "Ningxia", - "eu-central-1": "Frankfurt", - "eu-west-1": "Ireland", - "eu-west-2": "London", - "eu-west-3": "Paris", - "sa-east-1": "São Paulo", - "us-east-1": "N. Virginia", - "us-east-2": "Ohio", - "us-west-1": "N. California", - "us-west-2": "Oregon", + //"cn-north-1": "Beijing", + //"cn-northwest-1": "Ningxia", + "eu-central-1": "Frankfurt", + "eu-west-1": "Ireland", + "eu-west-2": "London", + "eu-west-3": "Paris", + "sa-east-1": "São Paulo", + "us-east-1": "N. Virginia", + "us-east-2": "Ohio", + "us-west-1": "N. California", + "us-west-2": "Oregon", } validRegionValues = func() []string { diff --git a/pkg/types/validation/installconfig_test.go b/pkg/types/validation/installconfig_test.go index 776cf5797b8..eb62ed59008 100644 --- a/pkg/types/validation/installconfig_test.go +++ b/pkg/types/validation/installconfig_test.go @@ -234,7 +234,7 @@ func TestValidateInstallConfig(t *testing.T) { } return c }(), - expectedError: `^platform\.aws\.region: Unsupported value: "": supported values: "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ca-central-1", "cn-north-1", "cn-northwest-1", "eu-central-1", "eu-west-1", "eu-west-2", "eu-west-3", "sa-east-1", "us-east-1", "us-east-2", "us-west-1", "us-west-2"$`, + expectedError: `^platform\.aws\.region: Unsupported value: "": supported values: "ap-northeast-1", "ap-northeast-2", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ca-central-1", "eu-central-1", "eu-west-1", "eu-west-2", "eu-west-3", "sa-east-1", "us-east-1", "us-east-2", "us-west-1", "us-west-2"$`, }, { name: "valid libvirt platform",