Skip to content

Commit 9a68bab

Browse files
author
Matthew Fisher
committed
Merge pull request #1169 from deis/coreos-343.0.0
chore(contrib): bump coreos to v349.0.0
2 parents 782d58c + 6879f8e commit 9a68bab

6 files changed

Lines changed: 18 additions & 20 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ define deis_units
1919
sed -n 's/\(deis-.*\.service\).*/\1/p' | tr '\n' ' ')
2020
endef
2121

22-
# TODO: re-evaluate the fragile start order now that we're on fleet 0.3.2.
22+
# TODO: re-evaluate the fragile start order
2323
COMPONENTS=builder cache controller database logger registry
2424
ALL_COMPONENTS=$(COMPONENTS) router
2525
START_COMPONENTS=registry logger cache database

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Upgrading from a previous Deis release? See [Upgrading Deis](http://docs.deis.io
1919

2020
## Install prerequisites
2121
On your workstation:
22-
* Install [Vagrant](http://www.vagrantup.com/downloads.html) and [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
23-
* Install the fleetctl client: Install v0.3.2 from the [fleet GitHub page](https://github.com/coreos/fleet/releases).
22+
* Install [Vagrant v1.6+](http://www.vagrantup.com/downloads.html) and [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
23+
* Install the fleetctl client: Install v0.5.0 from the [fleet GitHub page](https://github.com/coreos/fleet/releases).
2424
* Install the Docker client if you want to run Docker commands locally (optional)
2525

2626
## Additional setup for a multi-node cluster

Vagrantfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ else
1212
end
1313

1414
Vagrant.configure("2") do |config|
15-
config.vm.box = "coreos-324.2.0"
16-
config.vm.box_url = "http://storage.core-os.net/coreos/amd64-usr/324.2.0/coreos_production_vagrant.box"
15+
config.vm.box = "coreos-349.0.0"
16+
config.vm.box_url = "http://storage.core-os.net/coreos/amd64-usr/349.0.0/coreos_production_vagrant.box"
1717

1818
config.vm.provider :vmware_fusion do |vb, override|
19-
override.vm.box_url = "http://storage.core-os.net/coreos/amd64-usr/324.2.0/coreos_production_vagrant_vmware_fusion.box"
19+
override.vm.box_url = "http://storage.core-os.net/coreos/amd64-usr/349.0.0/coreos_production_vagrant_vmware_fusion.box"
2020
end
2121

2222
config.vm.provider :virtualbox do |vb, override|

builder/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN apt-get install -yq aufs-tools iptables ca-certificates lxc
1616
RUN echo "deb http://get.docker.io/ubuntu docker main" > /etc/apt/sources.list.d/docker.list
1717
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
1818
RUN apt-get update -qy
19-
RUN apt-get install -yq lxc-docker-0.11.1
19+
RUN apt-get install -yq lxc-docker-1.0.0
2020

2121
# install recent pip
2222
RUN wget -qO- https://raw.githubusercontent.com/pypa/pip/1.5.5/contrib/get-pip.py | python -

contrib/ec2/deis.template

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,28 @@
44
"Mappings" : {
55
"RegionMap" : {
66
"ap-northeast-1" : {
7-
"AMI" : "ami-25175a24"
7+
"AMI" : "ami-253b7324"
88
},
99
"sa-east-1" : {
10-
"AMI" : "ami-b96fc3a4"
10+
"AMI" : "ami-8fab0492"
1111
},
1212
"ap-southeast-2" : {
13-
"AMI" : "ami-792ab043"
13+
"AMI" : "ami-9f0c68a5"
1414
},
1515
"ap-southeast-1" : {
16-
"AMI" : "ami-58c9940a"
16+
"AMI" : "ami-ac1b44fe"
1717
},
1818
"us-east-1" : {
19-
"AMI" : "ami-8a53a6e2"
19+
"AMI" : "ami-820ff0ea"
2020
},
2121
"us-west-2" : {
22-
"AMI" : "ami-a7d1a197"
22+
"AMI" : "ami-7b8ff24b"
2323
},
2424
"us-west-1" : {
25-
"AMI" : "ami-debdb89b"
25+
"AMI" : "ami-ea5650af"
2626
},
2727
"eu-west-1" : {
28-
"AMI" : "ami-1df4396a"
28+
"AMI" : "ami-a73bf2d0"
2929
}
3030
}
3131
},

controller/scheduler/coreos.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,7 @@ def attach(self, name):
197197
[Service]
198198
ExecStartPre=/usr/bin/docker pull {image}
199199
ExecStartPre=/bin/sh -c "docker inspect {name} >/dev/null 2>&1 && docker rm -f {name} || true"
200-
ExecStart=/bin/sh -c "port=$(docker inspect -f '{{{{range $k, $v := .config.ExposedPorts }}}}{{{{$k}}}}{{{{end}}}}' {image} | cut -d/ -f1) ; /usr/bin/docker run --name {name} -P -e PORT=$port {image} {command}"
201-
ExecStartPost=/bin/sh -c "until docker inspect {name} >/dev/null 2>&1; do sleep 1; done"; \
202-
/bin/sh -c "arping -Idocker0 -c1 `docker inspect -f '{{{{ .NetworkSettings.IPAddress }}}}' {name}`"
200+
ExecStart=/bin/sh -c "port=$(docker inspect -f '{{{{range $k, $v := .ContainerConfig.ExposedPorts }}}}{{{{$k}}}}{{{{end}}}}' {image} | cut -d/ -f1) ; docker run --name {name} -P -e PORT=$port {image} {command}"
203201
ExecStop=/usr/bin/docker rm -f {name}
204202
TimeoutStartSec=20m
205203
"""
@@ -225,8 +223,8 @@ def attach(self, name):
225223
BindsTo={name}.service
226224
227225
[Service]
228-
ExecStartPre=/bin/sh -c "until /usr/bin/docker inspect {name} >/dev/null 2>&1; do sleep 1; done"
229-
ExecStart=/bin/sh -c "/usr/bin/docker logs -f {name} 2>&1 | logger -p local0.info -t {app}[{c_type}.{c_num}] --udp --server $(etcdctl get /deis/logs/host | cut -d ':' -f1) --port $(etcdctl get /deis/logs/port | cut -d ':' -f2)"
226+
ExecStartPre=/bin/sh -c "until docker inspect {name} >/dev/null 2>&1; do sleep 1; done"
227+
ExecStart=/bin/sh -c "docker logs -f {name} 2>&1 | logger -p local0.info -t {app}[{c_type}.{c_num}] --udp --server $(etcdctl get /deis/logs/host | cut -d ':' -f1) --port $(etcdctl get /deis/logs/port | cut -d ':' -f2)"
230228
231229
[X-Fleet]
232230
X-ConditionMachineOf={name}.service

0 commit comments

Comments
 (0)