Skip to content

Commit 075cebe

Browse files
committed
Merge pull request #3992 from carmstrong/revert-coreos-647_2_0
chore(*): revert CoreOS to 647.2.0
2 parents 26f6a3c + 020e837 commit 075cebe

7 files changed

Lines changed: 35 additions & 24 deletions

File tree

Vagrantfile

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,28 @@ def vm_cpus
5252
end
5353

5454
Vagrant.configure("2") do |config|
55-
# always use Vagrants insecure key
55+
# always use Vagrant's insecure key
5656
config.ssh.insert_key = false
57-
5857
config.vm.box = "coreos-%s" % $update_channel
59-
config.vm.box_version = ">= 681.2.0"
60-
config.vm.box_url = "http://%s.release.core-os.net/amd64-usr/current/coreos_production_vagrant.json" % $update_channel
58+
59+
# HACK to bypass the limitation of the CoreOS "current" metadata for boxes -
60+
# it only specifies the latest release, so we cannot use it for older releases.
61+
# TODO(carmstrong) we can remove this once we're back to using "specific release or more recent"
62+
if $update_channel == "stable"
63+
config.vm.box_version = "= 647.2.0"
64+
config.vm.box_url = "http://stable.release.core-os.net/amd64-usr/647.2.0/coreos_production_vagrant.json"
65+
else
66+
config.vm.box_version = ">= 681.2.0"
67+
config.vm.box_url = "http://%s.release.core-os.net/amd64-usr/current/coreos_production_vagrant.json" % $update_channel
68+
end
6169

6270
["vmware_fusion", "vmware_workstation"].each do |vmware|
6371
config.vm.provider vmware do |v, override|
64-
override.vm.box_url = "http://%s.release.core-os.net/amd64-usr/current/coreos_production_vagrant_vmware_fusion.json" % $update_channel
72+
if $update_channel == "stable"
73+
override.vm.box_url = "http://stable.release.core-os.net/amd64-usr/647.2.0/coreos_production_vagrant_vmware_fusion.json" % $update_channel
74+
else
75+
override.vm.box_url = "http://%s.release.core-os.net/amd64-usr/current/coreos_production_vagrant_vmware_fusion.json" % $update_channel
76+
end
6577
end
6678
end
6779

contrib/azure/azure-coreos-cluster

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ parser.add_argument('--affinity-group', default='',
3535
help='optional, overrides location if specified')
3636
parser.add_argument('--ssh', default=22001, type=int,
3737
help='optional, starts with 22001 and +1 for each machine in cluster')
38-
parser.add_argument('--coreos-image', default='2b171e93f07c4903bcad35bda10acf22__CoreOS-Stable-681.2.0',
39-
help='optional, [2b171e93f07c4903bcad35bda10acf22__CoreOS-Stable-681.2.0]')
38+
parser.add_argument('--coreos-image', default='2b171e93f07c4903bcad35bda10acf22__CoreOS-Stable-647.2.0',
39+
help='optional, [2b171e93f07c4903bcad35bda10acf22__CoreOS-Stable-647.2.0]')
4040
parser.add_argument('--num-nodes', default=3, type=int,
4141
help='optional, number of nodes to create (or add), defaults to 3')
4242
parser.add_argument('--virtual-network-name',

contrib/ec2/deis.template.json

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"m4.xlarge",
4545
"m4.2xlarge",
4646
"m4.4xlarge",
47-
"m4.10xlarge",
47+
"m4.10xlarge",
4848
"m1.medium",
4949
"m1.large",
5050
"m1.xlarge",
@@ -128,17 +128,16 @@
128128

129129
"Mappings" : {
130130
"CoreOSAMIs" : {
131-
"eu-central-1" : { "PV" : "ami-e8e5ddf5", "HVM" : "ami-eae5ddf7" },
132-
"ap-northeast-1" : { "PV" : "ami-1c6fca1c", "HVM" : "ami-1a6fca1a" },
133-
"us-gov-west-1" : { "PV" : "ami-ef9fffcc", "HVM" : "ami-e99fffca" },
134-
"sa-east-1" : { "PV" : "ami-b3cb49ae", "HVM" : "ami-b1cb49ac" },
135-
"ap-southeast-2" : { "PV" : "ami-2d641e17", "HVM" : "ami-23641e19" },
136-
"ap-southeast-1" : { "PV" : "ami-d803078a", "HVM" : "ami-da030788" },
137-
"us-east-1" : { "PV" : "ami-91ea17fa", "HVM" : "ami-93ea17f8" },
138-
"us-west-2" : { "PV" : "ami-5f4d486f", "HVM" : "ami-5d4d486d" },
139-
"us-west-1" : { "PV" : "ami-cb67938f", "HVM" : "ami-c967938d" },
140-
"eu-west-1" : { "PV" : "ami-512f5526", "HVM" : "ami-5f2f5528" }
141-
131+
"eu-central-1" : { "PV" : "ami-fe6b52e3", "HVM" : "ami-f86b52e5" },
132+
"ap-northeast-1" : { "PV" : "ami-9ec1119e", "HVM" : "ami-9cc1119c" },
133+
"us-gov-west-1" : { "PV" : "ami-854828a6", "HVM" : "ami-874828a4" },
134+
"sa-east-1" : { "PV" : "ami-d9b839c4", "HVM" : "ami-d5b839c8" },
135+
"ap-southeast-2" : { "PV" : "ami-7985fc43", "HVM" : "ami-7b85fc41" },
136+
"ap-southeast-1" : { "PV" : "ami-d4033b86", "HVM" : "ami-da033b88" },
137+
"us-east-1" : { "PV" : "ami-c16583aa", "HVM" : "ami-c36583a8" },
138+
"us-west-2" : { "PV" : "ami-995f60a9", "HVM" : "ami-975f60a7" },
139+
"us-west-1" : { "PV" : "ami-877a92c3", "HVM" : "ami-857a92c1" },
140+
"eu-west-1" : { "PV" : "ami-e38cfc94", "HVM" : "ami-e18cfc96" }
142141
},
143142
"RootDevices" : {
144143
"HVM" : { "Name": "/dev/xvda" },

contrib/linode/provision-linode-cluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ def run(self):
413413
help='Node data center id. Use list-data-centers to find the id.')
414414
provision_parser.add_argument('--cloud-config', required=False, default='linode-user-data.yaml', type=file, dest='cloud_config',
415415
help='CoreOS cloud config user-data file')
416-
provision_parser.add_argument('--coreos-version', required=False, default='695.2.0', dest='coreos_version',
416+
provision_parser.add_argument('--coreos-version', required=False, default='647.2.0', dest='coreos_version',
417417
help='CoreOS version number to install')
418418
provision_parser.add_argument('--coreos-channel', required=False, default='beta', dest='coreos_channel',
419419
help='CoreOS channel to install from')

contrib/rackspace/provision-rackspace-cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ $CONTRIB_DIR/util/check-user-data.sh
4949
i=1 ; while [[ $i -le $DEIS_NUM_INSTANCES ]] ; do \
5050
echo_yellow "Provisioning deis-$i..."
5151
# This image is CoreOS 633.1.0 in the stable channel
52-
# TODO: Update to 681.2.0 when it's available in the stable channel
52+
# TODO: Update to 647.2.0 when it's available in the stable channel
5353
supernova $ENV boot --image a41d8b7c-d41b-4369-a180-0734f3b1cd8c --flavor $FLAVOR --key-name $1 --user-data $CONTRIB_DIR/coreos/user-data --no-service-net --nic net-id=$NETWORK_ID --config-drive true deis-$i ; \
5454
((i = i + 1)) ; \
5555
done

docs/installing_deis/baremetal.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ Start the installation
104104
105105
106106
This will install the latest `CoreOS`_ stable release to disk. The Deis provision scripts for other
107-
platforms typically specify a CoreOS version - currently, ``681.2.0``. To specify a CoreOS
108-
version, append the ``-V`` parameter to the install command, e.g. ``-V 681.2.0``.
107+
platforms typically specify a CoreOS version - currently, ``647.2.0``. To specify a CoreOS
108+
version, append the ``-V`` parameter to the install command, e.g. ``-V 647.2.0``.
109109

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

docs/installing_deis/gce.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Launch 3 instances. You can choose another starting CoreOS image from the listin
118118
--metadata-from-file user-data=gce-user-data sshKeys=~/.ssh/deis.pub \
119119
--disk name=cored${num} device-name=coredocker \
120120
--tags deis \
121-
--image coreos-stable-681-2-0-v20150618 \
121+
--image coreos-stable-647-2-0-v20150528 \
122122
--image-project coreos-cloud;
123123
done
124124

0 commit comments

Comments
 (0)