From 731f3bf9d5ad276824b0bb8ec5e6827669a3798a Mon Sep 17 00:00:00 2001 From: Artyom Date: Thu, 12 Dec 2019 19:06:13 +0300 Subject: [PATCH 01/12] devops-test --- .../default/virtualbox/action_provision | 1 + .../default/virtualbox/action_set_name | 1 + .../machines/default/virtualbox/creator_uid | 1 + .../0/.vagrant/machines/default/virtualbox/id | 1 + .../machines/default/virtualbox/index_uuid | 1 + .../default/virtualbox/synced_folders | 1 + .../machines/default/virtualbox/vagrant_cwd | 1 + Artyom_Serchenya/0/Vagrantfile | 101 +++ Artyom_Serchenya/0/files/index.html | 8 + Artyom_Serchenya/0/files/localhost.conf | 9 + Artyom_Serchenya/0/files/other/localhost.conf | 25 + Artyom_Serchenya/0/files/other/per_minute | 1 + Artyom_Serchenya/0/files/per_minute | 2 + README.md => Artyom_Serchenya/test0/README.md | 0 .../default/virtualbox/action_provision | 1 + .../default/virtualbox/action_set_name | 1 + .../machines/default/virtualbox/creator_uid | 1 + .../.vagrant/machines/default/virtualbox/id | 1 + .../machines/default/virtualbox/index_uuid | 1 + .../default/virtualbox/synced_folders | 1 + .../machines/default/virtualbox/vagrant_cwd | 1 + Artyom_Serchenya/test0/_hw#0/bootstrap.sh | 8 + Artyom_Serchenya/test0/_hw#0/configssl.sh | 11 + Artyom_Serchenya/test0/_hw#0/files/index.html | 8 + .../test0/_hw#0/files/localhost.conf | 20 + Artyom_Serchenya/test0/_hw#0/foo | 0 .../test0/_hw#0/localhost/index.html | 8 + Artyom_Serchenya/test0/_hw#0/ok | 16 + .../ubuntu-bionic-18.04-cloudimg-console.log | 707 ++++++++++++++++++ .../test0/_hw#0/vagrantfile | 9 +- _hw#0/files/provision.sh | 7 - _hw#0/files/site.conf | 3 - 32 files changed, 940 insertions(+), 17 deletions(-) create mode 100644 Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/action_provision create mode 100644 Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/action_set_name create mode 100644 Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/creator_uid create mode 100644 Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/id create mode 100644 Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/index_uuid create mode 100644 Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/synced_folders create mode 100644 Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/vagrant_cwd create mode 100644 Artyom_Serchenya/0/Vagrantfile create mode 100644 Artyom_Serchenya/0/files/index.html create mode 100644 Artyom_Serchenya/0/files/localhost.conf create mode 100644 Artyom_Serchenya/0/files/other/localhost.conf create mode 100644 Artyom_Serchenya/0/files/other/per_minute create mode 100644 Artyom_Serchenya/0/files/per_minute rename README.md => Artyom_Serchenya/test0/README.md (100%) create mode 100644 Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/action_provision create mode 100644 Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/action_set_name create mode 100644 Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/creator_uid create mode 100644 Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/id create mode 100644 Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/index_uuid create mode 100644 Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/synced_folders create mode 100644 Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/vagrant_cwd create mode 100644 Artyom_Serchenya/test0/_hw#0/bootstrap.sh create mode 100644 Artyom_Serchenya/test0/_hw#0/configssl.sh create mode 100644 Artyom_Serchenya/test0/_hw#0/files/index.html create mode 100644 Artyom_Serchenya/test0/_hw#0/files/localhost.conf create mode 100644 Artyom_Serchenya/test0/_hw#0/foo create mode 100755 Artyom_Serchenya/test0/_hw#0/localhost/index.html create mode 100644 Artyom_Serchenya/test0/_hw#0/ok create mode 100644 Artyom_Serchenya/test0/_hw#0/ubuntu-bionic-18.04-cloudimg-console.log rename _hw#0/Vagrantfile => Artyom_Serchenya/test0/_hw#0/vagrantfile (57%) delete mode 100755 _hw#0/files/provision.sh delete mode 100644 _hw#0/files/site.conf diff --git a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/action_provision b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/action_provision new file mode 100644 index 0000000..c866f9f --- /dev/null +++ b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/action_provision @@ -0,0 +1 @@ +1.5:3e49a64c-3ed2-4b60-a0ca-a3b0e8cce033 \ No newline at end of file diff --git a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/action_set_name b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/action_set_name new file mode 100644 index 0000000..05d5aef --- /dev/null +++ b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/action_set_name @@ -0,0 +1 @@ +1576163259 \ No newline at end of file diff --git a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/creator_uid b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/creator_uid new file mode 100644 index 0000000..e37d32a --- /dev/null +++ b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/creator_uid @@ -0,0 +1 @@ +1000 \ No newline at end of file diff --git a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/id b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/id new file mode 100644 index 0000000..60fbd86 --- /dev/null +++ b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/id @@ -0,0 +1 @@ +3e49a64c-3ed2-4b60-a0ca-a3b0e8cce033 \ No newline at end of file diff --git a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/index_uuid b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/index_uuid new file mode 100644 index 0000000..91c095f --- /dev/null +++ b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/index_uuid @@ -0,0 +1 @@ +78d0b4b3c4c54dcca17437a4c0a65cc0 \ No newline at end of file diff --git a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/synced_folders b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/synced_folders new file mode 100644 index 0000000..6e2e1b1 --- /dev/null +++ b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/synced_folders @@ -0,0 +1 @@ +{"virtualbox":{"/vagrant":{"guestpath":"/vagrant","hostpath":"/home/artyom/Загрузки/domashku/Artyom_Serchenya/01","disabled":false,"__vagrantfile":true}}} \ No newline at end of file diff --git a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/vagrant_cwd b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/vagrant_cwd new file mode 100644 index 0000000..ffcf9df --- /dev/null +++ b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/vagrant_cwd @@ -0,0 +1 @@ +/home/artyom/Загрузки/domashku/Artyom_Serchenya/01 \ No newline at end of file diff --git a/Artyom_Serchenya/0/Vagrantfile b/Artyom_Serchenya/0/Vagrantfile new file mode 100644 index 0000000..de9a708 --- /dev/null +++ b/Artyom_Serchenya/0/Vagrantfile @@ -0,0 +1,101 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +# All Vagrant configuration is done below. The "2" in Vagrant.configure +# configures the configuration version (we support older styles for +# backwards compatibility). Please don't change it unless you know what +# you're doing. +Vagrant.configure("2") do |config| + # The most common configuration options are documented and commented below. + # For a complete reference, please see the online documentation at + # https://docs.vagrantup.com. + + # Every Vagrant development environment requires a box. You can search for + # boxes at https://vagrantcloud.com/search. + config.vm.box = "devops-test" + + # Disable automatic box update checking. If you disable this, then + # boxes will only be checked for updates when the user runs + # `vagrant box outdated`. This is not recommended. + # config.vm.box_check_update = false + + # Create a forwarded port mapping which allows access to a specific port + # within the machine from a port on the host machine. In the example below, + # accessing "localhost:8080" will access port 80 on the guest machine. + # NOTE: This will enable public access to the opened port + # config.vm.network "forwarded_port", guest: 80, host: 8080 + + # Create a forwarded port mapping which allows access to a specific port + # within the machine from a port on the host machine and only allow access + # via 127.0.0.1 to disable public access + # config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1" + + # Create a private network, which allows host-only access to the machine + # using a specific IP. + # config.vm.network "private_network", ip: "192.168.33.10" + + # Create a public network, which generally matched to bridged network. + # Bridged networks make the machine appear as another physical device on + # your network. + # config.vm.network "public_network" + + # Share an additional folder to the guest VM. The first argument is + # the path on the host to the actual folder. The second argument is + # the path on the guest to mount the folder. And the optional third + # argument is a set of non-required options. + # config.vm.synced_folder "../data", "/vagrant_data" + + # Provider-specific configuration so you can fine-tune various + # backing providers for Vagrant. These expose provider-specific options. + # Example for VirtualBox: + # + # config.vm.provider "virtualbox" do |vb| + # # Display the VirtualBox GUI when booting the machine + # vb.gui = true + # + # # Customize the amount of memory on the VM: + # vb.memory = "1024" + # end + # + # View the documentation for the provider you are using for more + # information on available options. + + # Enable provisioning with a shell script. Additional provisioners such as + # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the + # documentation for more information about their specific syntax and use. + config.vm.network :forwarded_port, guest: 80, host: 8080 # Apache HTTP + config.vm.network :forwarded_port, guest: 443, host: 8443 # Apache HTTPS + config.vm.network :forwarded_port, guest: 5000, host: 5000 # Flask debug server + + config.vm.provision "shell", inline: <<-SHELL + apt-get update + apt-get install -y apache2 + sudo su root + echo "ServerName loclhost:80" >> /etc/apache2/apache2.conf + sudo su vagrant + sudo ufw enable + sudo ufw allow 'Apache Full' + sudo ufw allow -y 'OpenSSH' + sudo apt-get install -y systemd + source /etc/apache2/envvars + apache2 -V + sudo mkdir /var/www/localhost + sudo chown -R $USER:$USER /var/www/localhost + sudo chmod -R 755 /var/www/localhost + sudo cp /vagrant/files/index.html /var/www/localhost/index.html + sudo cp /vagrant/files/localhost.conf /etc/apache2/sites-available/localhost.conf + sudo a2ensite localhost.conf + sudo a2dissite 000-default.conf + sudo apt-get install apache2 -y openssl + sudo a2enmod rewrite + sudo a2enmod ssl + sudo cp /vagrant/files/other/localhost.conf /etc/apache2/sites-available/localhost.conf + sudo /etc/init.d/apache2 restart + sudo apt-get install memcached + sudo cp /vagrant/files/per_minute /etc/cron.d/per_minute + sudo cp /vagrant/files/other/per_minute /var/spool/cron/per_minute + + SHELL + + +end diff --git a/Artyom_Serchenya/0/files/index.html b/Artyom_Serchenya/0/files/index.html new file mode 100644 index 0000000..f2a9d70 --- /dev/null +++ b/Artyom_Serchenya/0/files/index.html @@ -0,0 +1,8 @@ + + + Welcome to localhost! + + +

Success! The localhost virtual host is working!

+ + diff --git a/Artyom_Serchenya/0/files/localhost.conf b/Artyom_Serchenya/0/files/localhost.conf new file mode 100644 index 0000000..b0d1cba --- /dev/null +++ b/Artyom_Serchenya/0/files/localhost.conf @@ -0,0 +1,9 @@ + + + ServerAdmin webmaster@localhost + ServerName localhost + ServerAlias localhost + DocumentRoot /var/www/localhost + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + diff --git a/Artyom_Serchenya/0/files/other/localhost.conf b/Artyom_Serchenya/0/files/other/localhost.conf new file mode 100644 index 0000000..4d2f9e5 --- /dev/null +++ b/Artyom_Serchenya/0/files/other/localhost.conf @@ -0,0 +1,25 @@ + + ServerAdmin webmaster@localhost + ServerName localhost + ServerAlias localhost + DocumentRoot /var/www/localhost + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + + RewriteEngine On + RewriteCond %{HTTPS} off + RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} + + + + SSLEngine on + SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem + SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key + + ServerAdmin webmaster@localhost + ServerName localhost + ServerAlias localhost + DocumentRoot /var/www/localhost + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + diff --git a/Artyom_Serchenya/0/files/other/per_minute b/Artyom_Serchenya/0/files/other/per_minute new file mode 100644 index 0000000..fc59711 --- /dev/null +++ b/Artyom_Serchenya/0/files/other/per_minute @@ -0,0 +1 @@ +* * * * * /home/vagrant/exercise-memcached.sh diff --git a/Artyom_Serchenya/0/files/per_minute b/Artyom_Serchenya/0/files/per_minute new file mode 100644 index 0000000..26a587a --- /dev/null +++ b/Artyom_Serchenya/0/files/per_minute @@ -0,0 +1,2 @@ +* * * * * root /bin/sh /home/vagrant/exercise-memcached.sh + diff --git a/README.md b/Artyom_Serchenya/test0/README.md similarity index 100% rename from README.md rename to Artyom_Serchenya/test0/README.md diff --git a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/action_provision b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/action_provision new file mode 100644 index 0000000..3c7ea34 --- /dev/null +++ b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/action_provision @@ -0,0 +1 @@ +1.5:e1f181a3-7d8c-4a44-bf59-c97f2926094b \ No newline at end of file diff --git a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/action_set_name b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/action_set_name new file mode 100644 index 0000000..8271478 --- /dev/null +++ b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/action_set_name @@ -0,0 +1 @@ +1576094202 \ No newline at end of file diff --git a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/creator_uid b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/creator_uid new file mode 100644 index 0000000..e37d32a --- /dev/null +++ b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/creator_uid @@ -0,0 +1 @@ +1000 \ No newline at end of file diff --git a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/id b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/id new file mode 100644 index 0000000..0cf3e8a --- /dev/null +++ b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/id @@ -0,0 +1 @@ +e1f181a3-7d8c-4a44-bf59-c97f2926094b \ No newline at end of file diff --git a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/index_uuid b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/index_uuid new file mode 100644 index 0000000..032dd2f --- /dev/null +++ b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/index_uuid @@ -0,0 +1 @@ +01491c8ab4c6405d96dfa743f881b435 \ No newline at end of file diff --git a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/synced_folders b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/synced_folders new file mode 100644 index 0000000..2b99a8a --- /dev/null +++ b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/synced_folders @@ -0,0 +1 @@ +{"virtualbox":{"/vagrant":{"guestpath":"/vagrant","hostpath":"/home/artyom/Загрузки/domashku/Artyom_Serchenya/0/_hw#0","disabled":false,"__vagrantfile":true}}} \ No newline at end of file diff --git a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/vagrant_cwd b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/vagrant_cwd new file mode 100644 index 0000000..3867ad2 --- /dev/null +++ b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/vagrant_cwd @@ -0,0 +1 @@ +/home/artyom/Загрузки/domashku/Artyom_Serchenya/0/_hw#0 \ No newline at end of file diff --git a/Artyom_Serchenya/test0/_hw#0/bootstrap.sh b/Artyom_Serchenya/test0/_hw#0/bootstrap.sh new file mode 100644 index 0000000..14e5700 --- /dev/null +++ b/Artyom_Serchenya/test0/_hw#0/bootstrap.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +sudo apt-get update +sudo apt-get install -y apache2 +if ! [ -L /var/www ]; then + rm -rf /var/www + ln -fs /vagrant /var/www +fi diff --git a/Artyom_Serchenya/test0/_hw#0/configssl.sh b/Artyom_Serchenya/test0/_hw#0/configssl.sh new file mode 100644 index 0000000..06f07ce --- /dev/null +++ b/Artyom_Serchenya/test0/_hw#0/configssl.sh @@ -0,0 +1,11 @@ +sudo a2ensite localhost.conf +sudo a2dissite 000-default.conf +sudo mkdir -p /etc/ssl/localcerts +sudo openssl req -new -x509 -days 365 -nodes -out /etc/ssl/localcerts/apache.pem -keyout /etc/ssl/localcerts/apache.key +US +Texas +Austin +NASA +Mars +Artyom +artyom021997@gmail.com diff --git a/Artyom_Serchenya/test0/_hw#0/files/index.html b/Artyom_Serchenya/test0/_hw#0/files/index.html new file mode 100644 index 0000000..f2a9d70 --- /dev/null +++ b/Artyom_Serchenya/test0/_hw#0/files/index.html @@ -0,0 +1,8 @@ + + + Welcome to localhost! + + +

Success! The localhost virtual host is working!

+ + diff --git a/Artyom_Serchenya/test0/_hw#0/files/localhost.conf b/Artyom_Serchenya/test0/_hw#0/files/localhost.conf new file mode 100644 index 0000000..c84272a --- /dev/null +++ b/Artyom_Serchenya/test0/_hw#0/files/localhost.conf @@ -0,0 +1,20 @@ + + ServerAdmin webmaster@localhost + ServerName localhost + ServerAlias localhost + DocumentRoot /var/www/localhost + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + + + + RewriteEngine On + RewriteCond %{HTTPS} off + RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} + + + + SSLEngine on + SSLCertificateFile /etc/ssl/localcerts/apache.pem + SSLCertificateKeyFile /etc/ssl/localcerts/apache.key + diff --git a/Artyom_Serchenya/test0/_hw#0/foo b/Artyom_Serchenya/test0/_hw#0/foo new file mode 100644 index 0000000..e69de29 diff --git a/Artyom_Serchenya/test0/_hw#0/localhost/index.html b/Artyom_Serchenya/test0/_hw#0/localhost/index.html new file mode 100755 index 0000000..f2a9d70 --- /dev/null +++ b/Artyom_Serchenya/test0/_hw#0/localhost/index.html @@ -0,0 +1,8 @@ + + + Welcome to localhost! + + +

Success! The localhost virtual host is working!

+ + diff --git a/Artyom_Serchenya/test0/_hw#0/ok b/Artyom_Serchenya/test0/_hw#0/ok new file mode 100644 index 0000000..9037ebc --- /dev/null +++ b/Artyom_Serchenya/test0/_hw#0/ok @@ -0,0 +1,16 @@ +● apache2.service - The Apache HTTP Server + Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) + Drop-In: /lib/systemd/system/apache2.service.d + └─apache2-systemd.conf + Active: active (running) since Sun 2019-12-08 14:12:54 +03; 2h 21min ago + Process: 1286 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS) + Main PID: 1344 (apache2) + Tasks: 55 (limit: 4915) + CGroup: /system.slice/apache2.service + ├─1344 /usr/sbin/apache2 -k start + ├─1345 /usr/sbin/apache2 -k start + └─1346 /usr/sbin/apache2 -k start + +сне 08 14:12:53 Zion systemd[1]: Starting The Apache HTTP Server... +сне 08 14:12:54 Zion apachectl[1286]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message +сне 08 14:12:54 Zion systemd[1]: Started The Apache HTTP Server. diff --git a/Artyom_Serchenya/test0/_hw#0/ubuntu-bionic-18.04-cloudimg-console.log b/Artyom_Serchenya/test0/_hw#0/ubuntu-bionic-18.04-cloudimg-console.log new file mode 100644 index 0000000..1c5f7b9 --- /dev/null +++ b/Artyom_Serchenya/test0/_hw#0/ubuntu-bionic-18.04-cloudimg-console.log @@ -0,0 +1,707 @@ +[ 0.000000] Initializing cgroup subsys cpuset + +[ 0.00000]]IIiiiillzznn ggoup subsys cpu +[ 0.000000] Initializing cgroup subsys cpuacct +[ 0.000000] Linux version 4.4.0-170-generic (buildd@lcy01-amd64-019) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) ) #199-Ubuntu SMP Thu Nov 14 01:45:04 UTC 2019 (Ubuntu 4.4.0-170.199-generic 4.4.200) +[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-170-generic root=UUID=2a0cb1b0-f06d-4761-af71-39443f690a2b ro console=tty1 console=ttyS0 +[ 0.000000] KERNEL supported cpus: +[ 0.000000] Intel GenuineIntel +[ 0.000000] AMD AuthenticAMD +[ 0.000000] Centaur CentaurHauls +[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 +[ 0.000000] x86/fpu: Supporting XSAVE feature 0x01: 'x87 floating point registers' +[ 0.000000] x86/fpu: Supporting XSAVE feature 0x02: 'SSE registers' +[ 0.000000] x86/fpu: Supporting XSAVE feature 0x04: 'AVX registers' +[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format. +[ 0.000000] e820: BIOS-provided physical RAM map: +[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable +[ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved +[ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] eeeevvdd + +[ 00000000 IO--e80:[[mem 0x000000000100000x00000000ffeffff] usable +[ ..00000]BBOOS-e820 me 0x000000011ff0000--xx00000000ffffffff CCIIddat +[ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved +[ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved +[ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved +[ 0.000000] NX (Execute Disable) protection: active +[ 0.000000] SMBIOS 2.5 present. +[ 0.000000] e820: last_pfn = 0x1fff0 max_arch_pfn = 0x400000000 +[ 0.000000] MTRR: Disabled +[ 0.000000] x86/PAT: MTRRs disabled, skipping PAT initialization too. +[ 0.000000] CPU MTRRs all blank - virtualized system. +[ 0.000000] x86/PAT: Configuration [0-7]: WB WT UC- UC WB WT UC- UC +[ 0.000000] found SMP MP-table at [mem 0x0009fff0-0x0009ffff] mapped at [ffff88000009fff0] +[ 0.000000] Scanning 1 areas for low memory corruption +[ 0.000000] RAMDISK: [mem 0x1d1db000-0x1f6dbfff] +[ 0.000000] ACPI: Early table checksum verification disabled +[ 0.000000] ACPI: RSDP 0x00000000000E0000 000024 (v02 VBOX ) +[ 0.000000] ACPI: XSDT 0x000000001FFF0030 00003C (v01 VBOX VBOXXSDT 00000001 ASL 00000061) +[ 0.000000] ACPI: FACP 0x000000001FFF00F000000F4 (v04 VBOX VBOXFACP 00000001 ASL 00000061) +[ 0.000000] ACPI: DSDT 0x000000001FFF0470 0021FF (v02 VBOX VBOXBIOS 00000002 INTL 20180105) +[ 0.000000] ACPI: FACS 0x000000001FFF0200 000040 +[ 0.000000] ACPI: FACS 0x000000001FFF0200 000040 +[ 0.000000] ACPI: APIC 0x000000001FFF0240 000054 (v02 VBOX VBOXAPIC 00000001 ASL 00000061) +[ 0.000000] ACPI: SSDT 0x000000001FFF02A0 0001CC (v01 VBOX VBOXCPUT 00000002 INTL 20180105) +[ 0.000000] No NUMA configurationffund +[ 0.000000] aain nod tt [mem xx0000000000000000-0x00000001ffeffff +[ 0.00000] NODE_DAAA0)aallocated [mem 0x1ffeb000-0x1ffffff +[ ..000000 oone range:: +[ ..000000 MM [[ee xx0000000000011000-0x0000000000ffffff] +[ 0.000000] DMA32 [mem 0x0000000001000000-0x000000001ffeffff] +[ 0.000000] Normal empty +[ 0.000000] Device empty +[ 0.000000] Movable zone start for each node +[ 0.000000] Early memory node ranges +[ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff] +[ 0.000000] node 0: [mem 0x0000000000100000-0x000000001ffeffff] +[ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000001ffeffff] +[ 0.000000] ACPI: PM-Timer IO Port: 0x4008 +[ 0.000000] IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23 +[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) +[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level) +[ 0.000000] Using ACPI (MADT) for SMP configuration information +[ 0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs +[ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff] +[ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff] +[ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff] +[ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff] +[ 0.000000] e820: [mem 0x20000000-0xfebfffff] available for PCI devices +[ 0.000000] Booting paravirtualized kernel on bare hardware +[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns +[ 0.000000] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:1 nr_node_ids:1 +[ 0.000000] PERCPU: Embedded 33 pages/cpu @ffff88001fc00000 s95448 r8192 d31528 u2097152 +[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 128888 +[ 0.000000] Policy zone: DMA32 +[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-170-generic root=UUID=2a0cb1b0-f06d-4761-af71-39443f690a2b ro console=tty1 console=ttyS0 +[ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes) +[ 0.000000] Memory: 458748K/523832K available (8626K kernel code, 1336K rwdata, 4036K rodata, 1488K init, 1288K bss, 65084K reserved, 0K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] Kernel/User page tables isolation: enabled +[ 0.000000] Hierarchical RCU implementation. +[ 0.000000] Build-time adjustment of leaf fanout to 64. +[ 0.000000] RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=1. +[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=1 +[ 0.000000] NR_IRQS:33024 nr_irqs:256 16 +[ 0.000000] Console: colour VGA+ 80x25 +[ 0.000000] console [tty1] enabled +[ 0.000000] console [ttyS0] enabled +[ 0.000000] tsc: Fast TSC calibration using PIT +[ 0.000000] tsc: Detected 2593.601 MHz processor +[ 0.000080] Calibrating delay loop (skipped), value calculated using timer frequency.. 5187.20 BogoMIPS (lpj=10374404) +[ 0.002069] pid_max: default: 32768 minimum: 301 +[ 0.002966] ACPI: Core revision 20150930 +[ 0.004464] ACPI: 2 ACPI AML tables successfully acquired and loaded +[ 0.005681] Security Framework initialized +[ 0.006567] Yama: becoming mindful. +[ 0.007262] AppArmor: AppArmor initialized +[ 0.008017] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) +[ 0.009497] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) +[ 0.010769] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes) +[ 0.011896] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes) +[ 0.013177] Initializing cgroup subsys io +[ 0.014048] Initializing cgroup subsys memory +[ 0.014897] Initializing cgroup subsys devices +[ 0.015727] Initializing cgroup subsys freezer +[ 0.016544] Initializing cgroup subsys net_cls +[ 0.017362] Initializing cgroup subsys perf_event +[ 0.018382] Initializing cgroup subsys net_prio +[ 0.019208] Initializing cgroup subsys hugetlb +[ 0.019955] Initializing cgroup subsys pids +[ 0.021892] mce: CPU supports 0 MCE banks +[ 0.022662] process: using mwait in idle threads +[ 0.023506] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8 +[ 0.024447] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4 +[ 0.025753] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization +[ 0.027329] Spectre V2 : Mitigation: Full generic retpoline +[ 0.028177] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch +[ 0.029784] Speculative Store Bypass: Vulnerable +[ 0.030675] MDS: Mitigation: Clear CPU buffers +[ 0.050854] Freeing SMP alternatives memory: 36K +[ 0.056039] ftrace: allocating 32302 entries in 127 pages +[ 0.097101] smpboot: APIC(0) Converting physical 0 to logical package 0 +[ 0.098602] smpboot: Max logical packages: 1 +[ 0.100313] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 +[ 0.249887] smpboot: CPU0: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (family: 0x6, model: 0x5e, stepping: 0x3) +[ 0.252037] Performance Events: unsupported p6 CPU model 94 no PMU driver, software events only. +[ 0.254326] x86: Booted up 1 node, 1 CPUs +[ 0.254759] smpboot: Total of 1 processors activated (5187.20 BogoMIPS) +[ 0.256032] NMI watchdog: disabled (cpu0): hardware events not enabled +[ 0.257137] NMI watchdog: Shutting down hard lockup detector on all cpus +[ 0.258632] devtmpfs: initialized +[ 0.260973] evm: security.selinux +[ 0.261716] evm: security.SMACK64 +[ 0.262385] evm: security.SMACK64EXEC +[ 0.263085] evm: security.SMACK64TRANSMUTE +[ 0.263845] evm: security.SMACK64MMAP +[ 0.264548] evm: security.ima +[ 0.265155] evm: security.capability +[ 0.266053] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns +[ 0.267729] futex hash table entries: 256 (order: 2, 16384 bytes) +[ 0.268834] pinctrl core: initialized pinctrl subsystem +[ 0.269913] RTC time: 13:33:45, date: 12/12/19 +[ 0.270825] NET: Registered protocol family 16 +[ 0.271755] cpuidle: using governor ladder +[ 0.272525] cpuidle: using governor menu +[ 0.273345] PCCT header not found. +[ 0.274050] ACPI: bus type PCI registered +[ 0.275794] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 +[ 0.276948] PCI: Using configuration type 1 for base access +[ 0.278911] ACPI: Added _OSI(Module Device) +[ 0.279985] ACPI: Added _OSI(Processor Device) +[ 0.280833] ACPI: Added _OSI(3.0 _SCP Extensions) +[ 0.281839] ACPI: Added _OSI(Processor Aggregator Device) +[ 0.283285] ACPI: Executed 1 blocks of module-level executable AML code +[ 0.286047] ACPI: Interpreter enabled +[ 0.286773] ACPI: (supports S0 S5) +[ 0.287440] ACPI: Using IOAPIC for interrupt routing +[ 0.288509] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug +[ 0.293412] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) +[ 0.294561] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI] +[ 0.295726] acpi PNP0A03:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI] +[ 0.298211] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge. +[ 0.300380] PCI host bridge to bus 0000:00 +[ 0.301202] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] +[ 0.302513] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] +[ 0.303506] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] +[ 0.377950] pci_bus 0000:00: root bus resource [mem 0x20000000-0xfdffffff window] +[ 0.379201] pci_bus 0000:00: root bus resource [bus 00-ff] +[ 0.388820] pci 0000:00:07.0: quirk: [io 0x4000-0x403f] claimed by PIIX4 ACPI +[ 0.449319] pci 0000:00:07.0: quirk: [io 0x4100-0x410f] claimed by PIIX4 SMB +[ 0.454507] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 9 10 *11) +[ 0.468574] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 9 *10 11) +[ 0.615996] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 *9 10 11) +[ 0.795355] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 9 10 *11) +[ 0.947822] ACPI: Enabled 2 GPEs in block 00 to 07 +[ 0.986131] vgaarb: setting as boot device: PCI:0000:00:02.0 +[ 0.986707] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none +[ 0.997739] vgaarb: loaded +[ 0.999957] vgaarb: bridge control possible 0000:00:02.0 +[ 1.001041] SCSI subsystem initialized +[ 1.001830] ACPI: bus type USB registered +[ 1.002527] usbcore: registered new interface driver usbfs +[ 1.003373] usbcore: registered new interface driver hub +[ 1.004199] usbcore: registered new device driver usb +[ 1.005095] PCI: Using ACPI for IRQ routing +[ 1.006055] NetLabel: Initializing +[ 1.054530] NetLabel: domain hash size = 128 +[ 1.086686] NetLabel: protocols = UNLABELED CIPSOv4 +[ 1.260020] NetLabel: unlabeled traffic allowed by default +[ 1.398697] amd_nb: Cannot enumerate AMD northbridges +[ 1.436155] clocksource: Switched to clocksource refined-jiffies +[ 1.560391] AppArmor: AppArmor Filesystem Enabled +[ 1.568360] pnp: PnP ACPI init +[ 1.569625] pnp: PnP ACPI: found 3 devices +[ 1.577679] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns +[ 1.872502] clocksource: Switched to clocksource acpi_pm +[ 1.898993] NET: Registered protocol family 2 +[ 2.037966] TCP established hash table entries: 4096 (order: 3, 32768 bytes) +[ 2.039118] TCP bind hash table entries: 4096 (order: 4, 65536 bytes) +[ 2.040141] TCP: Hash tables configured (established 4096 bind 4096) +[ 2.041278] UDP hash table entries: 256 (order: 1, 8192 bytes) +[ 2.042297] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) +[ 2.043397] NET: Registered protocol family 1 +[ 2.044226] pci 0000:00:00.0: Limiting direct PCI/PCI transfers +[ 2.045309] pci 0000:00:01.0: Activating ISA DMA hang workarounds +[ 2.046487] Unpacking initramfs... +[ 2.479798] Freeing initrd memory: 37892K +[ 2.837205] platform rtc_cmos: registered platform RTC device (no PNP device found) +[ 3.087840] Scanning for low memory corruption every 60 seconds +[ 3.089385] audit: initializing netlink subsys (disabled) +[ 3.090249] audit: type=2000 audit(1576157624.659:1): initialized +[ 3.091621] Initialise system trusted keyring +[ 3.092727] HugeTLB registered 2 MB page size, pre-allocated 0 pages +[ 3.095583] zbud: loaded +[ 3.096681] VFS: Disk quotas dquot_6.6.0 +[ 3.097763] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) +[ 3.099601] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 3.100786] fuse init (API version 7.23) +[ 3.101597] Key type big_key registered +[ 3.102313] Allocating IMA MOK and blacklist keyrings. +[ 3.103378] Key type asymmetric registered +[ 3.104199] Asymmetric key parser 'x509' registered +[ 3.105142] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) +[ 3.106498] io scheduler noop registered +[ 3.107239] io scheduler deadline registered (default) +[ 3.108296] io scheduler cfq registered +[ 3.109177] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 +[ 3.110158] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 +[ 3.117257] ACPI: AC Adapter [AC] (on-line) +[ 3.118016] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 +[ 3.119276] ACPI: Power Button [PWRF] +[ 3.120045] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1 +[ 3.876677] tsc: Refined TSC clocksource calibration: 2592.001 MHz +[ 4.156592] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x255cb7d21a7, max_idle_ns: 440795311043 ns +[ 4.158658] ACPI: Sleep Button [SLPF] +[ 4.160134] ACPI: Battery Slot [BAT0] (battery present) +[ 4.161275] GHES: HEST is not enabled! +[ 4.162253] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled +[ 4.185823] 00:02: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A +[ 4.187829] Linux agpgart interface v0.103 +[ 4.189399] loop: module loaded +[ 4.190386] libphy: Fixed MDIO Bus: probed +[ 4.191258] tun: Universal TUN/TAP device driver, 1.6 +[ 4.192555] tun: (C) 1999-2004 Max Krasnyansky +[ 4.193640] PPP generic driver version 2.4.2 +[ 4.194573] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 4.195897] ehci-pci: EHCI PCI platform driver +[ 4.196715] ehci-platform: EHCI generic platform driver +[ 4.197739] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 4.198786] ohci-pci: OHCI PCI platform driver +[ 4.199750] ohci-platform: OHCI generic platform driver +[ 4.200677] uhci_hcd: USB Universal Host Controller Interface driver +[ 4.201873] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12 +[ 4.203788] serio: i8042 KBD port at 0x60,0x64 irq 1 +[ 4.204693] serio: i8042 AUX port at 0x60,0x64 irq 12 +[ 4.205770] mousedev: PS/2 mouse device common for all mice +[ 4.207844] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0 +[ 4.208976] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram +[ 4.210068] i2c /dev entries driver +[ 4.210788] device-mapper: uevent: version 1.0.3 +[ 4.211844] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com +[ 4.213380] ledtrig-cpu: registered to indicate activity on CPUs +[ 4.214627] NET: Registered protocol family 10 +[ 4.215714] NET: Registered protocol family 17 +[ 4.216588] Key type dns_resolver registered +[ 4.217463] microcode: CPU0 sig=0x506e3, pf=0x2, revision=0x0 +[ 4.218477] microcode: Microcode Update Driver: v2.01 , Peter Oruba +[ 4.220271] registered taskstats version 1 +[ 4.221064] Loading compiled-in X.509 certificates +[ 4.222403] Loaded X.509 cert 'Build time autogenerated kernel key: f0e56e97f406068ace47a9bf54316e9855aaaa43' +[ 4.224422] zswap: loaded using pool lzo/zbud +[ 4.226481] Key type trusted registered +[ 4.229370] Key type encrypted registered +[ 4.230136] AppArmor: AppArmor sha1 policy hashing enabled +[ 4.231102] ima: No TPM chip found, activating TPM-bypass! +[ 4.231963] ima: Allocated hash algorithm: sha1 +[ 4.232804] evm: HMAC attrs: 0x1 +[ 4.233616] Magic number: 15:346:584 +[ 4.234389] rtc_cmos rtc_cmos: setting system clock to 2019-12-12 13:33:49 UTC (1576157629) +[ 4.236149] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found +[ 4.237181] EDD information not available. +[ 4.238857] Freeing unused kernel memory: 1488K +[ 4.240318] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2 +[ 4.246875] Write protecting the kernel read-only data: 14336k +[ 4.248317] Freeing unused kernel memory: 1604K +[ 4.249236] Freeing unused kernel memory: 60K +Loading, please wait... +starting version 229 +[ 4.259650] random: udevadm: uninitialized urandom read (16 bytes read, 3 bits of entropy available) +[ 4.261348] random: udevadm: uninitialized urandom read (16 bytes read, 3 bits of entropy available) +[ 4.264432] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available) +[ 4.266276] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available) +[ 4.268031] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available) +[ 4.273319] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available) +[ 4.275051] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available) +[ 4.278638] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available) +[ 4.280640] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available) +[ 4.282344] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available) +[ 4.328190] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no) +[ 4.329471] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:00/input/input5 +[ 4.336991] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI +[ 4.338183] e1000: Copyright (c) 1999-2006 Intel Corporation. +[ 4.342374] ahci 0000:00:0d.0: SSS flag set, parallel bus scan disabled +[ 4.343791] ahci 0000:00:0d.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode +[ 4.345329] ahci 0000:00:0d.0: flags: 64bit ncq stag only ccc +[ 4.364804] scsi host0: ahci +[ 4.365474] ata1: SATA max UDMA/133 abar m8192@0xf0804000 port 0xf0804100 irq 21 +[ 4.370304] AVX2 version of gcm_enc/dec engaged. +[ 4.371279] AES CTR mode by8 optimization enabled +[ 4.553257] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input6 +[ 4.686665] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) +[ 4.688031] ata1.00: ATA-6: VBOX HARDDISK, 1.0, max UDMA/133 +[ 4.689049] ata1.00: 83886080 sectors, multi 128: LBA48 NCQ (depth 31/32) +[ 4.690702] ata1.00: configured for UDMA/133 +[ 4.756204] scsi 0:0:0:0: Direct-Access ATA VBOX HARDDISK 1.0 PQ: 0 ANSI: 5 +[ 5.228161] e1000 0000:00:03.0 eth0: (PCI:33MHz:32-bit) 08:00:27:e9:63:1b +[ 5.232516] e1000 0000:00:03.0 eth0: Intel(R) PRO/1000 Network Connection +[ 5.234796] sd 0:0:0:0: [sda] 83886080 512-byte logical blocks: (42.9 GB/40.0 GiB) +[ 5.236140] sd 0:0:0:0: [sda] Write Protect is off +[ 5.236959] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA +[ 5.238629] sd 0:0:0:0: Attached scsi generic sg0 type 0 +[ 5.239871] sda: sda1 +[ 5.240687] sd 0:0:0:0: [sda] Attached SCSI disk +[ 5.536962] clocksource: Switched to clocksource tsc +Begin: Loading essential drivers ... done. +Begin: Running /scripts/init-premount ... done. +Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. +Begin: Running /scripts/local-premount ... done. +Warning: fsck not present, so skipping root file system +[ 7.127032] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) +done. +Begin: Running /scripts/local-bottom ... done. +Begin: Running /scripts/init-bottom ... done. +[ 7.441127] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN) +[ 7.484473] systemd[1]: Detected virtualization oracle. +[ 7.485490] systemd[1]: Detected architecture x86-64. + +Welcome to Ubuntu 16.04.6 LTS! + +[ 7.491928] systemd[1]: Set hostname to . +[ 7.610595] systemd[1]: Created slice System Slice. +[ OK ] Created slice System Slice. +[ 7.613496] systemd[1]: Created slice system-serial\x2dgetty.slice. +[ OK ] Created slice system-serial\x2dgetty.slice. +[ 7.616071] systemd[1]: Reached target Encrypted Volumes. +[ OK ] Reached target Encrypted Volumes. +[ 7.618372] systemd[1]: Created slice User and Session Slice. +[ OK ] Created slice User and Session Slice. +[ 7.620749] systemd[1]: Listening on Syslog Socket. +[ OK ] Listening on Syslog Socket. +[ 7.623140] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. +[ OK ] Listening on /dev/initctl Compatibility Named Pipe. +[ 7.626714] systemd[1]: Started Forward Password Requests to Wall Directory Watch. +[ OK ] Started Forward Password Requests to Wall Directory Watch. +[ 7.630450] systemd[1]: Listening on Journal Socket. +[ OK ] Listening on Journal Socket. +[ 7.633763] systemd[1]: Starting Uncomplicated firewall... + Starting Uncomplicated firewall... +[ 7.636320] systemd[1]: Mounting Debug File System... + Mounting Debug File System... +[ 7.645525] systemd[1]: Mounting Huge Pages File System... + Mounting Huge Pages File System... +[ 7.648322] systemd[1]: Starting Create list of required static device nodes for the current kernel... + Starting Create list of required st... nodes for the current kernel... +[ 7.665876] systemd[1]: Listening on udev Kernel Socket. +[ OK [ 7.875930] ip_tables: (C) 2000-2006 Netfilter Core Team +] Listening on udev Kernel Socket. +[ 7.881619] systemd[1]: Starting Set console keymap... +[ 8.176183] nf_conntrack version 0.5.0 (3904 buckets, 15616 max) + Starting Set console keymap... +[ 8.252714] systemd[1]: Reached target Swap. +[ 8.434737] ip6_tables: (C) 2000-2006 Netfilter Core Team +[ OK ] Reached targe[ 8.499415] random: nonblocking pool is initialized +t Swap. +[ 8.808387] systemd[1]: Reached target User and Group Name Lookups. +[ OK ] Reached target User and Group Name Lookups. +[ 8.995867] systemd[1]: Listening on Journal Audit Socket. +[ OK ] Listening on Journal Audit Socket. +[ 9.002089] systemd[1]: Starting Remount Root and Kernel File Systems... + Starting Remount[ 9.047717] EXT4-fs (sda1): re-mounted. Opts: (null) + Root and Kernel File Systems... +[ 9.084180] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. +[ OK ] Set up automount Arbitrary Executab...ats File System Automount Point. +[ 9.095751] systemd[1]: Listening on udev Control Socket. +[ OK ] Listening on udev Control Socket. +[ 9.345255] systemd[1]: Starting Load Kernel Modules... + Starting Load Kernel Modules... +[ 9.476168] systemd[1]: Mounting POSIX Message Queue File System... + Mounting POSIX Message Queue File System... +[ 9.485584] systemd[1]: Started Trigger resolvconf update for networkd DNS. +[ OK ] Started Trigger resolvconf update for networkd DNS. +[ 9.643724] systemd[1]: Reached target System Time Synchronized. +[ OK ] Reached target System Time Synchronized. +[ 9.691793] systemd[1]: Listening on Journal Socket (/dev/log). +[ OK ] Listening on Journal Socket (/dev/log). +[ 9.695293] systemd[1]: Starting Journal Service... + Starting Journal Service... +[ 9.697731] systemd[1]: Reached target Slices. +[ OK ] Reached target Slices. +[ 9.701743] systemd[1]: Mounting RPC Pipe File System... + Mounting RPC Pipe File System... +[ 9.711583] systemd[1]: Mounted POSIX Message Queue File System. +[ OK ] Mounted POSIX Message Queue File System. +[ 9.725493] systemd[1]: Mounted Debug File System. +[ OK ] Mounted Debug File System.[ 9.739289] RPC: Registered named UNIX socket transport module. + +[ 9.753781] RPC: Registered udp transport module. +[ 9.754634] RPC: Registered tcp transport module. +[ 9.755491] RPC: Registered tcp NFSv4.1 backchannel transport module. +[ 9.757099] systemd[1]: Mounted Huge Pages File System. +[ OK ] Mounted Huge Pages File System. +[ 9.759273] systemd[1]: Started Journal Service. +[ OK ] Started Journal Service. +[ OK ] Started Uncomplicated firewall. +[ OK ] Started Create list of required sta...ce nodes for the current kernel. +[ OK ] Started Set console keymap. +[ OK ] Started Remount Root and Kernel File Systems. +[ OK ] Started Load Kernel Modules. + Starting Apply Kernel Variables... + Mounting FUSE Control File System... + Starting udev Coldplug all Devices... + Starting Load/Save Random Seed... + Starting Create Static Device Nodes in /dev... + Starting Flush Journal to Persistent Storage... +[ OK ] Mounted RPC Pipe File System. +[ OK ] Mounted FUSE Control File System. +[ OK ] Started Apply Kernel Variables. +[ OK ] Started Load/Save Random Seed. +[ OK ] Started Create Static Device Nodes in /dev. + Starting udev Kernel Device Manager... +[ OK ] Reached target Local File Systems (Pre). +[ OK ] Reached target Local File Systems. + Starting Initial cloud-init job (pre-networking)... + Starting Preprocess NFS configuration... + Starting LSB: AppArmor initialization... + Starting Tell Plymouth To Write Out Runtime Data... + Starting Clean up any mess left by 0dns-up... + Starting Set console font and keymap... +[ OK ] Started udev Coldplug all Devices. +[ OK ] Started Preprocess NFS configuration. +[ OK ] Reached target NFS client services. +[ OK ] Reached target Remote File Systems (Pre). +[ OK ] Reached target Remote File Systems. +[ OK ] Started Flush Journal to Persistent Storage. +[ OK ] Started Tell Plymouth To Write Out Runtime Data. +[ OK ] Started Clean up any mess left by 0dns-up. + Starting Nameserver information manager... + Starting Create Volatile Files and Directories... +[ OK ] Started Nameserver information manager. +[ OK ] Started Create Volatile Files and Directories. + Starting Update UTMP about System Boot/Shutdown... +[ OK ] Started Update UTMP about System Boot/Shutdown. +[ OK ] Started udev Kernel Device Manager. +[ OK ] Started Dispatch Password Requests to Console Directory Watch. +[ OK ] Started LSB: AppArmor initialization. +[ OK ] Found device /dev/ttyS0. +[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. +[ 10.688392] intel_rapl: no valid rapl domains found in package 0 +[ OK ] Found device 82540EM Gigabit Ethern...r (PRO/1000 MT Desktop Adapter). +[ OK ] Started Set console font and keymap. +[ OK ] Created slice system-getty.slice. +[ 9.657279] cloud-init[382]: Cloud-init v. 19.2-36-g059d049c-0ubuntu2~16.04.1 running 'init-local' at Thu, 12 Dec 2019 13:33:56 +0000. Up 9.49 seconds. +[ OK ] Started Initial cloud-init job (pre-networking). +[ OK ] Reached target Network (Pre). + Starting Raise network interfaces... +[ OK ] Started ifup for eth0. +[ OK ] Started Raise network interfaces. +[ OK ] Reached target Network. + Starting Initial cloud-init job (metadata service crawler)... +[ 10.474219] cloud-init[779]: Cloud-init v. 19.2-36-g059d049c-0ubuntu2~16.04.1 running 'init' at Thu, 12 Dec 2019 13:33:56 +0000. Up 10.29 seconds. +[ 10.476736] cloud-init[779]: ci-info: ++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++ +[ 10.484247] cloud-init[779]: ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+ +[ 10.489789] cloud-init[779]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | +[ 10.491978] cloud-init[779]: ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+ +[ 10.496251] cloud-init[779]: ci-info: | eth0 | True | 10.0.2.15 | 255.255.255.0 | global | 08:00:27:e9:63:1b | +[ 10.500210] cloud-init[779]: ci-info: | eth0 | True | fe80::a00:27ff:fee9:631b/64 | . | link | 08:00:27:e9:63:1b | +[ 10.509185] cloud-init[779]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . | +[ 10.511633] cloud-init[779]: ci-info: | lo | True | ::1/128 | . | host | . | +[ 10.516203] cloud-init[779]: ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+ +[ 10.520187] cloud-init[779]: ci-info: +++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++ +[ 10.524212] cloud-init[779]: ci-info: +-------+-------------+----------+---------------+-----------+-------+ +[ 10.528178] cloud-init[779]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags | +[ 10.532216] cloud-init[779]: ci-info: +-------+-------------+----------+---------------+-----------+-------+ +[ 10.536998] cloud-init[779]: ci-info: | 0 | 0.0.0.0 | 10.0.2.2 | 0.0.0.0 | eth0 | UG | +[ OK ] Started Initial cloud-init job (metadata service crawler). +[ OK ] Reached target Cloud-config availability.[ 10.544435] cloud-init[779]: ci-info: | 1 | 10.0.2.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U | +[ 10.546126] cloud-init[779]: ci-info: +-------+-------------+----------+---------------+-----------+-------+ +[ 10.547891] +[ OK ] Reached target Network is Online. +[ OK ] Reached target System Initialization. +cloud-init[779]: ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++ +[ 10.552278] cloud-init[779]: ci-info: +-------+-------------+---------+-----------+-------+[ OK ] Started Daily apt download activities. +[ OK ] Listening on D-Bus System Message Bus Socket. +[ OK ] Started Daily apt upgrade and clean activities. +[ OK ] Started Run certbot twice daily. +[ OK ] Listening on RPCbind Server Activation Socket. + +[ OK ] Started ACPI Events Check. +[ 10.561944] cloud-init[779]: ci-info: | Route | Destination | Gateway | Interface | Flags | +[ OK ] Reached target Paths. +[ 10.565115] cloud-init[779]: ci-info: +-------+-------------+---------+-----------+-------+ + Starting LXD - unix socket. +[ OK ] Started Daily Cleanup of Temporary Directories. +[ OK ] Listening on UUID daemon activation socket. +[ OK ] Started Message of the Day. +[ OK ] Reached target Timers. +[[ 10.566779] cloud-init[779]: ci-info: | 0 | fe80::/64 | :: | eth0 | U | +[ 10.573558] cloud-init[779]: ci-info: | 3 | ff00::/8 | :: | eth0 | U | +[ 10.574894] cloud-init[779]: ci-info: +-------+-------------+---------+-----------+-------+ OK ] Listening on ACPID Listen Socket. +[ OK ] Listening on LXD - unix socket. +[ OK ] Reached target Sockets. +[ + OK ] Reached target Basic System. +[ OK ] Started memcached daemon. + Starting LSB: Apache2 web server... + Starting Permit User Sessions... + Starting LSB: daemon to balance interrupts for SMP systems... +[ OK ] Started Regular background program processing daemon. + Starting Virtualbox guest utils... + Starting Certbot... + Starting Message of the Day... + Starting Thermal Daemon Service... + Starting LXD - container startup/shutdown... + Starting Login Service... +[ OK ] Started Deferred execution scheduler. + Starting LSB: Start a chef-client.... + Starting OpenBSD Secure Shell server... +[ OK ] Started FUSE filesystem for LXC. +[ OK ] Started ACPI event daemon. + Starting Apply the settings specified in cloud-config... +[ OK ] Started D-Bus System Message Bus. + Starting Accounts Service... + Starting Puppet agent... + Starting LSB: Landscape client daemons... + Starting Daily apt upgrade and clean activities... +[ OK ] Started Cgroup management daemon. + Starting System Logging Service... + Starting /etc/rc.local Compatibility... + Starting LSB: automatic crash report generation... + Starting Restore /etc/resolv.conf i...re the ppp link was shut down... +[ OK ] Started System Logging Service. +[ OK ] Started Permit User Sessions. +[ OK ] Started Thermal Daemon Service. +[ OK ] Started LXD - container startup/shutdown. +[ OK ] Started /etc/rc.local Compatibility. +[ OK ] Started Restore /etc/resolv.conf if...fore the ppp link was shut down. +[ OK ] Started OpenBSD Secure Shell server. +[ OK ] Started Login Service. +[ OK ] Started LSB: Landscape client daemons. +[ OK ] Started Unattended Upgrades Shutdown. + Starting Authenticate and Authorize Users to Run Privileged Tasks... + Starting Hold until boot process finishes up... + Starting Terminate Plymouth Boot Screen... +[ OK ] Started LSB: automatic crash report generation. +[ OK ] Started Hold until boot process finishes up. + Starting Set console scheme... +[ OK ] Started Getty on tty1. +[ OK ] Started Serial Getty on ttyS0. +[ OK ] Reached target Login Prompts. +[ OK ] Started LSB: daemon to balance interrupts for SMP systems. +[ OK ] Started Terminate Plymouth Boot Screen. +[ OK ] Started Set console scheme. +[ OK ] Started Authenticate and Authorize Users to Run Privileged Tasks. +[ OK ] Started Accounts Service. +[ OK ] Started Virtualbox guest utils. +[ OK ] Started LSB: Apache2 web server. + Starting infinite-loop.service... +[ OK ] Started infinite-loop.service. + Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"... + Starting LSB: Record successful boot for GRUB... +[ OK ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand". +[ 12.961998] cloud-init[888]: Cloud-init v. 19.2-36-g059d049c-0ubuntu2~16.04.1 running 'modules:config' at Thu, 12 Dec 2019 13:33:59 +0000. Up 12.48 seconds. +[ OK ] Started LSB: Record successful boot for GRUB. +[ OK ] Started Apply the settings specified in cloud-config. +[ OK ] Started Daily apt upgrade and clean activities. +[ OK ] Started Message of the Day. +[ OK ] Started Certbot. +[ OK ] Started LSB: Start a chef-client.. +[ OK ] Created slice User Slice of vagrant. + Starting User Manager for UID 1000... +[ OK ] Started Session 2 of user vagrant. +[ OK ] Started User Manager for UID 1000. + +Ubuntu 16.04.6 LTS vagrant-ubuntu-trusty-64 ttyS0 + +vagrant-ubuntu-trusty-64 login: [ 17.522065] cloud-init[1939]: Cloud-init v. 19.2-36-g059d049c-0ubuntu2~16.04.1 running 'modules:final' at Thu, 12 Dec 2019 13:34:05 +0000. Up 17.24 seconds. +[ 17.522485] cloud-init[1939]: Cloud-init v. 19.2-36-g059d049c-0ubuntu2~16.04.1 finished at Thu, 12 Dec 2019 13:34:05 +0000. Datasource DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]. Up 17.50 seconds +[ OK ] Stopped target Cloud-init target. +[ OK ] Stopped Execute cloud user/final scripts. + Stopping Session 6 of user vagrant. + Stopping ACPI event daemon... +[ OK ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch. + Stopping Authenticate and Authorize Users to Run Privileged Tasks... +[ OK ] Stopped Apply the settings specified in cloud-config. +[ OK ] Stopped target Cloud-config availability. +[ OK ] Stopped target Timers. +[ OK ] Stopped Message of the Day. +[ OK ] Stopped Daily apt upgrade and clean activities. +[ OK ] Stopped Daily apt download activities. +[ OK ] Stopped Run certbot twice daily. +[ OK ] Stopped target System Time Synchronized. + Unmounting RPC Pipe File System... +[ OK ] Stopped Daily Cleanup of Temporary Directories. + Stopping User Manager for UID 1000... +[ OK ] Stopped target Graphical Interface. +[ OK ] Stopped target Multi-User System. + Stopping Unattended Upgrades Shutdown... + Stopping System Logging Service... + Stopping FUSE filesystem for LXC... + Stopping OpenBSD Secure Shell server... + Stopping Regular background program processing daemon... + Stopping memcached daemon... + Stopping LXD - container startup/shutdown... + Stopping Cgroup management daemon... + Stopping Deferred execution scheduler... + Stopping Virtualbox guest utils... + Stopping D-Bus System Message Bus... + Stopping Puppet agent... +[ OK ] Stopped target Login Prompts. + Stopping Getty on tty1... + Stopping LSB: Record successful boot for GRUB... + Stopping LSB: Set the CPU Frequency Scaling governor to "ondemand"... + [ OK ] Stopped memcached daemon. +[ OK ] Stopped Regular background program processing daemon. +[ OK ] Stopped Deferred execution scheduler. +[ OK ] Stopped ACPI event daemon. +[ OK ] Stopped Accounts Service. +[ OK ] Stopped Cgroup management daemon. +[ OK ] Stopped System Logging Service. +[ OK ] Stopped OpenBSD Secure Shell server. +[ OK ] Stopped Unattended Upgrades Shutdown. +[ OK ] Stopped Authenticate and Authorize Users to Run Privileged Tasks. +[ OK ] Stopped Getty on tty1. +[ OK ] Stopped Puppet agent. +[ OK ] Stopped Serial Getty on ttyS0. +[ OK ] Stopped User Manager for UID 1000. +[ OK ] Stopped Session 6 of user vagrant. +[ OK ] Stopped D-Bus System Message Bus. +[ OK ] Stopped FUSE filesystem for LXC. +[FAILED] Failed unmounting RPC Pipe File System. +[ OK ] Stopped LXD - container startup/shutdown. +[ OK ] Removed slice User Slice of vagrant. +[ OK ] Removed slice system-serial\x2dgetty.slice. +[ OK ] Stopped /etc/rc.local Compatibility. +[ OK ] Removed slice system-getty.slice. + Stopping Permit User Sessions... + Stopping Login Service... +[ OK ] Stopped Virtualbox guest utils. +[ OK ] Stopped LSB: Record successful boot for GRUB. +[ OK ] Stopped Login Service. +[ OK ] Stopped LSB: Set the CPU Frequency Scaling governor to "ondemand". +[ OK ] Stopped LSB: Start a chef-client.. +[ OK ] Stopped LSB: daemon to balance interrupts for SMP systems. +[ OK ] Stopped Permit User Sessions. +[ OK ] Stopped target User and Group Name Lookups. + Stopping infinite-loop.service... +[ OK ] Stopped infinite-loop.service. + Stopping LSB: Landscape client daemons... + Stopping LSB: automatic crash report generation... + Stopping LSB: Apache2 web server... +[ OK ] Stopped LSB: Landscape client daemons. +[ OK ] Stopped LSB: automatic crash report generation. +[ OK ] Stopped LSB: Apache2 web server. +[ OK ] Stopped target Basic System. +[ OK ] Stopped target Slices. +[ OK ] Removed slice User and Session Slice. +[ OK ] Stopped target Sockets. +[ OK ] Closed ACPID Listen Socket. +[ OK ] Closed Syslog Socket. +[ OK ] Closed UUID daemon activation socket. +[ OK ] Closed D-Bus System Message Bus Socket. +[ OK ] Closed RPCbind Server Activation Socket. +[ OK ] Closed LXD - unix socket. +[ OK ] Stopped target Paths. +[ OK ] Stopped ACPI Events Check. +[ OK ] Stopped Forward Password Requests to Wall Directory Watch. +[ OK ] Stopped Dispatch Password Requests to Console Directory Watch. +[ OK ] Stopped target System Initialization. + Stopping Load/Save Random Seed... +[ OK ] Stopped target Encrypted Volumes. +[ OK ] Stopped target Swap. +[ OK ] Stopped Create Volatile Files and Directories. +[ OK ] Stopped target Remote File Systems. +[ OK ] Stopped target Remote File Systems (Pre). +[ OK ] Stopped target NFS client services. +[ OK ] Stopped target Network is Online. +[ OK ] Stopped target Network. +[ OK ] Stopped Initial cloud-init job (metadata service crawler). + Stopping Raise network interfaces... +[ OK ] Stopped Load/Save Random Seed. +[ OK ] Stopped Raise network interfaces. +[ OK ] Stopped target Local File Systems. + Unmounting /run/user/1000... + Unmounting /run/cgmanager/fs... + Unmounting /vagrant... +[ OK ] Stopped Apply Kernel Variables. +[ OK ] Stopped Load Kernel Modules. +[ OK ] Stopped target Network (Pre). +[ OK ] Stopped Initial cloud-init job (pre-networking). +[ OK ] Unmounted /run/user/1000. +[ OK ] Unmounted /run/cgmanager/fs. +[FAILED] Failed unmounting /vagrant. +[ OK ] Reached target Unmount All Filesystems. +[ OK ] Stopped target Local File Systems (Pre). +[ OK ] Stopped Remount Root and Kernel File Systems. +[ OK ] Stopped Create Static Device Nodes in /dev. +[ OK ] Reached target Shutdown. +[ 185.197226] reboot: Power down diff --git a/_hw#0/Vagrantfile b/Artyom_Serchenya/test0/_hw#0/vagrantfile similarity index 57% rename from _hw#0/Vagrantfile rename to Artyom_Serchenya/test0/_hw#0/vagrantfile index 4111ec4..93d2710 100644 --- a/_hw#0/Vagrantfile +++ b/Artyom_Serchenya/test0/_hw#0/vagrantfile @@ -1,7 +1,7 @@ VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| - config.vm.box = "neve/devops-test" + config.vm.box = "devops-test" config.vm.box_url = [ "file://./devops-test.box" ] @@ -9,10 +9,5 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.network :forwarded_port, guest: 80, host: 8080 # Apache HTTP config.vm.network :forwarded_port, guest: 443, host: 8443 # Apache HTTPS config.vm.network :forwarded_port, guest: 5000, host: 5000 # Flask debug server - - config.vm.provision "file", source: "files/site.conf", destination: "/tmp/site.conf" - config.vm.provision "shell", path: "files/provision.sh" - - # config.vm.synced_folder "#{ENV['HOME']}/devops-test-share", "/var/www/devops-test-share" - + end diff --git a/_hw#0/files/provision.sh b/_hw#0/files/provision.sh deleted file mode 100755 index 3b9f481..0000000 --- a/_hw#0/files/provision.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -cp /tmp/site.conf /etc/apache2/sites-available/site.conf > /dev/null -a2ensite site.conf > /dev/null - -echo "Hi, I don't do anything right now. I'm just an example of how to do basic provisioning with shell scripts." -service apache2 stop 1>&2 > /dev/null # I lied \ No newline at end of file diff --git a/_hw#0/files/site.conf b/_hw#0/files/site.conf deleted file mode 100644 index 54d4da9..0000000 --- a/_hw#0/files/site.conf +++ /dev/null @@ -1,3 +0,0 @@ - - - Date: Thu, 12 Dec 2019 20:19:36 +0300 Subject: [PATCH 02/12] Junk is deleted --- Artyom_Serchenya/test0/README.md | 51 -- .../default/virtualbox/action_provision | 1 - .../default/virtualbox/action_set_name | 1 - .../machines/default/virtualbox/creator_uid | 1 - .../.vagrant/machines/default/virtualbox/id | 1 - .../machines/default/virtualbox/index_uuid | 1 - .../default/virtualbox/synced_folders | 1 - .../machines/default/virtualbox/vagrant_cwd | 1 - Artyom_Serchenya/test0/_hw#0/bootstrap.sh | 8 - Artyom_Serchenya/test0/_hw#0/configssl.sh | 11 - Artyom_Serchenya/test0/_hw#0/files/index.html | 8 - .../test0/_hw#0/files/localhost.conf | 20 - Artyom_Serchenya/test0/_hw#0/foo | 0 .../test0/_hw#0/localhost/index.html | 8 - Artyom_Serchenya/test0/_hw#0/ok | 16 - .../ubuntu-bionic-18.04-cloudimg-console.log | 707 ------------------ Artyom_Serchenya/test0/_hw#0/vagrantfile | 13 - 17 files changed, 849 deletions(-) delete mode 100644 Artyom_Serchenya/test0/README.md delete mode 100644 Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/action_provision delete mode 100644 Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/action_set_name delete mode 100644 Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/creator_uid delete mode 100644 Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/id delete mode 100644 Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/index_uuid delete mode 100644 Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/synced_folders delete mode 100644 Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/vagrant_cwd delete mode 100644 Artyom_Serchenya/test0/_hw#0/bootstrap.sh delete mode 100644 Artyom_Serchenya/test0/_hw#0/configssl.sh delete mode 100644 Artyom_Serchenya/test0/_hw#0/files/index.html delete mode 100644 Artyom_Serchenya/test0/_hw#0/files/localhost.conf delete mode 100644 Artyom_Serchenya/test0/_hw#0/foo delete mode 100755 Artyom_Serchenya/test0/_hw#0/localhost/index.html delete mode 100644 Artyom_Serchenya/test0/_hw#0/ok delete mode 100644 Artyom_Serchenya/test0/_hw#0/ubuntu-bionic-18.04-cloudimg-console.log delete mode 100644 Artyom_Serchenya/test0/_hw#0/vagrantfile diff --git a/Artyom_Serchenya/test0/README.md b/Artyom_Serchenya/test0/README.md deleted file mode 100644 index b9de75b..0000000 --- a/Artyom_Serchenya/test0/README.md +++ /dev/null @@ -1,51 +0,0 @@ -# DevOps Survival Camp: Winter 2020 - - - -# How to submit your homework? - -* For passing any home task you need to [fork this repo](http://lmgtfy.com/?q=fork). -* In your repo you need to create a folder named as your full name (Ivan_Ivanov) -* Each home task should be done in a separate [branch](http://lmgtfy.com/?q=github+branch) and in a separate folder under your named folder. For example, your first homework should be in (Ivan_Ivanov/0/). -* If you think that the task is done - create [pull request](http://lmgtfy.com/?q=pull+request) to master branch. -* If everything is great - mentor will merge your PR. - -# HomeWork #0 - -## Setup - -1. Download and install [virtualbox](https://www.virtualbox.org/). -2. Download and install [vagrant](http://vagrantup.com). -3. Download [virtualbox base image](https://zadeploy.s3.eu-central-1.amazonaws.com/hm0/devops-test.box). - -## Summary - -This test simulates real world problems a Dev/Ops Engineer may face and have to solve. You will have to learn how to use (potentially) new tools, diagnose system health issues, write some utilities, and automate the whole process to end up with a reproducible image. - -At the end of this you should be able to send a new Vagrantfile and associated scripts/configs that will allow the mentor to recreate your completed and fixed test environment from the same base image provided in the test Vagrantfile. - -## Instructions - -0. Get home task related files from folder `_hw#0`. -1. Learn the basics of how to use Vagrant, launch the vagrant VM, and login to it via SSH (Note: this will take some time to download the VM image the first time) -2. Analyze the health of the system. Note anything you find and fix if there are issues. -3. Ensure apache is running. If is is not, diagnose and fix. - - You should be able to see a test page going here in your browser: http://localhost:8080/app -4. Reconfigure apache to run using HTTPS rather than HTTP. Any HTTP links should redirect to HTTPS. - - You should be able to see the exact same test page as above by going here in your browser: https://localhost:8443/app - - You will get an exception about an insecure connection due to the self-signed cert. Feel free to ignore this. - - The redirection should work from the client's perspective. Do not worry about proper redirection from inside the VM. (Port 443 vs 8443) -5. Install memcached -6. Add a cronjob that runs /home/vagrant/exercise-memcached.sh once per minute -7. Write your own vagrant file and provisioning scripts/configs that recreate everything you just did. -8. Prepare PR with your new vagrant file with any associated provisioning scripts/configs. - -The mentor should be able to simply use your files, run `vagrant up`, and have your completed and fixed environment running for review. - -### Optional task: Write a python web application that outputs memcached stats - -> - Please try not use any 3rd party libraries outside of the python standard library. -> - It should additionally calculate the "get" hit rate and show it as a percentage ("X% of gets missed the cache") -> - It should additionally show the percentage of memcached memory used (From the API. Not the percentage of the OS memory.) -> - Don't worry about the look and style of the page. Just make it functional. -> - There is a basic python Flask app in /var/www/app you can use as a starting template diff --git a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/action_provision b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/action_provision deleted file mode 100644 index 3c7ea34..0000000 --- a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/action_provision +++ /dev/null @@ -1 +0,0 @@ -1.5:e1f181a3-7d8c-4a44-bf59-c97f2926094b \ No newline at end of file diff --git a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/action_set_name b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/action_set_name deleted file mode 100644 index 8271478..0000000 --- a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/action_set_name +++ /dev/null @@ -1 +0,0 @@ -1576094202 \ No newline at end of file diff --git a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/creator_uid b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/creator_uid deleted file mode 100644 index e37d32a..0000000 --- a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/creator_uid +++ /dev/null @@ -1 +0,0 @@ -1000 \ No newline at end of file diff --git a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/id b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/id deleted file mode 100644 index 0cf3e8a..0000000 --- a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/id +++ /dev/null @@ -1 +0,0 @@ -e1f181a3-7d8c-4a44-bf59-c97f2926094b \ No newline at end of file diff --git a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/index_uuid b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/index_uuid deleted file mode 100644 index 032dd2f..0000000 --- a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/index_uuid +++ /dev/null @@ -1 +0,0 @@ -01491c8ab4c6405d96dfa743f881b435 \ No newline at end of file diff --git a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/synced_folders b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/synced_folders deleted file mode 100644 index 2b99a8a..0000000 --- a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/synced_folders +++ /dev/null @@ -1 +0,0 @@ -{"virtualbox":{"/vagrant":{"guestpath":"/vagrant","hostpath":"/home/artyom/Загрузки/domashku/Artyom_Serchenya/0/_hw#0","disabled":false,"__vagrantfile":true}}} \ No newline at end of file diff --git a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/vagrant_cwd b/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/vagrant_cwd deleted file mode 100644 index 3867ad2..0000000 --- a/Artyom_Serchenya/test0/_hw#0/.vagrant/machines/default/virtualbox/vagrant_cwd +++ /dev/null @@ -1 +0,0 @@ -/home/artyom/Загрузки/domashku/Artyom_Serchenya/0/_hw#0 \ No newline at end of file diff --git a/Artyom_Serchenya/test0/_hw#0/bootstrap.sh b/Artyom_Serchenya/test0/_hw#0/bootstrap.sh deleted file mode 100644 index 14e5700..0000000 --- a/Artyom_Serchenya/test0/_hw#0/bootstrap.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash - -sudo apt-get update -sudo apt-get install -y apache2 -if ! [ -L /var/www ]; then - rm -rf /var/www - ln -fs /vagrant /var/www -fi diff --git a/Artyom_Serchenya/test0/_hw#0/configssl.sh b/Artyom_Serchenya/test0/_hw#0/configssl.sh deleted file mode 100644 index 06f07ce..0000000 --- a/Artyom_Serchenya/test0/_hw#0/configssl.sh +++ /dev/null @@ -1,11 +0,0 @@ -sudo a2ensite localhost.conf -sudo a2dissite 000-default.conf -sudo mkdir -p /etc/ssl/localcerts -sudo openssl req -new -x509 -days 365 -nodes -out /etc/ssl/localcerts/apache.pem -keyout /etc/ssl/localcerts/apache.key -US -Texas -Austin -NASA -Mars -Artyom -artyom021997@gmail.com diff --git a/Artyom_Serchenya/test0/_hw#0/files/index.html b/Artyom_Serchenya/test0/_hw#0/files/index.html deleted file mode 100644 index f2a9d70..0000000 --- a/Artyom_Serchenya/test0/_hw#0/files/index.html +++ /dev/null @@ -1,8 +0,0 @@ - - - Welcome to localhost! - - -

Success! The localhost virtual host is working!

- - diff --git a/Artyom_Serchenya/test0/_hw#0/files/localhost.conf b/Artyom_Serchenya/test0/_hw#0/files/localhost.conf deleted file mode 100644 index c84272a..0000000 --- a/Artyom_Serchenya/test0/_hw#0/files/localhost.conf +++ /dev/null @@ -1,20 +0,0 @@ - - ServerAdmin webmaster@localhost - ServerName localhost - ServerAlias localhost - DocumentRoot /var/www/localhost - ErrorLog ${APACHE_LOG_DIR}/error.log - CustomLog ${APACHE_LOG_DIR}/access.log combined - - - - RewriteEngine On - RewriteCond %{HTTPS} off - RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} - - - - SSLEngine on - SSLCertificateFile /etc/ssl/localcerts/apache.pem - SSLCertificateKeyFile /etc/ssl/localcerts/apache.key - diff --git a/Artyom_Serchenya/test0/_hw#0/foo b/Artyom_Serchenya/test0/_hw#0/foo deleted file mode 100644 index e69de29..0000000 diff --git a/Artyom_Serchenya/test0/_hw#0/localhost/index.html b/Artyom_Serchenya/test0/_hw#0/localhost/index.html deleted file mode 100755 index f2a9d70..0000000 --- a/Artyom_Serchenya/test0/_hw#0/localhost/index.html +++ /dev/null @@ -1,8 +0,0 @@ - - - Welcome to localhost! - - -

Success! The localhost virtual host is working!

- - diff --git a/Artyom_Serchenya/test0/_hw#0/ok b/Artyom_Serchenya/test0/_hw#0/ok deleted file mode 100644 index 9037ebc..0000000 --- a/Artyom_Serchenya/test0/_hw#0/ok +++ /dev/null @@ -1,16 +0,0 @@ -● apache2.service - The Apache HTTP Server - Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) - Drop-In: /lib/systemd/system/apache2.service.d - └─apache2-systemd.conf - Active: active (running) since Sun 2019-12-08 14:12:54 +03; 2h 21min ago - Process: 1286 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS) - Main PID: 1344 (apache2) - Tasks: 55 (limit: 4915) - CGroup: /system.slice/apache2.service - ├─1344 /usr/sbin/apache2 -k start - ├─1345 /usr/sbin/apache2 -k start - └─1346 /usr/sbin/apache2 -k start - -сне 08 14:12:53 Zion systemd[1]: Starting The Apache HTTP Server... -сне 08 14:12:54 Zion apachectl[1286]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message -сне 08 14:12:54 Zion systemd[1]: Started The Apache HTTP Server. diff --git a/Artyom_Serchenya/test0/_hw#0/ubuntu-bionic-18.04-cloudimg-console.log b/Artyom_Serchenya/test0/_hw#0/ubuntu-bionic-18.04-cloudimg-console.log deleted file mode 100644 index 1c5f7b9..0000000 --- a/Artyom_Serchenya/test0/_hw#0/ubuntu-bionic-18.04-cloudimg-console.log +++ /dev/null @@ -1,707 +0,0 @@ -[ 0.000000] Initializing cgroup subsys cpuset - -[ 0.00000]]IIiiiillzznn ggoup subsys cpu -[ 0.000000] Initializing cgroup subsys cpuacct -[ 0.000000] Linux version 4.4.0-170-generic (buildd@lcy01-amd64-019) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) ) #199-Ubuntu SMP Thu Nov 14 01:45:04 UTC 2019 (Ubuntu 4.4.0-170.199-generic 4.4.200) -[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-170-generic root=UUID=2a0cb1b0-f06d-4761-af71-39443f690a2b ro console=tty1 console=ttyS0 -[ 0.000000] KERNEL supported cpus: -[ 0.000000] Intel GenuineIntel -[ 0.000000] AMD AuthenticAMD -[ 0.000000] Centaur CentaurHauls -[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 -[ 0.000000] x86/fpu: Supporting XSAVE feature 0x01: 'x87 floating point registers' -[ 0.000000] x86/fpu: Supporting XSAVE feature 0x02: 'SSE registers' -[ 0.000000] x86/fpu: Supporting XSAVE feature 0x04: 'AVX registers' -[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format. -[ 0.000000] e820: BIOS-provided physical RAM map: -[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable -[ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved -[ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] eeeevvdd - -[ 00000000 IO--e80:[[mem 0x000000000100000x00000000ffeffff] usable -[ ..00000]BBOOS-e820 me 0x000000011ff0000--xx00000000ffffffff CCIIddat -[ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved -[ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved -[ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved -[ 0.000000] NX (Execute Disable) protection: active -[ 0.000000] SMBIOS 2.5 present. -[ 0.000000] e820: last_pfn = 0x1fff0 max_arch_pfn = 0x400000000 -[ 0.000000] MTRR: Disabled -[ 0.000000] x86/PAT: MTRRs disabled, skipping PAT initialization too. -[ 0.000000] CPU MTRRs all blank - virtualized system. -[ 0.000000] x86/PAT: Configuration [0-7]: WB WT UC- UC WB WT UC- UC -[ 0.000000] found SMP MP-table at [mem 0x0009fff0-0x0009ffff] mapped at [ffff88000009fff0] -[ 0.000000] Scanning 1 areas for low memory corruption -[ 0.000000] RAMDISK: [mem 0x1d1db000-0x1f6dbfff] -[ 0.000000] ACPI: Early table checksum verification disabled -[ 0.000000] ACPI: RSDP 0x00000000000E0000 000024 (v02 VBOX ) -[ 0.000000] ACPI: XSDT 0x000000001FFF0030 00003C (v01 VBOX VBOXXSDT 00000001 ASL 00000061) -[ 0.000000] ACPI: FACP 0x000000001FFF00F000000F4 (v04 VBOX VBOXFACP 00000001 ASL 00000061) -[ 0.000000] ACPI: DSDT 0x000000001FFF0470 0021FF (v02 VBOX VBOXBIOS 00000002 INTL 20180105) -[ 0.000000] ACPI: FACS 0x000000001FFF0200 000040 -[ 0.000000] ACPI: FACS 0x000000001FFF0200 000040 -[ 0.000000] ACPI: APIC 0x000000001FFF0240 000054 (v02 VBOX VBOXAPIC 00000001 ASL 00000061) -[ 0.000000] ACPI: SSDT 0x000000001FFF02A0 0001CC (v01 VBOX VBOXCPUT 00000002 INTL 20180105) -[ 0.000000] No NUMA configurationffund -[ 0.000000] aain nod tt [mem xx0000000000000000-0x00000001ffeffff -[ 0.00000] NODE_DAAA0)aallocated [mem 0x1ffeb000-0x1ffffff -[ ..000000 oone range:: -[ ..000000 MM [[ee xx0000000000011000-0x0000000000ffffff] -[ 0.000000] DMA32 [mem 0x0000000001000000-0x000000001ffeffff] -[ 0.000000] Normal empty -[ 0.000000] Device empty -[ 0.000000] Movable zone start for each node -[ 0.000000] Early memory node ranges -[ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff] -[ 0.000000] node 0: [mem 0x0000000000100000-0x000000001ffeffff] -[ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000001ffeffff] -[ 0.000000] ACPI: PM-Timer IO Port: 0x4008 -[ 0.000000] IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23 -[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) -[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level) -[ 0.000000] Using ACPI (MADT) for SMP configuration information -[ 0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs -[ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff] -[ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff] -[ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff] -[ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff] -[ 0.000000] e820: [mem 0x20000000-0xfebfffff] available for PCI devices -[ 0.000000] Booting paravirtualized kernel on bare hardware -[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns -[ 0.000000] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:1 nr_node_ids:1 -[ 0.000000] PERCPU: Embedded 33 pages/cpu @ffff88001fc00000 s95448 r8192 d31528 u2097152 -[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 128888 -[ 0.000000] Policy zone: DMA32 -[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-170-generic root=UUID=2a0cb1b0-f06d-4761-af71-39443f690a2b ro console=tty1 console=ttyS0 -[ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes) -[ 0.000000] Memory: 458748K/523832K available (8626K kernel code, 1336K rwdata, 4036K rodata, 1488K init, 1288K bss, 65084K reserved, 0K cma-reserved) -[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 -[ 0.000000] Kernel/User page tables isolation: enabled -[ 0.000000] Hierarchical RCU implementation. -[ 0.000000] Build-time adjustment of leaf fanout to 64. -[ 0.000000] RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=1. -[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=1 -[ 0.000000] NR_IRQS:33024 nr_irqs:256 16 -[ 0.000000] Console: colour VGA+ 80x25 -[ 0.000000] console [tty1] enabled -[ 0.000000] console [ttyS0] enabled -[ 0.000000] tsc: Fast TSC calibration using PIT -[ 0.000000] tsc: Detected 2593.601 MHz processor -[ 0.000080] Calibrating delay loop (skipped), value calculated using timer frequency.. 5187.20 BogoMIPS (lpj=10374404) -[ 0.002069] pid_max: default: 32768 minimum: 301 -[ 0.002966] ACPI: Core revision 20150930 -[ 0.004464] ACPI: 2 ACPI AML tables successfully acquired and loaded -[ 0.005681] Security Framework initialized -[ 0.006567] Yama: becoming mindful. -[ 0.007262] AppArmor: AppArmor initialized -[ 0.008017] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) -[ 0.009497] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) -[ 0.010769] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes) -[ 0.011896] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes) -[ 0.013177] Initializing cgroup subsys io -[ 0.014048] Initializing cgroup subsys memory -[ 0.014897] Initializing cgroup subsys devices -[ 0.015727] Initializing cgroup subsys freezer -[ 0.016544] Initializing cgroup subsys net_cls -[ 0.017362] Initializing cgroup subsys perf_event -[ 0.018382] Initializing cgroup subsys net_prio -[ 0.019208] Initializing cgroup subsys hugetlb -[ 0.019955] Initializing cgroup subsys pids -[ 0.021892] mce: CPU supports 0 MCE banks -[ 0.022662] process: using mwait in idle threads -[ 0.023506] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8 -[ 0.024447] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4 -[ 0.025753] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization -[ 0.027329] Spectre V2 : Mitigation: Full generic retpoline -[ 0.028177] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch -[ 0.029784] Speculative Store Bypass: Vulnerable -[ 0.030675] MDS: Mitigation: Clear CPU buffers -[ 0.050854] Freeing SMP alternatives memory: 36K -[ 0.056039] ftrace: allocating 32302 entries in 127 pages -[ 0.097101] smpboot: APIC(0) Converting physical 0 to logical package 0 -[ 0.098602] smpboot: Max logical packages: 1 -[ 0.100313] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 -[ 0.249887] smpboot: CPU0: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (family: 0x6, model: 0x5e, stepping: 0x3) -[ 0.252037] Performance Events: unsupported p6 CPU model 94 no PMU driver, software events only. -[ 0.254326] x86: Booted up 1 node, 1 CPUs -[ 0.254759] smpboot: Total of 1 processors activated (5187.20 BogoMIPS) -[ 0.256032] NMI watchdog: disabled (cpu0): hardware events not enabled -[ 0.257137] NMI watchdog: Shutting down hard lockup detector on all cpus -[ 0.258632] devtmpfs: initialized -[ 0.260973] evm: security.selinux -[ 0.261716] evm: security.SMACK64 -[ 0.262385] evm: security.SMACK64EXEC -[ 0.263085] evm: security.SMACK64TRANSMUTE -[ 0.263845] evm: security.SMACK64MMAP -[ 0.264548] evm: security.ima -[ 0.265155] evm: security.capability -[ 0.266053] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns -[ 0.267729] futex hash table entries: 256 (order: 2, 16384 bytes) -[ 0.268834] pinctrl core: initialized pinctrl subsystem -[ 0.269913] RTC time: 13:33:45, date: 12/12/19 -[ 0.270825] NET: Registered protocol family 16 -[ 0.271755] cpuidle: using governor ladder -[ 0.272525] cpuidle: using governor menu -[ 0.273345] PCCT header not found. -[ 0.274050] ACPI: bus type PCI registered -[ 0.275794] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 -[ 0.276948] PCI: Using configuration type 1 for base access -[ 0.278911] ACPI: Added _OSI(Module Device) -[ 0.279985] ACPI: Added _OSI(Processor Device) -[ 0.280833] ACPI: Added _OSI(3.0 _SCP Extensions) -[ 0.281839] ACPI: Added _OSI(Processor Aggregator Device) -[ 0.283285] ACPI: Executed 1 blocks of module-level executable AML code -[ 0.286047] ACPI: Interpreter enabled -[ 0.286773] ACPI: (supports S0 S5) -[ 0.287440] ACPI: Using IOAPIC for interrupt routing -[ 0.288509] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug -[ 0.293412] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) -[ 0.294561] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI] -[ 0.295726] acpi PNP0A03:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI] -[ 0.298211] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge. -[ 0.300380] PCI host bridge to bus 0000:00 -[ 0.301202] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] -[ 0.302513] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] -[ 0.303506] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] -[ 0.377950] pci_bus 0000:00: root bus resource [mem 0x20000000-0xfdffffff window] -[ 0.379201] pci_bus 0000:00: root bus resource [bus 00-ff] -[ 0.388820] pci 0000:00:07.0: quirk: [io 0x4000-0x403f] claimed by PIIX4 ACPI -[ 0.449319] pci 0000:00:07.0: quirk: [io 0x4100-0x410f] claimed by PIIX4 SMB -[ 0.454507] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 9 10 *11) -[ 0.468574] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 9 *10 11) -[ 0.615996] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 *9 10 11) -[ 0.795355] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 9 10 *11) -[ 0.947822] ACPI: Enabled 2 GPEs in block 00 to 07 -[ 0.986131] vgaarb: setting as boot device: PCI:0000:00:02.0 -[ 0.986707] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none -[ 0.997739] vgaarb: loaded -[ 0.999957] vgaarb: bridge control possible 0000:00:02.0 -[ 1.001041] SCSI subsystem initialized -[ 1.001830] ACPI: bus type USB registered -[ 1.002527] usbcore: registered new interface driver usbfs -[ 1.003373] usbcore: registered new interface driver hub -[ 1.004199] usbcore: registered new device driver usb -[ 1.005095] PCI: Using ACPI for IRQ routing -[ 1.006055] NetLabel: Initializing -[ 1.054530] NetLabel: domain hash size = 128 -[ 1.086686] NetLabel: protocols = UNLABELED CIPSOv4 -[ 1.260020] NetLabel: unlabeled traffic allowed by default -[ 1.398697] amd_nb: Cannot enumerate AMD northbridges -[ 1.436155] clocksource: Switched to clocksource refined-jiffies -[ 1.560391] AppArmor: AppArmor Filesystem Enabled -[ 1.568360] pnp: PnP ACPI init -[ 1.569625] pnp: PnP ACPI: found 3 devices -[ 1.577679] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns -[ 1.872502] clocksource: Switched to clocksource acpi_pm -[ 1.898993] NET: Registered protocol family 2 -[ 2.037966] TCP established hash table entries: 4096 (order: 3, 32768 bytes) -[ 2.039118] TCP bind hash table entries: 4096 (order: 4, 65536 bytes) -[ 2.040141] TCP: Hash tables configured (established 4096 bind 4096) -[ 2.041278] UDP hash table entries: 256 (order: 1, 8192 bytes) -[ 2.042297] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) -[ 2.043397] NET: Registered protocol family 1 -[ 2.044226] pci 0000:00:00.0: Limiting direct PCI/PCI transfers -[ 2.045309] pci 0000:00:01.0: Activating ISA DMA hang workarounds -[ 2.046487] Unpacking initramfs... -[ 2.479798] Freeing initrd memory: 37892K -[ 2.837205] platform rtc_cmos: registered platform RTC device (no PNP device found) -[ 3.087840] Scanning for low memory corruption every 60 seconds -[ 3.089385] audit: initializing netlink subsys (disabled) -[ 3.090249] audit: type=2000 audit(1576157624.659:1): initialized -[ 3.091621] Initialise system trusted keyring -[ 3.092727] HugeTLB registered 2 MB page size, pre-allocated 0 pages -[ 3.095583] zbud: loaded -[ 3.096681] VFS: Disk quotas dquot_6.6.0 -[ 3.097763] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) -[ 3.099601] squashfs: version 4.0 (2009/01/31) Phillip Lougher -[ 3.100786] fuse init (API version 7.23) -[ 3.101597] Key type big_key registered -[ 3.102313] Allocating IMA MOK and blacklist keyrings. -[ 3.103378] Key type asymmetric registered -[ 3.104199] Asymmetric key parser 'x509' registered -[ 3.105142] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) -[ 3.106498] io scheduler noop registered -[ 3.107239] io scheduler deadline registered (default) -[ 3.108296] io scheduler cfq registered -[ 3.109177] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 -[ 3.110158] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 -[ 3.117257] ACPI: AC Adapter [AC] (on-line) -[ 3.118016] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 -[ 3.119276] ACPI: Power Button [PWRF] -[ 3.120045] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1 -[ 3.876677] tsc: Refined TSC clocksource calibration: 2592.001 MHz -[ 4.156592] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x255cb7d21a7, max_idle_ns: 440795311043 ns -[ 4.158658] ACPI: Sleep Button [SLPF] -[ 4.160134] ACPI: Battery Slot [BAT0] (battery present) -[ 4.161275] GHES: HEST is not enabled! -[ 4.162253] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled -[ 4.185823] 00:02: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A -[ 4.187829] Linux agpgart interface v0.103 -[ 4.189399] loop: module loaded -[ 4.190386] libphy: Fixed MDIO Bus: probed -[ 4.191258] tun: Universal TUN/TAP device driver, 1.6 -[ 4.192555] tun: (C) 1999-2004 Max Krasnyansky -[ 4.193640] PPP generic driver version 2.4.2 -[ 4.194573] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver -[ 4.195897] ehci-pci: EHCI PCI platform driver -[ 4.196715] ehci-platform: EHCI generic platform driver -[ 4.197739] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver -[ 4.198786] ohci-pci: OHCI PCI platform driver -[ 4.199750] ohci-platform: OHCI generic platform driver -[ 4.200677] uhci_hcd: USB Universal Host Controller Interface driver -[ 4.201873] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12 -[ 4.203788] serio: i8042 KBD port at 0x60,0x64 irq 1 -[ 4.204693] serio: i8042 AUX port at 0x60,0x64 irq 12 -[ 4.205770] mousedev: PS/2 mouse device common for all mice -[ 4.207844] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0 -[ 4.208976] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram -[ 4.210068] i2c /dev entries driver -[ 4.210788] device-mapper: uevent: version 1.0.3 -[ 4.211844] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com -[ 4.213380] ledtrig-cpu: registered to indicate activity on CPUs -[ 4.214627] NET: Registered protocol family 10 -[ 4.215714] NET: Registered protocol family 17 -[ 4.216588] Key type dns_resolver registered -[ 4.217463] microcode: CPU0 sig=0x506e3, pf=0x2, revision=0x0 -[ 4.218477] microcode: Microcode Update Driver: v2.01 , Peter Oruba -[ 4.220271] registered taskstats version 1 -[ 4.221064] Loading compiled-in X.509 certificates -[ 4.222403] Loaded X.509 cert 'Build time autogenerated kernel key: f0e56e97f406068ace47a9bf54316e9855aaaa43' -[ 4.224422] zswap: loaded using pool lzo/zbud -[ 4.226481] Key type trusted registered -[ 4.229370] Key type encrypted registered -[ 4.230136] AppArmor: AppArmor sha1 policy hashing enabled -[ 4.231102] ima: No TPM chip found, activating TPM-bypass! -[ 4.231963] ima: Allocated hash algorithm: sha1 -[ 4.232804] evm: HMAC attrs: 0x1 -[ 4.233616] Magic number: 15:346:584 -[ 4.234389] rtc_cmos rtc_cmos: setting system clock to 2019-12-12 13:33:49 UTC (1576157629) -[ 4.236149] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found -[ 4.237181] EDD information not available. -[ 4.238857] Freeing unused kernel memory: 1488K -[ 4.240318] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2 -[ 4.246875] Write protecting the kernel read-only data: 14336k -[ 4.248317] Freeing unused kernel memory: 1604K -[ 4.249236] Freeing unused kernel memory: 60K -Loading, please wait... -starting version 229 -[ 4.259650] random: udevadm: uninitialized urandom read (16 bytes read, 3 bits of entropy available) -[ 4.261348] random: udevadm: uninitialized urandom read (16 bytes read, 3 bits of entropy available) -[ 4.264432] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available) -[ 4.266276] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available) -[ 4.268031] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available) -[ 4.273319] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available) -[ 4.275051] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available) -[ 4.278638] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available) -[ 4.280640] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available) -[ 4.282344] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available) -[ 4.328190] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no) -[ 4.329471] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:00/input/input5 -[ 4.336991] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI -[ 4.338183] e1000: Copyright (c) 1999-2006 Intel Corporation. -[ 4.342374] ahci 0000:00:0d.0: SSS flag set, parallel bus scan disabled -[ 4.343791] ahci 0000:00:0d.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode -[ 4.345329] ahci 0000:00:0d.0: flags: 64bit ncq stag only ccc -[ 4.364804] scsi host0: ahci -[ 4.365474] ata1: SATA max UDMA/133 abar m8192@0xf0804000 port 0xf0804100 irq 21 -[ 4.370304] AVX2 version of gcm_enc/dec engaged. -[ 4.371279] AES CTR mode by8 optimization enabled -[ 4.553257] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input6 -[ 4.686665] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) -[ 4.688031] ata1.00: ATA-6: VBOX HARDDISK, 1.0, max UDMA/133 -[ 4.689049] ata1.00: 83886080 sectors, multi 128: LBA48 NCQ (depth 31/32) -[ 4.690702] ata1.00: configured for UDMA/133 -[ 4.756204] scsi 0:0:0:0: Direct-Access ATA VBOX HARDDISK 1.0 PQ: 0 ANSI: 5 -[ 5.228161] e1000 0000:00:03.0 eth0: (PCI:33MHz:32-bit) 08:00:27:e9:63:1b -[ 5.232516] e1000 0000:00:03.0 eth0: Intel(R) PRO/1000 Network Connection -[ 5.234796] sd 0:0:0:0: [sda] 83886080 512-byte logical blocks: (42.9 GB/40.0 GiB) -[ 5.236140] sd 0:0:0:0: [sda] Write Protect is off -[ 5.236959] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA -[ 5.238629] sd 0:0:0:0: Attached scsi generic sg0 type 0 -[ 5.239871] sda: sda1 -[ 5.240687] sd 0:0:0:0: [sda] Attached SCSI disk -[ 5.536962] clocksource: Switched to clocksource tsc -Begin: Loading essential drivers ... done. -Begin: Running /scripts/init-premount ... done. -Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. -Begin: Running /scripts/local-premount ... done. -Warning: fsck not present, so skipping root file system -[ 7.127032] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) -done. -Begin: Running /scripts/local-bottom ... done. -Begin: Running /scripts/init-bottom ... done. -[ 7.441127] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN) -[ 7.484473] systemd[1]: Detected virtualization oracle. -[ 7.485490] systemd[1]: Detected architecture x86-64. - -Welcome to Ubuntu 16.04.6 LTS! - -[ 7.491928] systemd[1]: Set hostname to . -[ 7.610595] systemd[1]: Created slice System Slice. -[ OK ] Created slice System Slice. -[ 7.613496] systemd[1]: Created slice system-serial\x2dgetty.slice. -[ OK ] Created slice system-serial\x2dgetty.slice. -[ 7.616071] systemd[1]: Reached target Encrypted Volumes. -[ OK ] Reached target Encrypted Volumes. -[ 7.618372] systemd[1]: Created slice User and Session Slice. -[ OK ] Created slice User and Session Slice. -[ 7.620749] systemd[1]: Listening on Syslog Socket. -[ OK ] Listening on Syslog Socket. -[ 7.623140] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. -[ OK ] Listening on /dev/initctl Compatibility Named Pipe. -[ 7.626714] systemd[1]: Started Forward Password Requests to Wall Directory Watch. -[ OK ] Started Forward Password Requests to Wall Directory Watch. -[ 7.630450] systemd[1]: Listening on Journal Socket. -[ OK ] Listening on Journal Socket. -[ 7.633763] systemd[1]: Starting Uncomplicated firewall... - Starting Uncomplicated firewall... -[ 7.636320] systemd[1]: Mounting Debug File System... - Mounting Debug File System... -[ 7.645525] systemd[1]: Mounting Huge Pages File System... - Mounting Huge Pages File System... -[ 7.648322] systemd[1]: Starting Create list of required static device nodes for the current kernel... - Starting Create list of required st... nodes for the current kernel... -[ 7.665876] systemd[1]: Listening on udev Kernel Socket. -[ OK [ 7.875930] ip_tables: (C) 2000-2006 Netfilter Core Team -] Listening on udev Kernel Socket. -[ 7.881619] systemd[1]: Starting Set console keymap... -[ 8.176183] nf_conntrack version 0.5.0 (3904 buckets, 15616 max) - Starting Set console keymap... -[ 8.252714] systemd[1]: Reached target Swap. -[ 8.434737] ip6_tables: (C) 2000-2006 Netfilter Core Team -[ OK ] Reached targe[ 8.499415] random: nonblocking pool is initialized -t Swap. -[ 8.808387] systemd[1]: Reached target User and Group Name Lookups. -[ OK ] Reached target User and Group Name Lookups. -[ 8.995867] systemd[1]: Listening on Journal Audit Socket. -[ OK ] Listening on Journal Audit Socket. -[ 9.002089] systemd[1]: Starting Remount Root and Kernel File Systems... - Starting Remount[ 9.047717] EXT4-fs (sda1): re-mounted. Opts: (null) - Root and Kernel File Systems... -[ 9.084180] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. -[ OK ] Set up automount Arbitrary Executab...ats File System Automount Point. -[ 9.095751] systemd[1]: Listening on udev Control Socket. -[ OK ] Listening on udev Control Socket. -[ 9.345255] systemd[1]: Starting Load Kernel Modules... - Starting Load Kernel Modules... -[ 9.476168] systemd[1]: Mounting POSIX Message Queue File System... - Mounting POSIX Message Queue File System... -[ 9.485584] systemd[1]: Started Trigger resolvconf update for networkd DNS. -[ OK ] Started Trigger resolvconf update for networkd DNS. -[ 9.643724] systemd[1]: Reached target System Time Synchronized. -[ OK ] Reached target System Time Synchronized. -[ 9.691793] systemd[1]: Listening on Journal Socket (/dev/log). -[ OK ] Listening on Journal Socket (/dev/log). -[ 9.695293] systemd[1]: Starting Journal Service... - Starting Journal Service... -[ 9.697731] systemd[1]: Reached target Slices. -[ OK ] Reached target Slices. -[ 9.701743] systemd[1]: Mounting RPC Pipe File System... - Mounting RPC Pipe File System... -[ 9.711583] systemd[1]: Mounted POSIX Message Queue File System. -[ OK ] Mounted POSIX Message Queue File System. -[ 9.725493] systemd[1]: Mounted Debug File System. -[ OK ] Mounted Debug File System.[ 9.739289] RPC: Registered named UNIX socket transport module. - -[ 9.753781] RPC: Registered udp transport module. -[ 9.754634] RPC: Registered tcp transport module. -[ 9.755491] RPC: Registered tcp NFSv4.1 backchannel transport module. -[ 9.757099] systemd[1]: Mounted Huge Pages File System. -[ OK ] Mounted Huge Pages File System. -[ 9.759273] systemd[1]: Started Journal Service. -[ OK ] Started Journal Service. -[ OK ] Started Uncomplicated firewall. -[ OK ] Started Create list of required sta...ce nodes for the current kernel. -[ OK ] Started Set console keymap. -[ OK ] Started Remount Root and Kernel File Systems. -[ OK ] Started Load Kernel Modules. - Starting Apply Kernel Variables... - Mounting FUSE Control File System... - Starting udev Coldplug all Devices... - Starting Load/Save Random Seed... - Starting Create Static Device Nodes in /dev... - Starting Flush Journal to Persistent Storage... -[ OK ] Mounted RPC Pipe File System. -[ OK ] Mounted FUSE Control File System. -[ OK ] Started Apply Kernel Variables. -[ OK ] Started Load/Save Random Seed. -[ OK ] Started Create Static Device Nodes in /dev. - Starting udev Kernel Device Manager... -[ OK ] Reached target Local File Systems (Pre). -[ OK ] Reached target Local File Systems. - Starting Initial cloud-init job (pre-networking)... - Starting Preprocess NFS configuration... - Starting LSB: AppArmor initialization... - Starting Tell Plymouth To Write Out Runtime Data... - Starting Clean up any mess left by 0dns-up... - Starting Set console font and keymap... -[ OK ] Started udev Coldplug all Devices. -[ OK ] Started Preprocess NFS configuration. -[ OK ] Reached target NFS client services. -[ OK ] Reached target Remote File Systems (Pre). -[ OK ] Reached target Remote File Systems. -[ OK ] Started Flush Journal to Persistent Storage. -[ OK ] Started Tell Plymouth To Write Out Runtime Data. -[ OK ] Started Clean up any mess left by 0dns-up. - Starting Nameserver information manager... - Starting Create Volatile Files and Directories... -[ OK ] Started Nameserver information manager. -[ OK ] Started Create Volatile Files and Directories. - Starting Update UTMP about System Boot/Shutdown... -[ OK ] Started Update UTMP about System Boot/Shutdown. -[ OK ] Started udev Kernel Device Manager. -[ OK ] Started Dispatch Password Requests to Console Directory Watch. -[ OK ] Started LSB: AppArmor initialization. -[ OK ] Found device /dev/ttyS0. -[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. -[ 10.688392] intel_rapl: no valid rapl domains found in package 0 -[ OK ] Found device 82540EM Gigabit Ethern...r (PRO/1000 MT Desktop Adapter). -[ OK ] Started Set console font and keymap. -[ OK ] Created slice system-getty.slice. -[ 9.657279] cloud-init[382]: Cloud-init v. 19.2-36-g059d049c-0ubuntu2~16.04.1 running 'init-local' at Thu, 12 Dec 2019 13:33:56 +0000. Up 9.49 seconds. -[ OK ] Started Initial cloud-init job (pre-networking). -[ OK ] Reached target Network (Pre). - Starting Raise network interfaces... -[ OK ] Started ifup for eth0. -[ OK ] Started Raise network interfaces. -[ OK ] Reached target Network. - Starting Initial cloud-init job (metadata service crawler)... -[ 10.474219] cloud-init[779]: Cloud-init v. 19.2-36-g059d049c-0ubuntu2~16.04.1 running 'init' at Thu, 12 Dec 2019 13:33:56 +0000. Up 10.29 seconds. -[ 10.476736] cloud-init[779]: ci-info: ++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++ -[ 10.484247] cloud-init[779]: ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+ -[ 10.489789] cloud-init[779]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | -[ 10.491978] cloud-init[779]: ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+ -[ 10.496251] cloud-init[779]: ci-info: | eth0 | True | 10.0.2.15 | 255.255.255.0 | global | 08:00:27:e9:63:1b | -[ 10.500210] cloud-init[779]: ci-info: | eth0 | True | fe80::a00:27ff:fee9:631b/64 | . | link | 08:00:27:e9:63:1b | -[ 10.509185] cloud-init[779]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . | -[ 10.511633] cloud-init[779]: ci-info: | lo | True | ::1/128 | . | host | . | -[ 10.516203] cloud-init[779]: ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+ -[ 10.520187] cloud-init[779]: ci-info: +++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++ -[ 10.524212] cloud-init[779]: ci-info: +-------+-------------+----------+---------------+-----------+-------+ -[ 10.528178] cloud-init[779]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags | -[ 10.532216] cloud-init[779]: ci-info: +-------+-------------+----------+---------------+-----------+-------+ -[ 10.536998] cloud-init[779]: ci-info: | 0 | 0.0.0.0 | 10.0.2.2 | 0.0.0.0 | eth0 | UG | -[ OK ] Started Initial cloud-init job (metadata service crawler). -[ OK ] Reached target Cloud-config availability.[ 10.544435] cloud-init[779]: ci-info: | 1 | 10.0.2.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U | -[ 10.546126] cloud-init[779]: ci-info: +-------+-------------+----------+---------------+-----------+-------+ -[ 10.547891] -[ OK ] Reached target Network is Online. -[ OK ] Reached target System Initialization. -cloud-init[779]: ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++ -[ 10.552278] cloud-init[779]: ci-info: +-------+-------------+---------+-----------+-------+[ OK ] Started Daily apt download activities. -[ OK ] Listening on D-Bus System Message Bus Socket. -[ OK ] Started Daily apt upgrade and clean activities. -[ OK ] Started Run certbot twice daily. -[ OK ] Listening on RPCbind Server Activation Socket. - -[ OK ] Started ACPI Events Check. -[ 10.561944] cloud-init[779]: ci-info: | Route | Destination | Gateway | Interface | Flags | -[ OK ] Reached target Paths. -[ 10.565115] cloud-init[779]: ci-info: +-------+-------------+---------+-----------+-------+ - Starting LXD - unix socket. -[ OK ] Started Daily Cleanup of Temporary Directories. -[ OK ] Listening on UUID daemon activation socket. -[ OK ] Started Message of the Day. -[ OK ] Reached target Timers. -[[ 10.566779] cloud-init[779]: ci-info: | 0 | fe80::/64 | :: | eth0 | U | -[ 10.573558] cloud-init[779]: ci-info: | 3 | ff00::/8 | :: | eth0 | U | -[ 10.574894] cloud-init[779]: ci-info: +-------+-------------+---------+-----------+-------+ OK ] Listening on ACPID Listen Socket. -[ OK ] Listening on LXD - unix socket. -[ OK ] Reached target Sockets. -[ - OK ] Reached target Basic System. -[ OK ] Started memcached daemon. - Starting LSB: Apache2 web server... - Starting Permit User Sessions... - Starting LSB: daemon to balance interrupts for SMP systems... -[ OK ] Started Regular background program processing daemon. - Starting Virtualbox guest utils... - Starting Certbot... - Starting Message of the Day... - Starting Thermal Daemon Service... - Starting LXD - container startup/shutdown... - Starting Login Service... -[ OK ] Started Deferred execution scheduler. - Starting LSB: Start a chef-client.... - Starting OpenBSD Secure Shell server... -[ OK ] Started FUSE filesystem for LXC. -[ OK ] Started ACPI event daemon. - Starting Apply the settings specified in cloud-config... -[ OK ] Started D-Bus System Message Bus. - Starting Accounts Service... - Starting Puppet agent... - Starting LSB: Landscape client daemons... - Starting Daily apt upgrade and clean activities... -[ OK ] Started Cgroup management daemon. - Starting System Logging Service... - Starting /etc/rc.local Compatibility... - Starting LSB: automatic crash report generation... - Starting Restore /etc/resolv.conf i...re the ppp link was shut down... -[ OK ] Started System Logging Service. -[ OK ] Started Permit User Sessions. -[ OK ] Started Thermal Daemon Service. -[ OK ] Started LXD - container startup/shutdown. -[ OK ] Started /etc/rc.local Compatibility. -[ OK ] Started Restore /etc/resolv.conf if...fore the ppp link was shut down. -[ OK ] Started OpenBSD Secure Shell server. -[ OK ] Started Login Service. -[ OK ] Started LSB: Landscape client daemons. -[ OK ] Started Unattended Upgrades Shutdown. - Starting Authenticate and Authorize Users to Run Privileged Tasks... - Starting Hold until boot process finishes up... - Starting Terminate Plymouth Boot Screen... -[ OK ] Started LSB: automatic crash report generation. -[ OK ] Started Hold until boot process finishes up. - Starting Set console scheme... -[ OK ] Started Getty on tty1. -[ OK ] Started Serial Getty on ttyS0. -[ OK ] Reached target Login Prompts. -[ OK ] Started LSB: daemon to balance interrupts for SMP systems. -[ OK ] Started Terminate Plymouth Boot Screen. -[ OK ] Started Set console scheme. -[ OK ] Started Authenticate and Authorize Users to Run Privileged Tasks. -[ OK ] Started Accounts Service. -[ OK ] Started Virtualbox guest utils. -[ OK ] Started LSB: Apache2 web server. - Starting infinite-loop.service... -[ OK ] Started infinite-loop.service. - Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"... - Starting LSB: Record successful boot for GRUB... -[ OK ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand". -[ 12.961998] cloud-init[888]: Cloud-init v. 19.2-36-g059d049c-0ubuntu2~16.04.1 running 'modules:config' at Thu, 12 Dec 2019 13:33:59 +0000. Up 12.48 seconds. -[ OK ] Started LSB: Record successful boot for GRUB. -[ OK ] Started Apply the settings specified in cloud-config. -[ OK ] Started Daily apt upgrade and clean activities. -[ OK ] Started Message of the Day. -[ OK ] Started Certbot. -[ OK ] Started LSB: Start a chef-client.. -[ OK ] Created slice User Slice of vagrant. - Starting User Manager for UID 1000... -[ OK ] Started Session 2 of user vagrant. -[ OK ] Started User Manager for UID 1000. - -Ubuntu 16.04.6 LTS vagrant-ubuntu-trusty-64 ttyS0 - -vagrant-ubuntu-trusty-64 login: [ 17.522065] cloud-init[1939]: Cloud-init v. 19.2-36-g059d049c-0ubuntu2~16.04.1 running 'modules:final' at Thu, 12 Dec 2019 13:34:05 +0000. Up 17.24 seconds. -[ 17.522485] cloud-init[1939]: Cloud-init v. 19.2-36-g059d049c-0ubuntu2~16.04.1 finished at Thu, 12 Dec 2019 13:34:05 +0000. Datasource DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]. Up 17.50 seconds -[ OK ] Stopped target Cloud-init target. -[ OK ] Stopped Execute cloud user/final scripts. - Stopping Session 6 of user vagrant. - Stopping ACPI event daemon... -[ OK ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch. - Stopping Authenticate and Authorize Users to Run Privileged Tasks... -[ OK ] Stopped Apply the settings specified in cloud-config. -[ OK ] Stopped target Cloud-config availability. -[ OK ] Stopped target Timers. -[ OK ] Stopped Message of the Day. -[ OK ] Stopped Daily apt upgrade and clean activities. -[ OK ] Stopped Daily apt download activities. -[ OK ] Stopped Run certbot twice daily. -[ OK ] Stopped target System Time Synchronized. - Unmounting RPC Pipe File System... -[ OK ] Stopped Daily Cleanup of Temporary Directories. - Stopping User Manager for UID 1000... -[ OK ] Stopped target Graphical Interface. -[ OK ] Stopped target Multi-User System. - Stopping Unattended Upgrades Shutdown... - Stopping System Logging Service... - Stopping FUSE filesystem for LXC... - Stopping OpenBSD Secure Shell server... - Stopping Regular background program processing daemon... - Stopping memcached daemon... - Stopping LXD - container startup/shutdown... - Stopping Cgroup management daemon... - Stopping Deferred execution scheduler... - Stopping Virtualbox guest utils... - Stopping D-Bus System Message Bus... - Stopping Puppet agent... -[ OK ] Stopped target Login Prompts. - Stopping Getty on tty1... - Stopping LSB: Record successful boot for GRUB... - Stopping LSB: Set the CPU Frequency Scaling governor to "ondemand"... - [ OK ] Stopped memcached daemon. -[ OK ] Stopped Regular background program processing daemon. -[ OK ] Stopped Deferred execution scheduler. -[ OK ] Stopped ACPI event daemon. -[ OK ] Stopped Accounts Service. -[ OK ] Stopped Cgroup management daemon. -[ OK ] Stopped System Logging Service. -[ OK ] Stopped OpenBSD Secure Shell server. -[ OK ] Stopped Unattended Upgrades Shutdown. -[ OK ] Stopped Authenticate and Authorize Users to Run Privileged Tasks. -[ OK ] Stopped Getty on tty1. -[ OK ] Stopped Puppet agent. -[ OK ] Stopped Serial Getty on ttyS0. -[ OK ] Stopped User Manager for UID 1000. -[ OK ] Stopped Session 6 of user vagrant. -[ OK ] Stopped D-Bus System Message Bus. -[ OK ] Stopped FUSE filesystem for LXC. -[FAILED] Failed unmounting RPC Pipe File System. -[ OK ] Stopped LXD - container startup/shutdown. -[ OK ] Removed slice User Slice of vagrant. -[ OK ] Removed slice system-serial\x2dgetty.slice. -[ OK ] Stopped /etc/rc.local Compatibility. -[ OK ] Removed slice system-getty.slice. - Stopping Permit User Sessions... - Stopping Login Service... -[ OK ] Stopped Virtualbox guest utils. -[ OK ] Stopped LSB: Record successful boot for GRUB. -[ OK ] Stopped Login Service. -[ OK ] Stopped LSB: Set the CPU Frequency Scaling governor to "ondemand". -[ OK ] Stopped LSB: Start a chef-client.. -[ OK ] Stopped LSB: daemon to balance interrupts for SMP systems. -[ OK ] Stopped Permit User Sessions. -[ OK ] Stopped target User and Group Name Lookups. - Stopping infinite-loop.service... -[ OK ] Stopped infinite-loop.service. - Stopping LSB: Landscape client daemons... - Stopping LSB: automatic crash report generation... - Stopping LSB: Apache2 web server... -[ OK ] Stopped LSB: Landscape client daemons. -[ OK ] Stopped LSB: automatic crash report generation. -[ OK ] Stopped LSB: Apache2 web server. -[ OK ] Stopped target Basic System. -[ OK ] Stopped target Slices. -[ OK ] Removed slice User and Session Slice. -[ OK ] Stopped target Sockets. -[ OK ] Closed ACPID Listen Socket. -[ OK ] Closed Syslog Socket. -[ OK ] Closed UUID daemon activation socket. -[ OK ] Closed D-Bus System Message Bus Socket. -[ OK ] Closed RPCbind Server Activation Socket. -[ OK ] Closed LXD - unix socket. -[ OK ] Stopped target Paths. -[ OK ] Stopped ACPI Events Check. -[ OK ] Stopped Forward Password Requests to Wall Directory Watch. -[ OK ] Stopped Dispatch Password Requests to Console Directory Watch. -[ OK ] Stopped target System Initialization. - Stopping Load/Save Random Seed... -[ OK ] Stopped target Encrypted Volumes. -[ OK ] Stopped target Swap. -[ OK ] Stopped Create Volatile Files and Directories. -[ OK ] Stopped target Remote File Systems. -[ OK ] Stopped target Remote File Systems (Pre). -[ OK ] Stopped target NFS client services. -[ OK ] Stopped target Network is Online. -[ OK ] Stopped target Network. -[ OK ] Stopped Initial cloud-init job (metadata service crawler). - Stopping Raise network interfaces... -[ OK ] Stopped Load/Save Random Seed. -[ OK ] Stopped Raise network interfaces. -[ OK ] Stopped target Local File Systems. - Unmounting /run/user/1000... - Unmounting /run/cgmanager/fs... - Unmounting /vagrant... -[ OK ] Stopped Apply Kernel Variables. -[ OK ] Stopped Load Kernel Modules. -[ OK ] Stopped target Network (Pre). -[ OK ] Stopped Initial cloud-init job (pre-networking). -[ OK ] Unmounted /run/user/1000. -[ OK ] Unmounted /run/cgmanager/fs. -[FAILED] Failed unmounting /vagrant. -[ OK ] Reached target Unmount All Filesystems. -[ OK ] Stopped target Local File Systems (Pre). -[ OK ] Stopped Remount Root and Kernel File Systems. -[ OK ] Stopped Create Static Device Nodes in /dev. -[ OK ] Reached target Shutdown. -[ 185.197226] reboot: Power down diff --git a/Artyom_Serchenya/test0/_hw#0/vagrantfile b/Artyom_Serchenya/test0/_hw#0/vagrantfile deleted file mode 100644 index 93d2710..0000000 --- a/Artyom_Serchenya/test0/_hw#0/vagrantfile +++ /dev/null @@ -1,13 +0,0 @@ -VAGRANTFILE_API_VERSION = "2" - -Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| - config.vm.box = "devops-test" - config.vm.box_url = [ - "file://./devops-test.box" - ] - - config.vm.network :forwarded_port, guest: 80, host: 8080 # Apache HTTP - config.vm.network :forwarded_port, guest: 443, host: 8443 # Apache HTTPS - config.vm.network :forwarded_port, guest: 5000, host: 5000 # Flask debug server - -end From 3070c5b2a42533da0cc311058bb3e53f983e7947 Mon Sep 17 00:00:00 2001 From: Artyom Serchenya <52722971+Ancient-Mystery@users.noreply.github.com> Date: Thu, 12 Dec 2019 20:22:28 +0300 Subject: [PATCH 03/12] Delete action_provision --- .../0/.vagrant/machines/default/virtualbox/action_provision | 1 - 1 file changed, 1 deletion(-) delete mode 100644 Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/action_provision diff --git a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/action_provision b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/action_provision deleted file mode 100644 index c866f9f..0000000 --- a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/action_provision +++ /dev/null @@ -1 +0,0 @@ -1.5:3e49a64c-3ed2-4b60-a0ca-a3b0e8cce033 \ No newline at end of file From 8d853a852e03835604e4a6ec4734a61e4d901907 Mon Sep 17 00:00:00 2001 From: Artyom Serchenya <52722971+Ancient-Mystery@users.noreply.github.com> Date: Thu, 12 Dec 2019 20:22:35 +0300 Subject: [PATCH 04/12] Delete action_set_name --- .../0/.vagrant/machines/default/virtualbox/action_set_name | 1 - 1 file changed, 1 deletion(-) delete mode 100644 Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/action_set_name diff --git a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/action_set_name b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/action_set_name deleted file mode 100644 index 05d5aef..0000000 --- a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/action_set_name +++ /dev/null @@ -1 +0,0 @@ -1576163259 \ No newline at end of file From 646b2612a94e86bffa390c47bb6cdc62a9f1dae8 Mon Sep 17 00:00:00 2001 From: Artyom Serchenya <52722971+Ancient-Mystery@users.noreply.github.com> Date: Thu, 12 Dec 2019 20:22:42 +0300 Subject: [PATCH 05/12] Delete creator_uid --- .../0/.vagrant/machines/default/virtualbox/creator_uid | 1 - 1 file changed, 1 deletion(-) delete mode 100644 Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/creator_uid diff --git a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/creator_uid b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/creator_uid deleted file mode 100644 index e37d32a..0000000 --- a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/creator_uid +++ /dev/null @@ -1 +0,0 @@ -1000 \ No newline at end of file From 81d8854c0e83601f4e2e6525bd11823adc972bfa Mon Sep 17 00:00:00 2001 From: Artyom Serchenya <52722971+Ancient-Mystery@users.noreply.github.com> Date: Thu, 12 Dec 2019 20:22:48 +0300 Subject: [PATCH 06/12] Delete id --- Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/id | 1 - 1 file changed, 1 deletion(-) delete mode 100644 Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/id diff --git a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/id b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/id deleted file mode 100644 index 60fbd86..0000000 --- a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/id +++ /dev/null @@ -1 +0,0 @@ -3e49a64c-3ed2-4b60-a0ca-a3b0e8cce033 \ No newline at end of file From 673e1148488e9dd20e90f281da7aca035363bb95 Mon Sep 17 00:00:00 2001 From: Artyom Serchenya <52722971+Ancient-Mystery@users.noreply.github.com> Date: Thu, 12 Dec 2019 20:22:55 +0300 Subject: [PATCH 07/12] Delete index_uuid --- .../0/.vagrant/machines/default/virtualbox/index_uuid | 1 - 1 file changed, 1 deletion(-) delete mode 100644 Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/index_uuid diff --git a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/index_uuid b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/index_uuid deleted file mode 100644 index 91c095f..0000000 --- a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/index_uuid +++ /dev/null @@ -1 +0,0 @@ -78d0b4b3c4c54dcca17437a4c0a65cc0 \ No newline at end of file From 6602c13897a8fceaa25ec20df6b4db4a9486723e Mon Sep 17 00:00:00 2001 From: Artyom Serchenya <52722971+Ancient-Mystery@users.noreply.github.com> Date: Thu, 12 Dec 2019 20:23:01 +0300 Subject: [PATCH 08/12] Delete synced_folders --- .../0/.vagrant/machines/default/virtualbox/synced_folders | 1 - 1 file changed, 1 deletion(-) delete mode 100644 Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/synced_folders diff --git a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/synced_folders b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/synced_folders deleted file mode 100644 index 6e2e1b1..0000000 --- a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/synced_folders +++ /dev/null @@ -1 +0,0 @@ -{"virtualbox":{"/vagrant":{"guestpath":"/vagrant","hostpath":"/home/artyom/Загрузки/domashku/Artyom_Serchenya/01","disabled":false,"__vagrantfile":true}}} \ No newline at end of file From 5120c140f51bc32baa9eba9fda1cd5c33a571da4 Mon Sep 17 00:00:00 2001 From: Artyom Serchenya <52722971+Ancient-Mystery@users.noreply.github.com> Date: Thu, 12 Dec 2019 20:23:07 +0300 Subject: [PATCH 09/12] Delete vagrant_cwd --- .../0/.vagrant/machines/default/virtualbox/vagrant_cwd | 1 - 1 file changed, 1 deletion(-) delete mode 100644 Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/vagrant_cwd diff --git a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/vagrant_cwd b/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/vagrant_cwd deleted file mode 100644 index ffcf9df..0000000 --- a/Artyom_Serchenya/0/.vagrant/machines/default/virtualbox/vagrant_cwd +++ /dev/null @@ -1 +0,0 @@ -/home/artyom/Загрузки/domashku/Artyom_Serchenya/01 \ No newline at end of file From bebdf9c6f8a27a76cac683e35341ce052cec7f81 Mon Sep 17 00:00:00 2001 From: Ancient-Mystery Date: Wed, 8 Jan 2020 21:38:54 +0300 Subject: [PATCH 10/12] _hw#1 --- Artyom_Serchenya/1/Dockerfile | 3 + .../1/files/nginx-blackout/blackout.html | 44 +++++++++++ Artyom_Serchenya/1/nginx-deployment.yaml | 78 +++++++++++++++++++ 3 files changed, 125 insertions(+) create mode 100644 Artyom_Serchenya/1/Dockerfile create mode 100644 Artyom_Serchenya/1/files/nginx-blackout/blackout.html create mode 100644 Artyom_Serchenya/1/nginx-deployment.yaml diff --git a/Artyom_Serchenya/1/Dockerfile b/Artyom_Serchenya/1/Dockerfile new file mode 100644 index 0000000..742fc9d --- /dev/null +++ b/Artyom_Serchenya/1/Dockerfile @@ -0,0 +1,3 @@ +FROM nginx +COPY ./files /usr/share/nginx/html +COPY --from=lachlanevenson/k8s-kubectl:v1.10.3 /usr/local/bin/kubectl /usr/local/bin/kubectl \ No newline at end of file diff --git a/Artyom_Serchenya/1/files/nginx-blackout/blackout.html b/Artyom_Serchenya/1/files/nginx-blackout/blackout.html new file mode 100644 index 0000000..65d8ded --- /dev/null +++ b/Artyom_Serchenya/1/files/nginx-blackout/blackout.html @@ -0,0 +1,44 @@ + + + Добро пожаловать в Интернет без Nginx + + + + + +
+ Powered by nginx! +
+ +
+
+
+

Добро пожаловать в Интернет без Nginx

+
IGOR_SYSOEV_ILLEGAL_SEARCH_AND_SEIZURE
+
Разработчик Nginx Игорь Сысоев был задержан по уголовному делу, сфабрикованному на основе безосновательной претензии Рамблера, пытающегося осуществить рейдерский захват Nginx. Без Nginx большинство сайтов в Интернете не смогут существовать, в том числе и этот.

+ +
+
+ + + + diff --git a/Artyom_Serchenya/1/nginx-deployment.yaml b/Artyom_Serchenya/1/nginx-deployment.yaml new file mode 100644 index 0000000..a4c6170 --- /dev/null +++ b/Artyom_Serchenya/1/nginx-deployment.yaml @@ -0,0 +1,78 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: "nginx-configmap" +data: + nginx.conf: | + server { + listen 80; + location /nginx-blackout { + root /usr/share/nginx/html; + index blackout.html; + } + + location / { + if ($time_iso8601 ~ ^2020-01-08T12:[1-5][0-9]:[0-9][0-9]) { + return 302 /nginx-blackout; + } + root /usr/share/nginx/html; + index index.html; + } + } + +--- + +apiVersion: apps/v1 +kind: Deployment +metadata: + name: nginx-deployment +spec: + replicas: 1 + selector: + matchLabels: + app: webserver + template: + metadata: + labels: + app: webserver + spec: + containers: + - name: nginx + image: ancientmystery/nginx-blackout + volumeMounts: + - name: nginx-config + mountPath: /etc/nginx/conf.d/ + volumes: + - name: nginx-config + configMap: + name: nginx-configmap + +--- + +apiVersion: v1 +kind: Service +metadata: + name: nginx-service +spec: + type: NodePort + selector: + app: webserver + ports: + - port: 80 + nodePort: 30057 + +--- + +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: nginx-ingress +spec: + rules: + - host: local + http: + paths: + - path: / + backend: + serviceName: nginx-service + servicePort: 80 \ No newline at end of file From 8518f517e9229831605573ca3a654967530874bb Mon Sep 17 00:00:00 2001 From: Ancient-Mystery Date: Wed, 8 Jan 2020 21:44:26 +0300 Subject: [PATCH 11/12] del _hw#0 --- Artyom_Serchenya/0/Vagrantfile | 101 ------------------ Artyom_Serchenya/0/files/index.html | 8 -- Artyom_Serchenya/0/files/localhost.conf | 9 -- Artyom_Serchenya/0/files/other/localhost.conf | 25 ----- Artyom_Serchenya/0/files/other/per_minute | 1 - Artyom_Serchenya/0/files/per_minute | 2 - 6 files changed, 146 deletions(-) delete mode 100644 Artyom_Serchenya/0/Vagrantfile delete mode 100644 Artyom_Serchenya/0/files/index.html delete mode 100644 Artyom_Serchenya/0/files/localhost.conf delete mode 100644 Artyom_Serchenya/0/files/other/localhost.conf delete mode 100644 Artyom_Serchenya/0/files/other/per_minute delete mode 100644 Artyom_Serchenya/0/files/per_minute diff --git a/Artyom_Serchenya/0/Vagrantfile b/Artyom_Serchenya/0/Vagrantfile deleted file mode 100644 index de9a708..0000000 --- a/Artyom_Serchenya/0/Vagrantfile +++ /dev/null @@ -1,101 +0,0 @@ -# -*- mode: ruby -*- -# vi: set ft=ruby : - -# All Vagrant configuration is done below. The "2" in Vagrant.configure -# configures the configuration version (we support older styles for -# backwards compatibility). Please don't change it unless you know what -# you're doing. -Vagrant.configure("2") do |config| - # The most common configuration options are documented and commented below. - # For a complete reference, please see the online documentation at - # https://docs.vagrantup.com. - - # Every Vagrant development environment requires a box. You can search for - # boxes at https://vagrantcloud.com/search. - config.vm.box = "devops-test" - - # Disable automatic box update checking. If you disable this, then - # boxes will only be checked for updates when the user runs - # `vagrant box outdated`. This is not recommended. - # config.vm.box_check_update = false - - # Create a forwarded port mapping which allows access to a specific port - # within the machine from a port on the host machine. In the example below, - # accessing "localhost:8080" will access port 80 on the guest machine. - # NOTE: This will enable public access to the opened port - # config.vm.network "forwarded_port", guest: 80, host: 8080 - - # Create a forwarded port mapping which allows access to a specific port - # within the machine from a port on the host machine and only allow access - # via 127.0.0.1 to disable public access - # config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1" - - # Create a private network, which allows host-only access to the machine - # using a specific IP. - # config.vm.network "private_network", ip: "192.168.33.10" - - # Create a public network, which generally matched to bridged network. - # Bridged networks make the machine appear as another physical device on - # your network. - # config.vm.network "public_network" - - # Share an additional folder to the guest VM. The first argument is - # the path on the host to the actual folder. The second argument is - # the path on the guest to mount the folder. And the optional third - # argument is a set of non-required options. - # config.vm.synced_folder "../data", "/vagrant_data" - - # Provider-specific configuration so you can fine-tune various - # backing providers for Vagrant. These expose provider-specific options. - # Example for VirtualBox: - # - # config.vm.provider "virtualbox" do |vb| - # # Display the VirtualBox GUI when booting the machine - # vb.gui = true - # - # # Customize the amount of memory on the VM: - # vb.memory = "1024" - # end - # - # View the documentation for the provider you are using for more - # information on available options. - - # Enable provisioning with a shell script. Additional provisioners such as - # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the - # documentation for more information about their specific syntax and use. - config.vm.network :forwarded_port, guest: 80, host: 8080 # Apache HTTP - config.vm.network :forwarded_port, guest: 443, host: 8443 # Apache HTTPS - config.vm.network :forwarded_port, guest: 5000, host: 5000 # Flask debug server - - config.vm.provision "shell", inline: <<-SHELL - apt-get update - apt-get install -y apache2 - sudo su root - echo "ServerName loclhost:80" >> /etc/apache2/apache2.conf - sudo su vagrant - sudo ufw enable - sudo ufw allow 'Apache Full' - sudo ufw allow -y 'OpenSSH' - sudo apt-get install -y systemd - source /etc/apache2/envvars - apache2 -V - sudo mkdir /var/www/localhost - sudo chown -R $USER:$USER /var/www/localhost - sudo chmod -R 755 /var/www/localhost - sudo cp /vagrant/files/index.html /var/www/localhost/index.html - sudo cp /vagrant/files/localhost.conf /etc/apache2/sites-available/localhost.conf - sudo a2ensite localhost.conf - sudo a2dissite 000-default.conf - sudo apt-get install apache2 -y openssl - sudo a2enmod rewrite - sudo a2enmod ssl - sudo cp /vagrant/files/other/localhost.conf /etc/apache2/sites-available/localhost.conf - sudo /etc/init.d/apache2 restart - sudo apt-get install memcached - sudo cp /vagrant/files/per_minute /etc/cron.d/per_minute - sudo cp /vagrant/files/other/per_minute /var/spool/cron/per_minute - - SHELL - - -end diff --git a/Artyom_Serchenya/0/files/index.html b/Artyom_Serchenya/0/files/index.html deleted file mode 100644 index f2a9d70..0000000 --- a/Artyom_Serchenya/0/files/index.html +++ /dev/null @@ -1,8 +0,0 @@ - - - Welcome to localhost! - - -

Success! The localhost virtual host is working!

- - diff --git a/Artyom_Serchenya/0/files/localhost.conf b/Artyom_Serchenya/0/files/localhost.conf deleted file mode 100644 index b0d1cba..0000000 --- a/Artyom_Serchenya/0/files/localhost.conf +++ /dev/null @@ -1,9 +0,0 @@ - - - ServerAdmin webmaster@localhost - ServerName localhost - ServerAlias localhost - DocumentRoot /var/www/localhost - ErrorLog ${APACHE_LOG_DIR}/error.log - CustomLog ${APACHE_LOG_DIR}/access.log combined - diff --git a/Artyom_Serchenya/0/files/other/localhost.conf b/Artyom_Serchenya/0/files/other/localhost.conf deleted file mode 100644 index 4d2f9e5..0000000 --- a/Artyom_Serchenya/0/files/other/localhost.conf +++ /dev/null @@ -1,25 +0,0 @@ - - ServerAdmin webmaster@localhost - ServerName localhost - ServerAlias localhost - DocumentRoot /var/www/localhost - ErrorLog ${APACHE_LOG_DIR}/error.log - CustomLog ${APACHE_LOG_DIR}/access.log combined - - RewriteEngine On - RewriteCond %{HTTPS} off - RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} - - - - SSLEngine on - SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem - SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key - - ServerAdmin webmaster@localhost - ServerName localhost - ServerAlias localhost - DocumentRoot /var/www/localhost - ErrorLog ${APACHE_LOG_DIR}/error.log - CustomLog ${APACHE_LOG_DIR}/access.log combined - diff --git a/Artyom_Serchenya/0/files/other/per_minute b/Artyom_Serchenya/0/files/other/per_minute deleted file mode 100644 index fc59711..0000000 --- a/Artyom_Serchenya/0/files/other/per_minute +++ /dev/null @@ -1 +0,0 @@ -* * * * * /home/vagrant/exercise-memcached.sh diff --git a/Artyom_Serchenya/0/files/per_minute b/Artyom_Serchenya/0/files/per_minute deleted file mode 100644 index 26a587a..0000000 --- a/Artyom_Serchenya/0/files/per_minute +++ /dev/null @@ -1,2 +0,0 @@ -* * * * * root /bin/sh /home/vagrant/exercise-memcached.sh - From f2dc4e03670c535faacd7a155d1ead7b3f8beede Mon Sep 17 00:00:00 2001 From: Ancient-Mystery Date: Thu, 9 Jan 2020 21:41:19 +0300 Subject: [PATCH 12/12] Fixing misses --- README.md | 91 ++++++++++++++++++++++++ _hw#0/Vagrantfile | 18 +++++ _hw#0/files/provision.sh | 7 ++ _hw#0/files/site.conf | 3 + _hw#1/files/nginx-blackout/blackout.html | 41 +++++++++++ 5 files changed, 160 insertions(+) create mode 100644 README.md create mode 100644 _hw#0/Vagrantfile create mode 100755 _hw#0/files/provision.sh create mode 100644 _hw#0/files/site.conf create mode 100644 _hw#1/files/nginx-blackout/blackout.html diff --git a/README.md b/README.md new file mode 100644 index 0000000..19bb469 --- /dev/null +++ b/README.md @@ -0,0 +1,91 @@ +# DevOps Survival Camp: Winter 2020 + + + +# How to submit your homework? + +* For passing any home task you need to [fork this repo](http://lmgtfy.com/?q=fork). +* In your repo you need to create a folder named as your full name (Ivan_Ivanov) +* Each home task should be done in a separate [branch](http://lmgtfy.com/?q=github+branch) and in a separate folder under your named folder. For example, your first homework should be in (Ivan_Ivanov/0/). +* If you think that the task is done - create [pull request](http://lmgtfy.com/?q=pull+request) to master branch. +* If everything is great - mentor will merge your PR. + +# HomeWork #0 + +## Setup + +1. Download and install [virtualbox](https://www.virtualbox.org/). +2. Download and install [vagrant](http://vagrantup.com). +3. Download [virtualbox base image](https://zadeploy.s3.eu-central-1.amazonaws.com/hm0/devops-test.box). + +## Summary + +This test simulates real world problems a Dev/Ops Engineer may face and have to solve. You will have to learn how to use (potentially) new tools, diagnose system health issues, write some utilities, and automate the whole process to end up with a reproducible image. + +At the end of this you should be able to send a new Vagrantfile and associated scripts/configs that will allow the mentor to recreate your completed and fixed test environment from the same base image provided in the test Vagrantfile. + +## Instructions + +0. Get home task related files from folder `_hw#0`. +1. Learn the basics of how to use Vagrant, launch the vagrant VM, and login to it via SSH (Note: this will take some time to download the VM image the first time) +2. Analyze the health of the system. Note anything you find and fix if there are issues. +3. Ensure apache is running. If is is not, diagnose and fix. + - You should be able to see a test page going here in your browser: http://localhost:8080/app +4. Reconfigure apache to run using HTTPS rather than HTTP. Any HTTP links should redirect to HTTPS. + - You should be able to see the exact same test page as above by going here in your browser: https://localhost:8443/app + - You will get an exception about an insecure connection due to the self-signed cert. Feel free to ignore this. + - The redirection should work from the client's perspective. Do not worry about proper redirection from inside the VM. (Port 443 vs 8443) +5. Install memcached +6. Add a cronjob that runs /home/vagrant/exercise-memcached.sh once per minute +7. Write your own vagrant file and provisioning scripts/configs that recreate everything you just did. +8. Prepare PR with your new vagrant file with any associated provisioning scripts/configs. + +The mentor should be able to simply use your files, run `vagrant up`, and have your completed and fixed environment running for review. + +### Optional task: Write a python web application that outputs memcached stats + +> - Please try not use any 3rd party libraries outside of the python standard library. +> - It should additionally calculate the "get" hit rate and show it as a percentage ("X% of gets missed the cache") +> - It should additionally show the percentage of memcached memory used (From the API. Not the percentage of the OS memory.) +> - Don't worry about the look and style of the page. Just make it functional. +> - There is a basic python Flask app in /var/www/app you can use as a starting template + + +# HomeWork #1 + +## Setup + + Download and install [minikube](https://kubernetes.io/docs/tasks/tools/install-minikube/) or setup kubernetes using [Docker Desktop](https://www.docker.com/products/docker-desktop). + +## Summary +Probably all you heard about Nginx and Rambler story. Today you will try to implement stub page in support of Igor Sysoev + +## Instructions + +0. Get home task related files from folder `_hw#1`. +1. Learn the basics of how to use Minikube, configure and deploy kubernetes service with Nginx. +2. Install Nginx as [ingress controller](https://github.com/kubernetes/ingress-nginx). Nginx should be avialible on http://localhost:8080/ +3. Configure Nginx to made it show stub page instead of default web page on custom date. + - Add to header "Powered by nginx" + - Add the HTML-file nginx-blackout folder somewhere to the server (e.g. /var/www/nginx-blackout/index.html) + Edit your root location in the nginx config to be like this: +``` +location /nginx-blackout { + root /var/www; + break; + } + + location / { + if ($time_iso8601 ~ ^2019-12-31T09:[0-2][0-9]:[0-9][0-9] ) { + return 302 /nginx-blackout; + } + # ... usual location config + } + ``` + +4. Check that it works with the current date. +5. Prepare PR with your setup. + +The mentor should be able to simply use your files, run `kubectl create -f yourfile.yaml`, and have your completed and fixed environment running for review. + +### Optional task: made same config by using custom image for nginx diff --git a/_hw#0/Vagrantfile b/_hw#0/Vagrantfile new file mode 100644 index 0000000..4111ec4 --- /dev/null +++ b/_hw#0/Vagrantfile @@ -0,0 +1,18 @@ +VAGRANTFILE_API_VERSION = "2" + +Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| + config.vm.box = "neve/devops-test" + config.vm.box_url = [ + "file://./devops-test.box" + ] + + config.vm.network :forwarded_port, guest: 80, host: 8080 # Apache HTTP + config.vm.network :forwarded_port, guest: 443, host: 8443 # Apache HTTPS + config.vm.network :forwarded_port, guest: 5000, host: 5000 # Flask debug server + + config.vm.provision "file", source: "files/site.conf", destination: "/tmp/site.conf" + config.vm.provision "shell", path: "files/provision.sh" + + # config.vm.synced_folder "#{ENV['HOME']}/devops-test-share", "/var/www/devops-test-share" + +end diff --git a/_hw#0/files/provision.sh b/_hw#0/files/provision.sh new file mode 100755 index 0000000..3b9f481 --- /dev/null +++ b/_hw#0/files/provision.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +cp /tmp/site.conf /etc/apache2/sites-available/site.conf > /dev/null +a2ensite site.conf > /dev/null + +echo "Hi, I don't do anything right now. I'm just an example of how to do basic provisioning with shell scripts." +service apache2 stop 1>&2 > /dev/null # I lied \ No newline at end of file diff --git a/_hw#0/files/site.conf b/_hw#0/files/site.conf new file mode 100644 index 0000000..54d4da9 --- /dev/null +++ b/_hw#0/files/site.conf @@ -0,0 +1,3 @@ + + + + + Добро пожаловать в Интернет без Nginx + + + + + + +
+
+
+

Добро пожаловать в Интернет без Nginx

+
IGOR_SYSOEV_ILLEGAL_SEARCH_AND_SEIZURE
+
Разработчик Nginx Игорь Сысоев был задержан по уголовному делу, сфабрикованному на основе безосновательной претензии Рамблера, пытающегося осуществить рейдерский захват Nginx. Без Nginx большинство сайтов в Интернете не смогут существовать, в том числе и этот.

+ +
+
+ + + +