Skip to content

Instantly share code, notes, and snippets.

@mlangbehn
Created February 28, 2018 17:39
Show Gist options
  • Save mlangbehn/cebc33a2d8f64c8d6a72b014fa382368 to your computer and use it in GitHub Desktop.
Save mlangbehn/cebc33a2d8f64c8d6a72b014fa382368 to your computer and use it in GitHub Desktop.
Last login: Wed Feb 28 08:15:20 on ttys001
______________________________________
( If you have never been hated by your )
( child, you have never been a parent. )
( )
( -- Bette Davis )
--------------------------------------
o ^__^
o (oo)\_______
(__)\ )\/\
||----w |
|| ||
[matthew@roamer ~]% cd git/deploy-ibm-cloud-private
Cachefile LICENSE README.md Vagrantfile ansible.cfg cluster docs extensions hosts images license_accepted playbooks requirements.txt terraform
[matthew@roamer ~/git/deploy-ibm-cloud-private]% vagrant status master=
Current machine states:
icp running (virtualbox)
The VM is running. To stop this VM, you can run `vagrant halt` to
shut it down forcefully, or you can run `vagrant suspend` to simply
suspend the virtual machine. In either case, to restart it again,
simply run `vagrant up`.
[matthew@roamer ~/git/deploy-ibm-cloud-private]% vagrant provision master=
==> icp: Running provisioner: shell...
icp: Running: script: configure_master_ssh_keys
==> icp: Running provisioner: shell...
icp: Running: script: configure_swap_space
icp: rm: cannot remove '/mnt/swap': Operation not permitted
icp: fallocate: fallocate failed: Text file busy
icp: mkswap: error: /mnt/swap is mounted; will not make swapspace
icp: swapon: /mnt/swap: swapon failed: Device or resource busy
icp: net.ipv4.ip_forward = 1
icp: vm.swappiness = 60
icp: vm.vfs_cache_pressure = 10
icp: net.ipv4.ip_forward = 1
icp: net.ipv4.conf.all.rp_filter = 0
icp: net.ipv4.conf.default.rp_filter = 0
icp: net.ipv6.conf.all.disable_ipv6 = 1
icp: net.ipv6.conf.default.disable_ipv6 = 1
icp: net.ipv6.conf.lo.disable_ipv6 = 1
icp: net.ipv4.tcp_mem = 182757 243679 365514
icp: net.core.netdev_max_backlog = 182757
icp: net.ipv4.conf.eth1.proxy_arp = 1
icp: fs.inotify.max_queued_events = 1048576
icp: fs.inotify.max_user_instances = 1048576
icp: fs.inotify.max_user_watches = 1048576
icp: vm.max_map_count = 262144
icp: kernel.dmesg_restrict = 0
icp: net.ipv4.tcp_keepalive_time = 600
icp: net.ipv4.tcp_keepalive_intvl = 60
icp: net.ipv4.tcp_keepalive_probes = 20
icp: net.bridge.bridge-nf-call-iptables = 1
icp: vm.swappiness = 60
icp: vm.vfs_cache_pressure = 10
==> icp: Running provisioner: shell...
icp: Running: script: configure_performance_settings
icp: net.ipv4.ip_forward = 1
icp: vm.swappiness = 60
icp: vm.vfs_cache_pressure = 10
icp: net.ipv4.ip_forward = 1
icp: net.ipv4.conf.all.rp_filter = 0
icp: net.ipv4.conf.default.rp_filter = 0
icp: net.ipv6.conf.all.disable_ipv6 = 1
icp: net.ipv6.conf.default.disable_ipv6 = 1
icp: net.ipv6.conf.lo.disable_ipv6 = 1
icp: net.ipv4.tcp_mem = 182757 243679 365514
icp: net.core.netdev_max_backlog = 182757
icp: net.ipv4.conf.eth1.proxy_arp = 1
icp: fs.inotify.max_queued_events = 1048576
icp: fs.inotify.max_user_instances = 1048576
icp: fs.inotify.max_user_watches = 1048576
icp: vm.max_map_count = 262144
icp: kernel.dmesg_restrict = 0
icp: net.ipv4.tcp_keepalive_time = 600
icp: net.ipv4.tcp_keepalive_intvl = 60
icp: net.ipv4.tcp_keepalive_probes = 20
icp: net.bridge.bridge-nf-call-iptables = 1
icp: vm.swappiness = 60
icp: vm.vfs_cache_pressure = 10
icp: net.ipv4.ip_forward = 1
icp: net.ipv4.conf.all.rp_filter = 0
icp: net.ipv4.conf.default.rp_filter = 0
icp: net.ipv6.conf.all.disable_ipv6 = 1
icp: net.ipv6.conf.default.disable_ipv6 = 1
icp: net.ipv6.conf.lo.disable_ipv6 = 1
icp: net.ipv4.tcp_mem = 182757 243679 365514
icp: net.core.netdev_max_backlog = 182757
icp: net.ipv4.conf.eth1.proxy_arp = 1
icp: fs.inotify.max_queued_events = 1048576
icp: fs.inotify.max_user_instances = 1048576
icp: fs.inotify.max_user_watches = 1048576
icp: vm.max_map_count = 262144
icp: kernel.dmesg_restrict = 0
icp: net.ipv4.tcp_keepalive_time = 600
icp: net.ipv4.tcp_keepalive_intvl = 60
icp: net.ipv4.tcp_keepalive_probes = 20
icp: net.bridge.bridge-nf-call-iptables = 1
icp: Y
icp: Y
icp: Generating grub configuration file ...
icp: /usr/sbin/grub-probe: warning: Couldn't find physical volume `pv1'. Some modules may be missing from core image..
icp: Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
icp: Found linux image: /boot/vmlinuz-4.4.0-116-generic
icp: Found initrd image: /boot/initrd.img-4.4.0-116-generic
icp: Found linux image: /boot/vmlinuz-4.4.0-87-generic
icp: Found initrd image: /boot/initrd.img-4.4.0-87-generic
icp: grub-probe: error: disk `lvmid/d2Raxi-fcYp-oydb-Nbd5-UEYa-u23i-SDGSmO/PafRsV-ZeYx-NrbA-Qkb5-pZb5-qekx-7KOd1A' not found.
icp: done
==> icp: Running provisioner: shell...
icp: Running: script: install_icp_prereqs
icp: OK
icp: Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
icp: Hit:3 http://archive.ubuntu.com/ubuntu xenial InRelease
icp: Get:1 https://download.docker.com/linux/ubuntu xenial InRelease [65.8 kB]
icp: Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
icp: Get:5 https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages [3,329 B]
icp: Get:6 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
icp: Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [736 kB]
icp: Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [683 kB]
icp: Get:9 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [6,624 B]
icp: Get:10 http://archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages [6,616 B]
icp: Fetched 1,807 kB in 2s (735 kB/s)
icp: Reading package lists...
icp: Reading package lists...
icp: Building dependency tree...
icp:
icp: Reading state information...
icp: bridge-utils is already the newest version (1.5-9ubuntu1).
icp: build-essential is already the newest version (12.1ubuntu2).
icp: python-setuptools is already the newest version (20.7.0-1).
icp: aufs-tools is already the newest version (1:3.2+20130722-1.1ubuntu1).
icp: thin-provisioning-tools is already the newest version (0.5.6-1ubuntu1).
icp: apt-transport-https is already the newest version (1.2.25).
icp: ca-certificates is already the newest version (20170717~16.04.1).
icp: curl is already the newest version (7.47.0-1ubuntu2.6).
icp: linux-image-extra-4.4.0-87-generic is already the newest version (4.4.0-87.110).
icp: linux-image-extra-virtual is already the newest version (4.4.0.116.122).
icp: nfs-common is already the newest version (1:1.2.8-9ubuntu12.1).
icp: nfs-kernel-server is already the newest version (1:1.2.8-9ubuntu12.1).
icp: ntp is already the newest version (1:4.2.8p4+dfsg-3ubuntu5.8).
icp: python-dev is already the newest version (2.7.12-1~16.04).
icp: software-properties-common is already the newest version (0.96.20.7).
icp: criu is already the newest version (2.6-1ubuntu1~ubuntu16.04.2).
icp: dnsmasq is already the newest version (2.75-1ubuntu0.16.04.4).
icp: python-pip is already the newest version (8.1.1-2ubuntu0.4).
icp: lxd is already the newest version (2.21-0ubuntu3~16.04.1).
icp: lxd-client is already the newest version (2.21-0ubuntu3~16.04.1).
icp: The following packages were automatically installed and are no longer required:
icp: fakeroot libfakeroot libfile-fcntllock-perl ncurses-term os-prober
icp: python3-requests python3-urllib3 ssh-import-id tcpd
icp: Use 'sudo apt autoremove' to remove them.
icp: The following additional packages will be installed:
icp: libseccomp2
icp: Recommended packages:
icp: cgroupfs-mount | cgroup-lite
icp: The following packages will be upgraded:
icp: docker-ce libseccomp2
icp: 2 upgraded, 0 newly installed, 0 to remove and 106 not upgraded.
icp: Need to get 30.2 MB of archives.
icp: After this operation, 59.4 kB of additional disk space will be used.
icp: Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libseccomp2 amd64 2.3.1-2.1ubuntu2~16.04.1 [38.7 kB]
icp: Get:1 https://download.docker.com/linux/ubuntu xenial/stable amd64 docker-ce amd64 17.12.1~ce-0~ubuntu [30.2 MB]
icp: dpkg-preconfigure: unable to re-open stdin: No such file or directory
icp: Fetched 30.2 MB in 2s (10.1 MB/s)
icp: (Reading database ...
(Reading database ... 60%e ... 5%
icp: (Reading database ... 65%
icp: (Reading database ... 70%
icp: (Reading database ... 75%
icp: (Reading database ... 80%
icp: (Reading database ... 85%
icp: (Reading database ... 90%
icp: (Reading database ... 95%
(Reading database ... 45259 files and directories currently installed.)
icp: Preparing to unpack .../libseccomp2_2.3.1-2.1ubuntu2~16.04.1_amd64.deb ...
icp: Unpacking libseccomp2:amd64 (2.3.1-2.1ubuntu2~16.04.1) over (2.2.3-3ubuntu3) ...
icp: Processing triggers for libc-bin (2.23-0ubuntu9) ...
icp: Setting up libseccomp2:amd64 (2.3.1-2.1ubuntu2~16.04.1) ...
icp: Processing triggers for libc-bin (2.23-0ubuntu9) ...
icp: (Reading database ...
(Reading database ... 45%e ... 5%
(Reading database ... 65%e ... 50%
icp: (Reading database ... 70%
icp: (Reading database ... 75%
(Reading database ... 85%e ... 80%
icp: (Reading database ... 90%
icp: (Reading database ... 95%
(Reading database ... 45259 files and directories currently installed.)
icp: Preparing to unpack .../docker-ce_17.12.1~ce-0~ubuntu_amd64.deb ...
icp: Unpacking docker-ce (17.12.1~ce-0~ubuntu) over (17.12.0~ce-0~ubuntu) ...
icp: Processing triggers for systemd (229-4ubuntu20) ...
icp: Processing triggers for ureadahead (0.100.0-19) ...
icp: Processing triggers for man-db (2.7.5-1) ...
icp: Setting up docker-ce (17.12.1~ce-0~ubuntu) ...
icp: Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages
icp: Requirement already satisfied: docker in /usr/local/lib/python2.7/dist-packages
icp: Requirement already satisfied: backports.ssl-match-hostname>=3.5; python_version < "3.5" in /usr/local/lib/python2.7/dist-packages (from docker)
icp: Requirement already satisfied: ipaddress>=1.0.16; python_version < "3.3" in /usr/local/lib/python2.7/dist-packages (from docker)
icp: Requirement already satisfied: docker-pycreds>=0.2.2 in /usr/local/lib/python2.7/dist-packages (from docker)
icp: Requirement already satisfied: requests!=2.18.0,>=2.14.2 in /usr/local/lib/python2.7/dist-packages (from docker)
icp: Requirement already satisfied: websocket-client>=0.32.0 in /usr/local/lib/python2.7/dist-packages (from docker)
icp: Requirement already satisfied: six>=1.4.0 in /usr/local/lib/python2.7/dist-packages (from docker)
icp: Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python2.7/dist-packages (from requests!=2.18.0,>=2.14.2->docker)
icp: Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python2.7/dist-packages (from requests!=2.18.0,>=2.14.2->docker)
icp: Requirement already satisfied: idna<2.7,>=2.5 in /usr/local/lib/python2.7/dist-packages (from requests!=2.18.0,>=2.14.2->docker)
icp: Requirement already satisfied: urllib3<1.23,>=1.21.1 in /usr/local/lib/python2.7/dist-packages (from requests!=2.18.0,>=2.14.2->docker)
==> icp: Running provisioner: shell...
icp: Running: script: add_storage_vol
icp: Can't initialize physical volume "/dev/sdb" of volume group "vagrant-vg" without -ff
icp: Physical volume '/dev/sdb' is already in volume group 'vagrant-vg'
icp: Unable to add physical volume '/dev/sdb' to volume group 'vagrant-vg'.
icp: Logical volume "storage" already exists in volume group "vagrant-vg"
icp: mke2fs 1.42.13 (17-May-2015)
icp: /dev/mapper/vagrant--vg-storage is mounted; will not make a filesystem here!
icp: mkdir: cannot create directory ‘/storage’: File exists
icp: mount: /dev/mapper/vagrant--vg-storage is already mounted or /storage busy
icp: /dev/mapper/vagrant--vg-storage is already mounted on /storage
==> icp: Running provisioner: shell...
icp: Running: script: setup_nfs_shares
==> icp: Running provisioner: shell...
icp: Running: script: configure_nat_iptable_rules
==> icp: Running provisioner: shell...
icp: Running: script: configure_lxd
icp: Firewall stopped and disabled on system startup
icp: error: Invalid preseed YAML content
==> icp: Running provisioner: shell...
icp: Running: script: bring_up_icp_host_interface
==> icp: Running provisioner: shell...
icp: Running: script: set_dnsnameserver_to_lxd_dnsmasq
==> icp: Running provisioner: shell...
icp: Running: script: configure_icp_install
icp: /tmp/vagrant-shell: line 40: /home/vagrant/cluster/ssh_key: Permission denied
icp:
icp: ---
icp: # Network CNI
icp: network_type: calico
icp:
icp: # Network in IPv4 CIDR format
icp: network_cidr: 10.1.0.0/16
icp:
icp: # Kubernetes service IP range
icp: service_cluster_ip_range: 10.0.0.1/24
icp:
icp: # Flag to enable ldap with true, disabled by default.
icp: ldap_enabled: false
icp:
icp: # Config federation cluster
icp: federation_enabled: true
icp: federation_cluster: federation-cluster
icp: federation_domain: cluster.federation
icp: # federation_apiserver_extra_args: []
icp: # federation_controllermanager_extra_args: []
icp:
icp: ansible_user: vagrant
icp: ansible_become: true
icp:
icp: # enabled/disable python docker install
icp: install_docker_py: false
icp:
icp: # enable the metering service
icp: metering_enabled: true
icp:
icp: # disabled mgmt services list
icp: disabled_management_services: ["va"]
icp:
icp: # following variables are used to pickup internal builds
icp: version: 2.1.0.1
icp: image_tag: 2.1.0.1
icp: image_repo: ibmcom
icp: private_registry_enabled: false
icp: private_registry_server: placeholder.com
icp: docker_username: placeholder
icp: docker_password: placeholder
==> icp: Running provisioner: shell...
icp: Running: script: boot_lxd_worker_nodes
icp: Creating worker1
icp:
icp: error: Failed container creation:
icp: - https://cloud-images.ubuntu.com/releases: Container 'worker1' already exists
icp: Creating worker2
icp: error: Failed container creation:
icp: - https://cloud-images.ubuntu.com/releases: Container 'worker2' already exists
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
[1] 7782 exit 1 vagrant provision
[matthew@roamer ~/git/deploy-ibm-cloud-private]% master=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment