Skip to content

Instantly share code, notes, and snippets.

@ajazam
Created April 29, 2016 20:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajazam/c18b33472814d0e109401e665c44ae9a to your computer and use it in GitHub Desktop.
Save ajazam/c18b33472814d0e109401e665c44ae9a to your computer and use it in GitHub Desktop.
Trying to install dcos master using advanced installation.
***Typing the following on the master***
[root@master dcos]# ./dcos_install.sh master
Starting DC/OS Install Process
Running preflight checks
Checking if DC/OS is already installed: PASS (Not installed)
PASS Is SELinux disabled?
Checking if docker is installed and in PATH: PASS
Checking docker version requirement (>= 1.6): PASS (1.11.0)
Checking if curl is installed and in PATH: PASS
Checking if bash is installed and in PATH: PASS
Checking if ping is installed and in PATH: PASS
Checking if tar is installed and in PATH: PASS
Checking if xz is installed and in PATH: PASS
Checking if unzip is installed and in PATH: PASS
Checking if ipset is installed and in PATH: PASS
Checking if systemd-notify is installed and in PATH: PASS
Checking if systemd is installed and in PATH: PASS
Checking systemd version requirement (>= 200): PASS (219)
Checking if group 'nogroup' exists: PASS
Checking if port 80 (required by mesos-ui) is in use: PASS
Checking if port 53 (required by mesos-dns) is in use: PASS
Checking if port 15055 (required by dcos-history) is in use: PASS
Checking if port 5050 (required by mesos-master) is in use: PASS
Checking if port 2181 (required by zookeeper) is in use: PASS
Checking if port 8080 (required by marathon) is in use: PASS
Checking if port 3888 (required by zookeeper) is in use: PASS
Checking if port 8181 (required by exhibitor) is in use: PASS
Checking if port 8123 (required by mesos-dns) is in use: PASS
Checking Docker is configured with a production storage driver: WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
PASS (devicemapper )
Creating directories under /etc/mesosphere
Creating role file for master
Configuring DC/OS
Setting and starting DC/OS
A dependency job for dcos-setup.service failed. See 'journalctl -xe' for details.
The following is contents of journalctl -xe
Apr 29 21:20:45 master systemd: Starting Docker Socket for the API.
Apr 29 21:20:45 master systemd: Listening on Docker Socket for the API.
Apr 29 21:20:45 master systemd: Starting Docker Application Container Engine...
Apr 29 21:20:45 master docker: time="2016-04-29T21:20:45.498504562+01:00" level=info msg="New containerd process, pid: 5992\n"
Apr 29 21:20:46 master docker: time="2016-04-29T21:20:46.660072192+01:00" level=warning msg="devmapper: Base device already exists and has filesystem xfs on it. User specified filesystem will be ignored."
Apr 29 21:20:46 master docker: time="2016-04-29T21:20:46.702336530+01:00" level=info msg="Graph migration to content-addressability took 0.00 seconds"
Apr 29 21:20:46 master docker: time="2016-04-29T21:20:46.722806896+01:00" level=info msg="Firewalld running: true"
Apr 29 21:20:46 master firewalld: 2016-04-29 21:20:46 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t nat -D OUTPUT -m addrtype --dst-type LOCAL -j DOCKER' failed: iptables: No chain/target/match by that name.
Apr 29 21:20:46 master firewalld: 2016-04-29 21:20:46 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t nat -D PREROUTING' failed: iptables: Bad rule (does a matching rule exist in that chain?).
Apr 29 21:20:46 master firewalld: 2016-04-29 21:20:46 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t nat -D OUTPUT' failed: iptables: Bad rule (does a matching rule exist in that chain?).
Apr 29 21:20:46 master firewalld: 2016-04-29 21:20:46 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t filter -X DOCKER' failed: iptables: Too many links.
Apr 29 21:20:46 master firewalld: 2016-04-29 21:20:46 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t filter -X DOCKER-ISOLATION' failed: iptables: Too many links.
Apr 29 21:20:46 master firewalld: 2016-04-29 21:20:46 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t nat -n -L DOCKER' failed: iptables: No chain/target/match by that name.
Apr 29 21:20:46 master firewalld: 2016-04-29 21:20:46 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t filter -C DOCKER-ISOLATION -j RETURN' failed: iptables: Bad rule (does a matching rule exist in that chain?).
Apr 29 21:20:47 master docker: time="2016-04-29T21:20:47.082688095+01:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
Apr 29 21:20:47 master firewalld: 2016-04-29 21:20:47 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t nat -C DOCKER -i docker0 -j RETURN' failed: iptables: Bad rule (does a matching rule exist in that chain?).
Apr 29 21:20:47 master firewalld: 2016-04-29 21:20:47 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -D FORWARD -i docker0 -o docker0 -j DROP' failed: iptables: Bad rule (does a matching rule exist in that chain?).
Apr 29 21:20:47 master firewalld: 2016-04-29 21:20:47 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t nat -C PREROUTING -m addrtype --dst-type LOCAL -j DOCKER' failed: iptables: No chain/target/match by that name.
Apr 29 21:20:47 master firewalld: 2016-04-29 21:20:47 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t nat -C OUTPUT -m addrtype --dst-type LOCAL -j DOCKER ! --dst 127.0.0.0/8' failed: iptables: No chain/target/match by that name.
Apr 29 21:20:47 master docker: time="2016-04-29T21:20:47.342157990+01:00" level=warning msg="mountpoint for pids not found"
Apr 29 21:20:47 master docker: time="2016-04-29T21:20:47.342833159+01:00" level=info msg="Loading containers: start."
Apr 29 21:20:47 master docker: .......
Apr 29 21:20:47 master docker: time="2016-04-29T21:20:47.353208216+01:00" level=info msg="Loading containers: done."
Apr 29 21:20:47 master docker: time="2016-04-29T21:20:47.353260873+01:00" level=info msg="Daemon has completed initialization"
Apr 29 21:20:47 master docker: time="2016-04-29T21:20:47.353340686+01:00" level=info msg="Docker daemon" commit=4dc5990 graphdriver=devicemapper version=1.11.0
Apr 29 21:20:47 master docker: time="2016-04-29T21:20:47.374209570+01:00" level=info msg="API listen on /var/run/docker.sock"
Apr 29 21:20:47 master systemd: Started Docker Application Container Engine.
Apr 29 21:20:47 master systemd: Starting dcos-link-env.service...
Apr 29 21:20:47 master systemd: Started dcos-link-env.service.
Apr 29 21:20:47 master systemd: Reloading.
Apr 29 21:20:47 master systemd: Configuration file /usr/lib/systemd/system/auditd.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
Apr 29 21:20:47 master systemd: Configuration file /usr/lib/systemd/system/ebtables.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Apr 29 21:20:47 master systemd: Configuration file /usr/lib/systemd/system/wpa_supplicant.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Apr 29 21:20:47 master systemd: Starting Pkgpanda: Download DC/OS to this host....
Apr 29 21:20:47 master curl: * About to connect() to 172.16.2.100 port 81 (#0)
Apr 29 21:20:47 master curl: * Trying 172.16.2.100...
Apr 29 21:20:47 master curl: * Connection refused
Apr 29 21:20:47 master curl: * Failed connect to 172.16.2.100:81; Connection refused
Apr 29 21:20:47 master curl: * Closing connection 0
Apr 29 21:20:47 master curl: curl: (7) Failed connect to 172.16.2.100:81; Connection refused
Apr 29 21:20:47 master systemd: dcos-download.service: control process exited, code=exited status=7
Apr 29 21:20:47 master systemd: Failed to start Pkgpanda: Download DC/OS to this host..
Apr 29 21:20:47 master systemd: Dependency failed for Pkgpanda: Specialize DC/OS for this host..
Apr 29 21:20:47 master systemd: Job dcos-setup.service/start failed with result 'dependency'.
Apr 29 21:20:47 master systemd: Unit dcos-download.service entered failed state.
Apr 29 21:20:47 master systemd: dcos-download.service failed.
Apr 29 21:20:48 master NetworkManager[785]: <info> (docker0): link disconnected (calling deferred action)
Apr 29 21:29:20 master systemd: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 6087 (find)
Apr 29 21:29:20 master systemd: Mounting Arbitrary Executable File Formats File System...
Apr 29 21:29:20 master systemd: Mounted Arbitrary Executable File Formats File System.
Apr 29 21:30:47 master kernel: XFS (dm-10): Mounting V4 Filesystem
Apr 29 21:30:48 master kernel: XFS (dm-10): Ending clean mount
Apr 29 21:30:48 master kernel: XFS (dm-10): Unmounting Filesystem
Apr 29 21:30:48 master kernel: XFS (dm-10): Mounting V4 Filesystem
Apr 29 21:30:49 master kernel: XFS (dm-10): Ending clean mount
Apr 29 21:30:49 master kernel: XFS (dm-10): Unmounting Filesystem
Apr 29 21:30:49 master kernel: XFS (dm-10): Mounting V4 Filesystem
Apr 29 21:30:49 master kernel: XFS (dm-10): Ending clean mount
Apr 29 21:30:49 master NetworkManager[785]: <warn> (veth6476491): failed to find device 20 'veth6476491' with udev
Apr 29 21:30:49 master NetworkManager[785]: <info> (veth6476491): new Veth device (carrier: OFF, driver: 'veth', ifindex: 20)
Apr 29 21:30:49 master NetworkManager[785]: <warn> (veth02aaea1): failed to find device 21 'veth02aaea1' with udev
Apr 29 21:30:49 master NetworkManager[785]: <info> (veth02aaea1): new Veth device (carrier: OFF, driver: 'veth', ifindex: 21)
Apr 29 21:30:49 master kernel: device veth02aaea1 entered promiscuous mode
Apr 29 21:30:49 master NetworkManager[785]: <info> (docker0): bridge port veth02aaea1 was attached
Apr 29 21:30:49 master NetworkManager[785]: <info> (veth02aaea1): enslaved to docker0
Apr 29 21:30:49 master kernel: IPv6: ADDRCONF(NETDEV_UP): veth02aaea1: link is not ready
Apr 29 21:30:50 master avahi-daemon[710]: Withdrawing workstation service for veth6476491.
Apr 29 21:30:50 master NetworkManager[785]: <warn> (veth6476491): failed to disable userspace IPv6LL address handling
Apr 29 21:30:50 master kernel: IPv6: ADDRCONF(NETDEV_CHANGE): veth02aaea1: link becomes ready
Apr 29 21:30:50 master kernel: docker0: port 1(veth02aaea1) entered forwarding state
Apr 29 21:30:50 master kernel: docker0: port 1(veth02aaea1) entered forwarding state
Apr 29 21:30:50 master NetworkManager[785]: <info> (veth02aaea1): link connected
Apr 29 21:30:50 master NetworkManager[785]: <info> (docker0): link connected
Apr 29 21:30:51 master avahi-daemon[710]: Registering new address record for fe80::9ca5:6aff:fe1d:45f8 on veth02aaea1.*.
Apr 29 21:30:55 master kernel: docker0: port 1(veth02aaea1) entered disabled state
Apr 29 21:30:55 master NetworkManager[785]: <info> (veth02aaea1): link disconnected
Apr 29 21:30:55 master NetworkManager[785]: <info> (docker0): link disconnected (deferring action for 4 seconds)
Apr 29 21:30:55 master NetworkManager[785]: <warn> (veth6476491): failed to find device 20 'veth6476491' with udev
Apr 29 21:30:55 master NetworkManager[785]: <info> (veth6476491): new Veth device (carrier: OFF, driver: 'veth', ifindex: 20)
Apr 29 21:30:55 master avahi-daemon[710]: Withdrawing address record for fe80::9ca5:6aff:fe1d:45f8 on veth02aaea1.
Apr 29 21:30:55 master kernel: docker0: port 1(veth02aaea1) entered disabled state
Apr 29 21:30:55 master avahi-daemon[710]: Withdrawing workstation service for veth6476491.
Apr 29 21:30:55 master avahi-daemon[710]: Withdrawing workstation service for veth02aaea1.
Apr 29 21:30:55 master kernel: device veth02aaea1 left promiscuous mode
Apr 29 21:30:55 master kernel: docker0: port 1(veth02aaea1) entered disabled state
Apr 29 21:30:55 master NetworkManager[785]: <warn> (veth6476491): failed to disable userspace IPv6LL address handling
Apr 29 21:30:55 master NetworkManager[785]: <info> (docker0): bridge port veth02aaea1 was detached
Apr 29 21:30:55 master NetworkManager[785]: <info> (veth02aaea1): released from master docker0
Apr 29 21:30:55 master NetworkManager[785]: <warn> (veth02aaea1): failed to disable userspace IPv6LL address handling
Apr 29 21:30:55 master kernel: XFS (dm-10): Unmounting Filesystem
Apr 29 21:30:59 master NetworkManager[785]: <info> (docker0): link disconnected (calling deferred action)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment