Skip to content

Commit b7eff72

Browse files
committed
Merge pull request #1940 from carmstrong/coreos_452.0.0
chore(*): bump CoreOS to 452.0.0
2 parents 617d12b + f9c6828 commit b7eff72

7 files changed

Lines changed: 14 additions & 25 deletions

File tree

Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ else
3535
$vb_cpus = 1
3636
end
3737

38-
COREOS_VERSION = "444.0.0"
38+
COREOS_VERSION = "452.0.0"
3939

4040
if File.exist?(CONFIG)
4141
require CONFIG

contrib/bare-metal/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ coreos-install -C alpha -c /tmp/config -d /dev/sda
4949
```
5050

5151
This will install the current [CoreOS](https://coreos.com/) release to disk. If you want to install the recommended [CoreOS](https://coreos.com/) version check the [Deis changelog](../../CHANGELOG.md)
52-
and specify that version by appending the `-V` parameter to the install command, e.g. `-V 444.0.0`.
52+
and specify that version by appending the `-V` parameter to the install command, e.g. `-V 452.0.0`.
5353

5454
After the installation has finished reboot your server. Once your machine is back up you should be able to log in as the `core` user using the `deis` ssh key.
5555

contrib/ec2/deis.template.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,14 @@
8484

8585
"Mappings" : {
8686
"CoreOSAMIs" : {
87-
"us-east-1" : { "PV" : "ami-1a862f72", "HVM" : "ami-18862f70" },
88-
"us-west-2" : { "PV" : "ami-1189c921", "HVM" : "ami-2f89c91f" },
89-
"us-west-1" : { "PV" : "ami-01aba244", "HVM" : "ami-07aba242" },
90-
"eu-west-1" : { "PV" : "ami-428d2a35", "HVM" : "ami-448d2a33" },
91-
"ap-southeast-1" : { "PV" : "ami-aee1c5fc", "HVM" : "ami-a8e1c5fa" },
92-
"ap-southeast-2" : { "PV" : "ami-0546253f", "HVM" : "ami-7b462541" },
93-
"ap-northeast-1" : { "PV" : "ami-39062938", "HVM" : "ami-37062936" },
94-
"sa-east-1" : { "PV" : "ami-d96cc6c4", "HVM" : "ami-df6cc6c2" }
87+
"us-east-1" : { "PV" : "ami-fc60d494", "HVM" : "ami-fe60d496" },
88+
"us-west-2" : { "PV" : "ami-03de9d33", "HVM" : "ami-01de9d31" },
89+
"us-west-1" : { "PV" : "ami-2b81896e", "HVM" : "ami-2981896c" },
90+
"eu-west-1" : { "PV" : "ami-ee983999", "HVM" : "ami-ec98399b" },
91+
"ap-southeast-1" : { "PV" : "ami-2e486f7c", "HVM" : "ami-2c486f7e" },
92+
"ap-southeast-2" : { "PV" : "ami-ddd4b7e7", "HVM" : "ami-d3d4b7e9" },
93+
"ap-northeast-1" : { "PV" : "ami-9994bd98", "HVM" : "ami-9794bd96" },
94+
"sa-east-1" : { "PV" : "ami-3119b32c", "HVM" : "ami-3319b32e" }
9595
},
9696
"RootDevices" : {
9797
"HVM" : { "Name": "/dev/xvda" },

contrib/rackspace/README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,6 @@ Usage: provision-rackspace-cluster.sh <key pair name> [flavor]
5454
$ ./provision-rackspace-cluster.sh deis-key
5555
```
5656

57-
### Update CoreOS
58-
Due to image publishing limitations on Rackspace, CoreOS images on Rackspace are frequently out of date.
59-
Each machine needs to be updated. On each one, run:
60-
61-
```console
62-
$ sudo systemctl unmask update-engine && sudo systemctl start update-engine && sudo update_engine_client -update && sudo reboot
63-
```
64-
65-
Once the machine is rebooted, it should have a recent CoreOS version.
66-
6757
### Initialize the cluster
6858
Once the cluster is up, get the hostname of any of the machines from Rackspace, set
6959
DEISCTL_TUNNEL and install the platform:

contrib/rackspace/provision-rackspace-cluster.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,10 @@ $CONTRIB_DIR/util/check-user-data.sh
4242

4343
i=1 ; while [[ $i -le $DEIS_NUM_INSTANCES ]] ; do \
4444
echo_yellow "Provisioning deis-$i..."
45-
# this image is CoreOS 423.0.0
46-
supernova production boot --image e90d62b9-0f01-4da9-9e06-79b8ddf42a70 --flavor $FLAVOR --key-name $1 --user-data ../coreos/user-data --no-service-net --nic net-id=$NETWORK_ID --config-drive true deis-$i ; \
45+
# this image is CoreOS 452.0.0
46+
supernova production boot --image 7f116bdd-9b17-410c-b049-eb1bca1b7087 --flavor $FLAVOR --key-name $1 --user-data ../coreos/user-data --no-service-net --nic net-id=$NETWORK_ID --config-drive true deis-$i ; \
4747
((i = i + 1)) ; \
4848
done
4949

5050
echo_green "Your Deis cluster has successfully deployed to Rackspace."
5151
echo_green "Please continue to follow the instructions in the README."
52-
echo_yellow "NOTE: For this release, you must also update CoreOS on these machines. See the README for details."

deisctl/units/deis-builder.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ TimeoutStartSec=30m
77
ExecStartPre=/bin/sh -c "IMAGE=`/run/deis/bin/get_image /deis/builder`; docker history $IMAGE >/dev/null || docker pull $IMAGE"
88
ExecStartPre=/bin/sh -c "docker inspect deis-builder >/dev/null && docker rm -f deis-builder || true"
99
ExecStart=/bin/sh -c "IMAGE=`/run/deis/bin/get_image /deis/builder` && docker run --name deis-builder --rm -p 2223:22 -e EXTERNAL_PORT=2223 -e HOST=$COREOS_PRIVATE_IPV4 --privileged $IMAGE"
10-
ExecStartPost=/bin/sh -c "echo 'Waiting for builder on 2223/tcp...' && until /bin/sh -c \"cat </dev/null>/dev/tcp/$COREOS_PRIVATE_IPV4/2223\" >/dev/null 2>&1; do sleep 1; done"
10+
ExecStartPost=/bin/sh -c "echo 'Waiting for builder on 2223/tcp...' && until echo 'dummy-value' | ncat $COREOS_PRIVATE_IPV4 2223 >/dev/null 2>&1; do sleep 1; done"
1111
ExecStopPost=/usr/bin/docker stop deis-builder
1212

1313
[Install]

deisctl/units/deis-registry.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ TimeoutStartSec=30m
99
ExecStartPre=/bin/sh -c "IMAGE=`/run/deis/bin/get_image /deis/registry`; docker history $IMAGE >/dev/null || docker pull $IMAGE"
1010
ExecStartPre=/bin/sh -c "docker inspect deis-registry >/dev/null && docker rm -f deis-registry || true"
1111
ExecStart=/bin/sh -c "IMAGE=`/run/deis/bin/get_image /deis/registry` && docker run --name deis-registry --rm -p 5000:5000 -e EXTERNAL_PORT=5000 -e HOST=$COREOS_PRIVATE_IPV4 --volumes-from deis-registry-data $IMAGE"
12-
ExecStartPost=/bin/sh -c "echo 'Waiting for listener on 5000/tcp...' && until /bin/sh -c \"cat </dev/null>/dev/tcp/$COREOS_PRIVATE_IPV4/5000\" >/dev/null 2>&1; do sleep 1; done && docker pull deis/slugrunner:latest && docker tag deis/slugrunner $COREOS_PRIVATE_IPV4:5000/deis/slugrunner && docker push $COREOS_PRIVATE_IPV4:5000/deis/slugrunner"
12+
ExecStartPost=/bin/sh -c "echo 'Waiting for listener on 5000/tcp...' && until echo 'dummy-value' | ncat $COREOS_PRIVATE_IPV4 5000 >/dev/null 2>&1; do sleep 1; done && docker pull deis/slugrunner:latest && docker tag deis/slugrunner $COREOS_PRIVATE_IPV4:5000/deis/slugrunner && docker push $COREOS_PRIVATE_IPV4:5000/deis/slugrunner"
1313
ExecStopPost=/usr/bin/docker stop deis-registry
1414

1515
[Install]

0 commit comments

Comments
 (0)