I've been following the Kubernetes install guide for AWS located here however I haven't been able to get past setting up the minion nodes. I found that the setup-network-environment service is failing on the minions due to wget failing.
The service file is as follows:
# /etc/systemd/system/setup-network-environment.service
[Unit]
Description=Setup Network Environment
Documentation=https://github.com/kelseyhightower/setup-network-environment
Requires=network-online.target
After=network-online.target
[Service]
ExecStartPre=-/usr/bin/mkdir -p /opt/bin
ExecStartPre=/usr/bin/wget -N -P /opt/bin https://github.com/kelseyhightower/setup-network-environment/releases/download/v1.0.0/setup-network-environment
ExecStartPre=/usr/bin/chmod +x /opt/bin/setup-network-environment
ExecStart=/opt/bin/setup-network-environment
RemainAfterExit=yes
Type=oneshot
The failure message is like so:
$ systemctl status setup-network-environment.service
● setup-network-environment.service - Setup Network Environment
Loaded: loaded (/etc/systemd/system/setup-network-environment.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2015-05-19 01:36:21 ; 6min ago
Docs: https://github.com/kelseyhightower/setup-network-environment
Process: 767 ExecStartPre=/usr/bin/wget -N -P /opt/bin https://github.com/kelseyhightower/setup-network-environment/releases/download/v1.0.0/setup-network-environment (code=exited, status=8)
Process: 765 ExecStartPre=/usr/bin/mkdir -p /opt/bin (code=exited, status=0/SUCCESS)
May 19 01:36:21 ip-172-31-9-180.ap-southeast-2.compute.internal wget[767]: Location: https://s3.amazonaws.com/github-cloud/releases/24030064/c925b05e-3c44-11e4-83a0-2e78b7fd556a?response-c...
May 19 01:36:21 ip-172-31-9-180.ap-southeast-2.compute.internal wget[767]: --2015-05-19 01:36:21-- https://s3.amazonaws.com/github-cloud/releases/24030064/c925b05e-3c44-11e4-83a0-2e78b7fd...
May 19 01:36:21 ip-172-31-9-180.ap-southeast-2.compute.internal wget[767]: Resolving s3.amazonaws.com... 54.231.244.8
May 19 01:36:21 ip-172-31-9-180.ap-southeast-2.compute.internal wget[767]: Connecting to s3.amazonaws.com|54.231.244.8|:443... connected.
May 19 01:36:21 ip-172-31-9-180.ap-southeast-2.compute.internal wget[767]: HTTP request sent, awaiting response... 403 Forbidden
May 19 01:36:21 ip-172-31-9-180.ap-southeast-2.compute.internal wget[767]: 2015-05-19 01:36:21 ERROR 403: Forbidden.
May 19 01:36:21 ip-172-31-9-180.ap-southeast-2.compute.internal systemd[1]: setup-network-environment.service: control process exited, code=exited status=8
May 19 01:36:21 ip-172-31-9-180.ap-southeast-2.compute.internal systemd[1]: Failed to start Setup Network Environment.
May 19 01:36:21 ip-172-31-9-180.ap-southeast-2.compute.internal systemd[1]: Unit setup-network-environment.service entered failed state.
May 19 01:36:21 ip-172-31-9-180.ap-southeast-2.compute.internal systemd[1]: setup-network-environment.service failed.
I've been following the Kubernetes install guide for AWS located here however I haven't been able to get past setting up the minion nodes. I found that the
setup-network-environmentservice is failing on the minions due to wget failing.The service file is as follows:
The failure message is like so: