2018-02-16 17:14:21,768 [salt.loaded.int.states.file][WARNING ][1614] State for file: /etc/ssl/certs/ca-salt_master_ca.crt - Neither 'source' nor 'contents' nor 'contents_pillar' nor 'contents_grains' was defined, yet 'replace' was set to 'True'. As there is no source to replace the file with, 'replace' has been set to 'False' to avoid reading the file unnecessarily.
2018-02-16 17:14:21,792 [salt.loaded.int.module.cmdmod][ERROR   ][1614] Command 'while true; do salt-call saltutil.running|grep fun: && continue; salt-call --local service.restart salt-minion; break; done' failed with return code: None
2018-02-16 17:14:24,325 [salt.loaded.int.module.cmdmod][INFO    ][2261] Executing command ['systemctl', 'status', 'salt-minion.service', '-n', '0'] in directory '/root'
2018-02-16 17:14:24,336 [salt.loaded.int.module.cmdmod][INFO    ][2261] Executing command ['systemctl', 'is-enabled', 'salt-minion.service'] in directory '/root'
2018-02-16 17:14:24,355 [salt.loaded.int.module.cmdmod][INFO    ][2261] Executing command ['systemd-run', '--scope', 'systemctl', 'restart', 'salt-minion.service'] in directory '/root'
2018-02-16 17:14:24,373 [salt.utils.parsers][WARNING ][1295] Minion received a SIGTERM. Exiting.
2018-02-16 17:14:24,670 [salt.cli.daemons ][INFO    ][2343] Setting up the Salt Minion "prx01.mcp-pike-ovs-ha.local"
2018-02-16 17:14:24,752 [salt.cli.daemons ][INFO    ][2343] Starting up the Salt Minion
2018-02-16 17:14:24,753 [salt.utils.event ][INFO    ][2343] Starting pull socket on /var/run/salt/minion/minion_event_ee9a32657f_pull.ipc
2018-02-16 17:14:25,152 [salt.minion      ][INFO    ][2343] Creating minion process manager
2018-02-16 17:14:26,154 [salt.loader.192.168.11.2.int.module.cmdmod][INFO    ][2343] Executing command ['date', '+%z'] in directory '/root'
2018-02-16 17:14:26,170 [salt.utils.schedule][INFO    ][2343] Updating job settings for scheduled job: __mine_interval
2018-02-16 17:14:26,172 [salt.minion      ][INFO    ][2343] Added mine.update to scheduler
2018-02-16 17:14:26,177 [salt.minion      ][INFO    ][2343] Minion is starting as user 'root'
2018-02-16 17:14:26,187 [salt.minion      ][INFO    ][2343] Minion is ready to receive requests!
2018-02-16 17:14:27,188 [salt.utils.schedule][INFO    ][2343] Running scheduled job: __mine_interval
2018-02-16 17:14:44,016 [salt.minion      ][INFO    ][2343] User sudo_ubuntu Executing command state.apply with jid 20180216171445639472
2018-02-16 17:14:44,035 [salt.minion      ][INFO    ][2438] Starting a new job with PID 2438
2018-02-16 17:14:47,930 [salt.state       ][INFO    ][2438] Loading fresh modules for state activity
2018-02-16 17:14:47,967 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/init.sls'
2018-02-16 17:14:47,992 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/system/init.sls'
2018-02-16 17:14:48,091 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/system/env.sls'
2018-02-16 17:14:48,521 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/system/profile.sls'
2018-02-16 17:14:48,615 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/system/repo.sls'
2018-02-16 17:14:48,769 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/system/package.sls'
2018-02-16 17:14:48,869 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/system/timezone.sls'
2018-02-16 17:14:48,949 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/system/kernel.sls'
2018-02-16 17:14:49,083 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/system/cpu.sls'
2018-02-16 17:14:49,168 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/system/sysfs.sls'
2018-02-16 17:14:49,253 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/system/locale.sls'
2018-02-16 17:14:49,341 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/system/user.sls'
2018-02-16 17:14:49,450 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/system/group.sls'
2018-02-16 17:14:49,541 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/system/limit.sls'
2018-02-16 17:14:49,625 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/system/systemd.sls'
2018-02-16 17:14:49,717 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/system/apt.sls'
2018-02-16 17:14:50,741 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/network/init.sls'
2018-02-16 17:14:50,831 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/network/hostname.sls'
2018-02-16 17:14:50,930 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/network/host.sls'
2018-02-16 17:14:51,071 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/network/interface.sls'
2018-02-16 17:14:51,233 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/network/proxy.sls'
2018-02-16 17:14:51,327 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/storage/init.sls'
2018-02-16 17:14:51,423 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'ntp/init.sls'
2018-02-16 17:14:51,444 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'ntp/client.sls'
2018-02-16 17:14:51,489 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'ntp/server.sls'
2018-02-16 17:14:51,522 [salt.state       ][INFO    ][2438] Running state [/etc/environment] at time 17:14:51.522009
2018-02-16 17:14:51,522 [salt.state       ][INFO    ][2438] Executing state file.blockreplace for /etc/environment
2018-02-16 17:14:51,529 [salt.state       ][INFO    ][2438] File changed:
--- 
+++ 
@@ -1 +1,4 @@
 PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
+# SALT MANAGED VARIABLES - DO NOT EDIT - START
+# +# SALT MANAGED VARIABLES - END

2018-02-16 17:14:51,530 [salt.state       ][INFO    ][2438] Completed state [/etc/environment] at time 17:14:51.530882 duration_in_ms=8.872
2018-02-16 17:14:51,531 [salt.state       ][INFO    ][2438] Running state [/etc/profile.d] at time 17:14:51.531187
2018-02-16 17:14:51,531 [salt.state       ][INFO    ][2438] Executing state file.directory for /etc/profile.d
2018-02-16 17:14:51,533 [salt.state       ][INFO    ][2438] Directory /etc/profile.d is in the correct state
2018-02-16 17:14:51,533 [salt.state       ][INFO    ][2438] Completed state [/etc/profile.d] at time 17:14:51.533191 duration_in_ms=2.003
2018-02-16 17:14:51,999 [salt.state       ][INFO    ][2438] Running state [/etc/apt/apt.conf.d/99compression-workaround-salt] at time 17:14:51.999874
2018-02-16 17:14:52,000 [salt.state       ][INFO    ][2438] Executing state file.managed for /etc/apt/apt.conf.d/99compression-workaround-salt
2018-02-16 17:14:52,023 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/files/apt.conf'
2018-02-16 17:14:52,031 [salt.state       ][INFO    ][2438] File changed:
New file
2018-02-16 17:14:52,031 [salt.state       ][INFO    ][2438] Completed state [/etc/apt/apt.conf.d/99compression-workaround-salt] at time 17:14:52.031573 duration_in_ms=31.686
2018-02-16 17:14:52,031 [salt.state       ][INFO    ][2438] Running state [/etc/apt/apt.conf.d/99prefer_ipv4-salt] at time 17:14:52.031810
2018-02-16 17:14:52,032 [salt.state       ][INFO    ][2438] Executing state file.managed for /etc/apt/apt.conf.d/99prefer_ipv4-salt
2018-02-16 17:14:52,047 [salt.state       ][INFO    ][2438] File changed:
New file
2018-02-16 17:14:52,047 [salt.state       ][INFO    ][2438] Completed state [/etc/apt/apt.conf.d/99prefer_ipv4-salt] at time 17:14:52.047354 duration_in_ms=15.543
2018-02-16 17:14:52,048 [salt.state       ][INFO    ][2438] Running state [linux_repo_prereq_pkgs] at time 17:14:52.048415
2018-02-16 17:14:52,048 [salt.state       ][INFO    ][2438] Executing state pkg.installed for linux_repo_prereq_pkgs
2018-02-16 17:14:52,049 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
2018-02-16 17:14:52,342 [salt.state       ][INFO    ][2438] All specified packages are already installed
2018-02-16 17:14:52,343 [salt.state       ][INFO    ][2438] Completed state [linux_repo_prereq_pkgs] at time 17:14:52.342954 duration_in_ms=294.539
2018-02-16 17:14:52,343 [salt.state       ][INFO    ][2438] Running state [/etc/apt/apt.conf.d/99proxies-salt-uca] at time 17:14:52.343287
2018-02-16 17:14:52,343 [salt.state       ][INFO    ][2438] Executing state file.absent for /etc/apt/apt.conf.d/99proxies-salt-uca
2018-02-16 17:14:52,344 [salt.state       ][INFO    ][2438] File /etc/apt/apt.conf.d/99proxies-salt-uca is not present
2018-02-16 17:14:52,344 [salt.state       ][INFO    ][2438] Completed state [/etc/apt/apt.conf.d/99proxies-salt-uca] at time 17:14:52.344205 duration_in_ms=0.918
2018-02-16 17:14:52,344 [salt.state       ][INFO    ][2438] Running state [/etc/apt/preferences.d/uca] at time 17:14:52.344398
2018-02-16 17:14:52,344 [salt.state       ][INFO    ][2438] Executing state file.absent for /etc/apt/preferences.d/uca
2018-02-16 17:14:52,344 [salt.state       ][INFO    ][2438] File /etc/apt/preferences.d/uca is not present
2018-02-16 17:14:52,345 [salt.state       ][INFO    ][2438] Completed state [/etc/apt/preferences.d/uca] at time 17:14:52.345025 duration_in_ms=0.628
2018-02-16 17:14:52,346 [salt.state       ][INFO    ][2438] Running state [apt-key adv --keyserver keyserver.ubuntu.com --recv EC4926EA] at time 17:14:52.346716
2018-02-16 17:14:52,346 [salt.state       ][INFO    ][2438] Executing state cmd.run for apt-key adv --keyserver keyserver.ubuntu.com --recv EC4926EA
2018-02-16 17:14:52,347 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'apt-key adv --keyserver keyserver.ubuntu.com --recv EC4926EA' in directory '/root'
2018-02-16 17:14:52,527 [salt.state       ][INFO    ][2438] {'pid': 2497, 'retcode': 0, 'stderr': 'gpg: requesting key EC4926EA from hkp server keyserver.ubuntu.com\ngpg: key EC4926EA: public key "Canonical Cloud Archive Signing Key <ftpmaster@canonical.com>" imported\ngpg: Total number processed: 1\ngpg:               imported: 1  (RSA: 1)', 'stdout': 'Executing: /tmp/tmp.zyKg7cXB32/gpg.1.sh --keyserver\nkeyserver.ubuntu.com\n--recv\nEC4926EA'}
2018-02-16 17:14:52,527 [salt.state       ][INFO    ][2438] Completed state [apt-key adv --keyserver keyserver.ubuntu.com --recv EC4926EA] at time 17:14:52.527530 duration_in_ms=180.814
2018-02-16 17:14:52,531 [salt.state       ][INFO    ][2438] Running state [deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/pike main] at time 17:14:52.531528
2018-02-16 17:14:52,531 [salt.state       ][INFO    ][2438] Executing state pkgrepo.managed for deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/pike main
2018-02-16 17:14:52,616 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['apt-get', '-q', 'update'] in directory '/root'
2018-02-16 17:14:54,085 [salt.minion      ][INFO    ][2343] User sudo_ubuntu Executing command saltutil.find_job with jid 20180216171455702051
2018-02-16 17:14:54,099 [salt.minion      ][INFO    ][2924] Starting a new job with PID 2924
2018-02-16 17:14:54,112 [salt.minion      ][INFO    ][2924] Returning information for job: 20180216171455702051
2018-02-16 17:14:55,861 [salt.state       ][INFO    ][2438] {'repo': 'deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/pike main'}
2018-02-16 17:14:55,861 [salt.state       ][INFO    ][2438] Completed state [deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/pike main] at time 17:14:55.861773 duration_in_ms=3330.245
2018-02-16 17:14:55,862 [salt.state       ][INFO    ][2438] Running state [linux_extra_packages_purged] at time 17:14:55.862298
2018-02-16 17:14:55,862 [salt.state       ][INFO    ][2438] Executing state pkg.purged for linux_extra_packages_purged
2018-02-16 17:14:55,889 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemd-run', '--scope', 'apt-get', '-q', '-y', 'purge', 'cloud-init', 'unattended-upgrades'] in directory '/root'
2018-02-16 17:14:59,933 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
2018-02-16 17:14:59,961 [salt.state       ][INFO    ][2438] {'removed': {}, 'installed': {'cloud-init': {'new': '', 'old': '17.1-46-g7acc9e68-0ubuntu1~16.04.1'}, 'ec2-init': {'new': '', 'old': '1'}, 'unattended-upgrades': {'new': '', 'old': '0.90ubuntu0.9'}}}
2018-02-16 17:14:59,978 [salt.state       ][INFO    ][2438] Loading fresh modules for state activity
2018-02-16 17:15:00,001 [salt.state       ][INFO    ][2438] Completed state [linux_extra_packages_purged] at time 17:15:00.001574 duration_in_ms=4139.275
2018-02-16 17:15:00,006 [salt.state       ][INFO    ][2438] Running state [linux_extra_packages_latest] at time 17:15:00.006004
2018-02-16 17:15:00,006 [salt.state       ][INFO    ][2438] Executing state pkg.latest for linux_extra_packages_latest
2018-02-16 17:15:00,320 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['apt-cache', '-q', 'policy', 'libapache2-mod-wsgi'] in directory '/root'
2018-02-16 17:15:00,358 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['apt-cache', '-q', 'policy', 'mcelog'] in directory '/root'
2018-02-16 17:15:00,404 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['dpkg', '--get-selections', '*'] in directory '/root'
2018-02-16 17:15:00,427 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemd-run', '--scope', 'apt-get', '-q', '-y', '-o', 'DPkg::Options::=--force-confold', '-o', 'DPkg::Options::=--force-confdef', 'install', 'libapache2-mod-wsgi', 'mcelog'] in directory '/root'
2018-02-16 17:15:04,295 [salt.minion      ][INFO    ][2343] User sudo_ubuntu Executing command saltutil.find_job with jid 20180216171505916402
2018-02-16 17:15:04,311 [salt.minion      ][INFO    ][4247] Starting a new job with PID 4247
2018-02-16 17:15:04,326 [salt.minion      ][INFO    ][4247] Returning information for job: 20180216171505916402
2018-02-16 17:15:04,378 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
2018-02-16 17:15:04,462 [salt.state       ][INFO    ][2438] Made the following changes:
'libaprutil1-ldap' changed from 'absent' to '1.5.4-1build1'
'libapr1' changed from 'absent' to '1.5.2-3'
'libpython2.7' changed from 'absent' to '2.7.12-1ubuntu0~16.04.3'
'libapache2-mod-wsgi' changed from 'absent' to '4.3.0-1.1build1'
'apache2-api-20120211' changed from 'absent' to '1'
'libaprutil1' changed from 'absent' to '1.5.4-1build1'
'liblua5.1-0' changed from 'absent' to '5.1.5-8ubuntu1'
'libaprutil1-dbd-sqlite3' changed from 'absent' to '1.5.4-1build1'
'mcelog' changed from 'absent' to '128+dfsg-1'
'httpd-wsgi' changed from 'absent' to '1'
'apache2-bin' changed from 'absent' to '2.4.18-2ubuntu3.5'

2018-02-16 17:15:04,475 [salt.state       ][INFO    ][2438] Loading fresh modules for state activity
2018-02-16 17:15:04,506 [salt.state       ][INFO    ][2438] Completed state [linux_extra_packages_latest] at time 17:15:04.506702 duration_in_ms=4500.697
2018-02-16 17:15:04,509 [salt.state       ][INFO    ][2438] Running state [UTC] at time 17:15:04.509946
2018-02-16 17:15:04,510 [salt.state       ][INFO    ][2438] Executing state timezone.system for UTC
2018-02-16 17:15:04,513 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['timedatectl'] in directory '/root'
2018-02-16 17:15:04,565 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['timedatectl'] in directory '/root'
2018-02-16 17:15:04,580 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'timedatectl set-timezone UTC' in directory '/root'
2018-02-16 17:15:04,595 [salt.state       ][INFO    ][2438] {'timezone': 'UTC'}
2018-02-16 17:15:04,595 [salt.state       ][INFO    ][2438] Completed state [UTC] at time 17:15:04.595570 duration_in_ms=85.624
2018-02-16 17:15:04,598 [salt.state       ][INFO    ][2438] Running state [nf_conntrack] at time 17:15:04.598003
2018-02-16 17:15:04,598 [salt.state       ][INFO    ][2438] Executing state kmod.present for nf_conntrack
2018-02-16 17:15:04,598 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'lsmod' in directory '/root'
2018-02-16 17:15:04,846 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'lsmod' in directory '/root'
2018-02-16 17:15:04,860 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'modprobe nf_conntrack' in directory '/root'
2018-02-16 17:15:04,883 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'lsmod' in directory '/root'
2018-02-16 17:15:04,981 [salt.state       ][INFO    ][2438] {'nf_conntrack': 'loaded'}
2018-02-16 17:15:04,982 [salt.state       ][INFO    ][2438] Completed state [nf_conntrack] at time 17:15:04.981929 duration_in_ms=383.925
2018-02-16 17:15:04,985 [salt.state       ][INFO    ][2438] Running state [net.ipv4.tcp_keepalive_probes] at time 17:15:04.985130
2018-02-16 17:15:04,985 [salt.state       ][INFO    ][2438] Executing state sysctl.present for net.ipv4.tcp_keepalive_probes
2018-02-16 17:15:04,986 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -a' in directory '/root'
2018-02-16 17:15:05,033 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -w net.ipv4.tcp_keepalive_probes="8"' in directory '/root'
2018-02-16 17:15:05,044 [salt.state       ][INFO    ][2438] {'net.ipv4.tcp_keepalive_probes': 8}
2018-02-16 17:15:05,045 [salt.state       ][INFO    ][2438] Completed state [net.ipv4.tcp_keepalive_probes] at time 17:15:05.045104 duration_in_ms=59.973
2018-02-16 17:15:05,045 [salt.state       ][INFO    ][2438] Running state [fs.file-max] at time 17:15:05.045619
2018-02-16 17:15:05,046 [salt.state       ][INFO    ][2438] Executing state sysctl.present for fs.file-max
2018-02-16 17:15:05,046 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -a' in directory '/root'
2018-02-16 17:15:05,076 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -w fs.file-max="124165"' in directory '/root'
2018-02-16 17:15:05,086 [salt.state       ][INFO    ][2438] {'fs.file-max': 124165}
2018-02-16 17:15:05,087 [salt.state       ][INFO    ][2438] Completed state [fs.file-max] at time 17:15:05.087214 duration_in_ms=41.594
2018-02-16 17:15:05,087 [salt.state       ][INFO    ][2438] Running state [net.core.somaxconn] at time 17:15:05.087754
2018-02-16 17:15:05,088 [salt.state       ][INFO    ][2438] Executing state sysctl.present for net.core.somaxconn
2018-02-16 17:15:05,089 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -a' in directory '/root'
2018-02-16 17:15:05,117 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -w net.core.somaxconn="4096"' in directory '/root'
2018-02-16 17:15:05,127 [salt.state       ][INFO    ][2438] {'net.core.somaxconn': 4096}
2018-02-16 17:15:05,127 [salt.state       ][INFO    ][2438] Completed state [net.core.somaxconn] at time 17:15:05.127348 duration_in_ms=39.606
2018-02-16 17:15:05,127 [salt.state       ][INFO    ][2438] Running state [net.ipv4.tcp_max_syn_backlog] at time 17:15:05.127723
2018-02-16 17:15:05,128 [salt.state       ][INFO    ][2438] Executing state sysctl.present for net.ipv4.tcp_max_syn_backlog
2018-02-16 17:15:05,128 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -a' in directory '/root'
2018-02-16 17:15:05,156 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -w net.ipv4.tcp_max_syn_backlog="8192"' in directory '/root'
2018-02-16 17:15:05,166 [salt.state       ][INFO    ][2438] {'net.ipv4.tcp_max_syn_backlog': 8192}
2018-02-16 17:15:05,166 [salt.state       ][INFO    ][2438] Completed state [net.ipv4.tcp_max_syn_backlog] at time 17:15:05.166645 duration_in_ms=38.922
2018-02-16 17:15:05,167 [salt.state       ][INFO    ][2438] Running state [net.ipv4.tcp_tw_reuse] at time 17:15:05.167027
2018-02-16 17:15:05,167 [salt.state       ][INFO    ][2438] Executing state sysctl.present for net.ipv4.tcp_tw_reuse
2018-02-16 17:15:05,168 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -a' in directory '/root'
2018-02-16 17:15:05,195 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -w net.ipv4.tcp_tw_reuse="1"' in directory '/root'
2018-02-16 17:15:05,205 [salt.state       ][INFO    ][2438] {'net.ipv4.tcp_tw_reuse': 1}
2018-02-16 17:15:05,205 [salt.state       ][INFO    ][2438] Completed state [net.ipv4.tcp_tw_reuse] at time 17:15:05.205620 duration_in_ms=38.593
2018-02-16 17:15:05,206 [salt.state       ][INFO    ][2438] Running state [net.ipv4.tcp_congestion_control] at time 17:15:05.205964
2018-02-16 17:15:05,206 [salt.state       ][INFO    ][2438] Executing state sysctl.present for net.ipv4.tcp_congestion_control
2018-02-16 17:15:05,206 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -a' in directory '/root'
2018-02-16 17:15:05,233 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -w net.ipv4.tcp_congestion_control="yeah"' in directory '/root'
2018-02-16 17:15:05,247 [salt.state       ][INFO    ][2438] {'net.ipv4.tcp_congestion_control': 'yeah'}
2018-02-16 17:15:05,247 [salt.state       ][INFO    ][2438] Completed state [net.ipv4.tcp_congestion_control] at time 17:15:05.247703 duration_in_ms=41.739
2018-02-16 17:15:05,248 [salt.state       ][INFO    ][2438] Running state [net.nf_conntrack_max] at time 17:15:05.248219
2018-02-16 17:15:05,248 [salt.state       ][INFO    ][2438] Executing state sysctl.present for net.nf_conntrack_max
2018-02-16 17:15:05,249 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -a' in directory '/root'
2018-02-16 17:15:05,277 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -w net.nf_conntrack_max="1048576"' in directory '/root'
2018-02-16 17:15:05,288 [salt.state       ][INFO    ][2438] {'net.nf_conntrack_max': 1048576}
2018-02-16 17:15:05,288 [salt.state       ][INFO    ][2438] Completed state [net.nf_conntrack_max] at time 17:15:05.288674 duration_in_ms=40.455
2018-02-16 17:15:05,289 [salt.state       ][INFO    ][2438] Running state [net.ipv4.tcp_retries2] at time 17:15:05.289204
2018-02-16 17:15:05,289 [salt.state       ][INFO    ][2438] Executing state sysctl.present for net.ipv4.tcp_retries2
2018-02-16 17:15:05,290 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -a' in directory '/root'
2018-02-16 17:15:05,321 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -w net.ipv4.tcp_retries2="5"' in directory '/root'
2018-02-16 17:15:05,333 [salt.state       ][INFO    ][2438] {'net.ipv4.tcp_retries2': 5}
2018-02-16 17:15:05,334 [salt.state       ][INFO    ][2438] Completed state [net.ipv4.tcp_retries2] at time 17:15:05.334017 duration_in_ms=44.813
2018-02-16 17:15:05,334 [salt.state       ][INFO    ][2438] Running state [net.ipv4.tcp_fin_timeout] at time 17:15:05.334534
2018-02-16 17:15:05,335 [salt.state       ][INFO    ][2438] Executing state sysctl.present for net.ipv4.tcp_fin_timeout
2018-02-16 17:15:05,335 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -a' in directory '/root'
2018-02-16 17:15:05,365 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -w net.ipv4.tcp_fin_timeout="30"' in directory '/root'
2018-02-16 17:15:05,376 [salt.state       ][INFO    ][2438] {'net.ipv4.tcp_fin_timeout': 30}
2018-02-16 17:15:05,377 [salt.state       ][INFO    ][2438] Completed state [net.ipv4.tcp_fin_timeout] at time 17:15:05.377096 duration_in_ms=42.561
2018-02-16 17:15:05,377 [salt.state       ][INFO    ][2438] Running state [net.ipv4.tcp_slow_start_after_idle] at time 17:15:05.377634
2018-02-16 17:15:05,378 [salt.state       ][INFO    ][2438] Executing state sysctl.present for net.ipv4.tcp_slow_start_after_idle
2018-02-16 17:15:05,379 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -a' in directory '/root'
2018-02-16 17:15:05,408 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -w net.ipv4.tcp_slow_start_after_idle="0"' in directory '/root'
2018-02-16 17:15:05,419 [salt.state       ][INFO    ][2438] {'net.ipv4.tcp_slow_start_after_idle': 0}
2018-02-16 17:15:05,420 [salt.state       ][INFO    ][2438] Completed state [net.ipv4.tcp_slow_start_after_idle] at time 17:15:05.420496 duration_in_ms=42.861
2018-02-16 17:15:05,421 [salt.state       ][INFO    ][2438] Running state [vm.swappiness] at time 17:15:05.421098
2018-02-16 17:15:05,421 [salt.state       ][INFO    ][2438] Executing state sysctl.present for vm.swappiness
2018-02-16 17:15:05,422 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -a' in directory '/root'
2018-02-16 17:15:05,452 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -w vm.swappiness="10"' in directory '/root'
2018-02-16 17:15:05,463 [salt.state       ][INFO    ][2438] {'vm.swappiness': 10}
2018-02-16 17:15:05,464 [salt.state       ][INFO    ][2438] Completed state [vm.swappiness] at time 17:15:05.464366 duration_in_ms=43.267
2018-02-16 17:15:05,465 [salt.state       ][INFO    ][2438] Running state [net.ipv4.tcp_keepalive_intvl] at time 17:15:05.464982
2018-02-16 17:15:05,465 [salt.state       ][INFO    ][2438] Executing state sysctl.present for net.ipv4.tcp_keepalive_intvl
2018-02-16 17:15:05,466 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -a' in directory '/root'
2018-02-16 17:15:05,499 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -w net.ipv4.tcp_keepalive_intvl="3"' in directory '/root'
2018-02-16 17:15:05,511 [salt.state       ][INFO    ][2438] {'net.ipv4.tcp_keepalive_intvl': 3}
2018-02-16 17:15:05,512 [salt.state       ][INFO    ][2438] Completed state [net.ipv4.tcp_keepalive_intvl] at time 17:15:05.512406 duration_in_ms=47.424
2018-02-16 17:15:05,513 [salt.state       ][INFO    ][2438] Running state [net.ipv4.neigh.default.gc_thresh1] at time 17:15:05.512988
2018-02-16 17:15:05,513 [salt.state       ][INFO    ][2438] Executing state sysctl.present for net.ipv4.neigh.default.gc_thresh1
2018-02-16 17:15:05,514 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -a' in directory '/root'
2018-02-16 17:15:05,546 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -w net.ipv4.neigh.default.gc_thresh1="4096"' in directory '/root'
2018-02-16 17:15:05,559 [salt.state       ][INFO    ][2438] {'net.ipv4.neigh.default.gc_thresh1': 4096}
2018-02-16 17:15:05,560 [salt.state       ][INFO    ][2438] Completed state [net.ipv4.neigh.default.gc_thresh1] at time 17:15:05.560255 duration_in_ms=47.267
2018-02-16 17:15:05,560 [salt.state       ][INFO    ][2438] Running state [net.ipv4.neigh.default.gc_thresh2] at time 17:15:05.560830
2018-02-16 17:15:05,561 [salt.state       ][INFO    ][2438] Executing state sysctl.present for net.ipv4.neigh.default.gc_thresh2
2018-02-16 17:15:05,562 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -a' in directory '/root'
2018-02-16 17:15:05,594 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -w net.ipv4.neigh.default.gc_thresh2="8192"' in directory '/root'
2018-02-16 17:15:05,607 [salt.state       ][INFO    ][2438] {'net.ipv4.neigh.default.gc_thresh2': 8192}
2018-02-16 17:15:05,608 [salt.state       ][INFO    ][2438] Completed state [net.ipv4.neigh.default.gc_thresh2] at time 17:15:05.608303 duration_in_ms=47.473
2018-02-16 17:15:05,608 [salt.state       ][INFO    ][2438] Running state [net.ipv4.neigh.default.gc_thresh3] at time 17:15:05.608918
2018-02-16 17:15:05,609 [salt.state       ][INFO    ][2438] Executing state sysctl.present for net.ipv4.neigh.default.gc_thresh3
2018-02-16 17:15:05,610 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -a' in directory '/root'
2018-02-16 17:15:05,643 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -w net.ipv4.neigh.default.gc_thresh3="16384"' in directory '/root'
2018-02-16 17:15:05,656 [salt.state       ][INFO    ][2438] {'net.ipv4.neigh.default.gc_thresh3': 16384}
2018-02-16 17:15:05,657 [salt.state       ][INFO    ][2438] Completed state [net.ipv4.neigh.default.gc_thresh3] at time 17:15:05.657650 duration_in_ms=48.731
2018-02-16 17:15:05,658 [salt.state       ][INFO    ][2438] Running state [net.core.netdev_max_backlog] at time 17:15:05.658249
2018-02-16 17:15:05,658 [salt.state       ][INFO    ][2438] Executing state sysctl.present for net.core.netdev_max_backlog
2018-02-16 17:15:05,659 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -a' in directory '/root'
2018-02-16 17:15:05,692 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -w net.core.netdev_max_backlog="261144"' in directory '/root'
2018-02-16 17:15:05,706 [salt.state       ][INFO    ][2438] {'net.core.netdev_max_backlog': 261144}
2018-02-16 17:15:05,707 [salt.state       ][INFO    ][2438] Completed state [net.core.netdev_max_backlog] at time 17:15:05.707099 duration_in_ms=48.849
2018-02-16 17:15:05,707 [salt.state       ][INFO    ][2438] Running state [net.ipv4.tcp_keepalive_time] at time 17:15:05.707706
2018-02-16 17:15:05,708 [salt.state       ][INFO    ][2438] Executing state sysctl.present for net.ipv4.tcp_keepalive_time
2018-02-16 17:15:05,709 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -a' in directory '/root'
2018-02-16 17:15:05,741 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -w net.ipv4.tcp_keepalive_time="30"' in directory '/root'
2018-02-16 17:15:05,755 [salt.state       ][INFO    ][2438] {'net.ipv4.tcp_keepalive_time': 30}
2018-02-16 17:15:05,755 [salt.state       ][INFO    ][2438] Completed state [net.ipv4.tcp_keepalive_time] at time 17:15:05.755819 duration_in_ms=48.112
2018-02-16 17:15:05,756 [salt.state       ][INFO    ][2438] Running state [kernel.panic] at time 17:15:05.756412
2018-02-16 17:15:05,756 [salt.state       ][INFO    ][2438] Executing state sysctl.present for kernel.panic
2018-02-16 17:15:05,757 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -a' in directory '/root'
2018-02-16 17:15:05,790 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'sysctl -w kernel.panic="60"' in directory '/root'
2018-02-16 17:15:05,803 [salt.state       ][INFO    ][2438] {'kernel.panic': 60}
2018-02-16 17:15:05,804 [salt.state       ][INFO    ][2438] Completed state [kernel.panic] at time 17:15:05.804278 duration_in_ms=47.866
2018-02-16 17:15:05,810 [salt.state       ][INFO    ][2438] Running state [linux_sysfs_package] at time 17:15:05.810704
2018-02-16 17:15:05,811 [salt.state       ][INFO    ][2438] Executing state pkg.installed for linux_sysfs_package
2018-02-16 17:15:06,169 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['apt-cache', '-q', 'policy', 'sysfsutils'] in directory '/root'
2018-02-16 17:15:06,219 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['apt-get', '-q', 'update'] in directory '/root'
2018-02-16 17:15:07,938 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['dpkg', '--get-selections', '*'] in directory '/root'
2018-02-16 17:15:07,959 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemd-run', '--scope', 'apt-get', '-q', '-y', '-o', 'DPkg::Options::=--force-confold', '-o', 'DPkg::Options::=--force-confdef', 'install', 'sysfsutils'] in directory '/root'
2018-02-16 17:15:10,353 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
2018-02-16 17:15:10,387 [salt.state       ][INFO    ][2438] Made the following changes:
'libsysfs2' changed from 'absent' to '2.1.0+repack-4'
'sysfsutils' changed from 'absent' to '2.1.0+repack-4'

2018-02-16 17:15:10,404 [salt.state       ][INFO    ][2438] Loading fresh modules for state activity
2018-02-16 17:15:10,430 [salt.state       ][INFO    ][2438] Completed state [linux_sysfs_package] at time 17:15:10.430906 duration_in_ms=4620.202
2018-02-16 17:15:10,434 [salt.state       ][INFO    ][2438] Running state [/etc/sysfs.d] at time 17:15:10.434696
2018-02-16 17:15:10,435 [salt.state       ][INFO    ][2438] Executing state file.directory for /etc/sysfs.d
2018-02-16 17:15:10,438 [salt.state       ][INFO    ][2438] Directory /etc/sysfs.d is in the correct state
2018-02-16 17:15:10,439 [salt.state       ][INFO    ][2438] Completed state [/etc/sysfs.d] at time 17:15:10.438988 duration_in_ms=4.291
2018-02-16 17:15:10,696 [salt.state       ][INFO    ][2438] Running state [ondemand] at time 17:15:10.696561
2018-02-16 17:15:10,697 [salt.state       ][INFO    ][2438] Executing state service.dead for ondemand
2018-02-16 17:15:10,699 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemctl', 'status', 'ondemand.service', '-n', '0'] in directory '/root'
2018-02-16 17:15:10,718 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemctl', 'is-active', 'ondemand.service'] in directory '/root'
2018-02-16 17:15:10,731 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemctl', 'is-enabled', 'ondemand.service'] in directory '/root'
2018-02-16 17:15:10,746 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemd-run', '--scope', 'systemctl', 'stop', 'ondemand.service'] in directory '/root'
2018-02-16 17:15:10,797 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemctl', 'is-active', 'ondemand.service'] in directory '/root'
2018-02-16 17:15:10,814 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemctl', 'is-enabled', 'ondemand.service'] in directory '/root'
2018-02-16 17:15:10,832 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemctl', 'is-enabled', 'ondemand.service'] in directory '/root'
2018-02-16 17:15:10,853 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemd-run', '--scope', '/usr/sbin/update-rc.d', '-f', 'ondemand', 'remove'] in directory '/root'
2018-02-16 17:15:11,005 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemctl', 'is-enabled', 'ondemand.service'] in directory '/root'
2018-02-16 17:15:11,022 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'runlevel' in directory '/root'
2018-02-16 17:15:11,032 [salt.state       ][INFO    ][2438] {'ondemand': True}
2018-02-16 17:15:11,033 [salt.state       ][INFO    ][2438] Completed state [ondemand] at time 17:15:11.033280 duration_in_ms=336.719
2018-02-16 17:15:11,034 [salt.state       ][INFO    ][2438] Running state [cs_CZ.UTF-8] at time 17:15:11.034195
2018-02-16 17:15:11,034 [salt.state       ][INFO    ][2438] Executing state locale.present for cs_CZ.UTF-8
2018-02-16 17:15:11,035 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'locale -a' in directory '/root'
2018-02-16 17:15:11,049 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['locale-gen', 'cs_CZ.utf8'] in directory '/root'
2018-02-16 17:15:11,730 [salt.state       ][INFO    ][2438] {'locale': 'cs_CZ.UTF-8'}
2018-02-16 17:15:11,730 [salt.state       ][INFO    ][2438] Completed state [cs_CZ.UTF-8] at time 17:15:11.730669 duration_in_ms=696.474
2018-02-16 17:15:11,731 [salt.state       ][INFO    ][2438] Running state [en_US.UTF-8] at time 17:15:11.731241
2018-02-16 17:15:11,731 [salt.state       ][INFO    ][2438] Executing state locale.present for en_US.UTF-8
2018-02-16 17:15:11,732 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'locale -a' in directory '/root'
2018-02-16 17:15:11,743 [salt.state       ][INFO    ][2438] Locale en_US.UTF-8 is already present
2018-02-16 17:15:11,744 [salt.state       ][INFO    ][2438] Completed state [en_US.UTF-8] at time 17:15:11.744263 duration_in_ms=13.022
2018-02-16 17:15:11,746 [salt.state       ][INFO    ][2438] Running state [en_US.UTF-8] at time 17:15:11.746004
2018-02-16 17:15:11,746 [salt.state       ][INFO    ][2438] Executing state locale.system for en_US.UTF-8
2018-02-16 17:15:11,747 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'localectl' in directory '/root'
2018-02-16 17:15:11,792 [salt.state       ][INFO    ][2438] System locale en_US.UTF-8 already set
2018-02-16 17:15:11,793 [salt.state       ][INFO    ][2438] Completed state [en_US.UTF-8] at time 17:15:11.793399 duration_in_ms=47.395
2018-02-16 17:15:11,795 [salt.state       ][INFO    ][2438] Running state [root] at time 17:15:11.795529
2018-02-16 17:15:11,796 [salt.state       ][INFO    ][2438] Executing state user.present for root
2018-02-16 17:15:11,801 [salt.state       ][INFO    ][2438] User root is present and up to date
2018-02-16 17:15:11,802 [salt.state       ][INFO    ][2438] Completed state [root] at time 17:15:11.802003 duration_in_ms=6.473
2018-02-16 17:15:11,803 [salt.state       ][INFO    ][2438] Running state [/root] at time 17:15:11.803503
2018-02-16 17:15:11,803 [salt.state       ][INFO    ][2438] Executing state file.directory for /root
2018-02-16 17:15:11,804 [salt.state       ][INFO    ][2438] Directory /root is in the correct state
2018-02-16 17:15:11,805 [salt.state       ][INFO    ][2438] Completed state [/root] at time 17:15:11.805235 duration_in_ms=1.732
2018-02-16 17:15:11,805 [salt.state       ][INFO    ][2438] Running state [/etc/sudoers.d/90-salt-user-root] at time 17:15:11.805671
2018-02-16 17:15:11,806 [salt.state       ][INFO    ][2438] Executing state file.absent for /etc/sudoers.d/90-salt-user-root
2018-02-16 17:15:11,806 [salt.state       ][INFO    ][2438] File /etc/sudoers.d/90-salt-user-root is not present
2018-02-16 17:15:11,807 [salt.state       ][INFO    ][2438] Completed state [/etc/sudoers.d/90-salt-user-root] at time 17:15:11.806962 duration_in_ms=1.291
2018-02-16 17:15:11,807 [salt.state       ][INFO    ][2438] Running state [ubuntu] at time 17:15:11.807375
2018-02-16 17:15:11,807 [salt.state       ][INFO    ][2438] Executing state user.present for ubuntu
2018-02-16 17:15:11,810 [salt.state       ][INFO    ][2438] {'passwd': 'XXX-REDACTED-XXX'}
2018-02-16 17:15:11,811 [salt.state       ][INFO    ][2438] Completed state [ubuntu] at time 17:15:11.811201 duration_in_ms=3.826
2018-02-16 17:15:11,812 [salt.state       ][INFO    ][2438] Running state [/home/ubuntu] at time 17:15:11.812218
2018-02-16 17:15:11,812 [salt.state       ][INFO    ][2438] Executing state file.directory for /home/ubuntu
2018-02-16 17:15:11,813 [salt.state       ][INFO    ][2438] {'mode': '0700'}
2018-02-16 17:15:11,814 [salt.state       ][INFO    ][2438] Completed state [/home/ubuntu] at time 17:15:11.813981 duration_in_ms=1.764
2018-02-16 17:15:11,815 [salt.state       ][INFO    ][2438] Running state [/etc/sudoers.d/90-salt-user-ubuntu] at time 17:15:11.814991
2018-02-16 17:15:11,815 [salt.state       ][INFO    ][2438] Executing state file.managed for /etc/sudoers.d/90-salt-user-ubuntu
2018-02-16 17:15:11,849 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/files/sudoer'
2018-02-16 17:15:11,854 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command '/usr/sbin/visudo -c -f /tmp/tmpkkrbJZ' in directory '/root'
2018-02-16 17:15:11,875 [salt.state       ][INFO    ][2438] File changed:
New file
2018-02-16 17:15:11,875 [salt.state       ][INFO    ][2438] Completed state [/etc/sudoers.d/90-salt-user-ubuntu] at time 17:15:11.875840 duration_in_ms=60.848
2018-02-16 17:15:11,876 [salt.state       ][INFO    ][2438] Running state [/etc/security/limits.d/90-salt-default.conf] at time 17:15:11.876394
2018-02-16 17:15:11,877 [salt.state       ][INFO    ][2438] Executing state file.managed for /etc/security/limits.d/90-salt-default.conf
2018-02-16 17:15:11,906 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/files/limits.conf'
2018-02-16 17:15:11,990 [salt.state       ][INFO    ][2438] File changed:
New file
2018-02-16 17:15:11,991 [salt.state       ][INFO    ][2438] Completed state [/etc/security/limits.d/90-salt-default.conf] at time 17:15:11.991048 duration_in_ms=114.653
2018-02-16 17:15:11,991 [salt.state       ][INFO    ][2438] Running state [/etc/systemd/system.conf.d/90-salt.conf] at time 17:15:11.991660
2018-02-16 17:15:11,992 [salt.state       ][INFO    ][2438] Executing state file.managed for /etc/systemd/system.conf.d/90-salt.conf
2018-02-16 17:15:12,021 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/files/systemd.conf'
2018-02-16 17:15:12,092 [salt.state       ][INFO    ][2438] File changed:
New file
2018-02-16 17:15:12,092 [salt.state       ][INFO    ][2438] Completed state [/etc/systemd/system.conf.d/90-salt.conf] at time 17:15:12.092742 duration_in_ms=101.082
2018-02-16 17:15:12,094 [salt.state       ][INFO    ][2438] Running state [service.systemctl_reload] at time 17:15:12.094378
2018-02-16 17:15:12,094 [salt.state       ][INFO    ][2438] Executing state module.wait for service.systemctl_reload
2018-02-16 17:15:12,095 [salt.state       ][INFO    ][2438] No changes made for service.systemctl_reload
2018-02-16 17:15:12,095 [salt.state       ][INFO    ][2438] Completed state [service.systemctl_reload] at time 17:15:12.095556 duration_in_ms=1.178
2018-02-16 17:15:12,095 [salt.state       ][INFO    ][2438] Running state [service.systemctl_reload] at time 17:15:12.095948
2018-02-16 17:15:12,096 [salt.state       ][INFO    ][2438] Executing state module.mod_watch for service.systemctl_reload
2018-02-16 17:15:12,097 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemctl', '--system', 'daemon-reload'] in directory '/root'
2018-02-16 17:15:12,201 [salt.state       ][INFO    ][2438] {'ret': True}
2018-02-16 17:15:12,201 [salt.state       ][INFO    ][2438] Completed state [service.systemctl_reload] at time 17:15:12.201829 duration_in_ms=105.88
2018-02-16 17:15:12,202 [salt.state       ][INFO    ][2438] Running state [/etc/hostname] at time 17:15:12.202491
2018-02-16 17:15:12,203 [salt.state       ][INFO    ][2438] Executing state file.managed for /etc/hostname
2018-02-16 17:15:12,228 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'linux/files/hostname'
2018-02-16 17:15:12,233 [salt.state       ][INFO    ][2438] File changed:
--- 
+++ 
@@ -1 +1 @@
-ubuntu
+prx01

2018-02-16 17:15:12,233 [salt.state       ][INFO    ][2438] Completed state [/etc/hostname] at time 17:15:12.233318 duration_in_ms=30.826
2018-02-16 17:15:12,235 [salt.state       ][INFO    ][2438] Running state [hostname prx01] at time 17:15:12.235332
2018-02-16 17:15:12,235 [salt.state       ][INFO    ][2438] Executing state cmd.wait for hostname prx01
2018-02-16 17:15:12,235 [salt.state       ][INFO    ][2438] No changes made for hostname prx01
2018-02-16 17:15:12,236 [salt.state       ][INFO    ][2438] Completed state [hostname prx01] at time 17:15:12.236013 duration_in_ms=0.68
2018-02-16 17:15:12,236 [salt.state       ][INFO    ][2438] Running state [hostname prx01] at time 17:15:12.236186
2018-02-16 17:15:12,236 [salt.state       ][INFO    ][2438] Executing state cmd.mod_watch for hostname prx01
2018-02-16 17:15:12,237 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command 'hostname prx01' in directory '/root'
2018-02-16 17:15:12,249 [salt.state       ][INFO    ][2438] {'pid': 5215, 'retcode': 0, 'stderr': '', 'stdout': ''}
2018-02-16 17:15:12,250 [salt.state       ][INFO    ][2438] Completed state [hostname prx01] at time 17:15:12.250242 duration_in_ms=14.055
2018-02-16 17:15:12,251 [salt.state       ][INFO    ][2438] Running state [mdb02] at time 17:15:12.251338
2018-02-16 17:15:12,251 [salt.state       ][INFO    ][2438] Executing state host.present for mdb02
2018-02-16 17:15:12,252 [salt.state       ][INFO    ][2438] {'host': 'mdb02'}
2018-02-16 17:15:12,253 [salt.state       ][INFO    ][2438] Completed state [mdb02] at time 17:15:12.253070 duration_in_ms=1.732
2018-02-16 17:15:12,253 [salt.state       ][INFO    ][2438] Running state [mdb02.mcp-pike-ovs-ha.local] at time 17:15:12.253318
2018-02-16 17:15:12,253 [salt.state       ][INFO    ][2438] Executing state host.present for mdb02.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,254 [salt.state       ][INFO    ][2438] {'host': 'mdb02.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,254 [salt.state       ][INFO    ][2438] Completed state [mdb02.mcp-pike-ovs-ha.local] at time 17:15:12.254545 duration_in_ms=1.227
2018-02-16 17:15:12,254 [salt.state       ][INFO    ][2438] Running state [mdb03] at time 17:15:12.254798
2018-02-16 17:15:12,255 [salt.state       ][INFO    ][2438] Executing state host.present for mdb03
2018-02-16 17:15:12,255 [salt.state       ][INFO    ][2438] {'host': 'mdb03'}
2018-02-16 17:15:12,256 [salt.state       ][INFO    ][2438] Completed state [mdb03] at time 17:15:12.255994 duration_in_ms=1.196
2018-02-16 17:15:12,256 [salt.state       ][INFO    ][2438] Running state [mdb03.mcp-pike-ovs-ha.local] at time 17:15:12.256226
2018-02-16 17:15:12,256 [salt.state       ][INFO    ][2438] Executing state host.present for mdb03.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,257 [salt.state       ][INFO    ][2438] {'host': 'mdb03.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,257 [salt.state       ][INFO    ][2438] Completed state [mdb03.mcp-pike-ovs-ha.local] at time 17:15:12.257448 duration_in_ms=1.222
2018-02-16 17:15:12,257 [salt.state       ][INFO    ][2438] Running state [mdb01] at time 17:15:12.257668
2018-02-16 17:15:12,257 [salt.state       ][INFO    ][2438] Executing state host.present for mdb01
2018-02-16 17:15:12,258 [salt.state       ][INFO    ][2438] {'host': 'mdb01'}
2018-02-16 17:15:12,258 [salt.state       ][INFO    ][2438] Completed state [mdb01] at time 17:15:12.258864 duration_in_ms=1.196
2018-02-16 17:15:12,259 [salt.state       ][INFO    ][2438] Running state [mdb01.mcp-pike-ovs-ha.local] at time 17:15:12.259101
2018-02-16 17:15:12,259 [salt.state       ][INFO    ][2438] Executing state host.present for mdb01.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,260 [salt.state       ][INFO    ][2438] {'host': 'mdb01.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,260 [salt.state       ][INFO    ][2438] Completed state [mdb01.mcp-pike-ovs-ha.local] at time 17:15:12.260262 duration_in_ms=1.16
2018-02-16 17:15:12,260 [salt.state       ][INFO    ][2438] Running state [mdb] at time 17:15:12.260489
2018-02-16 17:15:12,260 [salt.state       ][INFO    ][2438] Executing state host.present for mdb
2018-02-16 17:15:12,261 [salt.state       ][INFO    ][2438] {'host': 'mdb'}
2018-02-16 17:15:12,261 [salt.state       ][INFO    ][2438] Completed state [mdb] at time 17:15:12.261743 duration_in_ms=1.255
2018-02-16 17:15:12,262 [salt.state       ][INFO    ][2438] Running state [mdb.mcp-pike-ovs-ha.local] at time 17:15:12.261978
2018-02-16 17:15:12,262 [salt.state       ][INFO    ][2438] Executing state host.present for mdb.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,263 [salt.state       ][INFO    ][2438] {'host': 'mdb.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,263 [salt.state       ][INFO    ][2438] Completed state [mdb.mcp-pike-ovs-ha.local] at time 17:15:12.263336 duration_in_ms=1.358
2018-02-16 17:15:12,263 [salt.state       ][INFO    ][2438] Running state [cfg01] at time 17:15:12.263551
2018-02-16 17:15:12,263 [salt.state       ][INFO    ][2438] Executing state host.present for cfg01
2018-02-16 17:15:12,264 [salt.state       ][INFO    ][2438] {'host': 'cfg01'}
2018-02-16 17:15:12,264 [salt.state       ][INFO    ][2438] Completed state [cfg01] at time 17:15:12.264790 duration_in_ms=1.239
2018-02-16 17:15:12,265 [salt.state       ][INFO    ][2438] Running state [cfg01.mcp-pike-ovs-ha.local] at time 17:15:12.265029
2018-02-16 17:15:12,265 [salt.state       ][INFO    ][2438] Executing state host.present for cfg01.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,266 [salt.state       ][INFO    ][2438] {'host': 'cfg01.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,266 [salt.state       ][INFO    ][2438] Completed state [cfg01.mcp-pike-ovs-ha.local] at time 17:15:12.266246 duration_in_ms=1.218
2018-02-16 17:15:12,266 [salt.state       ][INFO    ][2438] Running state [prx01] at time 17:15:12.266481
2018-02-16 17:15:12,266 [salt.state       ][INFO    ][2438] Executing state host.present for prx01
2018-02-16 17:15:12,267 [salt.state       ][INFO    ][2438] {'host': 'prx01'}
2018-02-16 17:15:12,267 [salt.state       ][INFO    ][2438] Completed state [prx01] at time 17:15:12.267692 duration_in_ms=1.21
2018-02-16 17:15:12,267 [salt.state       ][INFO    ][2438] Running state [prx01.mcp-pike-ovs-ha.local] at time 17:15:12.267918
2018-02-16 17:15:12,268 [salt.state       ][INFO    ][2438] Executing state host.present for prx01.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,268 [salt.state       ][INFO    ][2438] {'host': 'prx01.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,269 [salt.state       ][INFO    ][2438] Completed state [prx01.mcp-pike-ovs-ha.local] at time 17:15:12.269111 duration_in_ms=1.194
2018-02-16 17:15:12,269 [salt.state       ][INFO    ][2438] Running state [kvm01] at time 17:15:12.269332
2018-02-16 17:15:12,269 [salt.state       ][INFO    ][2438] Executing state host.present for kvm01
2018-02-16 17:15:12,270 [salt.state       ][INFO    ][2438] {'host': 'kvm01'}
2018-02-16 17:15:12,270 [salt.state       ][INFO    ][2438] Completed state [kvm01] at time 17:15:12.270511 duration_in_ms=1.178
2018-02-16 17:15:12,270 [salt.state       ][INFO    ][2438] Running state [kvm01.mcp-pike-ovs-ha.local] at time 17:15:12.270725
2018-02-16 17:15:12,270 [salt.state       ][INFO    ][2438] Executing state host.present for kvm01.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,271 [salt.state       ][INFO    ][2438] {'host': 'kvm01.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,271 [salt.state       ][INFO    ][2438] Completed state [kvm01.mcp-pike-ovs-ha.local] at time 17:15:12.271935 duration_in_ms=1.21
2018-02-16 17:15:12,272 [salt.state       ][INFO    ][2438] Running state [kvm03] at time 17:15:12.272149
2018-02-16 17:15:12,272 [salt.state       ][INFO    ][2438] Executing state host.present for kvm03
2018-02-16 17:15:12,273 [salt.state       ][INFO    ][2438] {'host': 'kvm03'}
2018-02-16 17:15:12,273 [salt.state       ][INFO    ][2438] Completed state [kvm03] at time 17:15:12.273367 duration_in_ms=1.217
2018-02-16 17:15:12,273 [salt.state       ][INFO    ][2438] Running state [kvm03.mcp-pike-ovs-ha.local] at time 17:15:12.273583
2018-02-16 17:15:12,273 [salt.state       ][INFO    ][2438] Executing state host.present for kvm03.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,275 [salt.state       ][INFO    ][2438] {'host': 'kvm03.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,275 [salt.state       ][INFO    ][2438] Completed state [kvm03.mcp-pike-ovs-ha.local] at time 17:15:12.275355 duration_in_ms=1.773
2018-02-16 17:15:12,275 [salt.state       ][INFO    ][2438] Running state [kvm02] at time 17:15:12.275584
2018-02-16 17:15:12,275 [salt.state       ][INFO    ][2438] Executing state host.present for kvm02
2018-02-16 17:15:12,276 [salt.state       ][INFO    ][2438] {'host': 'kvm02'}
2018-02-16 17:15:12,276 [salt.state       ][INFO    ][2438] Completed state [kvm02] at time 17:15:12.276796 duration_in_ms=1.211
2018-02-16 17:15:12,277 [salt.state       ][INFO    ][2438] Running state [kvm02.mcp-pike-ovs-ha.local] at time 17:15:12.277017
2018-02-16 17:15:12,277 [salt.state       ][INFO    ][2438] Executing state host.present for kvm02.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,278 [salt.state       ][INFO    ][2438] {'host': 'kvm02.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,278 [salt.state       ][INFO    ][2438] Completed state [kvm02.mcp-pike-ovs-ha.local] at time 17:15:12.278268 duration_in_ms=1.251
2018-02-16 17:15:12,278 [salt.state       ][INFO    ][2438] Running state [dbs] at time 17:15:12.278494
2018-02-16 17:15:12,278 [salt.state       ][INFO    ][2438] Executing state host.present for dbs
2018-02-16 17:15:12,279 [salt.state       ][INFO    ][2438] {'host': 'dbs'}
2018-02-16 17:15:12,279 [salt.state       ][INFO    ][2438] Completed state [dbs] at time 17:15:12.279720 duration_in_ms=1.226
2018-02-16 17:15:12,279 [salt.state       ][INFO    ][2438] Running state [dbs.mcp-pike-ovs-ha.local] at time 17:15:12.279927
2018-02-16 17:15:12,280 [salt.state       ][INFO    ][2438] Executing state host.present for dbs.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,281 [salt.state       ][INFO    ][2438] {'host': 'dbs.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,281 [salt.state       ][INFO    ][2438] Completed state [dbs.mcp-pike-ovs-ha.local] at time 17:15:12.281184 duration_in_ms=1.258
2018-02-16 17:15:12,281 [salt.state       ][INFO    ][2438] Running state [prx] at time 17:15:12.281405
2018-02-16 17:15:12,281 [salt.state       ][INFO    ][2438] Executing state host.present for prx
2018-02-16 17:15:12,282 [salt.state       ][INFO    ][2438] {'host': 'prx'}
2018-02-16 17:15:12,282 [salt.state       ][INFO    ][2438] Completed state [prx] at time 17:15:12.282612 duration_in_ms=1.207
2018-02-16 17:15:12,282 [salt.state       ][INFO    ][2438] Running state [prx.mcp-pike-ovs-ha.local] at time 17:15:12.282835
2018-02-16 17:15:12,283 [salt.state       ][INFO    ][2438] Executing state host.present for prx.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,283 [salt.state       ][INFO    ][2438] {'host': 'prx.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,284 [salt.state       ][INFO    ][2438] Completed state [prx.mcp-pike-ovs-ha.local] at time 17:15:12.284042 duration_in_ms=1.208
2018-02-16 17:15:12,284 [salt.state       ][INFO    ][2438] Running state [prx02] at time 17:15:12.284257
2018-02-16 17:15:12,284 [salt.state       ][INFO    ][2438] Executing state host.present for prx02
2018-02-16 17:15:12,285 [salt.state       ][INFO    ][2438] {'host': 'prx02'}
2018-02-16 17:15:12,285 [salt.state       ][INFO    ][2438] Completed state [prx02] at time 17:15:12.285476 duration_in_ms=1.219
2018-02-16 17:15:12,285 [salt.state       ][INFO    ][2438] Running state [prx02.mcp-pike-ovs-ha.local] at time 17:15:12.285690
2018-02-16 17:15:12,285 [salt.state       ][INFO    ][2438] Executing state host.present for prx02.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,286 [salt.state       ][INFO    ][2438] {'host': 'prx02.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,286 [salt.state       ][INFO    ][2438] Completed state [prx02.mcp-pike-ovs-ha.local] at time 17:15:12.286951 duration_in_ms=1.261
2018-02-16 17:15:12,287 [salt.state       ][INFO    ][2438] Running state [msg02] at time 17:15:12.287180
2018-02-16 17:15:12,287 [salt.state       ][INFO    ][2438] Executing state host.present for msg02
2018-02-16 17:15:12,288 [salt.state       ][INFO    ][2438] {'host': 'msg02'}
2018-02-16 17:15:12,288 [salt.state       ][INFO    ][2438] Completed state [msg02] at time 17:15:12.288411 duration_in_ms=1.231
2018-02-16 17:15:12,288 [salt.state       ][INFO    ][2438] Running state [msg02.mcp-pike-ovs-ha.local] at time 17:15:12.288632
2018-02-16 17:15:12,288 [salt.state       ][INFO    ][2438] Executing state host.present for msg02.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,289 [salt.state       ][INFO    ][2438] {'host': 'msg02.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,289 [salt.state       ][INFO    ][2438] Completed state [msg02.mcp-pike-ovs-ha.local] at time 17:15:12.289882 duration_in_ms=1.25
2018-02-16 17:15:12,290 [salt.state       ][INFO    ][2438] Running state [msg03] at time 17:15:12.290140
2018-02-16 17:15:12,290 [salt.state       ][INFO    ][2438] Executing state host.present for msg03
2018-02-16 17:15:12,291 [salt.state       ][INFO    ][2438] {'host': 'msg03'}
2018-02-16 17:15:12,291 [salt.state       ][INFO    ][2438] Completed state [msg03] at time 17:15:12.291417 duration_in_ms=1.277
2018-02-16 17:15:12,291 [salt.state       ][INFO    ][2438] Running state [msg03.mcp-pike-ovs-ha.local] at time 17:15:12.291632
2018-02-16 17:15:12,291 [salt.state       ][INFO    ][2438] Executing state host.present for msg03.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,292 [salt.state       ][INFO    ][2438] {'host': 'msg03.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,292 [salt.state       ][INFO    ][2438] Completed state [msg03.mcp-pike-ovs-ha.local] at time 17:15:12.292930 duration_in_ms=1.298
2018-02-16 17:15:12,293 [salt.state       ][INFO    ][2438] Running state [msg01] at time 17:15:12.293152
2018-02-16 17:15:12,293 [salt.state       ][INFO    ][2438] Executing state host.present for msg01
2018-02-16 17:15:12,294 [salt.state       ][INFO    ][2438] {'host': 'msg01'}
2018-02-16 17:15:12,294 [salt.state       ][INFO    ][2438] Completed state [msg01] at time 17:15:12.294560 duration_in_ms=1.408
2018-02-16 17:15:12,294 [salt.state       ][INFO    ][2438] Running state [msg01.mcp-pike-ovs-ha.local] at time 17:15:12.294764
2018-02-16 17:15:12,294 [salt.state       ][INFO    ][2438] Executing state host.present for msg01.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,295 [salt.state       ][INFO    ][2438] {'host': 'msg01.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,296 [salt.state       ][INFO    ][2438] Completed state [msg01.mcp-pike-ovs-ha.local] at time 17:15:12.296064 duration_in_ms=1.3
2018-02-16 17:15:12,296 [salt.state       ][INFO    ][2438] Running state [msg] at time 17:15:12.296288
2018-02-16 17:15:12,296 [salt.state       ][INFO    ][2438] Executing state host.present for msg
2018-02-16 17:15:12,297 [salt.state       ][INFO    ][2438] {'host': 'msg'}
2018-02-16 17:15:12,297 [salt.state       ][INFO    ][2438] Completed state [msg] at time 17:15:12.297618 duration_in_ms=1.331
2018-02-16 17:15:12,297 [salt.state       ][INFO    ][2438] Running state [msg.mcp-pike-ovs-ha.local] at time 17:15:12.297831
2018-02-16 17:15:12,298 [salt.state       ][INFO    ][2438] Executing state host.present for msg.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,299 [salt.state       ][INFO    ][2438] {'host': 'msg.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,299 [salt.state       ][INFO    ][2438] Completed state [msg.mcp-pike-ovs-ha.local] at time 17:15:12.299158 duration_in_ms=1.326
2018-02-16 17:15:12,299 [salt.state       ][INFO    ][2438] Running state [cfg01] at time 17:15:12.299383
2018-02-16 17:15:12,299 [salt.state       ][INFO    ][2438] Executing state host.present for cfg01
2018-02-16 17:15:12,299 [salt.state       ][INFO    ][2438] Host cfg01 (192.168.10.100) already present
2018-02-16 17:15:12,300 [salt.state       ][INFO    ][2438] Completed state [cfg01] at time 17:15:12.300119 duration_in_ms=0.736
2018-02-16 17:15:12,300 [salt.state       ][INFO    ][2438] Running state [cfg01.mcp-pike-ovs-ha.local] at time 17:15:12.300323
2018-02-16 17:15:12,300 [salt.state       ][INFO    ][2438] Executing state host.present for cfg01.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,300 [salt.state       ][INFO    ][2438] Host cfg01.mcp-pike-ovs-ha.local (192.168.10.100) already present
2018-02-16 17:15:12,301 [salt.state       ][INFO    ][2438] Completed state [cfg01.mcp-pike-ovs-ha.local] at time 17:15:12.301094 duration_in_ms=0.77
2018-02-16 17:15:12,301 [salt.state       ][INFO    ][2438] Running state [cmp002] at time 17:15:12.301290
2018-02-16 17:15:12,301 [salt.state       ][INFO    ][2438] Executing state host.present for cmp002
2018-02-16 17:15:12,302 [salt.state       ][INFO    ][2438] {'host': 'cmp002'}
2018-02-16 17:15:12,302 [salt.state       ][INFO    ][2438] Completed state [cmp002] at time 17:15:12.302642 duration_in_ms=1.352
2018-02-16 17:15:12,302 [salt.state       ][INFO    ][2438] Running state [cmp002.mcp-pike-ovs-ha.local] at time 17:15:12.302885
2018-02-16 17:15:12,303 [salt.state       ][INFO    ][2438] Executing state host.present for cmp002.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,304 [salt.state       ][INFO    ][2438] {'host': 'cmp002.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,304 [salt.state       ][INFO    ][2438] Completed state [cmp002.mcp-pike-ovs-ha.local] at time 17:15:12.304192 duration_in_ms=1.306
2018-02-16 17:15:12,304 [salt.state       ][INFO    ][2438] Running state [cmp001] at time 17:15:12.304412
2018-02-16 17:15:12,304 [salt.state       ][INFO    ][2438] Executing state host.present for cmp001
2018-02-16 17:15:12,305 [salt.state       ][INFO    ][2438] {'host': 'cmp001'}
2018-02-16 17:15:12,305 [salt.state       ][INFO    ][2438] Completed state [cmp001] at time 17:15:12.305805 duration_in_ms=1.393
2018-02-16 17:15:12,306 [salt.state       ][INFO    ][2438] Running state [cmp001.mcp-pike-ovs-ha.local] at time 17:15:12.306020
2018-02-16 17:15:12,306 [salt.state       ][INFO    ][2438] Executing state host.present for cmp001.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,307 [salt.state       ][INFO    ][2438] {'host': 'cmp001.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,307 [salt.state       ][INFO    ][2438] Completed state [cmp001.mcp-pike-ovs-ha.local] at time 17:15:12.307397 duration_in_ms=1.377
2018-02-16 17:15:12,307 [salt.state       ][INFO    ][2438] Running state [dbs01] at time 17:15:12.307626
2018-02-16 17:15:12,307 [salt.state       ][INFO    ][2438] Executing state host.present for dbs01
2018-02-16 17:15:12,309 [salt.state       ][INFO    ][2438] {'host': 'dbs01'}
2018-02-16 17:15:12,309 [salt.state       ][INFO    ][2438] Completed state [dbs01] at time 17:15:12.309228 duration_in_ms=1.602
2018-02-16 17:15:12,309 [salt.state       ][INFO    ][2438] Running state [dbs01.mcp-pike-ovs-ha.local] at time 17:15:12.309453
2018-02-16 17:15:12,309 [salt.state       ][INFO    ][2438] Executing state host.present for dbs01.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,310 [salt.state       ][INFO    ][2438] {'host': 'dbs01.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,310 [salt.state       ][INFO    ][2438] Completed state [dbs01.mcp-pike-ovs-ha.local] at time 17:15:12.310821 duration_in_ms=1.368
2018-02-16 17:15:12,311 [salt.state       ][INFO    ][2438] Running state [dbs02] at time 17:15:12.311054
2018-02-16 17:15:12,311 [salt.state       ][INFO    ][2438] Executing state host.present for dbs02
2018-02-16 17:15:12,312 [salt.state       ][INFO    ][2438] {'host': 'dbs02'}
2018-02-16 17:15:12,312 [salt.state       ][INFO    ][2438] Completed state [dbs02] at time 17:15:12.312351 duration_in_ms=1.297
2018-02-16 17:15:12,312 [salt.state       ][INFO    ][2438] Running state [dbs02.mcp-pike-ovs-ha.local] at time 17:15:12.312574
2018-02-16 17:15:12,312 [salt.state       ][INFO    ][2438] Executing state host.present for dbs02.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,313 [salt.state       ][INFO    ][2438] {'host': 'dbs02.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,313 [salt.state       ][INFO    ][2438] Completed state [dbs02.mcp-pike-ovs-ha.local] at time 17:15:12.313926 duration_in_ms=1.351
2018-02-16 17:15:12,314 [salt.state       ][INFO    ][2438] Running state [dbs03] at time 17:15:12.314157
2018-02-16 17:15:12,314 [salt.state       ][INFO    ][2438] Executing state host.present for dbs03
2018-02-16 17:15:12,315 [salt.state       ][INFO    ][2438] {'host': 'dbs03'}
2018-02-16 17:15:12,315 [salt.state       ][INFO    ][2438] Completed state [dbs03] at time 17:15:12.315508 duration_in_ms=1.35
2018-02-16 17:15:12,315 [salt.state       ][INFO    ][2438] Running state [dbs03.mcp-pike-ovs-ha.local] at time 17:15:12.315721
2018-02-16 17:15:12,315 [salt.state       ][INFO    ][2438] Executing state host.present for dbs03.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,316 [salt.state       ][INFO    ][2438] {'host': 'dbs03.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,317 [salt.state       ][INFO    ][2438] Completed state [dbs03.mcp-pike-ovs-ha.local] at time 17:15:12.317041 duration_in_ms=1.319
2018-02-16 17:15:12,317 [salt.state       ][INFO    ][2438] Running state [mas01] at time 17:15:12.317257
2018-02-16 17:15:12,317 [salt.state       ][INFO    ][2438] Executing state host.present for mas01
2018-02-16 17:15:12,318 [salt.state       ][INFO    ][2438] {'host': 'mas01'}
2018-02-16 17:15:12,318 [salt.state       ][INFO    ][2438] Completed state [mas01] at time 17:15:12.318587 duration_in_ms=1.33
2018-02-16 17:15:12,318 [salt.state       ][INFO    ][2438] Running state [mas01.mcp-pike-ovs-ha.local] at time 17:15:12.318820
2018-02-16 17:15:12,319 [salt.state       ][INFO    ][2438] Executing state host.present for mas01.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,320 [salt.state       ][INFO    ][2438] {'host': 'mas01.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,320 [salt.state       ][INFO    ][2438] Completed state [mas01.mcp-pike-ovs-ha.local] at time 17:15:12.320191 duration_in_ms=1.371
2018-02-16 17:15:12,320 [salt.state       ][INFO    ][2438] Running state [ctl02] at time 17:15:12.320414
2018-02-16 17:15:12,320 [salt.state       ][INFO    ][2438] Executing state host.present for ctl02
2018-02-16 17:15:12,321 [salt.state       ][INFO    ][2438] {'host': 'ctl02'}
2018-02-16 17:15:12,321 [salt.state       ][INFO    ][2438] Completed state [ctl02] at time 17:15:12.321940 duration_in_ms=1.525
2018-02-16 17:15:12,322 [salt.state       ][INFO    ][2438] Running state [ctl02.mcp-pike-ovs-ha.local] at time 17:15:12.322191
2018-02-16 17:15:12,322 [salt.state       ][INFO    ][2438] Executing state host.present for ctl02.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,323 [salt.state       ][INFO    ][2438] {'host': 'ctl02.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,323 [salt.state       ][INFO    ][2438] Completed state [ctl02.mcp-pike-ovs-ha.local] at time 17:15:12.323588 duration_in_ms=1.397
2018-02-16 17:15:12,323 [salt.state       ][INFO    ][2438] Running state [ctl03] at time 17:15:12.323822
2018-02-16 17:15:12,324 [salt.state       ][INFO    ][2438] Executing state host.present for ctl03
2018-02-16 17:15:12,325 [salt.state       ][INFO    ][2438] {'host': 'ctl03'}
2018-02-16 17:15:12,325 [salt.state       ][INFO    ][2438] Completed state [ctl03] at time 17:15:12.325215 duration_in_ms=1.393
2018-02-16 17:15:12,325 [salt.state       ][INFO    ][2438] Running state [ctl03.mcp-pike-ovs-ha.local] at time 17:15:12.325432
2018-02-16 17:15:12,325 [salt.state       ][INFO    ][2438] Executing state host.present for ctl03.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,326 [salt.state       ][INFO    ][2438] {'host': 'ctl03.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,326 [salt.state       ][INFO    ][2438] Completed state [ctl03.mcp-pike-ovs-ha.local] at time 17:15:12.326832 duration_in_ms=1.4
2018-02-16 17:15:12,327 [salt.state       ][INFO    ][2438] Running state [ctl01] at time 17:15:12.327053
2018-02-16 17:15:12,327 [salt.state       ][INFO    ][2438] Executing state host.present for ctl01
2018-02-16 17:15:12,328 [salt.state       ][INFO    ][2438] {'host': 'ctl01'}
2018-02-16 17:15:12,328 [salt.state       ][INFO    ][2438] Completed state [ctl01] at time 17:15:12.328410 duration_in_ms=1.358
2018-02-16 17:15:12,328 [salt.state       ][INFO    ][2438] Running state [ctl01.mcp-pike-ovs-ha.local] at time 17:15:12.328628
2018-02-16 17:15:12,328 [salt.state       ][INFO    ][2438] Executing state host.present for ctl01.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,329 [salt.state       ][INFO    ][2438] {'host': 'ctl01.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,330 [salt.state       ][INFO    ][2438] Completed state [ctl01.mcp-pike-ovs-ha.local] at time 17:15:12.330029 duration_in_ms=1.4
2018-02-16 17:15:12,330 [salt.state       ][INFO    ][2438] Running state [ctl] at time 17:15:12.330266
2018-02-16 17:15:12,330 [salt.state       ][INFO    ][2438] Executing state host.present for ctl
2018-02-16 17:15:12,331 [salt.state       ][INFO    ][2438] {'host': 'ctl'}
2018-02-16 17:15:12,331 [salt.state       ][INFO    ][2438] Completed state [ctl] at time 17:15:12.331629 duration_in_ms=1.363
2018-02-16 17:15:12,331 [salt.state       ][INFO    ][2438] Running state [ctl.mcp-pike-ovs-ha.local] at time 17:15:12.331869
2018-02-16 17:15:12,332 [salt.state       ][INFO    ][2438] Executing state host.present for ctl.mcp-pike-ovs-ha.local
2018-02-16 17:15:12,333 [salt.state       ][INFO    ][2438] {'host': 'ctl.mcp-pike-ovs-ha.local'}
2018-02-16 17:15:12,333 [salt.state       ][INFO    ][2438] Completed state [ctl.mcp-pike-ovs-ha.local] at time 17:15:12.333377 duration_in_ms=1.508
2018-02-16 17:15:12,333 [salt.state       ][INFO    ][2438] Running state [/etc/network/interfaces.d/50-cloud-init.cfg] at time 17:15:12.333598
2018-02-16 17:15:12,333 [salt.state       ][INFO    ][2438] Executing state file.absent for /etc/network/interfaces.d/50-cloud-init.cfg
2018-02-16 17:15:12,334 [salt.state       ][INFO    ][2438] {'removed': '/etc/network/interfaces.d/50-cloud-init.cfg'}
2018-02-16 17:15:12,334 [salt.state       ][INFO    ][2438] Completed state [/etc/network/interfaces.d/50-cloud-init.cfg] at time 17:15:12.334347 duration_in_ms=0.748
2018-02-16 17:15:12,339 [salt.state       ][INFO    ][2438] Running state [ens2] at time 17:15:12.339468
2018-02-16 17:15:12,339 [salt.state       ][INFO    ][2438] Executing state network.managed for ens2
2018-02-16 17:15:12,458 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['ifdown', 'ens2'] in directory '/root'
2018-02-16 17:15:13,597 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['ifup', 'ens2'] in directory '/root'
2018-02-16 17:15:14,803 [salt.minion      ][INFO    ][2343] User sudo_ubuntu Executing command saltutil.find_job with jid 20180216171516009338
2018-02-16 17:15:14,807 [salt.state       ][INFO    ][2438] {'interface': 'Added network interface.', 'status': 'Interface ens2 restart to validate'}
2018-02-16 17:15:14,808 [salt.state       ][INFO    ][2438] Completed state [ens2] at time 17:15:14.807977 duration_in_ms=2468.508
2018-02-16 17:15:14,808 [salt.state       ][INFO    ][2438] Running state [ens3] at time 17:15:14.808370
2018-02-16 17:15:14,808 [salt.state       ][INFO    ][2438] Executing state network.managed for ens3
2018-02-16 17:15:14,823 [salt.minion      ][INFO    ][5378] Starting a new job with PID 5378
2018-02-16 17:15:14,835 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['ifup', 'ens3'] in directory '/root'
2018-02-16 17:15:14,840 [salt.minion      ][INFO    ][5378] Returning information for job: 20180216171516009338
2018-02-16 17:15:15,354 [salt.state       ][INFO    ][2438] {'interface': 'Added network interface.', 'status': 'Interface ens3 is up'}
2018-02-16 17:15:15,354 [salt.state       ][INFO    ][2438] Completed state [ens3] at time 17:15:15.354540 duration_in_ms=546.17
2018-02-16 17:15:15,354 [salt.state       ][INFO    ][2438] Running state [ens3] at time 17:15:15.354875
2018-02-16 17:15:15,355 [salt.state       ][INFO    ][2438] Executing state network.routes for ens3
2018-02-16 17:15:15,363 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemctl', 'status', 'networking.service', '-n', '0'] in directory '/root'
2018-02-16 17:15:15,378 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemd-run', '--scope', 'systemctl', 'stop', 'networking.service'] in directory '/root'
2018-02-16 17:15:18,557 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemctl', 'is-enabled', 'networking.service'] in directory '/root'
2018-02-16 17:15:18,572 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemd-run', '--scope', 'systemctl', 'start', 'networking.service'] in directory '/root'
2018-02-16 17:15:18,960 [salt.loaded.int.module.cmdmod][ERROR   ][2438] Command '['systemd-run', '--scope', 'systemctl', 'start', 'networking.service']' failed with return code: 1
2018-02-16 17:15:18,961 [salt.loaded.int.module.cmdmod][ERROR   ][2438] output: Running scope as unit run-r4843a76ea76c4a5c90117e92aa906395.scope.
Job for networking.service failed because the control process exited with error code. See "systemctl status networking.service" and "journalctl -xe" for details.
2018-02-16 17:15:18,961 [salt.state       ][INFO    ][2438] {'network_routes': 'Added interface ens3 routes.'}
2018-02-16 17:15:18,962 [salt.state       ][INFO    ][2438] Completed state [ens3] at time 17:15:18.961925 duration_in_ms=3607.05
2018-02-16 17:15:18,962 [salt.state       ][INFO    ][2438] Running state [ens4] at time 17:15:18.962396
2018-02-16 17:15:18,962 [salt.state       ][INFO    ][2438] Executing state network.managed for ens4
2018-02-16 17:15:18,993 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['ifup', 'ens4'] in directory '/root'
2018-02-16 17:15:19,046 [salt.loaded.int.module.cmdmod][ERROR   ][2438] Command '['ifup', 'ens4']' failed with return code: 1
2018-02-16 17:15:19,047 [salt.loaded.int.module.cmdmod][ERROR   ][2438] output: SIOCADDRT: File exists
run-parts: /etc/network/if-up.d/route-ens3 exited with return code 7
Failed to bring up ens4.
2018-02-16 17:15:19,511 [salt.state       ][INFO    ][2438] {'interface': 'Added network interface.', 'status': 'Interface ens4 is up'}
2018-02-16 17:15:19,512 [salt.state       ][INFO    ][2438] Completed state [ens4] at time 17:15:19.512146 duration_in_ms=549.75
2018-02-16 17:15:19,512 [salt.state       ][INFO    ][2438] Running state [/etc/profile.d/proxy.sh] at time 17:15:19.512442
2018-02-16 17:15:19,512 [salt.state       ][INFO    ][2438] Executing state file.absent for /etc/profile.d/proxy.sh
2018-02-16 17:15:19,513 [salt.state       ][INFO    ][2438] File /etc/profile.d/proxy.sh is not present
2018-02-16 17:15:19,513 [salt.state       ][INFO    ][2438] Completed state [/etc/profile.d/proxy.sh] at time 17:15:19.513308 duration_in_ms=0.869
2018-02-16 17:15:19,513 [salt.state       ][INFO    ][2438] Running state [/etc/apt/apt.conf.d/95proxies] at time 17:15:19.513501
2018-02-16 17:15:19,513 [salt.state       ][INFO    ][2438] Executing state file.absent for /etc/apt/apt.conf.d/95proxies
2018-02-16 17:15:19,513 [salt.state       ][INFO    ][2438] File /etc/apt/apt.conf.d/95proxies is not present
2018-02-16 17:15:19,514 [salt.state       ][INFO    ][2438] Completed state [/etc/apt/apt.conf.d/95proxies] at time 17:15:19.514098 duration_in_ms=0.598
2018-02-16 17:15:19,515 [salt.state       ][INFO    ][2438] Running state [ntp] at time 17:15:19.515357
2018-02-16 17:15:19,515 [salt.state       ][INFO    ][2438] Executing state pkg.installed for ntp
2018-02-16 17:15:19,619 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['dpkg', '--get-selections', '*'] in directory '/root'
2018-02-16 17:15:19,644 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemd-run', '--scope', 'apt-get', '-q', '-y', '-o', 'DPkg::Options::=--force-confold', '-o', 'DPkg::Options::=--force-confdef', 'install', 'ntp'] in directory '/root'
2018-02-16 17:15:22,215 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
2018-02-16 17:15:22,243 [salt.state       ][INFO    ][2438] Made the following changes:
'ntp' changed from 'absent' to '1:4.2.8p4+dfsg-3ubuntu5.7'
'libopts25' changed from 'absent' to '1:5.18.7-3'

2018-02-16 17:15:22,259 [salt.state       ][INFO    ][2438] Loading fresh modules for state activity
2018-02-16 17:15:22,292 [salt.state       ][INFO    ][2438] Completed state [ntp] at time 17:15:22.292095 duration_in_ms=2776.737
2018-02-16 17:15:22,295 [salt.state       ][INFO    ][2438] Running state [/etc/ntp.conf] at time 17:15:22.295398
2018-02-16 17:15:22,295 [salt.state       ][INFO    ][2438] Executing state file.managed for /etc/ntp.conf
2018-02-16 17:15:22,321 [salt.fileclient  ][INFO    ][2438] Fetching file from saltenv 'base', ** done ** 'ntp/files/ntp.conf'
2018-02-16 17:15:22,355 [salt.state       ][INFO    ][2438] File changed:
--- 
+++ 
@@ -1,66 +1,24 @@
-# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
 
-driftfile /var/lib/ntp/ntp.drift
 
-# Enable this if you want statistics to be logged.
-#statsdir /var/log/ntpstats/
+# ntpd will only synchronize your clock.
 
-statistics loopstats peerstats clockstats
-filegen loopstats file loopstats type day enable
-filegen peerstats file peerstats type day enable
-filegen clockstats file clockstats type day enable
+# For details, see:
+# - the ntp.conf man page
+# - http://support.ntp.org/bin/view/Support/GettingStarted
+# - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon
 
-# Specify one or more NTP servers.
+# Associate to cloud NTP pool servers
+server 1.pool.ntp.org iburst
+server 0.pool.ntp.org
 
-# Use servers from the NTP Pool Project. Approved by Ubuntu Technical Board
-# on 2011-02-08 (LP: #104525). See http://www.pool.ntp.org/join.html for
-# more information.
-pool 0.ubuntu.pool.ntp.org iburst
-pool 1.ubuntu.pool.ntp.org iburst
-pool 2.ubuntu.pool.ntp.org iburst
-pool 3.ubuntu.pool.ntp.org iburst
-
-# Use Ubuntu's ntp server as a fallback.
-pool ntp.ubuntu.com
-
-# Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for
-# details.  The web page <http://support.ntp.org/bin/view/Support/AccessRestrictions>
-# might also be helpful.
-#
-# Note that "restrict" applies to both servers and clients, so a configuration
-# that might be intended to block requests from certain clients could also end
-# up blocking replies from your own upstream servers.
-
-# By default, exchange time with everybody, but don't allow configuration.
-restrict -4 default kod notrap nomodify nopeer noquery limited
-restrict -6 default kod notrap nomodify nopeer noquery limited
-
-# Local users may interrogate the ntp server more closely.
+# Only allow read-only access from localhost
+restrict default noquery nopeer
 restrict 127.0.0.1
 restrict ::1
 
-# Needed for adding pool entries
-restrict source notrap nomodify noquery
-
-# Clients from this (example!) subnet have unlimited access, but only if
-# cryptographically authenticated.
-#restrict 192.168.123.0 mask 255.255.255.0 notrust
+# mode7 is required for collectd monitoring
 
 
-# If you want to provide time to your local subnet, change the next line.
-# (Again, the address is an example only.)
-#broadcast 192.168.123.255
-
-# If you want to listen to time broadcasts on your local subnet, de-comment the
-# next lines.  Please do this only if you trust everybody on the network!
-#disable auth
-#broadcastclient
-
-#Changes recquired to use pps synchonisation as explained in documentation:
-#http://www.ntp.org/ntpfaq/NTP-s-config-adv.htm#AEN3918
-
-#server 127.127.8.1 mode 135 prefer    # Meinberg GPS167 with PPS
-#fudge 127.127.8.1 time1 0.0042        # relative to PPS for my hardware
-
-#server 127.127.22.1                   # ATOM(PPS)
-#fudge 127.127.22.1 flag3 1            # enable PPS API
+# Location of drift file
+driftfile /var/lib/ntp/ntp.drift
+logfile /var/log/ntp.log

2018-02-16 17:15:22,356 [salt.state       ][INFO    ][2438] Completed state [/etc/ntp.conf] at time 17:15:22.356221 duration_in_ms=60.823
2018-02-16 17:15:22,587 [salt.state       ][INFO    ][2438] Running state [ntp] at time 17:15:22.587273
2018-02-16 17:15:22,587 [salt.state       ][INFO    ][2438] Executing state service.running for ntp
2018-02-16 17:15:22,589 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemctl', 'status', 'ntp.service', '-n', '0'] in directory '/root'
2018-02-16 17:15:22,602 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemctl', 'is-active', 'ntp.service'] in directory '/root'
2018-02-16 17:15:22,613 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemctl', 'is-enabled', 'ntp.service'] in directory '/root'
2018-02-16 17:15:22,626 [salt.state       ][INFO    ][2438] The service ntp is already running
2018-02-16 17:15:22,626 [salt.state       ][INFO    ][2438] Completed state [ntp] at time 17:15:22.626505 duration_in_ms=39.233
2018-02-16 17:15:22,626 [salt.state       ][INFO    ][2438] Running state [ntp] at time 17:15:22.626759
2018-02-16 17:15:22,627 [salt.state       ][INFO    ][2438] Executing state service.mod_watch for ntp
2018-02-16 17:15:22,631 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemctl', 'is-active', 'ntp.service'] in directory '/root'
2018-02-16 17:15:22,642 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemctl', 'is-enabled', 'ntp.service'] in directory '/root'
2018-02-16 17:15:22,655 [salt.loaded.int.module.cmdmod][INFO    ][2438] Executing command ['systemd-run', '--scope', 'systemctl', 'restart', 'ntp.service'] in directory '/root'
2018-02-16 17:15:22,730 [salt.state       ][INFO    ][2438] {'ntp': True}
2018-02-16 17:15:22,731 [salt.state       ][INFO    ][2438] Completed state [ntp] at time 17:15:22.731284 duration_in_ms=104.525
2018-02-16 17:15:22,735 [salt.minion      ][INFO    ][2438] Returning information for job: 20180216171445639472
2018-02-16 17:15:34,703 [salt.minion      ][INFO    ][2343] User sudo_ubuntu Executing command ssh.set_auth_key with jid 20180216171534690583
2018-02-16 17:15:34,716 [salt.minion      ][INFO    ][6842] Starting a new job with PID 6842
2018-02-16 17:15:34,726 [salt.loader.192.168.11.2.int.module.ssh][WARNING ][6842] Public Key hashing currently defaults to "md5". This will change to "sha256" in the Nitrogen release.
2018-02-16 17:15:34,728 [salt.minion      ][INFO    ][6842] Returning information for job: 20180216171534690583
2018-02-16 17:15:35,467 [salt.minion      ][INFO    ][2343] User sudo_ubuntu Executing command file.write with jid 20180216171535446909
2018-02-16 17:15:35,476 [salt.minion      ][INFO    ][6847] Starting a new job with PID 6847
2018-02-16 17:15:35,489 [salt.minion      ][INFO    ][6847] Returning information for job: 20180216171535446909
2018-02-16 17:15:36,197 [salt.minion      ][INFO    ][2343] User sudo_ubuntu Executing command system.reboot with jid 20180216171536180318
2018-02-16 17:15:36,206 [salt.minion      ][INFO    ][6852] Starting a new job with PID 6852
2018-02-16 17:15:36,211 [salt.loader.192.168.11.2.int.module.cmdmod][INFO    ][6852] Executing command ['shutdown', '-r', 'now'] in directory '/root'
2018-02-16 17:15:36,288 [salt.utils.parsers][WARNING ][2343] Minion received a SIGTERM. Exiting.
2018-02-16 17:15:36,288 [salt.cli.daemons ][INFO    ][2343] Shutting down the Salt Minion
2018-02-16 17:15:43,058 [salt.cli.daemons ][INFO    ][1391] Setting up the Salt Minion "prx01.mcp-pike-ovs-ha.local"
2018-02-16 17:15:43,267 [salt.cli.daemons ][INFO    ][1391] Starting up the Salt Minion
2018-02-16 17:15:43,268 [salt.utils.event ][INFO    ][1391] Starting pull socket on /var/run/salt/minion/minion_event_ee9a32657f_pull.ipc
2018-02-16 17:15:43,713 [salt.minion      ][INFO    ][1391] Creating minion process manager
2018-02-16 17:15:44,752 [salt.loader.192.168.11.2.int.module.cmdmod][INFO    ][1391] Executing command ['date', '+%z'] in directory '/root'
2018-02-16 17:15:44,779 [salt.utils.schedule][INFO    ][1391] Updating job settings for scheduled job: __mine_interval
2018-02-16 17:15:44,781 [salt.minion      ][INFO    ][1391] Added mine.update to scheduler
2018-02-16 17:15:44,785 [salt.minion      ][INFO    ][1391] Minion is starting as user 'root'
2018-02-16 17:15:44,807 [salt.minion      ][INFO    ][1391] Minion is ready to receive requests!
2018-02-16 17:15:45,160 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command saltutil.find_job with jid 20180216171546299201
2018-02-16 17:15:45,170 [salt.minion      ][INFO    ][1474] Starting a new job with PID 1474
2018-02-16 17:15:45,190 [salt.minion      ][INFO    ][1474] Returning information for job: 20180216171546299201
2018-02-16 17:15:45,808 [salt.utils.schedule][INFO    ][1391] Running scheduled job: __mine_interval
2018-02-16 17:15:57,077 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command test.ping with jid 20180216171557062134
2018-02-16 17:15:57,086 [salt.minion      ][INFO    ][1489] Starting a new job with PID 1489
2018-02-16 17:15:57,147 [salt.minion      ][INFO    ][1489] Returning information for job: 20180216171557062134
2018-02-16 17:15:57,880 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command pkg.upgrade with jid 20180216171557861783
2018-02-16 17:15:57,894 [salt.minion      ][INFO    ][1494] Starting a new job with PID 1494
2018-02-16 17:15:57,953 [salt.loader.192.168.11.2.int.module.cmdmod][INFO    ][1494] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
2018-02-16 17:15:58,326 [salt.loader.192.168.11.2.int.module.cmdmod][INFO    ][1494] Executing command ['systemd-run', '--scope', 'apt-get', '-q', '-y', '-o', 'DPkg::Options::=--force-confold', '-o', 'DPkg::Options::=--force-confdef', 'upgrade'] in directory '/root'
2018-02-16 17:16:03,464 [salt.loader.192.168.11.2.int.module.cmdmod][INFO    ][1494] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
2018-02-16 17:16:03,494 [salt.minion      ][INFO    ][1494] Returning information for job: 20180216171557861783
2018-02-16 17:16:09,873 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command test.ping with jid 20180216171609862141
2018-02-16 17:16:09,884 [salt.minion      ][INFO    ][2293] Starting a new job with PID 2293
2018-02-16 17:16:09,940 [salt.minion      ][INFO    ][2293] Returning information for job: 20180216171609862141
2018-02-16 17:16:10,098 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command state.sls with jid 20180216171610085574
2018-02-16 17:16:10,107 [salt.minion      ][INFO    ][2298] Starting a new job with PID 2298
2018-02-16 17:16:12,572 [salt.state       ][INFO    ][2298] Loading fresh modules for state activity
2018-02-16 17:16:12,630 [salt.fileclient  ][INFO    ][2298] Fetching file from saltenv 'base', ** done ** 'keepalived/init.sls'
2018-02-16 17:16:12,655 [salt.fileclient  ][INFO    ][2298] Fetching file from saltenv 'base', ** done ** 'keepalived/cluster.sls'
2018-02-16 17:16:13,336 [salt.state       ][INFO    ][2298] Running state [keepalived] at time 17:16:13.336670
2018-02-16 17:16:13,337 [salt.state       ][INFO    ][2298] Executing state pkg.installed for keepalived
2018-02-16 17:16:13,338 [salt.loaded.int.module.cmdmod][INFO    ][2298] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
2018-02-16 17:16:13,586 [salt.loaded.int.module.cmdmod][INFO    ][2298] Executing command ['apt-cache', '-q', 'policy', 'keepalived'] in directory '/root'
2018-02-16 17:16:13,640 [salt.loaded.int.module.cmdmod][INFO    ][2298] Executing command ['apt-get', '-q', 'update'] in directory '/root'
2018-02-16 17:16:15,450 [salt.loaded.int.module.cmdmod][INFO    ][2298] Executing command ['dpkg', '--get-selections', '*'] in directory '/root'
2018-02-16 17:16:15,470 [salt.loaded.int.module.cmdmod][INFO    ][2298] Executing command ['systemd-run', '--scope', 'apt-get', '-q', '-y', '-o', 'DPkg::Options::=--force-confold', '-o', 'DPkg::Options::=--force-confdef', 'install', 'keepalived'] in directory '/root'
2018-02-16 17:16:18,624 [salt.loaded.int.module.cmdmod][INFO    ][2298] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
2018-02-16 17:16:18,653 [salt.state       ][INFO    ][2298] Made the following changes:
'libsnmp30' changed from 'absent' to '5.7.3+dfsg-1ubuntu4'
'libsnmp-base' changed from 'absent' to '5.7.3+dfsg-1ubuntu4'
'keepalived' changed from 'absent' to '1:1.2.19-1ubuntu0.2'
'ipvsadm' changed from 'absent' to '1:1.28-3'
'libsensors4' changed from 'absent' to '1:3.4.0-2'

2018-02-16 17:16:18,672 [salt.state       ][INFO    ][2298] Loading fresh modules for state activity
2018-02-16 17:16:18,696 [salt.state       ][INFO    ][2298] Completed state [keepalived] at time 17:16:18.696147 duration_in_ms=5359.476
2018-02-16 17:16:18,701 [salt.state       ][INFO    ][2298] Running state [lsof] at time 17:16:18.701481
2018-02-16 17:16:18,701 [salt.state       ][INFO    ][2298] Executing state pkg.installed for lsof
2018-02-16 17:16:19,032 [salt.state       ][INFO    ][2298] All specified packages are already installed
2018-02-16 17:16:19,033 [salt.state       ][INFO    ][2298] Completed state [lsof] at time 17:16:19.033635 duration_in_ms=332.154
2018-02-16 17:16:19,037 [salt.state       ][INFO    ][2298] Running state [/etc/keepalived/keepalived.conf] at time 17:16:19.037003
2018-02-16 17:16:19,037 [salt.state       ][INFO    ][2298] Executing state file.managed for /etc/keepalived/keepalived.conf
2018-02-16 17:16:19,075 [salt.fileclient  ][INFO    ][2298] Fetching file from saltenv 'base', ** done ** 'keepalived/files/keepalived.conf'
2018-02-16 17:16:19,120 [salt.state       ][INFO    ][2298] File changed:
New file
2018-02-16 17:16:19,121 [salt.state       ][INFO    ][2298] Completed state [/etc/keepalived/keepalived.conf] at time 17:16:19.121483 duration_in_ms=84.48
2018-02-16 17:16:19,122 [salt.state       ][INFO    ][2298] Running state [keepalived] at time 17:16:19.122814
2018-02-16 17:16:19,123 [salt.state       ][INFO    ][2298] Executing state service.running for keepalived
2018-02-16 17:16:19,123 [salt.loaded.int.module.cmdmod][INFO    ][2298] Executing command ['systemctl', 'status', 'keepalived.service', '-n', '0'] in directory '/root'
2018-02-16 17:16:19,136 [salt.loaded.int.module.cmdmod][INFO    ][2298] Executing command ['systemctl', 'is-active', 'keepalived.service'] in directory '/root'
2018-02-16 17:16:19,147 [salt.loaded.int.module.cmdmod][INFO    ][2298] Executing command ['systemctl', 'is-enabled', 'keepalived.service'] in directory '/root'
2018-02-16 17:16:19,158 [salt.loaded.int.module.cmdmod][INFO    ][2298] Executing command ['systemctl', 'is-enabled', 'keepalived.service'] in directory '/root'
2018-02-16 17:16:19,169 [salt.loaded.int.module.cmdmod][INFO    ][2298] Executing command ['systemd-run', '--scope', 'systemctl', 'start', 'keepalived.service'] in directory '/root'
2018-02-16 17:16:19,220 [salt.loaded.int.module.cmdmod][INFO    ][2298] Executing command ['systemctl', 'is-active', 'keepalived.service'] in directory '/root'
2018-02-16 17:16:19,237 [salt.loaded.int.module.cmdmod][INFO    ][2298] Executing command ['systemctl', 'is-enabled', 'keepalived.service'] in directory '/root'
2018-02-16 17:16:19,248 [salt.loaded.int.module.cmdmod][INFO    ][2298] Executing command ['systemctl', 'is-enabled', 'keepalived.service'] in directory '/root'
2018-02-16 17:16:19,260 [salt.state       ][INFO    ][2298] {'keepalived': True}
2018-02-16 17:16:19,261 [salt.state       ][INFO    ][2298] Completed state [keepalived] at time 17:16:19.261150 duration_in_ms=138.336
2018-02-16 17:16:19,262 [salt.minion      ][INFO    ][2298] Returning information for job: 20180216171610085574
2018-02-16 17:18:27,061 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command pillar.get with jid 20180216171827049555
2018-02-16 17:18:27,078 [salt.minion      ][INFO    ][3554] Starting a new job with PID 3554
2018-02-16 17:18:27,083 [salt.minion      ][INFO    ][3554] Returning information for job: 20180216171827049555
2018-02-16 17:46:55,528 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command state.sls with jid 20180216174655515398
2018-02-16 17:46:55,537 [salt.minion      ][INFO    ][3648] Starting a new job with PID 3648
2018-02-16 17:46:58,020 [salt.state       ][INFO    ][3648] Loading fresh modules for state activity
2018-02-16 17:46:58,059 [salt.fileclient  ][INFO    ][3648] Fetching file from saltenv 'base', ** done ** 'memcached/init.sls'
2018-02-16 17:46:58,078 [salt.fileclient  ][INFO    ][3648] Fetching file from saltenv 'base', ** done ** 'memcached/server.sls'
2018-02-16 17:46:58,099 [salt.fileclient  ][INFO    ][3648] Fetching file from saltenv 'base', ** done ** 'memcached/map.jinja'
2018-02-16 17:46:58,515 [salt.state       ][INFO    ][3648] Running state [memcached] at time 17:46:58.515162
2018-02-16 17:46:58,515 [salt.state       ][INFO    ][3648] Executing state pkg.installed for memcached
2018-02-16 17:46:58,516 [salt.loaded.int.module.cmdmod][INFO    ][3648] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
2018-02-16 17:46:58,803 [salt.loaded.int.module.cmdmod][INFO    ][3648] Executing command ['apt-cache', '-q', 'policy', 'memcached'] in directory '/root'
2018-02-16 17:46:58,863 [salt.loaded.int.module.cmdmod][INFO    ][3648] Executing command ['apt-get', '-q', 'update'] in directory '/root'
2018-02-16 17:47:00,479 [salt.loaded.int.module.cmdmod][INFO    ][3648] Executing command ['dpkg', '--get-selections', '*'] in directory '/root'
2018-02-16 17:47:00,500 [salt.loaded.int.module.cmdmod][INFO    ][3648] Executing command ['systemd-run', '--scope', 'apt-get', '-q', '-y', '-o', 'DPkg::Options::=--force-confold', '-o', 'DPkg::Options::=--force-confdef', 'install', 'memcached'] in directory '/root'
2018-02-16 17:47:02,998 [salt.loaded.int.module.cmdmod][INFO    ][3648] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
2018-02-16 17:47:03,030 [salt.state       ][INFO    ][3648] Made the following changes:
'memcached' changed from 'absent' to '1.4.25-2ubuntu1.2'

2018-02-16 17:47:03,047 [salt.state       ][INFO    ][3648] Loading fresh modules for state activity
2018-02-16 17:47:03,085 [salt.state       ][INFO    ][3648] Completed state [memcached] at time 17:47:03.085785 duration_in_ms=4570.623
2018-02-16 17:47:03,090 [salt.state       ][INFO    ][3648] Running state [python-memcache] at time 17:47:03.090293
2018-02-16 17:47:03,090 [salt.state       ][INFO    ][3648] Executing state pkg.installed for python-memcache
2018-02-16 17:47:03,406 [salt.loaded.int.module.cmdmod][INFO    ][3648] Executing command ['dpkg', '--get-selections', '*'] in directory '/root'
2018-02-16 17:47:03,430 [salt.loaded.int.module.cmdmod][INFO    ][3648] Executing command ['systemd-run', '--scope', 'apt-get', '-q', '-y', '-o', 'DPkg::Options::=--force-confold', '-o', 'DPkg::Options::=--force-confdef', 'install', 'python-memcache'] in directory '/root'
2018-02-16 17:47:04,752 [salt.loaded.int.module.cmdmod][INFO    ][3648] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
2018-02-16 17:47:04,783 [salt.state       ][INFO    ][3648] Made the following changes:
'python-memcache' changed from 'absent' to '1.57-1'

2018-02-16 17:47:04,801 [salt.state       ][INFO    ][3648] Loading fresh modules for state activity
2018-02-16 17:47:04,827 [salt.state       ][INFO    ][3648] Completed state [python-memcache] at time 17:47:04.827895 duration_in_ms=1737.602
2018-02-16 17:47:04,831 [salt.state       ][INFO    ][3648] Running state [/etc/memcached.conf] at time 17:47:04.831265
2018-02-16 17:47:04,831 [salt.state       ][INFO    ][3648] Executing state file.managed for /etc/memcached.conf
2018-02-16 17:47:04,874 [salt.fileclient  ][INFO    ][3648] Fetching file from saltenv 'base', ** done ** 'memcached/files/memcached.conf'
2018-02-16 17:47:04,904 [salt.state       ][INFO    ][3648] File changed:
--- 
+++ 
@@ -1,11 +1,10 @@
+
 # memcached default config file
 # 2003 - Jay Bonci <jaybonci@debian.org>
-# This configuration file is read by the start-memcached script provided as
-# part of the Debian GNU/Linux distribution.
+# This configuration file is read by the start-memcached script provided as part of the Debian GNU/Linux distribution. 
 
 # Run memcached as a daemon. This command is implied, and is not needed for the
-# daemon to run. See the README.Debian that comes with this package for more
-# information.
+# daemon to run. See the README.Debian that comes with this package for more information.
 -d
 
 # Log memcached's output to /var/log/memcached
@@ -18,13 +17,13 @@
 # -vv
 
 # Start with a cap of 64 megs of memory. It's reasonable, and the daemon default
-# Note that the daemon will grow to this size, but does not start out holding this much
-# memory
+# Note that the daemon will grow to this size, but does not start out holding this much memory
 -m 64
 
 # Default connection port is 11211
 -p 11211
 
+-U 11211
 # Run the daemon as root. The start-memcached will default to running as root if no
 # -u command is present in this config file
 -u memcache
@@ -32,10 +31,12 @@
 # Specify which IP address to listen on. The default is to listen on all IP addresses
 # This parameter is one of the only security measures that memcached has, so make sure
 # it's listening on a firewalled interface.
--l 127.0.0.1
+-l 0.0.0.0
 
 # Limit the number of simultaneous incoming connections. The daemon default is 1024
 # -c 1024
+# Mirantis
+-c 8192
 
 # Lock down all paged memory. Consult with the README and homepage before you do this
 # -k
@@ -45,3 +46,6 @@
 
 # Maximize core file limit
 # -r
+
+# Number of threads to use to process incoming requests.
+-t 1
2018-02-16 17:47:04,911 [salt.state       ][INFO    ][3648] Completed state [/etc/memcached.conf] at time 17:47:04.911596 duration_in_ms=80.331
2018-02-16 17:47:05,152 [salt.state       ][INFO    ][3648] Running state [memcached] at time 17:47:05.152422
2018-02-16 17:47:05,153 [salt.state       ][INFO    ][3648] Executing state service.running for memcached
2018-02-16 17:47:05,155 [salt.loaded.int.module.cmdmod][INFO    ][3648] Executing command ['systemctl', 'status', 'memcached.service', '-n', '0'] in directory '/root'
2018-02-16 17:47:05,170 [salt.loaded.int.module.cmdmod][INFO    ][3648] Executing command ['systemctl', 'is-active', 'memcached.service'] in directory '/root'
2018-02-16 17:47:05,181 [salt.loaded.int.module.cmdmod][INFO    ][3648] Executing command ['systemctl', 'is-enabled', 'memcached.service'] in directory '/root'
2018-02-16 17:47:05,193 [salt.state       ][INFO    ][3648] The service memcached is already running
2018-02-16 17:47:05,193 [salt.state       ][INFO    ][3648] Completed state [memcached] at time 17:47:05.193648 duration_in_ms=41.227
2018-02-16 17:47:05,194 [salt.state       ][INFO    ][3648] Running state [memcached] at time 17:47:05.194097
2018-02-16 17:47:05,194 [salt.state       ][INFO    ][3648] Executing state service.mod_watch for memcached
2018-02-16 17:47:05,195 [salt.loaded.int.module.cmdmod][INFO    ][3648] Executing command ['systemctl', 'is-active', 'memcached.service'] in directory '/root'
2018-02-16 17:47:05,207 [salt.loaded.int.module.cmdmod][INFO    ][3648] Executing command ['systemctl', 'is-enabled', 'memcached.service'] in directory '/root'
2018-02-16 17:47:05,220 [salt.loaded.int.module.cmdmod][INFO    ][3648] Executing command ['systemd-run', '--scope', 'systemctl', 'restart', 'memcached.service'] in directory '/root'
2018-02-16 17:47:05,246 [salt.state       ][INFO    ][3648] {'memcached': True}
2018-02-16 17:47:05,247 [salt.state       ][INFO    ][3648] Completed state [memcached] at time 17:47:05.247526 duration_in_ms=53.427
2018-02-16 17:47:05,249 [salt.minion      ][INFO    ][3648] Returning information for job: 20180216174655515398
2018-02-16 18:12:54,950 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command state.sls with jid 20180216181254941948
2018-02-16 18:12:54,959 [salt.minion      ][INFO    ][4610] Starting a new job with PID 4610
2018-02-16 18:12:57,563 [salt.state       ][INFO    ][4610] Loading fresh modules for state activity
2018-02-16 18:12:57,608 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/init.sls'
2018-02-16 18:12:57,636 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/server/init.sls'
2018-02-16 18:12:57,655 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/server/service.sls'
2018-02-16 18:12:57,733 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/server/plugin.sls'
2018-02-16 18:12:58,217 [salt.state       ][INFO    ][4610] Running state [apache2] at time 18:12:58.217912
2018-02-16 18:12:58,218 [salt.state       ][INFO    ][4610] Executing state pkg.installed for apache2
2018-02-16 18:12:58,219 [salt.loaded.int.module.cmdmod][INFO    ][4610] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
2018-02-16 18:12:58,494 [salt.loaded.int.module.cmdmod][INFO    ][4610] Executing command ['apt-cache', '-q', 'policy', 'apache2'] in directory '/root'
2018-02-16 18:12:58,549 [salt.loaded.int.module.cmdmod][INFO    ][4610] Executing command ['apt-get', '-q', 'update'] in directory '/root'
2018-02-16 18:13:00,145 [salt.loaded.int.module.cmdmod][INFO    ][4610] Executing command ['dpkg', '--get-selections', '*'] in directory '/root'
2018-02-16 18:13:00,166 [salt.loaded.int.module.cmdmod][INFO    ][4610] Executing command ['systemd-run', '--scope', 'apt-get', '-q', '-y', '-o', 'DPkg::Options::=--force-confold', '-o', 'DPkg::Options::=--force-confdef', 'install', 'apache2'] in directory '/root'
2018-02-16 18:13:05,048 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command saltutil.find_job with jid 20180216181305033200
2018-02-16 18:13:05,059 [salt.minion      ][INFO    ][5917] Starting a new job with PID 5917
2018-02-16 18:13:05,074 [salt.minion      ][INFO    ][5917] Returning information for job: 20180216181305033200
2018-02-16 18:13:05,165 [salt.loaded.int.module.cmdmod][INFO    ][4610] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
2018-02-16 18:13:05,196 [salt.state       ][INFO    ][4610] Made the following changes:
'apache2-data' changed from 'absent' to '2.4.18-2ubuntu3.5'
'httpd-cgi' changed from 'absent' to '1'
'apache2-utils' changed from 'absent' to '2.4.18-2ubuntu3.5'
'httpd' changed from 'absent' to '1'
'ssl-cert' changed from 'absent' to '1.0.37'
'apache2' changed from 'absent' to '2.4.18-2ubuntu3.5'

2018-02-16 18:13:05,213 [salt.state       ][INFO    ][4610] Loading fresh modules for state activity
2018-02-16 18:13:05,250 [salt.state       ][INFO    ][4610] Completed state [apache2] at time 18:13:05.250560 duration_in_ms=7032.649
2018-02-16 18:13:05,255 [salt.state       ][INFO    ][4610] Running state [libapache2-mod-wsgi] at time 18:13:05.255138
2018-02-16 18:13:05,260 [salt.state       ][INFO    ][4610] Executing state pkg.installed for libapache2-mod-wsgi
2018-02-16 18:13:05,575 [salt.state       ][INFO    ][4610] All specified packages are already installed
2018-02-16 18:13:05,576 [salt.state       ][INFO    ][4610] Completed state [libapache2-mod-wsgi] at time 18:13:05.576640 duration_in_ms=321.501
2018-02-16 18:13:05,577 [salt.state       ][INFO    ][4610] Running state [openstack-dashboard] at time 18:13:05.577057
2018-02-16 18:13:05,577 [salt.state       ][INFO    ][4610] Executing state pkg.installed for openstack-dashboard
2018-02-16 18:13:05,593 [salt.loaded.int.module.cmdmod][INFO    ][4610] Executing command ['dpkg', '--get-selections', '*'] in directory '/root'
2018-02-16 18:13:05,613 [salt.loaded.int.module.cmdmod][INFO    ][4610] Executing command ['systemd-run', '--scope', 'apt-get', '-q', '-y', '-o', 'DPkg::Options::=--force-confold', '-o', 'DPkg::Options::=--force-confdef', 'install', 'openstack-dashboard'] in directory '/root'
2018-02-16 18:13:15,260 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command saltutil.find_job with jid 20180216181315241908
2018-02-16 18:13:15,270 [salt.minion      ][INFO    ][7233] Starting a new job with PID 7233
2018-02-16 18:13:15,291 [salt.minion      ][INFO    ][7233] Returning information for job: 20180216181315241908
2018-02-16 18:13:25,361 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command saltutil.find_job with jid 20180216181325344911
2018-02-16 18:13:25,373 [salt.minion      ][INFO    ][8592] Starting a new job with PID 8592
2018-02-16 18:13:25,386 [salt.minion      ][INFO    ][8592] Returning information for job: 20180216181325344911
2018-02-16 18:13:35,578 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command saltutil.find_job with jid 20180216181335564024
2018-02-16 18:13:35,593 [salt.minion      ][INFO    ][8889] Starting a new job with PID 8889
2018-02-16 18:13:35,606 [salt.minion      ][INFO    ][8889] Returning information for job: 20180216181335564024
2018-02-16 18:13:47,626 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command saltutil.find_job with jid 20180216181345776714
2018-02-16 18:13:47,638 [salt.minion      ][INFO    ][8894] Starting a new job with PID 8894
2018-02-16 18:13:47,651 [salt.minion      ][INFO    ][8894] Returning information for job: 20180216181345776714
2018-02-16 18:13:57,828 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command saltutil.find_job with jid 20180216181357814895
2018-02-16 18:13:57,840 [salt.minion      ][INFO    ][8899] Starting a new job with PID 8899
2018-02-16 18:13:57,854 [salt.minion      ][INFO    ][8899] Returning information for job: 20180216181357814895
2018-02-16 18:14:08,039 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command saltutil.find_job with jid 20180216181408024651
2018-02-16 18:14:08,053 [salt.minion      ][INFO    ][8942] Starting a new job with PID 8942
2018-02-16 18:14:08,076 [salt.minion      ][INFO    ][8942] Returning information for job: 20180216181408024651
2018-02-16 18:14:08,848 [salt.loaded.int.module.cmdmod][INFO    ][4610] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
2018-02-16 18:14:08,893 [salt.state       ][INFO    ][4610] Made the following changes:
'python-routes' changed from 'absent' to '2.4.1-1~cloud0'
'python-retrying' changed from 'absent' to '1.3.3-1'
'python-kombu' changed from 'absent' to '4.0.2+really4.0.2+dfsg-2ubuntu1~cloud0'
'python-oslo.concurrency' changed from 'absent' to '3.21.0-0ubuntu2~cloud0'
'python-sqlparse' changed from 'absent' to '0.1.18-1'
'python-pint' changed from 'absent' to '0.6-1ubuntu1'
'python-monotonic' changed from 'absent' to '0.6-2'
'python2.7-pymongo' changed from 'absent' to '1'
'python2.7-bson' changed from 'absent' to '1'
'libtiff5' changed from 'absent' to '4.0.6-1ubuntu0.2'
'python-secretstorage' changed from 'absent' to '2.1.3-1'
'python-glanceclient' changed from 'absent' to '1:2.8.0-0ubuntu1~cloud0'
'python-formencode' changed from 'absent' to '1.3.0-0ubuntu5'
'python-functools32' changed from 'absent' to '3.2.3.2-2'
'python-cachetools' changed from 'absent' to '1.1.6-1~cloud0'
'python-semantic-version' changed from 'absent' to '2.3.1-1'
'python-blinker' changed from 'absent' to '1.3.dfsg2-1build1'
'python-roman' changed from 'absent' to '2.0.0-2'
'python-pastescript' changed from 'absent' to '1.7.5-3build1'
'python-bs4' changed from 'absent' to '4.4.1-1'
'python2.7-pymongo-ext' changed from 'absent' to '1'
'python-tenacity' changed from 'absent' to '3.3.0-0ubuntu1~cloud0'
'python-unittest2' changed from 'absent' to '1.1.0-6.1'
'python-setuptools' changed from 'absent' to '36.2.7-2~cloud0'
'python2.7-django-appconf' changed from 'absent' to '1'
'docutils-doc' changed from 'absent' to '0.12+dfsg-1'
'python-dbus' changed from 'absent' to '1.2.0-3'
'python-gridfs' changed from 'absent' to '3.2-1build1'
'python-fixtures' changed from 'absent' to '3.0.0-2~cloud0'
'python-testtools' changed from 'absent' to '1.8.1-0ubuntu1'
'python-anyjson' changed from 'absent' to '0.3.3-1build1'
'python-jsonschema' changed from 'absent' to '2.5.1-4'
'python-prettytable' changed from 'absent' to '0.7.2-3'
'python-compressor' changed from 'absent' to '2.0-1ubuntu1'
'python-netaddr' changed from 'absent' to '0.7.18-1'
'python-dnspython' changed from 'absent' to '1.15.0-1~cloud0'
'python-babel' changed from 'absent' to '2.4.0+dfsg.1-2ubuntu1~cloud0'
'python-requests' changed from '2.9.1-3' to '2.18.1-1~cloud0'
'python-certifi' changed from 'absent' to '2015.11.20.1-2'
'python-pil' changed from 'absent' to '3.1.2-0ubuntu1.1'
'docutils-common' changed from 'absent' to '0.12+dfsg-1'
'python2.7-lxml' changed from 'absent' to '1'
'python-pika' changed from 'absent' to '0.10.0-1'
'python-osc-lib' changed from 'absent' to '1.7.0-0ubuntu1~cloud0'
'python-keystoneclient' changed from 'absent' to '1:3.13.0-0ubuntu1~cloud0'
'python2.7-simplejson' changed from 'absent' to '1'
'python-extras' changed from 'absent' to '0.0.3-3'
'python2.7-django-openstack-auth' changed from 'absent' to '1'
'python-funcsigs' changed from 'absent' to '1.0.2-3~cloud0'
'python-bson-ext' changed from 'absent' to '3.2-1build1'
'python-scgi' changed from 'absent' to '1.13-1.1build1'
'python2.7-pil' changed from 'absent' to '1'
'python-repoze.lru' changed from 'absent' to '0.6-6'
'python-posix-ipc' changed from 'absent' to '0.9.8-2build2'
'formencode-i18n' changed from 'absent' to '1.3.0-0ubuntu5'
'python2.7-testtools' changed from 'absent' to '1'
'docutils' changed from 'absent' to '1'
'python-django-pyscss' changed from 'absent' to '2.0.2-4'
'ieee-data' changed from 'absent' to '20150531.1'
'python2.7-dbus' changed from 'absent' to '1'
'python-oslo.middleware' changed from 'absent' to '3.30.0-0ubuntu1.1~cloud0'
'python-pygments' changed from 'absent' to '2.2.0+dfsg-1~cloud0'
'python-pillow' changed from 'absent' to '1'
'python2.7-cinderclient' changed from 'absent' to '1'
'libpaperg' changed from 'absent' to '1'
'python2.7-netifaces' changed from 'absent' to '1'
'liblcms2-2' changed from 'absent' to '2.6-3ubuntu2'
'python-oslo.context' changed from 'absent' to '1:2.17.0-0ubuntu1~cloud0'
'python-neutronclient' changed from 'absent' to '1:6.5.0-0ubuntu1.1~cloud0'
'python-pymongo-ext' changed from 'absent' to '3.2-1build1'
'python-urllib3' changed from '1.13.1-2ubuntu0.16.04.1' to '1.21.1-1~cloud0'
'python2.7-pyinotify' changed from 'absent' to '1'
'python-webob' changed from 'absent' to '1:1.7.2-0ubuntu1~cloud0'
'python-pyparsing' changed from 'absent' to '2.1.10+dfsg1-1~cloud0'
'python-babel-localedata' changed from 'absent' to '2.4.0+dfsg.1-2ubuntu1~cloud0'
'python-positional' changed from 'absent' to '1.1.1-3~cloud0'
'python-appconf' changed from 'absent' to '1'
'python-cmd2' changed from 'absent' to '0.6.8-1'
'python-distribute' changed from 'absent' to '1'
'python-oslo-log' changed from 'absent' to '1'
'python-rjsmin' changed from 'absent' to '1.0.12+dfsg1-2ubuntu1'
'python-django-openstack-auth' changed from 'absent' to '3.5.0-0ubuntu1~cloud0'
'python-pathlib' changed from 'absent' to '1.0.1-2'
'python-iso8601' changed from 'absent' to '0.1.11-1'
'python-jsonpatch' changed from 'absent' to '1.19-3'
'python-cinderclient' changed from 'absent' to '1:3.1.0-0ubuntu1~cloud0'
'libwebpmux1' changed from 'absent' to '0.4.4-1'
'python-heatclient' changed from 'absent' to '1.11.0-0ubuntu1~cloud0'
'python-oslo.policy' changed from 'absent' to '1.25.1-0ubuntu1~cloud0'
'python-stevedore' changed from 'absent' to '1:1.25.0-0ubuntu1~cloud0'
'python-paste' changed from 'absent' to '1.7.5.1-6ubuntu3'
'python-openstack-auth' changed from 'absent' to '3.5.0-0ubuntu1~cloud0'
'python-lxml' changed from 'absent' to '3.5.0-1build1'
'python-oslo.config' changed from 'absent' to '1:4.11.0-0ubuntu1~cloud0'
'python-futurist' changed from 'absent' to '0.13.0-2'
'libpaper1' changed from 'absent' to '1.1.24+nmu4ubuntu1'
'python-fasteners' changed from 'absent' to '0.12.0-2ubuntu1'
'python2.7-gi' changed from 'absent' to '1'
'python-linecache2' changed from 'absent' to '1.0.0-2'
'python-mimeparse' changed from 'absent' to '0.1.4-1build1'
'python-pastedeploy-tpl' changed from 'absent' to '1.5.2-1'
'python-oauthlib' changed from 'absent' to '1.0.3-1'
'python2.7-django-compressor' changed from 'absent' to '1'
'python-gi' changed from 'absent' to '3.20.0-0ubuntu1'
'python-contextlib2' changed from 'absent' to '0.5.1-1'
'python2.7-pathlib' changed from 'absent' to '1'
'python-oslo.serialization' changed from 'absent' to '2.20.0-0ubuntu1~cloud0'
'python-oslo.utils' changed from 'absent' to '3.28.0-0ubuntu1~cloud0'
'python-pika-pool' changed from 'absent' to '0.1.3-1ubuntu1'
'python-django' changed from 'absent' to '1.8.7-1ubuntu5.5'
'python-warlock' changed from 'absent' to '1.1.0-1'
'python-debtcollector' changed from 'absent' to '1.3.0-2'
'python2.7-gridfs' changed from 'absent' to '1'
'python-bson' changed from 'absent' to '3.2-1build1'
'python-simplejson' changed from 'absent' to '3.8.1-1ubuntu2'
'python-wrapt' changed from 'absent' to '1.8.0-5build2'
'python-docutils' changed from 'absent' to '0.12+dfsg-1'
'python-openid' changed from 'absent' to '2.2.5-6'
'python-pastedeploy' changed from 'absent' to '1.5.2-1'
'python2.7-cmd2' changed from 'absent' to '1'
'python-tz' changed from 'absent' to '2014.10~dfsg1-0ubuntu2'
'libpaper-utils' changed from 'absent' to '1.1.24+nmu4ubuntu1'
'python-cliff' changed from 'absent' to '2.8.0-0ubuntu1~cloud0'
'python-oslo.i18n' changed from 'absent' to '3.17.0-0ubuntu1~cloud0'
'python-appdirs' changed from 'absent' to '1.4.0-2'
'libjpeg8' changed from 'absent' to '8c-2ubuntu8'
'python-statsd' changed from 'absent' to '3.2.1-2~cloud0'
'libxslt1.1' changed from 'absent' to '1.1.28-2.1ubuntu0.1'
'python-keyring' changed from 'absent' to '7.3-1ubuntu1'
'python-django-appconf' changed from 'absent' to '1.0.1-4'
'python-oslo-utils' changed from 'absent' to '1'
'python-novaclient' changed from 'absent' to '2:9.1.0-0ubuntu1~cloud0'
'python-unicodecsv' changed from 'absent' to '0.14.1-1'
'python-mock' changed from 'absent' to '2.0.0-3~cloud0'
'python-rfc3986' changed from 'absent' to '0.3.1-2~cloud0'
'python-eventlet' changed from 'absent' to '0.18.4-1ubuntu1'
'python-django-horizon' changed from 'absent' to '3:12.0.1-0ubuntu1~cloud0'
'python2.7-pyparsing' changed from 'absent' to '1'
'python-oslo.log' changed from 'absent' to '3.30.0-0ubuntu1~cloud0'
'python-pyscss' changed from 'absent' to '1.3.4-5'
'python-pyinotify' changed from 'absent' to '0.9.6-0fakesync1'
'libjpeg-turbo8' changed from 'absent' to '1.4.2-0ubuntu3'
'python-amqp' changed from 'absent' to '2.1.4-1~cloud0'
'python-pbr' changed from 'absent' to '2.0.0-0ubuntu1~cloud0'
'libwebp5' changed from 'absent' to '0.4.4-1'
'python-vine' changed from 'absent' to '1.1.3+dfsg-2~cloud0'
'python-django-compressor' changed from 'absent' to '2.0-1ubuntu1'
'python-netifaces' changed from 'absent' to '0.10.4-0.1build2'
'python-osprofiler' changed from 'absent' to '1.11.0-0ubuntu1~cloud0'
'python-os-client-config' changed from 'absent' to '1.28.0-0ubuntu1~cloud0'
'python-oslo.messaging' changed from 'absent' to '5.30.0-0ubuntu2~cloud0'
'python-django-common' changed from 'absent' to '1.8.7-1ubuntu5.5'
'python-tempita' changed from 'absent' to '0.5.2-1build1'
'openstack-dashboard' changed from 'absent' to '3:12.0.1-0ubuntu1~cloud0'
'python-json-pointer' changed from 'absent' to '1.9-3'
'python-html5lib' changed from 'absent' to '0.999-4'
'python-swiftclient' changed from 'absent' to '1:3.4.0-0ubuntu1~cloud0'
'python-jwt' changed from 'absent' to '1.3.0-1ubuntu0.1'
'python2.7-iso8601' changed from 'absent' to '1'
'python-greenlet' changed from 'absent' to '0.4.9-2fakesync1'
'python-oslo.service' changed from 'absent' to '1.25.0-0ubuntu1~cloud0'
'python-rcssmin' changed from 'absent' to '1.0.6-1ubuntu1'
'python-ceilometerclient' changed from 'absent' to '2.9.0-0ubuntu1~cloud0'
'python-csscompressor' changed from 'absent' to '0.9.4-2'
'python-traceback2' changed from 'absent' to '1.4.0-3'
'python-keystoneauth1' changed from 'absent' to '3.1.0-0ubuntu2~cloud0'
'python-pymongo' changed from 'absent' to '3.2-1build1'
'python-requestsexceptions' changed from 'absent' to '1.1.2-0ubuntu1'
'python-oslo-context' changed from 'absent' to '1'
'python2.7-bson-ext' changed from 'absent' to '1'
'libjbig0' changed from 'absent' to '2.1-3.1'

2018-02-16 18:14:08,932 [salt.state       ][INFO    ][4610] Loading fresh modules for state activity
2018-02-16 18:14:08,966 [salt.state       ][INFO    ][4610] Completed state [openstack-dashboard] at time 18:14:08.966096 duration_in_ms=63389.039
2018-02-16 18:14:08,970 [salt.state       ][INFO    ][4610] Running state [python-lesscpy] at time 18:14:08.970759
2018-02-16 18:14:08,971 [salt.state       ][INFO    ][4610] Executing state pkg.installed for python-lesscpy
2018-02-16 18:14:10,044 [salt.loaded.int.module.cmdmod][INFO    ][4610] Executing command ['dpkg', '--get-selections', '*'] in directory '/root'
2018-02-16 18:14:10,068 [salt.loaded.int.module.cmdmod][INFO    ][4610] Executing command ['systemd-run', '--scope', 'apt-get', '-q', '-y', '-o', 'DPkg::Options::=--force-confold', '-o', 'DPkg::Options::=--force-confdef', 'install', 'python-lesscpy'] in directory '/root'
2018-02-16 18:14:11,722 [salt.loaded.int.module.cmdmod][INFO    ][4610] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
2018-02-16 18:14:11,768 [salt.state       ][INFO    ][4610] Made the following changes:
'python-ply' changed from 'absent' to '3.7-1'
'python-lesscpy' changed from 'absent' to '0.10-1'
'python-ply-yacc-3.5' changed from 'absent' to '1'
'python2.7-ply' changed from 'absent' to '1'
'python-ply-lex-3.5' changed from 'absent' to '1'

2018-02-16 18:14:11,791 [salt.state       ][INFO    ][4610] Loading fresh modules for state activity
2018-02-16 18:14:11,945 [salt.state       ][INFO    ][4610] Completed state [python-lesscpy] at time 18:14:11.945321 duration_in_ms=2974.561
2018-02-16 18:14:11,950 [salt.state       ][INFO    ][4610] Running state [python-memcache] at time 18:14:11.950349
2018-02-16 18:14:11,950 [salt.state       ][INFO    ][4610] Executing state pkg.installed for python-memcache
2018-02-16 18:14:12,299 [salt.state       ][INFO    ][4610] All specified packages are already installed
2018-02-16 18:14:12,300 [salt.state       ][INFO    ][4610] Completed state [python-memcache] at time 18:14:12.300647 duration_in_ms=350.298
2018-02-16 18:14:12,301 [salt.state       ][INFO    ][4610] Running state [gettext-base] at time 18:14:12.301134
2018-02-16 18:14:12,301 [salt.state       ][INFO    ][4610] Executing state pkg.installed for gettext-base
2018-02-16 18:14:12,307 [salt.state       ][INFO    ][4610] All specified packages are already installed
2018-02-16 18:14:12,307 [salt.state       ][INFO    ][4610] Completed state [gettext-base] at time 18:14:12.307718 duration_in_ms=6.584
2018-02-16 18:14:12,308 [salt.state       ][INFO    ][4610] Running state [openstack-dashboard-apache] at time 18:14:12.308592
2018-02-16 18:14:12,309 [salt.state       ][INFO    ][4610] Executing state pkg.purged for openstack-dashboard-apache
2018-02-16 18:14:12,319 [salt.state       ][INFO    ][4610] All specified packages are already absent
2018-02-16 18:14:12,320 [salt.state       ][INFO    ][4610] Completed state [openstack-dashboard-apache] at time 18:14:12.319968 duration_in_ms=11.375
2018-02-16 18:14:12,322 [salt.state       ][INFO    ][4610] Running state [/etc/openstack-dashboard/local_settings.py] at time 18:14:12.322356
2018-02-16 18:14:12,322 [salt.state       ][INFO    ][4610] Executing state file.managed for /etc/openstack-dashboard/local_settings.py
2018-02-16 18:14:12,353 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/files/local_settings/pike_settings.py'
2018-02-16 18:14:12,407 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/files/horizon_settings/_local_settings.py'
2018-02-16 18:14:12,465 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/files/horizon_settings/_horizon_settings.py'
2018-02-16 18:14:12,491 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/files/horizon_settings/_keystone_settings.py'
2018-02-16 18:14:12,520 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/files/horizon_settings/_nova_settings.py'
2018-02-16 18:14:12,541 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/files/horizon_settings/_glance_settings.py'
2018-02-16 18:14:12,564 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/files/horizon_settings/_neutron_settings.py'
2018-02-16 18:14:12,585 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/files/horizon_settings/_heat_settings.py'
2018-02-16 18:14:12,607 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/files/horizon_settings/_websso_settings.py'
2018-02-16 18:14:12,629 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/files/horizon_settings/_ssl_settings.py'
2018-02-16 18:14:12,635 [salt.state       ][INFO    ][4610] File changed:
--- 
+++ 
@@ -1,169 +1,61 @@
-# -*- coding: utf-8 -*-
-
 import os
-
 from django.utils.translation import ugettext_lazy as _
-
-from horizon.utils import secret_key
-
-from openstack_dashboard.settings import HORIZON_CONFIG
+from openstack_dashboard import exceptions
+
+HORIZON_CONFIG = {
+    'user_home': 'openstack_dashboard.views.get_user_home',
+    'ajax_queue_limit': 10,
+    'auto_fade_alerts': {
+        'delay': 3000,
+        'fade_duration': 1500,
+        'types': ['alert-success', 'alert-info']
+    },
+    'help_url': "http://docs.openstack.org",
+    'exceptions': {'recoverable': exceptions.RECOVERABLE,
+                   'not_found': exceptions.NOT_FOUND,
+                   'unauthorized': exceptions.UNAUTHORIZED},
+    'modal_backdrop': 'static',
+    'angular_modules': [],
+    'js_files': [],
+    'js_spec_files': [],
+    'disable_password_reveal': True,
+    'password_autocomplete': 'off'
+}
+
+INSTALLED_APPS = (
+    'openstack_dashboard',
+    'django.contrib.contenttypes',
+    'django.contrib.auth',
+    'django.contrib.sessions',
+    'django.contrib.messages',
+    'django.contrib.staticfiles',
+    'django.contrib.humanize',
+    'compressor',
+    'horizon',
+    'openstack_auth',
+)
+
+
 
 DEBUG = False
 
-# This setting controls whether or not compression is enabled. Disabling
-# compression makes Horizon considerably slower, but makes it much easier
-# to debug JS and CSS changes
-#COMPRESS_ENABLED = not DEBUG
-
-# This setting controls whether compression happens on the fly, or offline
-# with `python manage.py compress`
-# See https://django-compressor.readthedocs.io/en/latest/usage/#offline-compression
-# for more information
-#COMPRESS_OFFLINE = not DEBUG
-
-# WEBROOT is the location relative to Webserver root
-# should end with a slash.
-WEBROOT = '/'
-#LOGIN_URL = WEBROOT + 'auth/login/'
-#LOGOUT_URL = WEBROOT + 'auth/logout/'
-#
-# LOGIN_REDIRECT_URL can be used as an alternative for
-# HORIZON_CONFIG.user_home, if user_home is not set.
-# Do not set it to '/home/', as this will cause circular redirect loop
-#LOGIN_REDIRECT_URL = WEBROOT
-
-# If horizon is running in production (DEBUG is False), set this
-# with the list of host/domain names that the application can serve.
-# For more information see:
-# https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
-#ALLOWED_HOSTS = ['horizon.example.com', ]
-
-# Set SSL proxy settings:
-# Pass this header from the proxy after terminating the SSL,
-# and don't forget to strip it from the client's request.
-# For more information see:
-# https://docs.djangoproject.com/en/dev/ref/settings/#secure-proxy-ssl-header
-#SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
-
-# If Horizon is being served through SSL, then uncomment the following two
-# settings to better secure the cookies from security exploits
-#CSRF_COOKIE_SECURE = True
-#SESSION_COOKIE_SECURE = True
-
-# The absolute path to the directory where message files are collected.
-# The message file must have a .json file extension. When the user logins to
-# horizon, the message files collected are processed and displayed to the user.
-#MESSAGES_PATH=None
-
-# Overrides for OpenStack API versions. Use this setting to force the
-# OpenStack dashboard to use a specific API version for a given service API.
-# Versions specified here should be integers or floats, not strings.
-# NOTE: The version should be formatted as it appears in the URL for the
-# service API. For example, The identity service APIs have inconsistent
-# use of the decimal point, so valid options would be 2.0 or 3.
-# Minimum compute version to get the instance locked status is 2.9.
-#OPENSTACK_API_VERSIONS = {
-#    "data-processing": 1.1,
-#    "identity": 3,
-#    "image": 2,
-#    "volume": 2,
-#    "compute": 2,
-#}
-
-# Set this to True if running on a multi-domain model. When this is enabled, it
-# will require the user to enter the Domain name in addition to the username
-# for login.
-#OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = False
-
-# Set this to True if you want available domains displayed as a dropdown menu
-# on the login screen. It is strongly advised NOT to enable this for public
-# clouds, as advertising enabled domains to unauthenticated customers
-# irresponsibly exposes private information. This should only be used for
-# private clouds where the dashboard sits behind a corporate firewall.
-#OPENSTACK_KEYSTONE_DOMAIN_DROPDOWN = False
-
-# If OPENSTACK_KEYSTONE_DOMAIN_DROPDOWN is enabled, this option can be used to
-# set the available domains to choose from. This is a list of pairs whose first
-# value is the domain name and the second is the display name.
-#OPENSTACK_KEYSTONE_DOMAIN_CHOICES = (
-#  ('Default', 'Default'),
-#)
-
-# Overrides the default domain used when running on single-domain model
-# with Keystone V3. All entities will be created in the default domain.
-# NOTE: This value must be the name of the default domain, NOT the ID.
-# Also, you will most likely have a value in the keystone policy file like this
-#    "cloud_admin": "rule:admin_required and domain_id:<your domain id>"
-# This value must be the name of the domain whose ID is specified there.
-#OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = 'Default'
-
-# Set this to True to enable panels that provide the ability for users to
-# manage Identity Providers (IdPs) and establish a set of rules to map
-# federation protocol attributes to Identity API attributes.
-# This extension requires v3.0+ of the Identity API.
-#OPENSTACK_KEYSTONE_FEDERATION_MANAGEMENT = False
-
-# Set Console type:
-# valid options are "AUTO"(default), "VNC", "SPICE", "RDP", "SERIAL" or None
-# Set to None explicitly if you want to deactivate the console.
-#CONSOLE_TYPE = "AUTO"
-
-# If provided, a "Report Bug" link will be displayed in the site header
-# which links to the value of this setting (ideally a URL containing
-# information on how to report issues).
-#HORIZON_CONFIG["bug_url"] = "http://bug-report.example.com"
-
-# Show backdrop element outside the modal, do not close the modal
-# after clicking on backdrop.
-#HORIZON_CONFIG["modal_backdrop"] = "static"
-
-# Specify a regular expression to validate user passwords.
-#HORIZON_CONFIG["password_validator"] = {
-#    "regex": '.*',
-#    "help_text": _("Your password does not meet the requirements."),
-#}
-
-# Disable simplified floating IP address management for deployments with
-# multiple floating IP pools or complex network requirements.
-#HORIZON_CONFIG["simple_ip_management"] = False
-
-# Turn off browser autocompletion for forms including the login form and
-# the database creation workflow if so desired.
-#HORIZON_CONFIG["password_autocomplete"] = "off"
-
-# Setting this to True will disable the reveal button for password fields,
-# including on the login form.
-#HORIZON_CONFIG["disable_password_reveal"] = False
+TEMPLATE_DEBUG = DEBUG
+
+ALLOWED_HOSTS = ['*']
+
+AUTHENTICATION_URLS = ['openstack_auth.urls']
 
 LOCAL_PATH = os.path.dirname(os.path.abspath(__file__))
 
-# Set custom secret key:
-# You can either set it to a specific value or you can let horizon generate a
-# default secret key that is unique on this machine, e.i. regardless of the
-# amount of Python WSGI workers (if used behind Apache+mod_wsgi): However,
-# there may be situations where you would want to set this explicitly, e.g.
-# when multiple dashboard instances are distributed on different machines
-# (usually behind a load-balancer). Either you have to make sure that a session
-# gets all requests routed to the same dashboard instance or you set the same
-# SECRET_KEY for all of them.
-SECRET_KEY = secret_key.generate_or_read_from_file('/var/lib/openstack-dashboard/secret_key')
-
-# We recommend you use memcached for development; otherwise after every reload
-# of the django development server, you will have to login again. To use
-# memcached set CACHES to something like
+SECRET_KEY = 'opaesee8Que2yahJoh9fo0eefo1Aeyo6ahyei8zeiboh3aeth5loth7ieNa5xi5e'
 
 CACHES = {
     'default': {
+
         'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
-        'LOCATION': '127.0.0.1:11211',
-    },
-}
-
-#CACHES = {
-#    'default': {
-#        'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
-#    }
-#}
+        'LOCATION': "100.64.200.104:11211"
+    }
+}
 
 # Send email to the console by default
 EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
@@ -171,75 +63,246 @@
 #EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend'
 
 # Configure these for your outgoing email host
-#EMAIL_HOST = 'smtp.my-company.com'
-#EMAIL_PORT = 25
-#EMAIL_HOST_USER = 'djangomail'
-#EMAIL_HOST_PASSWORD = 'top-secret!'
+# EMAIL_HOST = 'smtp.my-company.com'
+# EMAIL_PORT = 25
+# EMAIL_HOST_USER = 'djangomail'
+# EMAIL_HOST_PASSWORD = 'top-secret!'
+
+# The number of objects (Swift containers/objects or images) to display
+# on a single page before providing a paging element (a "more" link)
+# to paginate results.
+API_RESULT_LIMIT = 1000
+API_RESULT_PAGE_SIZE = 20
+
+# The timezone of the server. This should correspond with the timezone
+# of your entire OpenStack installation, and hopefully be in UTC.
+TIME_ZONE = "UTC"
+
+COMPRESS_OFFLINE = True
+
+# Trove user and database extension support. By default support for
+# creating users and databases on database instances is turned on.
+# To disable these extensions set the permission here to something
+# unusable such as ["!"].
+# TROVE_ADD_USER_PERMS = []
+# TROVE_ADD_DATABASE_PERMS = []
+
+SITE_BRANDING = 'OpenStack Dashboard'
+SESSION_COOKIE_HTTPONLY = True
+BOOT_ONLY_FROM_VOLUME = True
+
+REST_API_REQUIRED_SETTINGS = ['OPENSTACK_HYPERVISOR_FEATURES',
+                             'LAUNCH_INSTANCE_DEFAULTS',
+                             'OPENSTACK_IMAGE_FORMATS']
+
+
+# Specify a regular expression to validate user passwords.
+# HORIZON_CONFIG["password_validator"] = {
+#     "regex": '.*',
+#     "help_text": _("Your password does not meet the requirements.")
+# }
+
+# Turn off browser autocompletion for the login form if so desired.
+# HORIZON_CONFIG["password_autocomplete"] = "off"
+
+# The Horizon Policy Enforcement engine uses these values to load per service
+# policy rule files. The content of these files should match the files the
+# OpenStack services are using to determine role based access control in the
+# target installation.
+
+SESSION_TIMEOUT = 43200
+SESSION_ENGINE = "django.contrib.sessions.backends.cache"
+DROPDOWN_MAX_ITEMS = 30
+
+# Path to directory containing policy.json files
+POLICY_FILES_PATH = "/usr/share/openstack-dashboard/openstack_dashboard/conf"
+# Map of local copy of service policy files
+POLICY_FILES = {
+    "compute": "nova_policy.json",
+    "network": "neutron_policy.json",
+    "image": "glance_policy.json",
+    "telemetry": "ceilometer_policy.json",
+    "volume": "cinder_policy.json",
+    "orchestration": "heat_policy.json",
+    "identity": "keystone_policy.json",
+}
+
+LOGGING = {
+    'version': 1,
+    # When set to True this will disable all logging except
+    # for loggers specified in this configuration dictionary. Note that
+    # if nothing is specified here and disable_existing_loggers is True,
+    # django.db.backends will still log unless it is disabled explicitly.
+    
+    'disable_existing_loggers': False,
+    'handlers': {
+        'null': {
+            'level': 'DEBUG',
+            'class': 'logging.NullHandler',
+        },
+        'console': {
+            # Set the level to "DEBUG" for verbose output logging.
+            'level': 'INFO',
+            'class': 'logging.StreamHandler',
+        },
+        'file': {
+            'level': 'DEBUG',
+            'class': 'logging.FileHandler',
+            'filename': '/var/log/horizon/horizon.log',
+        },
+    },
+    'loggers': {
+        # Logging from django.db.backends is VERY verbose, send to null
+        # by default.
+        'django.db.backends': {
+            'handlers': ['null'],
+            'propagate': False,
+        },
+        # DEBUG level for django.template starting Pike has some false positive traces, set it to INFO
+        # by default. Caused by bug PROD-17558.
+        'django.template': {
+            'handlers': ['file'],
+            'level': 'INFO',
+            'propagate': True,
+        },
+        'requests': {
+            'handlers': ['null'],
+            'propagate': False,
+        },
+        'horizon': {
+            'handlers': ['file'],
+            'level': 'DEBUG',
+            'propagate': False,
+        },
+        'openstack_dashboard': {
+            'handlers': ['file'],
+            'level': 'DEBUG',
+            'propagate': False,
+        },
+        'novaclient': {
+            'handlers': ['file'],
+            'level': 'DEBUG',
+            'propagate': False,
+        },
+        'cinderclient': {
+            'handlers': ['file'],
+            'level': 'DEBUG',
+            'propagate': False,
+        },
+        'keystoneclient': {
+            'handlers': ['file'],
+            'level': 'DEBUG',
+            'propagate': False,
+        },
+        'glanceclient': {
+            'handlers': ['file'],
+            'level': 'DEBUG',
+            'propagate': False,
+        },
+        'neutronclient': {
+            'handlers': ['file'],
+            'level': 'DEBUG',
+            'propagate': False,
+        },
+        'heatclient': {
+            'handlers': ['file'],
+            'level': 'DEBUG',
+            'propagate': False,
+        },
+        'ceilometerclient': {
+            'handlers': ['file'],
+            'level': 'DEBUG',
+            'propagate': False,
+        },
+        'troveclient': {
+            'handlers': ['file'],
+            'level': 'DEBUG',
+            'propagate': False,
+        },
+        'mistralclient': {
+            'handlers': ['file'],
+            'level': 'DEBUG',
+            'propagate': False,
+        },
+        'swiftclient': {
+            'handlers': ['file'],
+            'level': 'DEBUG',
+            'propagate': False,
+        },
+        'openstack_auth': {
+            'handlers': ['file'],
+            'level': 'DEBUG',
+            'propagate': False,
+        },
+        'scss.expression': {
+            'handlers': ['file'],
+            'level': 'DEBUG',
+            'propagate': False,
+        },
+        'nose.plugins.manager': {
+            'handlers': ['file'],
+            'level': 'DEBUG',
+            'propagate': False,
+        },
+        'django': {
+            'handlers': ['file'],
+            'level': 'DEBUG',
+            'propagate': False,
+        },
+        'iso8601': {
+            'handlers': ['null'],
+            'propagate': False,
+        },
+    }
+}
+
+
+# Overrides for OpenStack API versions. Use this setting to force the
+# OpenStack dashboard to use a specfic API version for a given service API.
+# NOTE: The version should be formatted as it appears in the URL for the
+# service API. For example, The identity service APIs have inconsistent
+# use of the decimal point, so valid options would be "2.0" or "3".
+OPENSTACK_API_VERSIONS = {
+    "identity": 3
+}
+# Set this to True if running on multi-domain model. When this is enabled, it
+# will require user to enter the Domain name in addition to username for login.
+# OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = False
+
+# Overrides the default domain used when running on single-domain model
+# with Keystone V3. All entities will be created in the default domain.
+# OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = 'Default'
 
 # For multiple regions uncomment this configuration, and add (endpoint, title).
-#AVAILABLE_REGIONS = [
-#    ('http://cluster1.example.com:5000/v2.0', 'cluster1'),
-#    ('http://cluster2.example.com:5000/v2.0', 'cluster2'),
-#]
-
-OPENSTACK_HOST = "127.0.0.1"
-OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST
-OPENSTACK_KEYSTONE_DEFAULT_ROLE = "_member_"
-
-# For setting the default service region on a per-endpoint basis. Note that the
-# default value for this setting is {}, and below is just an example of how it
-# should be specified.
-#DEFAULT_SERVICE_REGIONS = {
-#    OPENSTACK_KEYSTONE_URL: 'RegionOne'
-#}
-
-# Enables keystone web single-sign-on if set to True.
-#WEBSSO_ENABLED = False
-
-# Determines which authentication choice to show as default.
-#WEBSSO_INITIAL_CHOICE = "credentials"
-
-# The list of authentication mechanisms which include keystone
-# federation protocols and identity provider/federation protocol
-# mapping keys (WEBSSO_IDP_MAPPING). Current supported protocol
-# IDs are 'saml2' and 'oidc'  which represent SAML 2.0, OpenID
-# Connect respectively.
-# Do not remove the mandatory credentials mechanism.
-# Note: The last two tuples are sample mapping keys to a identity provider
-# and federation protocol combination (WEBSSO_IDP_MAPPING).
-#WEBSSO_CHOICES = (
-#    ("credentials", _("Keystone Credentials")),
-#    ("oidc", _("OpenID Connect")),
-#    ("saml2", _("Security Assertion Markup Language")),
-#    ("acme_oidc", "ACME - OpenID Connect"),
-#    ("acme_saml2", "ACME - SAML2"),
-#)
-
-# A dictionary of specific identity provider and federation protocol
-# combinations. From the selected authentication mechanism, the value
-# will be looked up as keys in the dictionary. If a match is found,
-# it will redirect the user to a identity provider and federation protocol
-# specific WebSSO endpoint in keystone, otherwise it will use the value
-# as the protocol_id when redirecting to the WebSSO by protocol endpoint.
-# NOTE: The value is expected to be a tuple formatted as: (<idp_id>, <protocol_id>).
-#WEBSSO_IDP_MAPPING = {
-#    "acme_oidc": ("acme", "oidc"),
-#    "acme_saml2": ("acme", "saml2"),
-#}
-
-# The Keystone Provider drop down uses Keystone to Keystone federation
-# to switch between Keystone service providers.
-# Set display name for Identity Provider (dropdown display name)
-#KEYSTONE_PROVIDER_IDP_NAME = "Local Keystone"
-# This id is used for only for comparison with the service provider IDs. This ID
-# should not match any service provider IDs.
-#KEYSTONE_PROVIDER_IDP_ID = "localkeystone"
+# AVAILABLE_REGIONS = [
+#     ('http://cluster1.example.com:5000/v2.0', 'cluster1'),
+#     ('http://cluster2.example.com:5000/v2.0', 'cluster2'),
+# ]
+
+OPENSTACK_HOST = "192.168.10.10"
+OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST
+
+OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = False
+OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "default"
+
+OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"
 
 # Disable SSL certificate checks (useful for self-signed certificates):
-#OPENSTACK_SSL_NO_VERIFY = True
 
 # The CA certificate to use to verify SSL connections
-#OPENSTACK_SSL_CACERT = '/path/to/cacert.pem'
+# OPENSTACK_SSL_CACERT = '/path/to/cacert.pem'
+
+# OPENSTACK_ENDPOINT_TYPE specifies the endpoint type to use for the endpoints
+# in the Keystone service catalog. Use this setting when Horizon is running
+# external to the OpenStack environment. The default is 'publicURL'.
+OPENSTACK_ENDPOINT_TYPE = "internalURL"
+
+# SECONDARY_ENDPOINT_TYPE specifies the fallback endpoint type to use in the
+# case that OPENSTACK_ENDPOINT_TYPE is not present in the endpoints
+# in the Keystone service catalog. Use this setting when Horizon is running
+# external to the OpenStack environment. The default is None.  This
+# value should differ from OPENSTACK_ENDPOINT_TYPE if used.
+#SECONDARY_ENDPOINT_TYPE = "publicURL"
 
 # The OPENSTACK_KEYSTONE_BACKEND settings can be used to identify the
 # capabilities of the auth backend for Keystone.
@@ -253,43 +316,13 @@
     'can_edit_group': True,
     'can_edit_project': True,
     'can_edit_domain': True,
-    'can_edit_role': True,
-}
-
-# Setting this to True, will add a new "Retrieve Password" action on instance,
-# allowing Admin session password retrieval/decryption.
-#OPENSTACK_ENABLE_PASSWORD_RETRIEVE = False
-
-# This setting allows deployers to control whether a token is deleted on log
-# out. This can be helpful when there are often long running processes being
-# run in the Horizon environment.
-#TOKEN_DELETION_DISABLED = False
-
-# The Launch Instance user experience has been significantly enhanced.
-# You can choose whether to enable the new launch instance experience,
-# the legacy experience, or both. The legacy experience will be removed
-# in a future release, but is available as a temporary backup setting to ensure
-# compatibility with existing deployments. Further development will not be
-# done on the legacy experience. Please report any problems with the new
-# experience via the Launchpad tracking system.
-#
-# Toggle LAUNCH_INSTANCE_LEGACY_ENABLED and LAUNCH_INSTANCE_NG_ENABLED to
-# determine the experience to enable.  Set them both to true to enable
-# both.
-#LAUNCH_INSTANCE_LEGACY_ENABLED = True
-#LAUNCH_INSTANCE_NG_ENABLED = False
-
-# A dictionary of settings which can be used to provide the default values for
-# properties found in the Launch Instance modal.
-#LAUNCH_INSTANCE_DEFAULTS = {
-#    'config_drive': False,
-#    'enable_scheduler_hints': True,
-#    'disable_image': False,
-#    'disable_instance_snapshot': False,
-#    'disable_volume': False,
-#    'disable_volume_snapshot': False,
-#    'create_volume': True,
-#}
+    'can_edit_role': True
+}
+
+
+# Set Console type:
+# valid options would be "AUTO", "VNC" or "SPICE"
+# CONSOLE_TYPE = "AUTO"
 
 # The Xen Hypervisor has the ability to set the mount point for volumes
 # attached to instances (other Hypervisors currently do not). Setting
@@ -298,97 +331,52 @@
 OPENSTACK_HYPERVISOR_FEATURES = {
     'can_set_mount_point': False,
     'can_set_password': False,
-    'requires_keypair': False,
-    'enable_quotas': True
-}
-
-# The OPENSTACK_CINDER_FEATURES settings can be used to enable optional
-# services provided by cinder that is not exposed by its extension API.
-OPENSTACK_CINDER_FEATURES = {
-    'enable_backup': False,
-}
-
-# The OPENSTACK_NEUTRON_NETWORK settings can be used to enable optional
-# services provided by neutron. Options currently available are load
-# balancer service, security groups, quotas, VPN service.
-OPENSTACK_NEUTRON_NETWORK = {
-    'enable_router': True,
-    'enable_quotas': True,
-    'enable_ipv6': True,
-    'enable_distributed_router': False,
-    'enable_ha_router': False,
-    'enable_fip_topology_check': True,
-
-    # Default dns servers you would like to use when a subnet is
-    # created.  This is only a default, users can still choose a different
-    # list of dns servers when creating a new subnet.
-    # The entries below are examples only, and are not appropriate for
-    # real deployments
-    # 'default_dns_nameservers': ["8.8.8.8", "8.8.4.4", "208.67.222.222"],
-
-    # Set which provider network types are supported. Only the network types
-    # in this list will be available to choose from when creating a network.
-    # Network types include local, flat, vlan, gre, vxlan and geneve.
-    # 'supported_provider_types': ['*'],
-
-    # You can configure available segmentation ID range per network type
-    # in your deployment.
-    # 'segmentation_id_range': {
-    #     'vlan': [1024, 2048],
-    #     'vxlan': [4094, 65536],
-    # },
-
-    # You can define additional provider network types here.
-    # 'extra_provider_types': {
-    #     'awesome_type': {
-    #         'display_name': 'Awesome New Type',
-    #         'require_physical_network': False,
-    #         'require_segmentation_id': True,
-    #     }
-    # },
-
-    # Set which VNIC types are supported for port binding. Only the VNIC
-    # types in this list will be available to choose from when creating a
-    # port.
-    # VNIC types include 'normal', 'direct', 'direct-physical', 'macvtap',
-    # 'baremetal' and 'virtio-forwarder'
-    # Set to empty list or None to disable VNIC type selection.
-    'supported_vnic_types': ['*'],
-
-    # Set list of available physical networks to be selected in the physical
-    # network field on the admin create network modal. If it's set to an empty
-    # list, the field will be a regular input field.
-    # e.g. ['default', 'test']
-    'physical_networks': [],
-
-}
-
-# The OPENSTACK_HEAT_STACK settings can be used to disable password
-# field required while launching the stack.
-OPENSTACK_HEAT_STACK = {
-    'enable_user_pass': True,
-}
+}
+
+# When set, enables the instance action "Retrieve password"
+# allowing password retrieval
+OPENSTACK_ENABLE_PASSWORD_RETRIEVE = False
+
+# When launching an instance, the menu of available flavors is
+# sorted by RAM usage, ascending.  Provide a callback method here
+# (and/or a flag for reverse sort) for the sorted() method if you'd
+# like a different behaviour.  For more info, see
+# http://docs.python.org/2/library/functions.html#sorted
+# CREATE_INSTANCE_FLAVOR_SORT = {
+#     'key': my_awesome_callback_method,
+#     'reverse': False,
+# }
+
+FLAVOR_EXTRA_KEYS = {
+    'flavor_keys': [
+        ('quota:read_bytes_sec', _('Quota: Read bytes')),
+        ('quota:write_bytes_sec', _('Quota: Write bytes')),
+        ('quota:cpu_quota', _('Quota: CPU')),
+        ('quota:cpu_period', _('Quota: CPU period')),
+        ('quota:inbound_average', _('Quota: Inbound average')),
+        ('quota:outbound_average', _('Quota: Outbound average')),
+    ]
+}
+
 
 # The OPENSTACK_IMAGE_BACKEND settings can be used to customize features
 # in the OpenStack Dashboard related to the Image service, such as the list
 # of supported image formats.
-#OPENSTACK_IMAGE_BACKEND = {
-#    'image_formats': [
-#        ('', _('Select format')),
-#        ('aki', _('AKI - Amazon Kernel Image')),
-#        ('ami', _('AMI - Amazon Machine Image')),
-#        ('ari', _('ARI - Amazon Ramdisk Image')),
-#        ('docker', _('Docker')),
-#        ('iso', _('ISO - Optical Disk Image')),
-#        ('ova', _('OVA - Open Virtual Appliance')),
-#        ('qcow2', _('QCOW2 - QEMU Emulator')),
-#        ('raw', _('Raw')),
-#        ('vdi', _('VDI - Virtual Disk Image')),
-#        ('vhd', _('VHD - Virtual Hard Disk')),
-#        ('vhdx', _('VHDX - Large Virtual Hard Disk')),
-#        ('vmdk', _('VMDK - Virtual Machine Disk')),
-#    ],
-#}
+OPENSTACK_IMAGE_BACKEND = {
+    'image_formats': [
+        ('', ''),
+        ('aki', _('AKI - Amazon Kernel Image')),
+        ('ami', _('AMI - Amazon Machine Image')),
+        ('ari', _('ARI - Amazon Ramdisk Image')),
+        ('iso', _('ISO - Optical Disk Image')),
+        ('qcow2', _('QCOW2 - QEMU Emulator')),
+        ('raw', _('Raw')),
+        ('vdi', _('VDI')),
+        ('vhd', _('VHD')),
+        ('vmdk', _('VMDK')),
+        ('docker', _('Docker Container'))
+    ]
+}
 
 # The IMAGE_CUSTOM_PROPERTY_TITLES settings is used to customize the titles for
 # image custom property attributes that appear on image detail pages.
@@ -398,273 +386,53 @@
     "ramdisk_id": _("Ramdisk ID"),
     "image_state": _("Euca2ools state"),
     "project_id": _("Project ID"),
-    "image_type": _("Image Type"),
-}
-
-# The IMAGE_RESERVED_CUSTOM_PROPERTIES setting is used to specify which image
-# custom properties should not be displayed in the Image Custom Properties
-# table.
-IMAGE_RESERVED_CUSTOM_PROPERTIES = []
-
-# Set to 'legacy' or 'direct' to allow users to upload images to glance via
-# Horizon server. When enabled, a file form field will appear on the create
-# image form. If set to 'off', there will be no file form field on the create
-# image form. See documentation for deployment considerations.
-#HORIZON_IMAGES_UPLOAD_MODE = 'legacy'
-
-# Allow a location to be set when creating or updating Glance images.
-# If using Glance V2, this value should be False unless the Glance
-# configuration and policies allow setting locations.
-#IMAGES_ALLOW_LOCATION = False
-
-# A dictionary of default settings for create image modal.
-#CREATE_IMAGE_DEFAULTS = {
-#    'image_visibility': "public",
-#}
-
-# OPENSTACK_ENDPOINT_TYPE specifies the endpoint type to use for the endpoints
-# in the Keystone service catalog. Use this setting when Horizon is running
-# external to the OpenStack environment. The default is 'publicURL'.
-#OPENSTACK_ENDPOINT_TYPE = "publicURL"
-
-# SECONDARY_ENDPOINT_TYPE specifies the fallback endpoint type to use in the
-# case that OPENSTACK_ENDPOINT_TYPE is not present in the endpoints
-# in the Keystone service catalog. Use this setting when Horizon is running
-# external to the OpenStack environment. The default is None. This
-# value should differ from OPENSTACK_ENDPOINT_TYPE if used.
-#SECONDARY_ENDPOINT_TYPE = None
-
-# The number of objects (Swift containers/objects or images) to display
-# on a single page before providing a paging element (a "more" link)
-# to paginate results.
-API_RESULT_LIMIT = 1000
-API_RESULT_PAGE_SIZE = 20
-
-# The size of chunk in bytes for downloading objects from Swift
-SWIFT_FILE_TRANSFER_CHUNK_SIZE = 512 * 1024
-
-# The default number of lines displayed for instance console log.
-INSTANCE_LOG_LENGTH = 35
-
-# Specify a maximum number of items to display in a dropdown.
-DROPDOWN_MAX_ITEMS = 30
-
-# The timezone of the server. This should correspond with the timezone
-# of your entire OpenStack installation, and hopefully be in UTC.
-TIME_ZONE = "UTC"
-
-# When launching an instance, the menu of available flavors is
-# sorted by RAM usage, ascending. If you would like a different sort order,
-# you can provide another flavor attribute as sorting key. Alternatively, you
-# can provide a custom callback method to use for sorting. You can also provide
-# a flag for reverse sort. For more info, see
-# http://docs.python.org/2/library/functions.html#sorted
-#CREATE_INSTANCE_FLAVOR_SORT = {
-#    'key': 'name',
-#     # or
-#    'key': my_awesome_callback_method,
-#    'reverse': False,
-#}
-
-# Set this to True to display an 'Admin Password' field on the Change Password
-# form to verify that it is indeed the admin logged-in who wants to change
-# the password.
-#ENFORCE_PASSWORD_CHECK = False
-
-# Modules that provide /auth routes that can be used to handle different types
-# of user authentication. Add auth plugins that require extra route handling to
-# this list.
-#AUTHENTICATION_URLS = [
-#    'openstack_auth.urls',
-#]
-
-# The Horizon Policy Enforcement engine uses these values to load per service
-# policy rule files. The content of these files should match the files the
-# OpenStack services are using to determine role based access control in the
-# target installation.
-
-# Path to directory containing policy.json files
-#POLICY_FILES_PATH = os.path.join(ROOT_PATH, "conf")
-
-# Map of local copy of service policy files.
-# Please insure that your identity policy file matches the one being used on
-# your keystone servers. There is an alternate policy file that may be used
-# in the Keystone v3 multi-domain case, policy.v3cloudsample.json.
-# This file is not included in the Horizon repository by default but can be
-# found at
-# http://git.openstack.org/cgit/openstack/keystone/tree/etc/ \
-# policy.v3cloudsample.json
-# Having matching policy files on the Horizon and Keystone servers is essential
-# for normal operation. This holds true for all services and their policy files.
-#POLICY_FILES = {
-#    'identity': 'keystone_policy.json',
-#    'compute': 'nova_policy.json',
-#    'volume': 'cinder_policy.json',
-#    'image': 'glance_policy.json',
-#    'orchestration': 'heat_policy.json',
-#    'network': 'neutron_policy.json',
-#}
-
-# TODO: (david-lyle) remove when plugins support adding settings.
-# Note: Only used when trove-dashboard plugin is configured to be used by
-# Horizon.
-# Trove user and database extension support. By default support for
-# creating users and databases on database instances is turned on.
-# To disable these extensions set the permission here to something
-# unusable such as ["!"].
-#TROVE_ADD_USER_PERMS = []
-#TROVE_ADD_DATABASE_PERMS = []
-
-# Change this patch to the appropriate list of tuples containing
-# a key, label and static directory containing two files:
-# _variables.scss and _styles.scss
-#AVAILABLE_THEMES = [
-#    ('default', 'Default', 'themes/default'),
-#    ('material', 'Material', 'themes/material'),
-#]
-
-LOGGING = {
-    'version': 1,
-    # When set to True this will disable all logging except
-    # for loggers specified in this configuration dictionary. Note that
-    # if nothing is specified here and disable_existing_loggers is True,
-    # django.db.backends will still log unless it is disabled explicitly.
-    'disable_existing_loggers': False,
-    # If apache2 mod_wsgi is used to deploy OpenStack dashboard
-    # timestamp is output by mod_wsgi. If WSGI framework you use does not
-    # output timestamp for logging, add %(asctime)s in the following
-    # format definitions.
-    'formatters': {
-        'console': {
-            'format': '%(levelname)s %(name)s %(message)s'
-        },
-        'operation': {
-            # The format of "%(message)s" is defined by
-            # OPERATION_LOG_OPTIONS['format']
-            'format': '%(message)s'
-        },
-    },
-    'handlers': {
-        'null': {
-            'level': 'DEBUG',
-            'class': 'logging.NullHandler',
-        },
-        'console': {
-            # Set the level to "DEBUG" for verbose output logging.
-            'level': 'INFO',
-            'class': 'logging.StreamHandler',
-            'formatter': 'console',
-        },
-        'operation': {
-            'level': 'INFO',
-            'class': 'logging.StreamHandler',
-            'formatter': 'operation',
-        },
-    },
-    'loggers': {
-        # Logging from django.db.backends is VERY verbose, send to null
-        # by default.
-        'django.db.backends': {
-            'handlers': ['null'],
-            'propagate': False,
-        },
-        'requests': {
-            'handlers': ['null'],
-            'propagate': False,
-        },
-        'horizon': {
-            'handlers': ['console'],
-            'level': 'DEBUG',
-            'propagate': False,
-        },
-        'horizon.operation_log': {
-            'handlers': ['operation'],
-            'level': 'INFO',
-            'propagate': False,
-        },
-        'openstack_dashboard': {
-            'handlers': ['console'],
-            'level': 'DEBUG',
-            'propagate': False,
-        },
-        'novaclient': {
-            'handlers': ['console'],
-            'level': 'DEBUG',
-            'propagate': False,
-        },
-        'cinderclient': {
-            'handlers': ['console'],
-            'level': 'DEBUG',
-            'propagate': False,
-        },
-        'keystoneclient': {
-            'handlers': ['console'],
-            'level': 'DEBUG',
-            'propagate': False,
-        },
-        'glanceclient': {
-            'handlers': ['console'],
-            'level': 'DEBUG',
-            'propagate': False,
-        },
-        'neutronclient': {
-            'handlers': ['console'],
-            'level': 'DEBUG',
-            'propagate': False,
-        },
-        'heatclient': {
-            'handlers': ['console'],
-            'level': 'DEBUG',
-            'propagate': False,
-        },
-        'swiftclient': {
-            'handlers': ['console'],
-            'level': 'DEBUG',
-            'propagate': False,
-        },
-        'openstack_auth': {
-            'handlers': ['console'],
-            'level': 'DEBUG',
-            'propagate': False,
-        },
-        'nose.plugins.manager': {
-            'handlers': ['console'],
-            'level': 'DEBUG',
-            'propagate': False,
-        },
-        'django': {
-            'handlers': ['console'],
-            'level': 'DEBUG',
-            'propagate': False,
-        },
-        'iso8601': {
-            'handlers': ['null'],
-            'propagate': False,
-        },
-        'scss': {
-            'handlers': ['null'],
-            'propagate': False,
-        },
-    },
+    "image_type": _("Image Type")
+}
+
+HORIZON_IMAGES_UPLOAD_MODE = "legacy"
+IMAGES_ALLOW_LOCATION = True
+
+
+# Disable simplified floating IP address management for deployments with
+# multiple floating IP pools or complex network requirements.
+# HORIZON_CONFIG["simple_ip_management"] = False
+
+# The OPENSTACK_NEUTRON_NETWORK settings can be used to enable optional
+# services provided by neutron. Options currenly available are load
+# balancer service, security groups, quotas, VPN service.
+
+OPENSTACK_NEUTRON_NETWORK = {
+    'enable_lb': True,
+    'enable_firewall': False,
+    'enable_quotas': True,
+    'enable_security_group': True,
+    'enable_vpn': False,
+    # The profile_support option is used to detect if an externa lrouter can be
+    # configured via the dashboard. When using specific plugins the
+    # profile_support can be turned on if needed.
+    'profile_support': None,
+    'enable_fip_topology_check': True,
+
+    #'profile_support': 'cisco',
 }
 
 # 'direction' should not be specified for all_tcp/udp/icmp.
 # It is specified in the form.
 SECURITY_GROUP_RULES = {
     'all_tcp': {
-        'name': _('All TCP'),
+        'name': 'ALL TCP',
         'ip_protocol': 'tcp',
         'from_port': '1',
         'to_port': '65535',
     },
     'all_udp': {
-        'name': _('All UDP'),
+        'name': 'ALL UDP',
         'ip_protocol': 'udp',
         'from_port': '1',
         'to_port': '65535',
     },
     'all_icmp': {
-        'name': _('All ICMP'),
+        'name': 'ALL ICMP',
         'ip_protocol': 'icmp',
         'from_port': '-1',
         'to_port': '-1',
@@ -755,160 +523,12 @@
     },
 }
 
-# Deprecation Notice:
-#
-# The setting FLAVOR_EXTRA_KEYS has been deprecated.
-# Please load extra spec metadata into the Glance Metadata Definition Catalog.
-#
-# The sample quota definitions can be found in:
-# <glance_source>/etc/metadefs/compute-quota.json
-#
-# The metadata definition catalog supports CLI and API:
-#  $glance --os-image-api-version 2 help md-namespace-import
-#  $glance-manage db_load_metadefs <directory_with_definition_files>
-#
-# See Metadata Definitions on: http://docs.openstack.org/developer/glance/
-
-# TODO: (david-lyle) remove when plugins support settings natively
-# Note: This is only used when the Sahara plugin is configured and enabled
-# for use in Horizon.
-# Indicate to the Sahara data processing service whether or not
-# automatic floating IP allocation is in effect.  If it is not
-# in effect, the user will be prompted to choose a floating IP
-# pool for use in their cluster.  False by default.  You would want
-# to set this to True if you were running Nova Networking with
-# auto_assign_floating_ip = True.
-#SAHARA_AUTO_IP_ALLOCATION_ENABLED = False
-
-# The hash algorithm to use for authentication tokens. This must
-# match the hash algorithm that the identity server and the
-# auth_token middleware are using. Allowed values are the
-# algorithms supported by Python's hashlib library.
-#OPENSTACK_TOKEN_HASH_ALGORITHM = 'md5'
-
-# AngularJS requires some settings to be made available to
-# the client side. Some settings are required by in-tree / built-in horizon
-# features. These settings must be added to REST_API_REQUIRED_SETTINGS in the
-# form of ['SETTING_1','SETTING_2'], etc.
-#
-# You may remove settings from this list for security purposes, but do so at
-# the risk of breaking a built-in horizon feature. These settings are required
-# for horizon to function properly. Only remove them if you know what you
-# are doing. These settings may in the future be moved to be defined within
-# the enabled panel configuration.
-# You should not add settings to this list for out of tree extensions.
-# See: https://wiki.openstack.org/wiki/Horizon/RESTAPI
-REST_API_REQUIRED_SETTINGS = ['OPENSTACK_HYPERVISOR_FEATURES',
-                              'LAUNCH_INSTANCE_DEFAULTS',
-                              'OPENSTACK_IMAGE_FORMATS',
-                              'OPENSTACK_KEYSTONE_DEFAULT_DOMAIN',
-                              'CREATE_IMAGE_DEFAULTS']
-
-# Additional settings can be made available to the client side for
-# extensibility by specifying them in REST_API_ADDITIONAL_SETTINGS
-# !! Please use extreme caution as the settings are transferred via HTTP/S
-# and are not encrypted on the browser. This is an experimental API and
-# may be deprecated in the future without notice.
-#REST_API_ADDITIONAL_SETTINGS = []
-
-###############################################################################
-# Ubuntu Settings
-###############################################################################
-
- # The default theme if no cookie is present
-DEFAULT_THEME = 'ubuntu'
-
-# Default Ubuntu apache configuration uses /horizon as the application root.
-WEBROOT='/horizon/'
-
-# By default, validation of the HTTP Host header is disabled.  Production
-# installations should have this set accordingly.  For more information
-# see https://docs.djangoproject.com/en/dev/ref/settings/.
-ALLOWED_HOSTS = '*'
-
-# Compress all assets offline as part of packaging installation
-COMPRESS_OFFLINE = True
-
-# DISALLOW_IFRAME_EMBED can be used to prevent Horizon from being embedded
-# within an iframe. Legacy browsers are still vulnerable to a Cross-Frame
-# Scripting (XFS) vulnerability, so this option allows extra security hardening
-# where iframes are not used in deployment. Default setting is True.
-# For more information see:
-# http://tinyurl.com/anticlickjack
-#DISALLOW_IFRAME_EMBED = True
-
-# Help URL can be made available for the client. To provide a help URL, edit the
-# following attribute to the URL of your choice.
-#HORIZON_CONFIG["help_url"] = "http://openstack.mycompany.org"
-
-# Settings for OperationLogMiddleware
-# OPERATION_LOG_ENABLED is flag to use the function to log an operation on
-# Horizon.
-# mask_targets is arrangement for appointing a target to mask.
-# method_targets is arrangement of HTTP method to output log.
-# format is the log contents.
-#OPERATION_LOG_ENABLED = False
-#OPERATION_LOG_OPTIONS = {
-#    'mask_fields': ['password'],
-#    'target_methods': ['POST'],
-#    'ignored_urls': ['/js/', '/static/', '^/api/'],
-#    'format': ("[%(client_ip)s] [%(domain_name)s]"
-#        " [%(domain_id)s] [%(project_name)s]"
-#        " [%(project_id)s] [%(user_name)s] [%(user_id)s] [%(request_scheme)s]"
-#        " [%(referer_url)s] [%(request_url)s] [%(message)s] [%(method)s]"
-#        " [%(http_status)s] [%(param)s]"),
-#}
-
-# The default date range in the Overview panel meters - either <today> minus N
-# days (if the value is integer N), or from the beginning of the current month
-# until today (if set to None). This setting should be used to limit the amount
-# of data fetched by default when rendering the Overview panel.
-#OVERVIEW_DAYS_RANGE = 1
-
-# To allow operators to require users provide a search criteria first
-# before loading any data into the views, set the following dict
-# attributes to True in each one of the panels you want to enable this feature.
-# Follow the convention <dashboard>.<view>
-#FILTER_DATA_FIRST = {
-#    'admin.instances': False,
-#    'admin.images': False,
-#    'admin.networks': False,
-#    'admin.routers': False,
-#    'admin.volumes': False,
-#    'identity.users': False,
-#    'identity.projects': False,
-#    'identity.groups': False,
-#    'identity.roles': False
-#}
-
-# Dict used to restrict user private subnet cidr range.
-# An empty list means that user input will not be restricted
-# for a corresponding IP version. By default, there is
-# no restriction for IPv4 or IPv6. To restrict
-# user private subnet cidr range set ALLOWED_PRIVATE_SUBNET_CIDR
-# to something like
-#ALLOWED_PRIVATE_SUBNET_CIDR = {
-#    'ipv4': ['10.0.0.0/8', '192.168.0.0/16'],
-#    'ipv6': ['fc00::/7']
-#}
-ALLOWED_PRIVATE_SUBNET_CIDR = {'ipv4': [], 'ipv6': []}
-
-# Projects and users can have extra attributes as defined by keystone v3.
-# Horizon has the ability to display these extra attributes via this setting.
-# If you'd like to display extra data in the project or user tables, set the
-# corresponding dict key to the attribute name, followed by the display name.
-# For more information, see horizon's customization (http://docs.openstack.org/developer/horizon/topics/customizing.html#horizon-customization-module-overrides)
-#PROJECT_TABLE_EXTRA_INFO = {
-#   'phone_num': _('Phone Number'),
-#}
-#USER_TABLE_EXTRA_INFO = {
-#   'phone_num': _('Phone Number'),
-#}
-
-# Password will have an expiration date when using keystone v3 and enabling the
-# feature.
-# This setting allows you to set the number of days that the user will be alerted
-# prior to the password expiration.
-# Once the password expires keystone will deny the access and users must
-# contact an admin to change their password.
-#PASSWORD_EXPIRES_WARNING_THRESHOLD_DAYS = 0+
+
+
+
+
+USE_SSL = True
+CSRF_COOKIE_SECURE = True
+CSRF_COOKIE_SECURE = True
+SESSION_COOKIE_HTTPONLY = True

2018-02-16 18:14:12,660 [salt.state       ][INFO    ][4610] Loading fresh modules for state activity
2018-02-16 18:14:12,693 [salt.state       ][INFO    ][4610] Completed state [/etc/openstack-dashboard/local_settings.py] at time 18:14:12.693803 duration_in_ms=371.446
2018-02-16 18:14:12,696 [salt.state       ][INFO    ][4610] Running state [/usr/share/openstack-dashboard/openstack_dashboard/conf/nova_policy.json] at time 18:14:12.695975
2018-02-16 18:14:12,696 [salt.state       ][INFO    ][4610] Executing state file.managed for /usr/share/openstack-dashboard/openstack_dashboard/conf/nova_policy.json
2018-02-16 18:14:12,729 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/files/policy/pike/nova_policy.json'
2018-02-16 18:14:12,733 [salt.state       ][INFO    ][4610] File changed:
--- 
+++ 
@@ -2,175 +2,436 @@
     "context_is_admin":  "role:admin",
     "admin_or_owner":  "is_admin:True or project_id:%(project_id)s",
     "default": "rule:admin_or_owner",
+
+    "cells_scheduler_filter:TargetCellFilter": "is_admin:True",
+
+    "compute:create": "rule:admin_or_owner",
+    "compute:create:attach_network": "rule:admin_or_owner",
+    "compute:create:attach_volume": "rule:admin_or_owner",
+    "compute:create:forced_host": "is_admin:True",
+
+    "compute:get": "rule:admin_or_owner",
+    "compute:get_all": "rule:admin_or_owner",
+    "compute:get_all_tenants": "is_admin:True",
+
+    "compute:update": "rule:admin_or_owner",
+
+    "compute:get_instance_metadata": "rule:admin_or_owner",
+    "compute:get_all_instance_metadata": "rule:admin_or_owner",
+    "compute:get_all_instance_system_metadata": "rule:admin_or_owner",
+    "compute:update_instance_metadata": "rule:admin_or_owner",
+    "compute:delete_instance_metadata": "rule:admin_or_owner",
+
+    "compute:get_diagnostics": "rule:admin_or_owner",
+    "compute:get_instance_diagnostics": "rule:admin_or_owner",
+
+    "compute:start": "rule:admin_or_owner",
+    "compute:stop": "rule:admin_or_owner",
+
+    "compute:lock": "rule:admin_or_owner",
+    "compute:unlock": "rule:admin_or_owner",
+    "compute:unlock_override": "rule:admin_api",
+
+    "compute:get_vnc_console": "rule:admin_or_owner",
+    "compute:get_spice_console": "rule:admin_or_owner",
+    "compute:get_rdp_console": "rule:admin_or_owner",
+    "compute:get_serial_console": "rule:admin_or_owner",
+    "compute:get_mks_console": "rule:admin_or_owner",
+    "compute:get_console_output": "rule:admin_or_owner",
+
+    "compute:reset_network": "rule:admin_or_owner",
+    "compute:inject_network_info": "rule:admin_or_owner",
+    "compute:add_fixed_ip": "rule:admin_or_owner",
+    "compute:remove_fixed_ip": "rule:admin_or_owner",
+
+    "compute:attach_volume": "rule:admin_or_owner",
+    "compute:detach_volume": "rule:admin_or_owner",
+    "compute:swap_volume": "rule:admin_api",
+
+    "compute:attach_interface": "rule:admin_or_owner",
+    "compute:detach_interface": "rule:admin_or_owner",
+
+    "compute:set_admin_password": "rule:admin_or_owner",
+
+    "compute:rescue": "rule:admin_or_owner",
+    "compute:unrescue": "rule:admin_or_owner",
+
+    "compute:suspend": "rule:admin_or_owner",
+    "compute:resume": "rule:admin_or_owner",
+
+    "compute:pause": "rule:admin_or_owner",
+    "compute:unpause": "rule:admin_or_owner",
+
+    "compute:shelve": "rule:admin_or_owner",
+    "compute:shelve_offload": "rule:admin_or_owner",
+    "compute:unshelve": "rule:admin_or_owner",
+
+    "compute:snapshot": "rule:admin_or_owner",
+    "compute:snapshot_volume_backed": "rule:admin_or_owner",
+    "compute:backup": "rule:admin_or_owner",
+
+    "compute:resize": "rule:admin_or_owner",
+    "compute:confirm_resize": "rule:admin_or_owner",
+    "compute:revert_resize": "rule:admin_or_owner",
+
+    "compute:rebuild": "rule:admin_or_owner",
+    "compute:reboot": "rule:admin_or_owner",
+    "compute:delete": "rule:admin_or_owner",
+    "compute:soft_delete": "rule:admin_or_owner",
+    "compute:force_delete": "rule:admin_or_owner",
+
+    "compute:security_groups:add_to_instance": "rule:admin_or_owner",
+    "compute:security_groups:remove_from_instance": "rule:admin_or_owner",
+
+    "compute:restore": "rule:admin_or_owner",
+
+    "compute:volume_snapshot_create": "rule:admin_or_owner",
+    "compute:volume_snapshot_delete": "rule:admin_or_owner",
+
     "admin_api": "is_admin:True",
-
+    "compute_extension:accounts": "rule:admin_api",
+    "compute_extension:admin_actions": "rule:admin_api",
+    "compute_extension:admin_actions:pause": "rule:admin_or_owner",
+    "compute_extension:admin_actions:unpause": "rule:admin_or_owner",
+    "compute_extension:admin_actions:suspend": "rule:admin_or_owner",
+    "compute_extension:admin_actions:resume": "rule:admin_or_owner",
+    "compute_extension:admin_actions:lock": "rule:admin_or_owner",
+    "compute_extension:admin_actions:unlock": "rule:admin_or_owner",
+    "compute_extension:admin_actions:resetNetwork": "rule:admin_api",
+    "compute_extension:admin_actions:injectNetworkInfo": "rule:admin_api",
+    "compute_extension:admin_actions:createBackup": "rule:admin_or_owner",
+    "compute_extension:admin_actions:migrateLive": "rule:admin_api",
+    "compute_extension:admin_actions:resetState": "rule:admin_api",
+    "compute_extension:admin_actions:migrate": "rule:admin_api",
+    "compute_extension:aggregates": "rule:admin_api",
+    "compute_extension:agents": "rule:admin_api",
+    "compute_extension:attach_interfaces": "rule:admin_or_owner",
+    "compute_extension:baremetal_nodes": "rule:admin_api",
+    "compute_extension:cells": "rule:admin_api",
+    "compute_extension:cells:create": "rule:admin_api",
+    "compute_extension:cells:delete": "rule:admin_api",
+    "compute_extension:cells:update": "rule:admin_api",
+    "compute_extension:cells:sync_instances": "rule:admin_api",
+    "compute_extension:certificates": "rule:admin_or_owner",
+    "compute_extension:cloudpipe": "rule:admin_api",
+    "compute_extension:cloudpipe_update": "rule:admin_api",
+    "compute_extension:config_drive": "rule:admin_or_owner",
+    "compute_extension:console_output": "rule:admin_or_owner",
+    "compute_extension:consoles": "rule:admin_or_owner",
+    "compute_extension:createserverext": "rule:admin_or_owner",
+    "compute_extension:deferred_delete": "rule:admin_or_owner",
+    "compute_extension:disk_config": "rule:admin_or_owner",
+    "compute_extension:evacuate": "rule:admin_api",
+    "compute_extension:extended_server_attributes": "rule:admin_api",
+    "compute_extension:extended_status": "rule:admin_or_owner",
+    "compute_extension:extended_availability_zone": "rule:admin_or_owner",
+    "compute_extension:extended_ips": "rule:admin_or_owner",
+    "compute_extension:extended_ips_mac": "rule:admin_or_owner",
+    "compute_extension:extended_vif_net": "rule:admin_or_owner",
+    "compute_extension:extended_volumes": "rule:admin_or_owner",
+    "compute_extension:fixed_ips": "rule:admin_api",
+    "compute_extension:flavor_access": "rule:admin_or_owner",
+    "compute_extension:flavor_access:addTenantAccess": "rule:admin_api",
+    "compute_extension:flavor_access:removeTenantAccess": "rule:admin_api",
+    "compute_extension:flavor_disabled": "rule:admin_or_owner",
+    "compute_extension:flavor_rxtx": "rule:admin_or_owner",
+    "compute_extension:flavor_swap": "rule:admin_or_owner",
+    "compute_extension:flavorextradata": "rule:admin_or_owner",
+    "compute_extension:flavorextraspecs:index": "rule:admin_or_owner",
+    "compute_extension:flavorextraspecs:show": "rule:admin_or_owner",
+    "compute_extension:flavorextraspecs:create": "rule:admin_api",
+    "compute_extension:flavorextraspecs:update": "rule:admin_api",
+    "compute_extension:flavorextraspecs:delete": "rule:admin_api",
+    "compute_extension:flavormanage": "rule:admin_api",
+    "compute_extension:floating_ip_dns": "rule:admin_or_owner",
+    "compute_extension:floating_ip_pools": "rule:admin_or_owner",
+    "compute_extension:floating_ips": "rule:admin_or_owner",
+    "compute_extension:floating_ips_bulk": "rule:admin_api",
+    "compute_extension:fping": "rule:admin_or_owner",
+    "compute_extension:fping:all_tenants": "rule:admin_api",
+    "compute_extension:hide_server_addresses": "is_admin:False",
+    "compute_extension:hosts": "rule:admin_api",
+    "compute_extension:hypervisors": "rule:admin_api",
+    "compute_extension:image_size": "rule:admin_or_owner",
+    "compute_extension:instance_actions": "rule:admin_or_owner",
+    "compute_extension:instance_actions:events": "rule:admin_api",
+    "compute_extension:instance_usage_audit_log": "rule:admin_api",
+    "compute_extension:keypairs": "rule:admin_or_owner",
+    "compute_extension:keypairs:index": "rule:admin_or_owner",
+    "compute_extension:keypairs:show": "rule:admin_or_owner",
+    "compute_extension:keypairs:create": "rule:admin_or_owner",
+    "compute_extension:keypairs:delete": "rule:admin_or_owner",
+    "compute_extension:multinic": "rule:admin_or_owner",
+    "compute_extension:networks": "rule:admin_api",
+    "compute_extension:networks:view": "rule:admin_or_owner",
+    "compute_extension:networks_associate": "rule:admin_api",
+    "compute_extension:os-tenant-networks": "rule:admin_or_owner",
+    "compute_extension:quotas:show": "rule:admin_or_owner",
+    "compute_extension:quotas:update": "rule:admin_api",
+    "compute_extension:quotas:delete": "rule:admin_api",
+    "compute_extension:quota_classes": "rule:admin_or_owner",
+    "compute_extension:rescue": "rule:admin_or_owner",
+    "compute_extension:security_group_default_rules": "rule:admin_api",
+    "compute_extension:security_groups": "rule:admin_or_owner",
+    "compute_extension:server_diagnostics": "rule:admin_api",
+    "compute_extension:server_groups": "rule:admin_or_owner",
+    "compute_extension:server_password": "rule:admin_or_owner",
+    "compute_extension:server_usage": "rule:admin_or_owner",
+    "compute_extension:services": "rule:admin_api",
+    "compute_extension:shelve": "rule:admin_or_owner",
+    "compute_extension:shelveOffload": "rule:admin_api",
+    "compute_extension:simple_tenant_usage:show": "rule:admin_or_owner",
+    "compute_extension:simple_tenant_usage:list": "rule:admin_api",
+    "compute_extension:unshelve": "rule:admin_or_owner",
+    "compute_extension:users": "rule:admin_api",
+    "compute_extension:virtual_interfaces": "rule:admin_or_owner",
+    "compute_extension:virtual_storage_arrays": "rule:admin_or_owner",
+    "compute_extension:volumes": "rule:admin_or_owner",
+    "compute_extension:volume_attachments:index": "rule:admin_or_owner",
+    "compute_extension:volume_attachments:show": "rule:admin_or_owner",
+    "compute_extension:volume_attachments:create": "rule:admin_or_owner",
+    "compute_extension:volume_attachments:update": "rule:admin_api",
+    "compute_extension:volume_attachments:delete": "rule:admin_or_owner",
+    "compute_extension:volumetypes": "rule:admin_or_owner",
+    "compute_extension:availability_zone:list": "rule:admin_or_owner",
+    "compute_extension:availability_zone:detail": "rule:admin_api",
+    "compute_extension:used_limits_for_admin": "rule:admin_api",
+    "compute_extension:migrations:index": "rule:admin_api",
+    "compute_extension:os-assisted-volume-snapshots:create": "rule:admin_api",
+    "compute_extension:os-assisted-volume-snapshots:delete": "rule:admin_api",
+    "compute_extension:console_auth_tokens": "rule:admin_api",
+    "compute_extension:os-server-external-events:create": "rule:admin_api",
+
+    "network:get_all": "rule:admin_or_owner",
+    "network:get": "rule:admin_or_owner",
+    "network:create": "rule:admin_or_owner",
+    "network:delete": "rule:admin_or_owner",
+    "network:associate": "rule:admin_or_owner",
+    "network:disassociate": "rule:admin_or_owner",
+    "network:get_vifs_by_instance": "rule:admin_or_owner",
+    "network:allocate_for_instance": "rule:admin_or_owner",
+    "network:deallocate_for_instance": "rule:admin_or_owner",
+    "network:validate_networks": "rule:admin_or_owner",
+    "network:get_instance_uuids_by_ip_filter": "rule:admin_or_owner",
+    "network:get_instance_id_by_floating_address": "rule:admin_or_owner",
+    "network:setup_networks_on_host": "rule:admin_or_owner",
+    "network:get_backdoor_port": "rule:admin_or_owner",
+
+    "network:get_floating_ip": "rule:admin_or_owner",
+    "network:get_floating_ip_pools": "rule:admin_or_owner",
+    "network:get_floating_ip_by_address": "rule:admin_or_owner",
+    "network:get_floating_ips_by_project": "rule:admin_or_owner",
+    "network:get_floating_ips_by_fixed_address": "rule:admin_or_owner",
+    "network:allocate_floating_ip": "rule:admin_or_owner",
+    "network:associate_floating_ip": "rule:admin_or_owner",
+    "network:disassociate_floating_ip": "rule:admin_or_owner",
+    "network:release_floating_ip": "rule:admin_or_owner",
+    "network:migrate_instance_start": "rule:admin_or_owner",
+    "network:migrate_instance_finish": "rule:admin_or_owner",
+
+    "network:get_fixed_ip": "rule:admin_or_owner",
+    "network:get_fixed_ip_by_address": "rule:admin_or_owner",
+    "network:add_fixed_ip_to_instance": "rule:admin_or_owner",
+    "network:remove_fixed_ip_from_instance": "rule:admin_or_owner",
+    "network:add_network_to_project": "rule:admin_or_owner",
+    "network:get_instance_nw_info": "rule:admin_or_owner",
+
+    "network:get_dns_domains": "rule:admin_or_owner",
+    "network:add_dns_entry": "rule:admin_or_owner",
+    "network:modify_dns_entry": "rule:admin_or_owner",
+    "network:delete_dns_entry": "rule:admin_or_owner",
+    "network:get_dns_entries_by_address": "rule:admin_or_owner",
+    "network:get_dns_entries_by_name": "rule:admin_or_owner",
+    "network:create_private_dns_domain": "rule:admin_or_owner",
+    "network:create_public_dns_domain": "rule:admin_or_owner",
+    "network:delete_dns_domain": "rule:admin_or_owner",
+    "network:attach_external_network": "rule:admin_api",
+    "network:get_vif_by_mac_address": "rule:admin_or_owner",
+
+    "os_compute_api:servers:detail:get_all_tenants": "is_admin:True",
+    "os_compute_api:servers:index:get_all_tenants": "is_admin:True",
+    "os_compute_api:servers:confirm_resize": "rule:admin_or_owner",
+    "os_compute_api:servers:create": "rule:admin_or_owner",
+    "os_compute_api:servers:create:attach_network": "rule:admin_or_owner",
+    "os_compute_api:servers:create:attach_volume": "rule:admin_or_owner",
+    "os_compute_api:servers:create:forced_host": "rule:admin_api",
+    "os_compute_api:servers:delete": "rule:admin_or_owner",
+    "os_compute_api:servers:update": "rule:admin_or_owner",
+    "os_compute_api:servers:detail": "rule:admin_or_owner",
+    "os_compute_api:servers:index": "rule:admin_or_owner",
+    "os_compute_api:servers:reboot": "rule:admin_or_owner",
+    "os_compute_api:servers:rebuild": "rule:admin_or_owner",
+    "os_compute_api:servers:resize": "rule:admin_or_owner",
+    "os_compute_api:servers:revert_resize": "rule:admin_or_owner",
+    "os_compute_api:servers:show": "rule:admin_or_owner",
+    "os_compute_api:servers:show:host_status": "rule:admin_api",
+    "os_compute_api:servers:create_image": "rule:admin_or_owner",
+    "os_compute_api:servers:create_image:allow_volume_backed": "rule:admin_or_owner",
+    "os_compute_api:servers:start": "rule:admin_or_owner",
+    "os_compute_api:servers:stop": "rule:admin_or_owner",
+    "os_compute_api:servers:trigger_crash_dump": "rule:admin_or_owner",
+    "os_compute_api:servers:migrations:force_complete": "rule:admin_api",
+    "os_compute_api:servers:migrations:delete": "rule:admin_api",
+    "os_compute_api:servers:discoverable": "@",
+    "os_compute_api:servers:migrations:index": "rule:admin_api",
+    "os_compute_api:servers:migrations:show": "rule:admin_api",
+    "os_compute_api:os-access-ips:discoverable": "@",
+    "os_compute_api:os-access-ips": "rule:admin_or_owner",
+    "os_compute_api:os-admin-actions": "rule:admin_api",
     "os_compute_api:os-admin-actions:discoverable": "@",
+    "os_compute_api:os-admin-actions:reset_network": "rule:admin_api",
+    "os_compute_api:os-admin-actions:inject_network_info": "rule:admin_api",
     "os_compute_api:os-admin-actions:reset_state": "rule:admin_api",
-    "os_compute_api:os-admin-actions:inject_network_info": "rule:admin_api",
-    "os_compute_api:os-admin-actions": "rule:admin_api",
-    "os_compute_api:os-admin-actions:reset_network": "rule:admin_api",
+    "os_compute_api:os-admin-password": "rule:admin_or_owner",
     "os_compute_api:os-admin-password:discoverable": "@",
-    "os_compute_api:os-admin-password": "rule:admin_or_owner",
+    "os_compute_api:os-aggregates:discoverable": "@",
+    "os_compute_api:os-aggregates:index": "rule:admin_api",
+    "os_compute_api:os-aggregates:create": "rule:admin_api",
+    "os_compute_api:os-aggregates:show": "rule:admin_api",
+    "os_compute_api:os-aggregates:update": "rule:admin_api",
+    "os_compute_api:os-aggregates:delete": "rule:admin_api",
+    "os_compute_api:os-aggregates:add_host": "rule:admin_api",
+    "os_compute_api:os-aggregates:remove_host": "rule:admin_api",
+    "os_compute_api:os-aggregates:set_metadata": "rule:admin_api",
     "os_compute_api:os-agents": "rule:admin_api",
     "os_compute_api:os-agents:discoverable": "@",
-    "os_compute_api:os-aggregates:set_metadata": "rule:admin_api",
-    "os_compute_api:os-aggregates:add_host": "rule:admin_api",
-    "os_compute_api:os-aggregates:discoverable": "@",
-    "os_compute_api:os-aggregates:create": "rule:admin_api",
-    "os_compute_api:os-aggregates:remove_host": "rule:admin_api",
-    "os_compute_api:os-aggregates:update": "rule:admin_api",
-    "os_compute_api:os-aggregates:index": "rule:admin_api",
-    "os_compute_api:os-aggregates:delete": "rule:admin_api",
-    "os_compute_api:os-aggregates:show": "rule:admin_api",
-    "os_compute_api:os-assisted-volume-snapshots:create": "rule:admin_api",
-    "os_compute_api:os-assisted-volume-snapshots:delete": "rule:admin_api",
-    "os_compute_api:os-assisted-volume-snapshots:discoverable": "@",
     "os_compute_api:os-attach-interfaces": "rule:admin_or_owner",
     "os_compute_api:os-attach-interfaces:discoverable": "@",
-    "os_compute_api:os-availability-zone:list": "rule:admin_or_owner",
-    "os_compute_api:os-availability-zone:discoverable": "@",
-    "os_compute_api:os-availability-zone:detail": "rule:admin_api",
+    "os_compute_api:os-baremetal-nodes": "rule:admin_api",
     "os_compute_api:os-baremetal-nodes:discoverable": "@",
-    "os_compute_api:os-baremetal-nodes": "rule:admin_api",
-    "network:attach_external_network": "is_admin:True",
-    "os_compute_api:os-block-device-mapping:discoverable": "@",
     "os_compute_api:os-block-device-mapping-v1:discoverable": "@",
+    "os_compute_api:os-cells": "rule:admin_api",
+    "os_compute_api:os-cells:create": "rule:admin_api",
+    "os_compute_api:os-cells:delete": "rule:admin_api",
+    "os_compute_api:os-cells:update": "rule:admin_api",
+    "os_compute_api:os-cells:sync_instances": "rule:admin_api",
     "os_compute_api:os-cells:discoverable": "@",
-    "os_compute_api:os-cells:update": "rule:admin_api",
-    "os_compute_api:os-cells:create": "rule:admin_api",
-    "os_compute_api:os-cells": "rule:admin_api",
-    "os_compute_api:os-cells:sync_instances": "rule:admin_api",
-    "os_compute_api:os-cells:delete": "rule:admin_api",
-    "cells_scheduler_filter:DifferentCellFilter": "is_admin:True",
-    "cells_scheduler_filter:TargetCellFilter": "is_admin:True",
-    "os_compute_api:os-certificates:discoverable": "@",
     "os_compute_api:os-certificates:create": "rule:admin_or_owner",
     "os_compute_api:os-certificates:show": "rule:admin_or_owner",
+    "os_compute_api:os-certificates:discoverable": "@",
     "os_compute_api:os-cloudpipe": "rule:admin_api",
     "os_compute_api:os-cloudpipe:discoverable": "@",
+    "os_compute_api:os-config-drive": "rule:admin_or_owner",
     "os_compute_api:os-config-drive:discoverable": "@",
-    "os_compute_api:os-config-drive": "rule:admin_or_owner",
-    "os_compute_api:os-console-auth-tokens:discoverable": "@",
-    "os_compute_api:os-console-auth-tokens": "rule:admin_api",
+    "os_compute_api:os-consoles:discoverable": "@",
+    "os_compute_api:os-consoles:create": "rule:admin_or_owner",
+    "os_compute_api:os-consoles:delete": "rule:admin_or_owner",
+    "os_compute_api:os-consoles:index": "rule:admin_or_owner",
+    "os_compute_api:os-consoles:show": "rule:admin_or_owner",
     "os_compute_api:os-console-output:discoverable": "@",
     "os_compute_api:os-console-output": "rule:admin_or_owner",
-    "os_compute_api:os-consoles:create": "rule:admin_or_owner",
-    "os_compute_api:os-consoles:show": "rule:admin_or_owner",
-    "os_compute_api:os-consoles:delete": "rule:admin_or_owner",
-    "os_compute_api:os-consoles:discoverable": "@",
-    "os_compute_api:os-consoles:index": "rule:admin_or_owner",
+    "os_compute_api:os-remote-consoles": "rule:admin_or_owner",
+    "os_compute_api:os-remote-consoles:discoverable": "@",
     "os_compute_api:os-create-backup:discoverable": "@",
     "os_compute_api:os-create-backup": "rule:admin_or_owner",
+    "os_compute_api:os-deferred-delete": "rule:admin_or_owner",
     "os_compute_api:os-deferred-delete:discoverable": "@",
-    "os_compute_api:os-deferred-delete": "rule:admin_or_owner",
+    "os_compute_api:os-disk-config": "rule:admin_or_owner",
+    "os_compute_api:os-disk-config:discoverable": "@",
+    "os_compute_api:os-evacuate": "rule:admin_api",
     "os_compute_api:os-evacuate:discoverable": "@",
-    "os_compute_api:os-evacuate": "rule:admin_api",
+    "os_compute_api:os-extended-server-attributes": "rule:admin_api",
+    "os_compute_api:os-extended-server-attributes:discoverable": "@",
+    "os_compute_api:os-extended-status": "rule:admin_or_owner",
+    "os_compute_api:os-extended-status:discoverable": "@",
     "os_compute_api:os-extended-availability-zone": "rule:admin_or_owner",
     "os_compute_api:os-extended-availability-zone:discoverable": "@",
-    "os_compute_api:os-extended-server-attributes": "rule:admin_api",
-    "os_compute_api:os-extended-server-attributes:discoverable": "@",
-    "os_compute_api:os-extended-status:discoverable": "@",
-    "os_compute_api:os-extended-status": "rule:admin_or_owner",
+    "os_compute_api:extensions": "rule:admin_or_owner",
+    "os_compute_api:extensions:discoverable": "@",
+    "os_compute_api:extension_info:discoverable": "@",
     "os_compute_api:os-extended-volumes": "rule:admin_or_owner",
     "os_compute_api:os-extended-volumes:discoverable": "@",
-    "os_compute_api:extension_info:discoverable": "@",
-    "os_compute_api:extensions": "rule:admin_or_owner",
-    "os_compute_api:extensions:discoverable": "@",
+    "os_compute_api:os-fixed-ips": "rule:admin_api",
     "os_compute_api:os-fixed-ips:discoverable": "@",
-    "os_compute_api:os-fixed-ips": "rule:admin_api",
-    "os_compute_api:os-flavor-access:add_tenant_access": "rule:admin_api",
+    "os_compute_api:os-flavor-access": "rule:admin_or_owner",
     "os_compute_api:os-flavor-access:discoverable": "@",
     "os_compute_api:os-flavor-access:remove_tenant_access": "rule:admin_api",
-    "os_compute_api:os-flavor-access": "rule:admin_or_owner",
+    "os_compute_api:os-flavor-access:add_tenant_access": "rule:admin_api",
+    "os_compute_api:os-flavor-rxtx": "rule:admin_or_owner",
+    "os_compute_api:os-flavor-rxtx:discoverable": "@",
+    "os_compute_api:flavors": "rule:admin_or_owner",
+    "os_compute_api:flavors:discoverable": "@",
+    "os_compute_api:os-flavor-extra-specs:discoverable": "@",
+    "os_compute_api:os-flavor-extra-specs:index": "rule:admin_or_owner",
     "os_compute_api:os-flavor-extra-specs:show": "rule:admin_or_owner",
     "os_compute_api:os-flavor-extra-specs:create": "rule:admin_api",
-    "os_compute_api:os-flavor-extra-specs:discoverable": "@",
     "os_compute_api:os-flavor-extra-specs:update": "rule:admin_api",
     "os_compute_api:os-flavor-extra-specs:delete": "rule:admin_api",
-    "os_compute_api:os-flavor-extra-specs:index": "rule:admin_or_owner",
+    "os_compute_api:os-flavor-manage:discoverable": "@",
     "os_compute_api:os-flavor-manage": "rule:admin_api",
-    "os_compute_api:os-flavor-manage:discoverable": "@",
-    "os_compute_api:os-flavor-rxtx": "rule:admin_or_owner",
-    "os_compute_api:os-flavor-rxtx:discoverable": "@",
-    "os_compute_api:flavors:discoverable": "@",
-    "os_compute_api:flavors": "rule:admin_or_owner",
     "os_compute_api:os-floating-ip-dns": "rule:admin_or_owner",
+    "os_compute_api:os-floating-ip-dns:discoverable": "@",
     "os_compute_api:os-floating-ip-dns:domain:update": "rule:admin_api",
-    "os_compute_api:os-floating-ip-dns:discoverable": "@",
     "os_compute_api:os-floating-ip-dns:domain:delete": "rule:admin_api",
+    "os_compute_api:os-floating-ip-pools": "rule:admin_or_owner",
     "os_compute_api:os-floating-ip-pools:discoverable": "@",
-    "os_compute_api:os-floating-ip-pools": "rule:admin_or_owner",
     "os_compute_api:os-floating-ips": "rule:admin_or_owner",
     "os_compute_api:os-floating-ips:discoverable": "@",
+    "os_compute_api:os-floating-ips-bulk": "rule:admin_api",
     "os_compute_api:os-floating-ips-bulk:discoverable": "@",
-    "os_compute_api:os-floating-ips-bulk": "rule:admin_api",
+    "os_compute_api:os-fping": "rule:admin_or_owner",
+    "os_compute_api:os-fping:discoverable": "@",
     "os_compute_api:os-fping:all_tenants": "rule:admin_api",
-    "os_compute_api:os-fping:discoverable": "@",
-    "os_compute_api:os-fping": "rule:admin_or_owner",
+    "os_compute_api:os-hide-server-addresses": "is_admin:False",
     "os_compute_api:os-hide-server-addresses:discoverable": "@",
-    "os_compute_api:os-hide-server-addresses": "is_admin:False",
+    "os_compute_api:os-hosts": "rule:admin_api",
     "os_compute_api:os-hosts:discoverable": "@",
-    "os_compute_api:os-hosts": "rule:admin_api",
+    "os_compute_api:os-hypervisors": "rule:admin_api",
     "os_compute_api:os-hypervisors:discoverable": "@",
-    "os_compute_api:os-hypervisors": "rule:admin_api",
-    "os_compute_api:image-metadata:discoverable": "@",
+    "os_compute_api:images:discoverable": "@",
+    "os_compute_api:image-size": "rule:admin_or_owner",
     "os_compute_api:image-size:discoverable": "@",
-    "os_compute_api:image-size": "rule:admin_or_owner",
-    "os_compute_api:images:discoverable": "@",
-    "os_compute_api:os-instance-actions:events": "rule:admin_api",
     "os_compute_api:os-instance-actions": "rule:admin_or_owner",
     "os_compute_api:os-instance-actions:discoverable": "@",
+    "os_compute_api:os-instance-actions:events": "rule:admin_api",
     "os_compute_api:os-instance-usage-audit-log": "rule:admin_api",
     "os_compute_api:os-instance-usage-audit-log:discoverable": "@",
     "os_compute_api:ips:discoverable": "@",
+    "os_compute_api:ips:index": "rule:admin_or_owner",
     "os_compute_api:ips:show": "rule:admin_or_owner",
-    "os_compute_api:ips:index": "rule:admin_or_owner",
     "os_compute_api:os-keypairs:discoverable": "@",
+    "os_compute_api:os-keypairs": "rule:admin_or_owner",
     "os_compute_api:os-keypairs:index": "rule:admin_api or user_id:%(user_id)s",
+    "os_compute_api:os-keypairs:show": "rule:admin_api or user_id:%(user_id)s",
     "os_compute_api:os-keypairs:create": "rule:admin_api or user_id:%(user_id)s",
     "os_compute_api:os-keypairs:delete": "rule:admin_api or user_id:%(user_id)s",
-    "os_compute_api:os-keypairs:show": "rule:admin_api or user_id:%(user_id)s",
-    "os_compute_api:os-keypairs": "rule:admin_or_owner",
     "os_compute_api:limits:discoverable": "@",
     "os_compute_api:limits": "rule:admin_or_owner",
     "os_compute_api:os-lock-server:discoverable": "@",
     "os_compute_api:os-lock-server:lock": "rule:admin_or_owner",
+    "os_compute_api:os-lock-server:unlock": "rule:admin_or_owner",
     "os_compute_api:os-lock-server:unlock:unlock_override": "rule:admin_api",
-    "os_compute_api:os-lock-server:unlock": "rule:admin_or_owner",
+    "os_compute_api:os-migrate-server:discoverable": "@",
     "os_compute_api:os-migrate-server:migrate": "rule:admin_api",
-    "os_compute_api:os-migrate-server:discoverable": "@",
     "os_compute_api:os-migrate-server:migrate_live": "rule:admin_api",
-    "os_compute_api:os-migrations:index": "rule:admin_api",
-    "os_compute_api:os-migrations:discoverable": "@",
     "os_compute_api:os-multinic": "rule:admin_or_owner",
     "os_compute_api:os-multinic:discoverable": "@",
-    "os_compute_api:os-multiple-create:discoverable": "@",
-    "os_compute_api:os-networks:discoverable": "@",
     "os_compute_api:os-networks": "rule:admin_api",
     "os_compute_api:os-networks:view": "rule:admin_or_owner",
+    "os_compute_api:os-networks:discoverable": "@",
     "os_compute_api:os-networks-associate": "rule:admin_api",
     "os_compute_api:os-networks-associate:discoverable": "@",
-    "os_compute_api:os-pause-server:unpause": "rule:admin_or_owner",
     "os_compute_api:os-pause-server:discoverable": "@",
     "os_compute_api:os-pause-server:pause": "rule:admin_or_owner",
+    "os_compute_api:os-pause-server:unpause": "rule:admin_or_owner",
+    "os_compute_api:os-pci:pci_servers": "rule:admin_or_owner",
+    "os_compute_api:os-pci:discoverable": "@",
     "os_compute_api:os-pci:index": "rule:admin_api",
     "os_compute_api:os-pci:detail": "rule:admin_api",
-    "os_compute_api:os-pci:pci_servers": "rule:admin_or_owner",
     "os_compute_api:os-pci:show": "rule:admin_api",
-    "os_compute_api:os-pci:discoverable": "@",
+    "os_compute_api:os-personality:discoverable": "@",
+    "os_compute_api:os-preserve-ephemeral-rebuild:discoverable": "@",
+    "os_compute_api:os-quota-sets:discoverable": "@",
+    "os_compute_api:os-quota-sets:show": "rule:admin_or_owner",
+    "os_compute_api:os-quota-sets:defaults": "@",
+    "os_compute_api:os-quota-sets:update": "rule:admin_api",
+    "os_compute_api:os-quota-sets:delete": "rule:admin_api",
+    "os_compute_api:os-quota-sets:detail": "rule:admin_api",
+    "os_compute_api:os-quota-class-sets:update": "rule:admin_api",
     "os_compute_api:os-quota-class-sets:show": "is_admin:True or quota_class:%(quota_class)s",
     "os_compute_api:os-quota-class-sets:discoverable": "@",
-    "os_compute_api:os-quota-class-sets:update": "rule:admin_api",
-    "os_compute_api:os-quota-sets:update": "rule:admin_api",
-    "os_compute_api:os-quota-sets:defaults": "@",
-    "os_compute_api:os-quota-sets:show": "rule:admin_or_owner",
-    "os_compute_api:os-quota-sets:delete": "rule:admin_api",
-    "os_compute_api:os-quota-sets:discoverable": "@",
-    "os_compute_api:os-quota-sets:detail": "rule:admin_api",
-    "os_compute_api:os-remote-consoles": "rule:admin_or_owner",
-    "os_compute_api:os-remote-consoles:discoverable": "@",
+    "os_compute_api:os-rescue": "rule:admin_or_owner",
     "os_compute_api:os-rescue:discoverable": "@",
-    "os_compute_api:os-rescue": "rule:admin_or_owner",
     "os_compute_api:os-scheduler-hints:discoverable": "@",
     "os_compute_api:os-security-group-default-rules:discoverable": "@",
     "os_compute_api:os-security-group-default-rules": "rule:admin_api",
@@ -178,82 +439,62 @@
     "os_compute_api:os-security-groups:discoverable": "@",
     "os_compute_api:os-server-diagnostics": "rule:admin_api",
     "os_compute_api:os-server-diagnostics:discoverable": "@",
-    "os_compute_api:os-server-external-events:create": "rule:admin_api",
-    "os_compute_api:os-server-external-events:discoverable": "@",
+    "os_compute_api:os-server-password": "rule:admin_or_owner",
+    "os_compute_api:os-server-password:discoverable": "@",
+    "os_compute_api:os-server-usage": "rule:admin_or_owner",
+    "os_compute_api:os-server-usage:discoverable": "@",
+    "os_compute_api:os-server-groups": "rule:admin_or_owner",
     "os_compute_api:os-server-groups:discoverable": "@",
-    "os_compute_api:os-server-groups": "rule:admin_or_owner",
+    "os_compute_api:os-server-tags:index": "@",
+    "os_compute_api:os-server-tags:show": "@",
+    "os_compute_api:os-server-tags:update": "@",
+    "os_compute_api:os-server-tags:update_all": "@",
+    "os_compute_api:os-server-tags:delete": "@",
+    "os_compute_api:os-server-tags:delete_all": "@",
+    "os_compute_api:os-services": "rule:admin_api",
+    "os_compute_api:os-services:discoverable": "@",
+    "os_compute_api:server-metadata:discoverable": "@",
     "os_compute_api:server-metadata:index": "rule:admin_or_owner",
     "os_compute_api:server-metadata:show": "rule:admin_or_owner",
+    "os_compute_api:server-metadata:delete": "rule:admin_or_owner",
     "os_compute_api:server-metadata:create": "rule:admin_or_owner",
-    "os_compute_api:server-metadata:discoverable": "@",
+    "os_compute_api:server-metadata:update": "rule:admin_or_owner",
     "os_compute_api:server-metadata:update_all": "rule:admin_or_owner",
-    "os_compute_api:server-metadata:delete": "rule:admin_or_owner",
-    "os_compute_api:server-metadata:update": "rule:admin_or_owner",
-    "os_compute_api:os-server-password": "rule:admin_or_owner",
-    "os_compute_api:os-server-password:discoverable": "@",
-    "os_compute_api:os-server-tags:delete_all": "@",
-    "os_compute_api:os-server-tags:index": "@",
-    "os_compute_api:os-server-tags:update_all": "@",
-    "os_compute_api:os-server-tags:delete": "@",
-    "os_compute_api:os-server-tags:update": "@",
-    "os_compute_api:os-server-tags:show": "@",
-    "os_compute_api:os-server-tags:discoverable": "@",
-    "os_compute_api:os-server-usage": "rule:admin_or_owner",
-    "os_compute_api:os-server-usage:discoverable": "@",
-    "os_compute_api:servers:index": "rule:admin_or_owner",
-    "os_compute_api:servers:detail": "rule:admin_or_owner",
-    "os_compute_api:servers:detail:get_all_tenants": "rule:admin_api",
-    "os_compute_api:servers:index:get_all_tenants": "rule:admin_api",
-    "os_compute_api:servers:show": "rule:admin_or_owner",
-    "os_compute_api:servers:show:host_status": "rule:admin_api",
-    "os_compute_api:servers:create": "rule:admin_or_owner",
-    "os_compute_api:servers:create:forced_host": "rule:admin_or_owner",
-    "os_compute_api:servers:create:attach_volume": "rule:admin_or_owner",
-    "os_compute_api:servers:create:attach_network": "rule:admin_or_owner",
-    "os_compute_api:servers:delete": "rule:admin_or_owner",
-    "os_compute_api:servers:update": "rule:admin_or_owner",
-    "os_compute_api:servers:confirm_resize": "rule:admin_or_owner",
-    "os_compute_api:servers:revert_resize": "rule:admin_or_owner",
-    "os_compute_api:servers:reboot": "rule:admin_or_owner",
-    "os_compute_api:servers:resize": "rule:admin_or_owner",
-    "os_compute_api:servers:rebuild": "rule:admin_or_owner",
-    "os_compute_api:servers:create_image": "rule:admin_or_owner",
-    "os_compute_api:servers:create_image:allow_volume_backed": "rule:admin_or_owner",
-    "os_compute_api:servers:start": "rule:admin_or_owner",
-    "os_compute_api:servers:stop": "rule:admin_or_owner",
-    "os_compute_api:servers:trigger_crash_dump": "rule:admin_or_owner",
-    "os_compute_api:servers:discoverable": "@",
-    "os_compute_api:servers:migrations:show": "rule:admin_api",
-    "os_compute_api:servers:migrations:force_complete": "rule:admin_api",
-    "os_compute_api:servers:migrations:delete": "rule:admin_api",
-    "os_compute_api:servers:migrations:index": "rule:admin_api",
-    "os_compute_api:server-migrations:discoverable": "@",
-    "os_compute_api:os-services": "rule:admin_api",
-    "os_compute_api:os-services:discoverable": "@",
     "os_compute_api:os-shelve:shelve": "rule:admin_or_owner",
-    "os_compute_api:os-shelve:unshelve": "rule:admin_or_owner",
+    "os_compute_api:os-shelve:shelve:discoverable": "@",
     "os_compute_api:os-shelve:shelve_offload": "rule:admin_api",
-    "os_compute_api:os-shelve:discoverable": "@",
+    "os_compute_api:os-simple-tenant-usage:discoverable": "@",
     "os_compute_api:os-simple-tenant-usage:show": "rule:admin_or_owner",
     "os_compute_api:os-simple-tenant-usage:list": "rule:admin_api",
-    "os_compute_api:os-simple-tenant-usage:discoverable": "@",
+    "os_compute_api:os-suspend-server:discoverable": "@",
+    "os_compute_api:os-suspend-server:suspend": "rule:admin_or_owner",
     "os_compute_api:os-suspend-server:resume": "rule:admin_or_owner",
-    "os_compute_api:os-suspend-server:suspend": "rule:admin_or_owner",
-    "os_compute_api:os-suspend-server:discoverable": "@",
     "os_compute_api:os-tenant-networks": "rule:admin_or_owner",
     "os_compute_api:os-tenant-networks:discoverable": "@",
+    "os_compute_api:os-shelve:unshelve": "rule:admin_or_owner",
+    "os_compute_api:os-user-data:discoverable": "@",
+    "os_compute_api:os-virtual-interfaces": "rule:admin_or_owner",
+    "os_compute_api:os-virtual-interfaces:discoverable": "@",
+    "os_compute_api:os-volumes": "rule:admin_or_owner",
+    "os_compute_api:os-volumes:discoverable": "@",
+    "os_compute_api:os-volumes-attachments:index": "rule:admin_or_owner",
+    "os_compute_api:os-volumes-attachments:show": "rule:admin_or_owner",
+    "os_compute_api:os-volumes-attachments:create": "rule:admin_or_owner",
+    "os_compute_api:os-volumes-attachments:update": "rule:admin_api",
+    "os_compute_api:os-volumes-attachments:delete": "rule:admin_or_owner",
+    "os_compute_api:os-volumes-attachments:discoverable": "@",
+    "os_compute_api:os-availability-zone:list": "rule:admin_or_owner",
+    "os_compute_api:os-availability-zone:discoverable": "@",
+    "os_compute_api:os-availability-zone:detail": "rule:admin_api",
+    "os_compute_api:os-used-limits": "rule:admin_api",
     "os_compute_api:os-used-limits:discoverable": "@",
-    "os_compute_api:os-used-limits": "rule:admin_api",
-    "os_compute_api:os-user-data:discoverable": "@",
-    "os_compute_api:versions:discoverable": "@",
-    "os_compute_api:os-virtual-interfaces:discoverable": "@",
-    "os_compute_api:os-virtual-interfaces": "rule:admin_or_owner",
-    "os_compute_api:os-volumes:discoverable": "@",
-    "os_compute_api:os-volumes": "rule:admin_or_owner",
-    "os_compute_api:os-volumes-attachments:index": "rule:admin_or_owner",
-    "os_compute_api:os-volumes-attachments:create": "rule:admin_or_owner",
-    "os_compute_api:os-volumes-attachments:show": "rule:admin_or_owner",
-    "os_compute_api:os-volumes-attachments:discoverable": "@",
-    "os_compute_api:os-volumes-attachments:update": "rule:admin_api",
-    "os_compute_api:os-volumes-attachments:delete": "rule:admin_or_owner"
+    "os_compute_api:os-migrations:index": "rule:admin_api",
+    "os_compute_api:os-migrations:discoverable": "@",
+    "os_compute_api:os-assisted-volume-snapshots:create": "rule:admin_api",
+    "os_compute_api:os-assisted-volume-snapshots:delete": "rule:admin_api",
+    "os_compute_api:os-assisted-volume-snapshots:discoverable": "@",
+    "os_compute_api:os-console-auth-tokens": "rule:admin_api",
+    "os_compute_api:os-console-auth-tokens:discoverable": "@",
+    "os_compute_api:os-server-external-events:create": "rule:admin_api",
+    "os_compute_api:os-server-external-events:discoverable": "@"
 }

2018-02-16 18:14:12,734 [salt.state       ][INFO    ][4610] Completed state [/usr/share/openstack-dashboard/openstack_dashboard/conf/nova_policy.json] at time 18:14:12.734175 duration_in_ms=38.201
2018-02-16 18:14:12,734 [salt.state       ][INFO    ][4610] Running state [/usr/share/openstack-dashboard/openstack_dashboard/conf/neutron_policy.json] at time 18:14:12.734512
2018-02-16 18:14:12,734 [salt.state       ][INFO    ][4610] Executing state file.managed for /usr/share/openstack-dashboard/openstack_dashboard/conf/neutron_policy.json
2018-02-16 18:14:12,757 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/files/policy/pike/neutron_policy.json'
2018-02-16 18:14:12,758 [salt.state       ][INFO    ][4610] File changed:
--- 
+++ 
@@ -8,6 +8,8 @@
     "admin_only": "rule:context_is_admin",
     "regular_user": "",
     "shared": "field:networks:shared=True",
+    "shared_firewalls": "field:firewalls:shared=True",
+    "shared_firewall_policies": "field:firewall_policies:shared=True",
     "shared_subnetpools": "field:subnetpools:shared=True",
     "shared_address_scopes": "field:address_scopes:shared=True",
     "external": "field:networks:router:external=True",
@@ -111,8 +113,27 @@
     "create_router:external_gateway_info:external_fixed_ips": "rule:admin_only",
     "update_router:external_gateway_info:external_fixed_ips": "rule:admin_only",
 
+    "create_firewall": "",
+    "get_firewall": "rule:admin_or_owner",
+    "create_firewall:shared": "rule:admin_only",
+    "get_firewall:shared": "rule:admin_only",
+    "update_firewall": "rule:admin_or_owner",
+    "update_firewall:shared": "rule:admin_only",
+    "delete_firewall": "rule:admin_or_owner",
+
+    "create_firewall_policy": "",
+    "get_firewall_policy": "rule:admin_or_owner or rule:shared_firewall_policies",
+    "create_firewall_policy:shared": "rule:admin_or_owner",
+    "update_firewall_policy": "rule:admin_or_owner",
+    "delete_firewall_policy": "rule:admin_or_owner",
+
     "insert_rule": "rule:admin_or_owner",
     "remove_rule": "rule:admin_or_owner",
+
+    "create_firewall_rule": "",
+    "get_firewall_rule": "rule:admin_or_owner or rule:shared_firewalls",
+    "update_firewall_rule": "rule:admin_or_owner",
+    "delete_firewall_rule": "rule:admin_or_owner",
 
     "create_qos_queue": "rule:admin_only",
     "get_qos_queue": "rule:admin_only",

2018-02-16 18:14:12,760 [salt.state       ][INFO    ][4610] Completed state [/usr/share/openstack-dashboard/openstack_dashboard/conf/neutron_policy.json] at time 18:14:12.760206 duration_in_ms=25.694
2018-02-16 18:14:12,760 [salt.state       ][INFO    ][4610] Running state [/usr/share/openstack-dashboard/openstack_dashboard/conf/glance_policy.json] at time 18:14:12.760711
2018-02-16 18:14:12,760 [salt.state       ][INFO    ][4610] Executing state file.managed for /usr/share/openstack-dashboard/openstack_dashboard/conf/glance_policy.json
2018-02-16 18:14:12,780 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/files/policy/pike/glance_policy.json'
2018-02-16 18:14:12,781 [salt.state       ][INFO    ][4610] File /usr/share/openstack-dashboard/openstack_dashboard/conf/glance_policy.json is in the correct state
2018-02-16 18:14:12,781 [salt.state       ][INFO    ][4610] Completed state [/usr/share/openstack-dashboard/openstack_dashboard/conf/glance_policy.json] at time 18:14:12.781235 duration_in_ms=20.524
2018-02-16 18:14:12,781 [salt.state       ][INFO    ][4610] Running state [/usr/share/openstack-dashboard/openstack_dashboard/conf/ceilometer_policy.json] at time 18:14:12.781601
2018-02-16 18:14:12,781 [salt.state       ][INFO    ][4610] Executing state file.managed for /usr/share/openstack-dashboard/openstack_dashboard/conf/ceilometer_policy.json
2018-02-16 18:14:12,798 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/files/policy/pike/ceilometer_policy.json'
2018-02-16 18:14:12,800 [salt.state       ][INFO    ][4610] File changed:
New file
2018-02-16 18:14:12,800 [salt.state       ][INFO    ][4610] Completed state [/usr/share/openstack-dashboard/openstack_dashboard/conf/ceilometer_policy.json] at time 18:14:12.800144 duration_in_ms=18.543
2018-02-16 18:14:12,800 [salt.state       ][INFO    ][4610] Running state [/usr/share/openstack-dashboard/openstack_dashboard/conf/cinder_policy.json] at time 18:14:12.800499
2018-02-16 18:14:12,800 [salt.state       ][INFO    ][4610] Executing state file.managed for /usr/share/openstack-dashboard/openstack_dashboard/conf/cinder_policy.json
2018-02-16 18:14:12,819 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/files/policy/pike/cinder_policy.json'
2018-02-16 18:14:12,820 [salt.state       ][INFO    ][4610] File changed:
--- 
+++ 
@@ -95,16 +95,16 @@
     "snapshot_extension:snapshot_manage": "rule:admin_api",
     "snapshot_extension:snapshot_unmanage": "rule:admin_api",
 
-    "consistencygroup:create" : "",
-    "consistencygroup:delete": "",
-    "consistencygroup:update": "",
-    "consistencygroup:get": "",
-    "consistencygroup:get_all": "",
+    "consistencygroup:create" : "group:nobody",
+    "consistencygroup:delete": "group:nobody",
+    "consistencygroup:update": "group:nobody",
+    "consistencygroup:get": "group:nobody",
+    "consistencygroup:get_all": "group:nobody",
 
-    "consistencygroup:create_cgsnapshot" : "",
-    "consistencygroup:delete_cgsnapshot": "",
-    "consistencygroup:get_cgsnapshot": "",
-    "consistencygroup:get_all_cgsnapshots": "",
+    "consistencygroup:create_cgsnapshot" : "group:nobody",
+    "consistencygroup:delete_cgsnapshot": "group:nobody",
+    "consistencygroup:get_cgsnapshot": "group:nobody",
+    "consistencygroup:get_all_cgsnapshots": "group:nobody",
 
     "scheduler_extension:scheduler_stats:get_pools" : "rule:admin_api",
     "message:delete": "rule:admin_or_owner",

2018-02-16 18:14:12,820 [salt.state       ][INFO    ][4610] Completed state [/usr/share/openstack-dashboard/openstack_dashboard/conf/cinder_policy.json] at time 18:14:12.820762 duration_in_ms=20.263
2018-02-16 18:14:12,821 [salt.state       ][INFO    ][4610] Running state [/usr/share/openstack-dashboard/openstack_dashboard/conf/heat_policy.json] at time 18:14:12.821108
2018-02-16 18:14:12,821 [salt.state       ][INFO    ][4610] Executing state file.managed for /usr/share/openstack-dashboard/openstack_dashboard/conf/heat_policy.json
2018-02-16 18:14:12,841 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/files/policy/pike/heat_policy.json'
2018-02-16 18:14:12,841 [salt.state       ][INFO    ][4610] File /usr/share/openstack-dashboard/openstack_dashboard/conf/heat_policy.json is in the correct state
2018-02-16 18:14:12,841 [salt.state       ][INFO    ][4610] Completed state [/usr/share/openstack-dashboard/openstack_dashboard/conf/heat_policy.json] at time 18:14:12.841936 duration_in_ms=20.828
2018-02-16 18:14:12,842 [salt.state       ][INFO    ][4610] Running state [/usr/share/openstack-dashboard/openstack_dashboard/conf/keystone_policy.json] at time 18:14:12.842269
2018-02-16 18:14:12,842 [salt.state       ][INFO    ][4610] Executing state file.managed for /usr/share/openstack-dashboard/openstack_dashboard/conf/keystone_policy.json
2018-02-16 18:14:12,863 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/files/policy/pike/keystone_policy.json'
2018-02-16 18:14:12,865 [salt.state       ][INFO    ][4610] File changed:
--- 
+++ 
@@ -28,7 +28,7 @@
     "identity:update_endpoint": "rule:admin_required",
     "identity:delete_endpoint": "rule:admin_required",
 
-    "identity:get_domain": "rule:admin_required or token.project.domain.id:%(target.domain.id)s",
+    "identity:get_domain": "rule:admin_required",
     "identity:list_domains": "rule:admin_required",
     "identity:create_domain": "rule:admin_required",
     "identity:update_domain": "rule:admin_required",
@@ -41,7 +41,7 @@
     "identity:update_project": "rule:admin_required",
     "identity:delete_project": "rule:admin_required",
 
-    "identity:get_user": "rule:admin_or_owner",
+    "identity:get_user": "rule:admin_required",
     "identity:list_users": "rule:admin_required",
     "identity:create_user": "rule:admin_required",
     "identity:update_user": "rule:admin_required",
@@ -173,10 +173,10 @@
     "identity:get_auth_projects": "",
     "identity:get_auth_domains": "",
 
-    "identity:list_projects_for_user": "",
-    "identity:list_domains_for_user": "",
+    "identity:list_projects_for_groups": "",
+    "identity:list_domains_for_groups": "",
 
-    "identity:list_revoke_events": "rule:service_or_admin",
+    "identity:list_revoke_events": "",
 
     "identity:create_policy_association_for_endpoint": "rule:admin_required",
     "identity:check_policy_association_for_endpoint": "rule:admin_required",
@@ -192,7 +192,6 @@
 
     "identity:create_domain_config": "rule:admin_required",
     "identity:get_domain_config": "rule:admin_required",
-    "identity:get_security_compliance_domain_config": "",
     "identity:update_domain_config": "rule:admin_required",
     "identity:delete_domain_config": "rule:admin_required",
     "identity:get_domain_config_default": "rule:admin_required"

2018-02-16 18:14:12,867 [salt.state       ][INFO    ][4610] Completed state [/usr/share/openstack-dashboard/openstack_dashboard/conf/keystone_policy.json] at time 18:14:12.867941 duration_in_ms=25.672
2018-02-16 18:14:12,868 [salt.state       ][INFO    ][4610] Running state [/etc/apache2/ports.conf] at time 18:14:12.868421
2018-02-16 18:14:12,868 [salt.state       ][INFO    ][4610] Executing state file.managed for /etc/apache2/ports.conf
2018-02-16 18:14:12,888 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/files/ports.conf'
2018-02-16 18:14:12,917 [salt.state       ][INFO    ][4610] File changed:
--- 
+++ 
@@ -1,15 +1,16 @@
+
 # If you just change the port or add more ports here, you will likely also
 # have to change the VirtualHost statement in
 # /etc/apache2/sites-enabled/000-default.conf
 
-Listen 80
+Listen 0.0.0.0:8078
 
 <IfModule ssl_module>
-	Listen 443
+        Listen 0.0.0.0:443
 </IfModule>
 
 <IfModule mod_gnutls.c>
-	Listen 443
+        Listen 0.0.0.0:443
 </IfModule>
 
 # vim: syntax=apache ts=4 sw=4 sts=4 sr noet

2018-02-16 18:14:12,918 [salt.state       ][INFO    ][4610] Completed state [/etc/apache2/ports.conf] at time 18:14:12.918739 duration_in_ms=50.318
2018-02-16 18:14:12,919 [salt.state       ][INFO    ][4610] Running state [/etc/apache2/conf-available/openstack-dashboard.conf] at time 18:14:12.919175
2018-02-16 18:14:12,919 [salt.state       ][INFO    ][4610] Executing state file.managed for /etc/apache2/conf-available/openstack-dashboard.conf
2018-02-16 18:14:12,938 [salt.fileclient  ][INFO    ][4610] Fetching file from saltenv 'base', ** done ** 'horizon/files/openstack-dashboard.conf.Debian'
2018-02-16 18:14:12,975 [salt.state       ][INFO    ][4610] File changed:
--- 
+++ 
@@ -1,14 +1,36 @@
-WSGIScriptAlias /horizon /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi process-group=horizon
-WSGIDaemonProcess horizon user=horizon group=horizon processes=3 threads=10 display-name=%{GROUP}
-WSGIProcessGroup horizon
 
-Alias /static /var/lib/openstack-dashboard/static/
-Alias /horizon/static /var/lib/openstack-dashboard/static/
 
-<Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi>
-  Require all granted
-</Directory>
+<VirtualHost 0.0.0.0:8078>
+  ServerName openstack-dashboard
 
-<Directory /var/lib/openstack-dashboard/static>
-  Require all granted
-</Directory>
+  WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
+  WSGIDaemonProcess horizon user=horizon group=horizon processes=3 threads=10
+  WSGIProcessGroup horizon
+
+  Alias /static /usr/share/openstack-dashboard/static
+
+  <Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi>
+    Order allow,deny
+    Allow from all
+  </Directory>
+
+  <Directory /usr/share/openstack-dashboard/static>
+    <IfModule mod_expires.c>
+      ExpiresActive On
+      ExpiresDefault "access 6 month"
+    </IfModule>
+    <IfModule mod_deflate.c>
+      SetOutputFilter DEFLATE
+    </IfModule>
+
+    Require all granted
+  </Directory>
+  ServerSignature Off
+  LogFormat "%h %t %m \"%U%q\" %H %>s %O %D \"%{Referer}i\" \"%{User-Agent}i\"" horizon
+  ErrorLog "/var/log/apache2/openstack_dashboard_error.log"
+  CustomLog "/var/log/apache2/openstack_dashboard_access.log" horizon
+  SetEnvIf X-Forwarded-Proto https HTTPS=1
+
+</VirtualHost>
+
+

2018-02-16 18:14:12,978 [salt.state       ][INFO    ][4610] Completed state [/etc/apache2/conf-available/openstack-dashboard.conf] at time 18:14:12.978027 duration_in_ms=58.852
2018-02-16 18:14:12,981 [salt.state       ][INFO    ][4610] Running state [wsgi] at time 18:14:12.981010
2018-02-16 18:14:12,981 [salt.state       ][INFO    ][4610] Executing state apache_module.enabled for wsgi
2018-02-16 18:14:12,983 [salt.loaded.int.module.cmdmod][INFO    ][4610] Executing command ['a2enmod', 'wsgi'] in directory '/root'
2018-02-16 18:14:13,054 [salt.state       ][INFO    ][4610] {'new': 'wsgi', 'old': None}
2018-02-16 18:14:13,055 [salt.state       ][INFO    ][4610] Completed state [wsgi] at time 18:14:13.055028 duration_in_ms=74.017
2018-02-16 18:14:13,057 [salt.state       ][INFO    ][4610] Running state [openstack-dashboard] at time 18:14:13.057481
2018-02-16 18:14:13,057 [salt.state       ][INFO    ][4610] Executing state apache_conf.enabled for openstack-dashboard
2018-02-16 18:14:13,058 [salt.state       ][INFO    ][4610] openstack-dashboard already enabled.
2018-02-16 18:14:13,058 [salt.state       ][INFO    ][4610] Completed state [openstack-dashboard] at time 18:14:13.058713 duration_in_ms=1.231
2018-02-16 18:14:13,356 [salt.state       ][INFO    ][4610] Running state [/var/log/horizon] at time 18:14:13.356584
2018-02-16 18:14:13,357 [salt.state       ][INFO    ][4610] Executing state file.directory for /var/log/horizon
2018-02-16 18:14:13,359 [salt.state       ][INFO    ][4610] {'/var/log/horizon': 'New Dir'}
2018-02-16 18:14:13,359 [salt.state       ][INFO    ][4610] Completed state [/var/log/horizon] at time 18:14:13.359357 duration_in_ms=2.774
2018-02-16 18:14:13,359 [salt.state       ][INFO    ][4610] Running state [/var/log/horizon/horizon.log] at time 18:14:13.359776
2018-02-16 18:14:13,360 [salt.state       ][INFO    ][4610] Executing state file.managed for /var/log/horizon/horizon.log
2018-02-16 18:14:13,360 [salt.loaded.int.states.file][WARNING ][4610] State for file: /var/log/horizon/horizon.log - Neither 'source' nor 'contents' nor 'contents_pillar' nor 'contents_grains' was defined, yet 'replace' was set to 'True'. As there is no source to replace the file with, 'replace' has been set to 'False' to avoid reading the file unnecessarily.
2018-02-16 18:14:13,361 [salt.state       ][INFO    ][4610] {'new': 'file /var/log/horizon/horizon.log created', 'group': 'adm', 'mode': '0640', 'user': 'horizon'}
2018-02-16 18:14:13,361 [salt.state       ][INFO    ][4610] Completed state [/var/log/horizon/horizon.log] at time 18:14:13.361951 duration_in_ms=2.176
2018-02-16 18:14:13,362 [salt.state       ][INFO    ][4610] Running state [apache2] at time 18:14:13.362740
2018-02-16 18:14:13,363 [salt.state       ][INFO    ][4610] Executing state service.running for apache2
2018-02-16 18:14:13,363 [salt.loaded.int.module.cmdmod][INFO    ][4610] Executing command ['systemctl', 'status', 'apache2.service', '-n', '0'] in directory '/root'
2018-02-16 18:14:13,379 [salt.loaded.int.module.cmdmod][INFO    ][4610] Executing command ['systemctl', 'is-active', 'apache2.service'] in directory '/root'
2018-02-16 18:14:13,392 [salt.loaded.int.module.cmdmod][INFO    ][4610] Executing command ['systemctl', 'is-enabled', 'apache2.service'] in directory '/root'
2018-02-16 18:14:13,408 [salt.state       ][INFO    ][4610] The service apache2 is already running
2018-02-16 18:14:13,409 [salt.state       ][INFO    ][4610] Completed state [apache2] at time 18:14:13.409189 duration_in_ms=46.449
2018-02-16 18:14:13,409 [salt.state       ][INFO    ][4610] Running state [apache2] at time 18:14:13.409449
2018-02-16 18:14:13,409 [salt.state       ][INFO    ][4610] Executing state service.mod_watch for apache2
2018-02-16 18:14:13,410 [salt.loaded.int.module.cmdmod][INFO    ][4610] Executing command ['systemctl', 'is-active', 'apache2.service'] in directory '/root'
2018-02-16 18:14:13,424 [salt.loaded.int.module.cmdmod][INFO    ][4610] Executing command ['systemctl', 'is-enabled', 'apache2.service'] in directory '/root'
2018-02-16 18:14:13,441 [salt.loaded.int.module.cmdmod][INFO    ][4610] Executing command ['systemd-run', '--scope', 'systemctl', 'restart', 'apache2.service'] in directory '/root'
2018-02-16 18:14:15,640 [salt.state       ][INFO    ][4610] {'apache2': True}
2018-02-16 18:14:15,640 [salt.state       ][INFO    ][4610] Completed state [apache2] at time 18:14:15.640656 duration_in_ms=2231.207
2018-02-16 18:14:15,643 [salt.minion      ][INFO    ][4610] Returning information for job: 20180216181254941948
2018-02-16 18:14:16,422 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command state.sls with jid 20180216181416410785
2018-02-16 18:14:16,432 [salt.minion      ][INFO    ][9579] Starting a new job with PID 9579
2018-02-16 18:14:19,018 [salt.state       ][INFO    ][9579] Loading fresh modules for state activity
2018-02-16 18:14:19,089 [salt.fileclient  ][INFO    ][9579] Fetching file from saltenv 'base', ** done ** 'nginx/init.sls'
2018-02-16 18:14:19,108 [salt.fileclient  ][INFO    ][9579] Fetching file from saltenv 'base', ** done ** 'nginx/server.sls'
2018-02-16 18:14:19,155 [salt.fileclient  ][INFO    ][9579] Fetching file from saltenv 'base', ** done ** 'nginx/server/users.sls'
2018-02-16 18:14:19,190 [salt.fileclient  ][INFO    ][9579] Fetching file from saltenv 'base', ** done ** 'nginx/server/sites.sls'
2018-02-16 18:14:19,300 [salt.state       ][INFO    ][9579] Running state [cat /etc/ssl/certs/100.64.200.103.crt /etc/ssl/certs/ca-salt_master_ca.crt > /etc/ssl/certs/100.64.200.103-with-chain.crt] at time 18:14:19.300144
2018-02-16 18:14:19,300 [salt.state       ][INFO    ][9579] Executing state cmd.run for cat /etc/ssl/certs/100.64.200.103.crt /etc/ssl/certs/ca-salt_master_ca.crt > /etc/ssl/certs/100.64.200.103-with-chain.crt
2018-02-16 18:14:19,301 [salt.loaded.int.module.cmdmod][INFO    ][9579] Executing command 'cat /etc/ssl/certs/100.64.200.103.crt /etc/ssl/certs/ca-salt_master_ca.crt > /etc/ssl/certs/100.64.200.103-with-chain.crt' in directory '/root'
2018-02-16 18:14:19,313 [salt.state       ][INFO    ][9579] {'pid': 9590, 'retcode': 0, 'stderr': '', 'stdout': ''}
2018-02-16 18:14:19,313 [salt.state       ][INFO    ][9579] Completed state [cat /etc/ssl/certs/100.64.200.103.crt /etc/ssl/certs/ca-salt_master_ca.crt > /etc/ssl/certs/100.64.200.103-with-chain.crt] at time 18:14:19.313672 duration_in_ms=13.529
2018-02-16 18:14:20,467 [salt.state       ][INFO    ][9579] Running state [nginx] at time 18:14:20.467457
2018-02-16 18:14:20,467 [salt.state       ][INFO    ][9579] Executing state pkg.installed for nginx
2018-02-16 18:14:20,468 [salt.loaded.int.module.cmdmod][INFO    ][9579] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
2018-02-16 18:14:20,766 [salt.loaded.int.module.cmdmod][INFO    ][9579] Executing command ['apt-cache', '-q', 'policy', 'nginx'] in directory '/root'
2018-02-16 18:14:20,828 [salt.loaded.int.module.cmdmod][INFO    ][9579] Executing command ['apt-get', '-q', 'update'] in directory '/root'
2018-02-16 18:14:22,470 [salt.loaded.int.module.cmdmod][INFO    ][9579] Executing command ['dpkg', '--get-selections', '*'] in directory '/root'
2018-02-16 18:14:22,492 [salt.loaded.int.module.cmdmod][INFO    ][9579] Executing command ['systemd-run', '--scope', 'apt-get', '-q', '-y', '-o', 'DPkg::Options::=--force-confold', '-o', 'DPkg::Options::=--force-confdef', 'install', 'nginx'] in directory '/root'
2018-02-16 18:14:25,960 [salt.loaded.int.module.cmdmod][INFO    ][9579] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
2018-02-16 18:14:25,994 [salt.state       ][INFO    ][9579] Made the following changes:
'libgd3' changed from 'absent' to '2.1.1-4ubuntu0.16.04.8'
'nginx-core' changed from 'absent' to '1.10.3-0ubuntu0.16.04.2'
'libxpm4' changed from 'absent' to '1:3.5.11-1ubuntu0.16.04.1'
'nginx' changed from 'absent' to '1.10.3-0ubuntu0.16.04.2'
'nginx-common' changed from 'absent' to '1.10.3-0ubuntu0.16.04.2'
'libfontconfig' changed from 'absent' to '1'
'fonts-dejavu-core' changed from 'absent' to '2.35-1'
'fontconfig-config' changed from 'absent' to '2.11.94-0ubuntu1.1'
'libvpx3' changed from 'absent' to '1.5.0-2ubuntu1'
'libfontconfig1' changed from 'absent' to '2.11.94-0ubuntu1.1'

2018-02-16 18:14:26,018 [salt.state       ][INFO    ][9579] Loading fresh modules for state activity
2018-02-16 18:14:26,165 [salt.state       ][INFO    ][9579] Completed state [nginx] at time 18:14:26.165303 duration_in_ms=5697.843
2018-02-16 18:14:26,169 [salt.state       ][INFO    ][9579] Running state [apache2-utils] at time 18:14:26.169547
2018-02-16 18:14:26,169 [salt.state       ][INFO    ][9579] Executing state pkg.installed for apache2-utils
2018-02-16 18:14:26,506 [salt.state       ][INFO    ][9579] All specified packages are already installed
2018-02-16 18:14:26,506 [salt.state       ][INFO    ][9579] Completed state [apache2-utils] at time 18:14:26.506601 duration_in_ms=337.044
2018-02-16 18:14:26,508 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-available/nginx_proxy_openstack_api_keystone_private.conf] at time 18:14:26.508173
2018-02-16 18:14:26,508 [salt.state       ][INFO    ][9579] Executing state file.managed for /etc/nginx/sites-available/nginx_proxy_openstack_api_keystone_private.conf
2018-02-16 18:14:26,530 [salt.fileclient  ][INFO    ][9579] Fetching file from saltenv 'base', ** done ** 'nginx/files/proxy.conf'
2018-02-16 18:14:26,576 [salt.fileclient  ][INFO    ][9579] Fetching file from saltenv 'base', ** done ** 'nginx/files/_name.conf'
2018-02-16 18:14:26,596 [salt.fileclient  ][INFO    ][9579] Fetching file from saltenv 'base', ** done ** 'nginx/files/_ssl.conf'
2018-02-16 18:14:26,619 [salt.fileclient  ][INFO    ][9579] Fetching file from saltenv 'base', ** done ** 'nginx/files/_ssl_secure.conf'
2018-02-16 18:14:26,633 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command saltutil.find_job with jid 20180216181426492708
2018-02-16 18:14:26,635 [salt.fileclient  ][INFO    ][9579] Fetching file from saltenv 'base', ** done ** 'nginx/files/_auth.conf'
2018-02-16 18:14:26,644 [salt.minion      ][INFO    ][10343] Starting a new job with PID 10343
2018-02-16 18:14:26,649 [salt.fileclient  ][INFO    ][9579] Fetching file from saltenv 'base', ** done ** 'nginx/files/_access_policy.conf'
2018-02-16 18:14:26,654 [salt.state       ][INFO    ][9579] File changed:
New file
2018-02-16 18:14:26,655 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-available/nginx_proxy_openstack_api_keystone_private.conf] at time 18:14:26.655117 duration_in_ms=146.944
2018-02-16 18:14:26,655 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_keystone_private.conf] at time 18:14:26.655333
2018-02-16 18:14:26,655 [salt.state       ][INFO    ][9579] Executing state file.symlink for /etc/nginx/sites-enabled/nginx_proxy_openstack_api_keystone_private.conf
2018-02-16 18:14:26,656 [salt.state       ][INFO    ][9579] {'new': '/etc/nginx/sites-enabled/nginx_proxy_openstack_api_keystone_private.conf'}
2018-02-16 18:14:26,657 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_keystone_private.conf] at time 18:14:26.656985 duration_in_ms=1.652
2018-02-16 18:14:26,657 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-available/nginx_proxy_openstack_api_nova.conf] at time 18:14:26.657582
2018-02-16 18:14:26,657 [salt.state       ][INFO    ][9579] Executing state file.managed for /etc/nginx/sites-available/nginx_proxy_openstack_api_nova.conf
2018-02-16 18:14:26,660 [salt.minion      ][INFO    ][10343] Returning information for job: 20180216181426492708
2018-02-16 18:14:26,753 [salt.state       ][INFO    ][9579] File changed:
New file
2018-02-16 18:14:26,753 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-available/nginx_proxy_openstack_api_nova.conf] at time 18:14:26.753318 duration_in_ms=95.735
2018-02-16 18:14:26,753 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_nova.conf] at time 18:14:26.753553
2018-02-16 18:14:26,753 [salt.state       ][INFO    ][9579] Executing state file.symlink for /etc/nginx/sites-enabled/nginx_proxy_openstack_api_nova.conf
2018-02-16 18:14:26,754 [salt.state       ][INFO    ][9579] {'new': '/etc/nginx/sites-enabled/nginx_proxy_openstack_api_nova.conf'}
2018-02-16 18:14:26,755 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_nova.conf] at time 18:14:26.755108 duration_in_ms=1.555
2018-02-16 18:14:26,755 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-available/nginx_proxy_openstack_api_aodh.conf] at time 18:14:26.755589
2018-02-16 18:14:26,755 [salt.state       ][INFO    ][9579] Executing state file.managed for /etc/nginx/sites-available/nginx_proxy_openstack_api_aodh.conf
2018-02-16 18:14:26,850 [salt.state       ][INFO    ][9579] File changed:
New file
2018-02-16 18:14:26,850 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-available/nginx_proxy_openstack_api_aodh.conf] at time 18:14:26.850641 duration_in_ms=95.052
2018-02-16 18:14:26,850 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_aodh.conf] at time 18:14:26.850827
2018-02-16 18:14:26,851 [salt.state       ][INFO    ][9579] Executing state file.symlink for /etc/nginx/sites-enabled/nginx_proxy_openstack_api_aodh.conf
2018-02-16 18:14:26,852 [salt.state       ][INFO    ][9579] {'new': '/etc/nginx/sites-enabled/nginx_proxy_openstack_api_aodh.conf'}
2018-02-16 18:14:26,852 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_aodh.conf] at time 18:14:26.852217 duration_in_ms=1.39
2018-02-16 18:14:26,852 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-available/nginx_proxy_openstack_api_neutron.conf] at time 18:14:26.852658
2018-02-16 18:14:26,852 [salt.state       ][INFO    ][9579] Executing state file.managed for /etc/nginx/sites-available/nginx_proxy_openstack_api_neutron.conf
2018-02-16 18:14:26,949 [salt.state       ][INFO    ][9579] File changed:
New file
2018-02-16 18:14:26,949 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-available/nginx_proxy_openstack_api_neutron.conf] at time 18:14:26.949313 duration_in_ms=96.655
2018-02-16 18:14:26,949 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_neutron.conf] at time 18:14:26.949552
2018-02-16 18:14:26,949 [salt.state       ][INFO    ][9579] Executing state file.symlink for /etc/nginx/sites-enabled/nginx_proxy_openstack_api_neutron.conf
2018-02-16 18:14:26,950 [salt.state       ][INFO    ][9579] {'new': '/etc/nginx/sites-enabled/nginx_proxy_openstack_api_neutron.conf'}
2018-02-16 18:14:26,950 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_neutron.conf] at time 18:14:26.950959 duration_in_ms=1.406
2018-02-16 18:14:26,951 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-available/nginx_proxy_openstack_web.conf] at time 18:14:26.951341
2018-02-16 18:14:26,951 [salt.state       ][INFO    ][9579] Executing state file.managed for /etc/nginx/sites-available/nginx_proxy_openstack_web.conf
2018-02-16 18:14:27,047 [salt.state       ][INFO    ][9579] File changed:
New file
2018-02-16 18:14:27,048 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-available/nginx_proxy_openstack_web.conf] at time 18:14:27.048007 duration_in_ms=96.665
2018-02-16 18:14:27,048 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-enabled/nginx_proxy_openstack_web.conf] at time 18:14:27.048367
2018-02-16 18:14:27,048 [salt.state       ][INFO    ][9579] Executing state file.symlink for /etc/nginx/sites-enabled/nginx_proxy_openstack_web.conf
2018-02-16 18:14:27,049 [salt.state       ][INFO    ][9579] {'new': '/etc/nginx/sites-enabled/nginx_proxy_openstack_web.conf'}
2018-02-16 18:14:27,050 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-enabled/nginx_proxy_openstack_web.conf] at time 18:14:27.050115 duration_in_ms=1.748
2018-02-16 18:14:27,050 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-available/nginx_proxy_openstack_api_glance.conf] at time 18:14:27.050590
2018-02-16 18:14:27,050 [salt.state       ][INFO    ][9579] Executing state file.managed for /etc/nginx/sites-available/nginx_proxy_openstack_api_glance.conf
2018-02-16 18:14:27,196 [salt.state       ][INFO    ][9579] File changed:
New file
2018-02-16 18:14:27,196 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-available/nginx_proxy_openstack_api_glance.conf] at time 18:14:27.196639 duration_in_ms=146.048
2018-02-16 18:14:27,196 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_glance.conf] at time 18:14:27.196953
2018-02-16 18:14:27,197 [salt.state       ][INFO    ][9579] Executing state file.symlink for /etc/nginx/sites-enabled/nginx_proxy_openstack_api_glance.conf
2018-02-16 18:14:27,198 [salt.state       ][INFO    ][9579] {'new': '/etc/nginx/sites-enabled/nginx_proxy_openstack_api_glance.conf'}
2018-02-16 18:14:27,198 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_glance.conf] at time 18:14:27.198844 duration_in_ms=1.891
2018-02-16 18:14:27,199 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-available/nginx_proxy_novnc.conf] at time 18:14:27.199353
2018-02-16 18:14:27,199 [salt.state       ][INFO    ][9579] Executing state file.managed for /etc/nginx/sites-available/nginx_proxy_novnc.conf
2018-02-16 18:14:27,302 [salt.state       ][INFO    ][9579] File changed:
New file
2018-02-16 18:14:27,302 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-available/nginx_proxy_novnc.conf] at time 18:14:27.302916 duration_in_ms=103.562
2018-02-16 18:14:27,303 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-enabled/nginx_proxy_novnc.conf] at time 18:14:27.303209
2018-02-16 18:14:27,303 [salt.state       ][INFO    ][9579] Executing state file.symlink for /etc/nginx/sites-enabled/nginx_proxy_novnc.conf
2018-02-16 18:14:27,304 [salt.state       ][INFO    ][9579] {'new': '/etc/nginx/sites-enabled/nginx_proxy_novnc.conf'}
2018-02-16 18:14:27,304 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-enabled/nginx_proxy_novnc.conf] at time 18:14:27.304920 duration_in_ms=1.711
2018-02-16 18:14:27,305 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-available/nginx_proxy_openstack_api_keystone.conf] at time 18:14:27.305449
2018-02-16 18:14:27,305 [salt.state       ][INFO    ][9579] Executing state file.managed for /etc/nginx/sites-available/nginx_proxy_openstack_api_keystone.conf
2018-02-16 18:14:27,402 [salt.state       ][INFO    ][9579] File changed:
New file
2018-02-16 18:14:27,403 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-available/nginx_proxy_openstack_api_keystone.conf] at time 18:14:27.403146 duration_in_ms=97.697
2018-02-16 18:14:27,403 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_keystone.conf] at time 18:14:27.403464
2018-02-16 18:14:27,403 [salt.state       ][INFO    ][9579] Executing state file.symlink for /etc/nginx/sites-enabled/nginx_proxy_openstack_api_keystone.conf
2018-02-16 18:14:27,405 [salt.state       ][INFO    ][9579] {'new': '/etc/nginx/sites-enabled/nginx_proxy_openstack_api_keystone.conf'}
2018-02-16 18:14:27,405 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_keystone.conf] at time 18:14:27.405283 duration_in_ms=1.82
2018-02-16 18:14:27,405 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-available/nginx_proxy_openstack_api_cinder.conf] at time 18:14:27.405810
2018-02-16 18:14:27,406 [salt.state       ][INFO    ][9579] Executing state file.managed for /etc/nginx/sites-available/nginx_proxy_openstack_api_cinder.conf
2018-02-16 18:14:27,501 [salt.state       ][INFO    ][9579] File changed:
New file
2018-02-16 18:14:27,501 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-available/nginx_proxy_openstack_api_cinder.conf] at time 18:14:27.501363 duration_in_ms=95.553
2018-02-16 18:14:27,501 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_cinder.conf] at time 18:14:27.501676
2018-02-16 18:14:27,501 [salt.state       ][INFO    ][9579] Executing state file.symlink for /etc/nginx/sites-enabled/nginx_proxy_openstack_api_cinder.conf
2018-02-16 18:14:27,503 [salt.state       ][INFO    ][9579] {'new': '/etc/nginx/sites-enabled/nginx_proxy_openstack_api_cinder.conf'}
2018-02-16 18:14:27,503 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_cinder.conf] at time 18:14:27.503345 duration_in_ms=1.668
2018-02-16 18:14:27,503 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-available/nginx_proxy_openstack_api_heat_cfn.conf] at time 18:14:27.503826
2018-02-16 18:14:27,504 [salt.state       ][INFO    ][9579] Executing state file.managed for /etc/nginx/sites-available/nginx_proxy_openstack_api_heat_cfn.conf
2018-02-16 18:14:27,602 [salt.state       ][INFO    ][9579] File changed:
New file
2018-02-16 18:14:27,602 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-available/nginx_proxy_openstack_api_heat_cfn.conf] at time 18:14:27.602472 duration_in_ms=98.646
2018-02-16 18:14:27,602 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_heat_cfn.conf] at time 18:14:27.602757
2018-02-16 18:14:27,603 [salt.state       ][INFO    ][9579] Executing state file.symlink for /etc/nginx/sites-enabled/nginx_proxy_openstack_api_heat_cfn.conf
2018-02-16 18:14:27,604 [salt.state       ][INFO    ][9579] {'new': '/etc/nginx/sites-enabled/nginx_proxy_openstack_api_heat_cfn.conf'}
2018-02-16 18:14:27,604 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_heat_cfn.conf] at time 18:14:27.604422 duration_in_ms=1.665
2018-02-16 18:14:27,604 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-available/nginx_proxy_openstack_api_nova_ec2.conf] at time 18:14:27.604907
2018-02-16 18:14:27,605 [salt.state       ][INFO    ][9579] Executing state file.managed for /etc/nginx/sites-available/nginx_proxy_openstack_api_nova_ec2.conf
2018-02-16 18:14:27,700 [salt.state       ][INFO    ][9579] File changed:
New file
2018-02-16 18:14:27,701 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-available/nginx_proxy_openstack_api_nova_ec2.conf] at time 18:14:27.701272 duration_in_ms=96.365
2018-02-16 18:14:27,701 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_nova_ec2.conf] at time 18:14:27.701596
2018-02-16 18:14:27,701 [salt.state       ][INFO    ][9579] Executing state file.symlink for /etc/nginx/sites-enabled/nginx_proxy_openstack_api_nova_ec2.conf
2018-02-16 18:14:27,703 [salt.state       ][INFO    ][9579] {'new': '/etc/nginx/sites-enabled/nginx_proxy_openstack_api_nova_ec2.conf'}
2018-02-16 18:14:27,703 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_nova_ec2.conf] at time 18:14:27.703302 duration_in_ms=1.706
2018-02-16 18:14:27,703 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-available/nginx_redirect_openstack_web_redirect.conf] at time 18:14:27.703801
2018-02-16 18:14:27,704 [salt.state       ][INFO    ][9579] Executing state file.managed for /etc/nginx/sites-available/nginx_redirect_openstack_web_redirect.conf
2018-02-16 18:14:27,720 [salt.fileclient  ][INFO    ][9579] Fetching file from saltenv 'base', ** done ** 'nginx/files/redirect.conf'
2018-02-16 18:14:27,726 [salt.state       ][INFO    ][9579] File changed:
New file
2018-02-16 18:14:27,727 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-available/nginx_redirect_openstack_web_redirect.conf] at time 18:14:27.727111 duration_in_ms=23.309
2018-02-16 18:14:27,727 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-enabled/nginx_redirect_openstack_web_redirect.conf] at time 18:14:27.727396
2018-02-16 18:14:27,727 [salt.state       ][INFO    ][9579] Executing state file.symlink for /etc/nginx/sites-enabled/nginx_redirect_openstack_web_redirect.conf
2018-02-16 18:14:27,728 [salt.state       ][INFO    ][9579] {'new': '/etc/nginx/sites-enabled/nginx_redirect_openstack_web_redirect.conf'}
2018-02-16 18:14:27,729 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-enabled/nginx_redirect_openstack_web_redirect.conf] at time 18:14:27.729150 duration_in_ms=1.754
2018-02-16 18:14:27,729 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-available/nginx_static_reclass_doc.conf] at time 18:14:27.729680
2018-02-16 18:14:27,730 [salt.state       ][INFO    ][9579] Executing state file.managed for /etc/nginx/sites-available/nginx_static_reclass_doc.conf
2018-02-16 18:14:27,744 [salt.fileclient  ][INFO    ][9579] Fetching file from saltenv 'base', ** done ** 'nginx/files/static.conf'
2018-02-16 18:14:27,782 [salt.fileclient  ][INFO    ][9579] Fetching file from saltenv 'base', ** done ** 'nginx/files/_log.conf'
2018-02-16 18:14:27,821 [salt.state       ][INFO    ][9579] File changed:
New file
2018-02-16 18:14:27,821 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-available/nginx_static_reclass_doc.conf] at time 18:14:27.821371 duration_in_ms=91.691
2018-02-16 18:14:27,821 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-enabled/nginx_static_reclass_doc.conf] at time 18:14:27.821678
2018-02-16 18:14:27,821 [salt.state       ][INFO    ][9579] Executing state file.symlink for /etc/nginx/sites-enabled/nginx_static_reclass_doc.conf
2018-02-16 18:14:27,823 [salt.state       ][INFO    ][9579] {'new': '/etc/nginx/sites-enabled/nginx_static_reclass_doc.conf'}
2018-02-16 18:14:27,823 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-enabled/nginx_static_reclass_doc.conf] at time 18:14:27.823361 duration_in_ms=1.683
2018-02-16 18:14:27,823 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-available/nginx_proxy_openstack_api_heat.conf] at time 18:14:27.823845
2018-02-16 18:14:27,824 [salt.state       ][INFO    ][9579] Executing state file.managed for /etc/nginx/sites-available/nginx_proxy_openstack_api_heat.conf
2018-02-16 18:14:27,919 [salt.state       ][INFO    ][9579] File changed:
New file
2018-02-16 18:14:27,920 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-available/nginx_proxy_openstack_api_heat.conf] at time 18:14:27.920317 duration_in_ms=96.471
2018-02-16 18:14:27,920 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_heat.conf] at time 18:14:27.920740
2018-02-16 18:14:27,921 [salt.state       ][INFO    ][9579] Executing state file.symlink for /etc/nginx/sites-enabled/nginx_proxy_openstack_api_heat.conf
2018-02-16 18:14:27,922 [salt.state       ][INFO    ][9579] {'new': '/etc/nginx/sites-enabled/nginx_proxy_openstack_api_heat.conf'}
2018-02-16 18:14:27,922 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_heat.conf] at time 18:14:27.922734 duration_in_ms=1.993
2018-02-16 18:14:27,923 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-available/nginx_stats_stats.conf] at time 18:14:27.923309
2018-02-16 18:14:27,923 [salt.state       ][INFO    ][9579] Executing state file.managed for /etc/nginx/sites-available/nginx_stats_stats.conf
2018-02-16 18:14:27,939 [salt.fileclient  ][INFO    ][9579] Fetching file from saltenv 'base', ** done ** 'nginx/files/stats.conf'
2018-02-16 18:14:27,943 [salt.state       ][INFO    ][9579] File changed:
New file
2018-02-16 18:14:27,943 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-available/nginx_stats_stats.conf] at time 18:14:27.943537 duration_in_ms=20.228
2018-02-16 18:14:27,943 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-enabled/nginx_stats_stats.conf] at time 18:14:27.943917
2018-02-16 18:14:27,944 [salt.state       ][INFO    ][9579] Executing state file.symlink for /etc/nginx/sites-enabled/nginx_stats_stats.conf
2018-02-16 18:14:27,945 [salt.state       ][INFO    ][9579] {'new': '/etc/nginx/sites-enabled/nginx_stats_stats.conf'}
2018-02-16 18:14:27,945 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-enabled/nginx_stats_stats.conf] at time 18:14:27.945896 duration_in_ms=1.98
2018-02-16 18:14:27,946 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-available/nginx_proxy_openstack_api_ceilometer.conf] at time 18:14:27.946495
2018-02-16 18:14:27,946 [salt.state       ][INFO    ][9579] Executing state file.managed for /etc/nginx/sites-available/nginx_proxy_openstack_api_ceilometer.conf
2018-02-16 18:14:28,042 [salt.state       ][INFO    ][9579] File changed:
New file
2018-02-16 18:14:28,043 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-available/nginx_proxy_openstack_api_ceilometer.conf] at time 18:14:28.042973 duration_in_ms=96.478
2018-02-16 18:14:28,043 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_ceilometer.conf] at time 18:14:28.043354
2018-02-16 18:14:28,043 [salt.state       ][INFO    ][9579] Executing state file.symlink for /etc/nginx/sites-enabled/nginx_proxy_openstack_api_ceilometer.conf
2018-02-16 18:14:28,045 [salt.state       ][INFO    ][9579] {'new': '/etc/nginx/sites-enabled/nginx_proxy_openstack_api_ceilometer.conf'}
2018-02-16 18:14:28,045 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_ceilometer.conf] at time 18:14:28.045341 duration_in_ms=1.986
2018-02-16 18:14:28,045 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-available/nginx_proxy_openstack_api_heat_cloudwatch.conf] at time 18:14:28.045945
2018-02-16 18:14:28,046 [salt.state       ][INFO    ][9579] Executing state file.managed for /etc/nginx/sites-available/nginx_proxy_openstack_api_heat_cloudwatch.conf
2018-02-16 18:14:28,142 [salt.state       ][INFO    ][9579] File changed:
New file
2018-02-16 18:14:28,143 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-available/nginx_proxy_openstack_api_heat_cloudwatch.conf] at time 18:14:28.143346 duration_in_ms=97.4
2018-02-16 18:14:28,143 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_heat_cloudwatch.conf] at time 18:14:28.143726
2018-02-16 18:14:28,144 [salt.state       ][INFO    ][9579] Executing state file.symlink for /etc/nginx/sites-enabled/nginx_proxy_openstack_api_heat_cloudwatch.conf
2018-02-16 18:14:28,145 [salt.state       ][INFO    ][9579] {'new': '/etc/nginx/sites-enabled/nginx_proxy_openstack_api_heat_cloudwatch.conf'}
2018-02-16 18:14:28,145 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-enabled/nginx_proxy_openstack_api_heat_cloudwatch.conf] at time 18:14:28.145772 duration_in_ms=2.046
2018-02-16 18:14:28,146 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-enabled/default] at time 18:14:28.146356
2018-02-16 18:14:28,146 [salt.state       ][INFO    ][9579] Executing state file.absent for /etc/nginx/sites-enabled/default
2018-02-16 18:14:28,147 [salt.state       ][INFO    ][9579] {'removed': '/etc/nginx/sites-enabled/default'}
2018-02-16 18:14:28,147 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-enabled/default] at time 18:14:28.147528 duration_in_ms=1.171
2018-02-16 18:14:28,148 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/sites-available/default] at time 18:14:28.148094
2018-02-16 18:14:28,148 [salt.state       ][INFO    ][9579] Executing state file.absent for /etc/nginx/sites-available/default
2018-02-16 18:14:28,148 [salt.state       ][INFO    ][9579] {'removed': '/etc/nginx/sites-available/default'}
2018-02-16 18:14:28,149 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/sites-available/default] at time 18:14:28.149273 duration_in_ms=1.179
2018-02-16 18:14:28,149 [salt.state       ][INFO    ][9579] Running state [/etc/nginx/nginx.conf] at time 18:14:28.149859
2018-02-16 18:14:28,150 [salt.state       ][INFO    ][9579] Executing state file.managed for /etc/nginx/nginx.conf
2018-02-16 18:14:28,166 [salt.fileclient  ][INFO    ][9579] Fetching file from saltenv 'base', ** done ** 'nginx/files/nginx.conf'
2018-02-16 18:14:28,188 [salt.state       ][INFO    ][9579] File changed:
--- 
+++ 
@@ -1,85 +1,100 @@
 user www-data;
 worker_processes auto;
+worker_rlimit_nofile 20000;
 pid /run/nginx.pid;
 
+
 events {
-	worker_connections 768;
-	# multi_accept on;
+        worker_connections 1024;
+        # multi_accept on;
 }
 
 http {
 
-	##
-	# Basic Settings
-	##
+        ##
+        # Basic Settings
+        ##
 
-	sendfile on;
-	tcp_nopush on;
-	tcp_nodelay on;
-	keepalive_timeout 65;
-	types_hash_max_size 2048;
-	# server_tokens off;
+        sendfile on;
+        tcp_nopush on;
+        tcp_nodelay on;
+        keepalive_timeout 65;
+        types_hash_max_size 2048;
+        server_tokens off;
 
-	# server_names_hash_bucket_size 64;
-	# server_name_in_redirect off;
+        server_names_hash_bucket_size 128;
+        # server_name_in_redirect off;
 
-	include /etc/nginx/mime.types;
-	default_type application/octet-stream;
+        include /etc/nginx/mime.types;
+        default_type application/octet-stream;
 
-	##
-	# SSL Settings
-	##
+        ##
+        # Logging Settings
+        ##
 
-	ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
-	ssl_prefer_server_ciphers on;
+        access_log /var/log/nginx/access.log;
+        error_log /var/log/nginx/error.log;
 
-	##
-	# Logging Settings
-	##
+        ##
+        # Gzip Settings
+        ##
 
-	access_log /var/log/nginx/access.log;
-	error_log /var/log/nginx/error.log;
+        gzip on;
+        gzip_disable "msie6";
 
-	##
-	# Gzip Settings
-	##
+        # gzip_vary on;
+        # gzip_proxied any;
+        # gzip_comp_level 6;
+        # gzip_buffers 16 8k;
+        # gzip_http_version 1.1;
+        # gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
 
-	gzip on;
-	gzip_disable "msie6";
+        ##
+        # nginx-naxsi config
+        ##
+        # Uncomment it if you installed nginx-naxsi
+        ##
 
-	# gzip_vary on;
-	# gzip_proxied any;
-	# gzip_comp_level 6;
-	# gzip_buffers 16 8k;
-	# gzip_http_version 1.1;
-	# gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
+        #include /etc/nginx/naxsi_core.rules;
 
-	##
-	# Virtual Host Configs
-	##
+        ##
+        # nginx-passenger config
+        ##
+        # Uncomment it if you installed nginx-passenger
+        ##
 
-	include /etc/nginx/conf.d/*.conf;
-	include /etc/nginx/sites-enabled/*;
+        #passenger_root /usr;
+        #passenger_ruby /usr/bin/ruby;
+
+
+
+        ##
+        # Virtual Host Configs
+        ##
+
+        include /etc/nginx/conf.d/*.conf;
+        include /etc/nginx/sites-enabled/*.conf;
 }
 
 
+
 #mail {
-#	# See sample authentication script at:
-#	# http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
-# 
-#	# auth_http localhost/auth.php;
-#	# pop3_capabilities "TOP" "USER";
-#	# imap_capabilities "IMAP4rev1" "UIDPLUS";
-# 
-#	server {
-#		listen     localhost:110;
-#		protocol   pop3;
-#		proxy      on;
-#	}
-# 
-#	server {
-#		listen     localhost:143;
-#		protocol   imap;
-#		proxy      on;
-#	}
+#       # See sample authentication script at:
+#       # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
+#
+#       # auth_http localhost/auth.php;
+#       # pop3_capabilities "TOP" "USER";
+#       # imap_capabilities "IMAP4rev1" "UIDPLUS";
+#
+#       server {
+#               listen     localhost:110;
+#               protocol   pop3;
+#               proxy      on;
+#       }
+#
+#       server {
+#               listen     localhost:143;
+#               protocol   imap;
+#               proxy      on;
+#       }
 #}

2018-02-16 18:14:28,196 [salt.state       ][INFO    ][9579] Completed state [/etc/nginx/nginx.conf] at time 18:14:28.196121 duration_in_ms=46.261
2018-02-16 18:14:28,196 [salt.state       ][INFO    ][9579] Running state [/etc/ssl/private] at time 18:14:28.196549
2018-02-16 18:14:28,196 [salt.state       ][INFO    ][9579] Executing state file.directory for /etc/ssl/private
2018-02-16 18:14:28,197 [salt.state       ][INFO    ][9579] Directory /etc/ssl/private is in the correct state
2018-02-16 18:14:28,197 [salt.state       ][INFO    ][9579] Completed state [/etc/ssl/private] at time 18:14:28.197381 duration_in_ms=0.833
2018-02-16 18:14:28,221 [salt.state       ][INFO    ][9579] Running state [openssl dhparam -out /etc/ssl/dhparams.pem 2048] at time 18:14:28.221148
2018-02-16 18:14:28,221 [salt.state       ][INFO    ][9579] Executing state cmd.run for openssl dhparam -out /etc/ssl/dhparams.pem 2048
2018-02-16 18:14:28,222 [salt.loaded.int.module.cmdmod][INFO    ][9579] Executing command 'openssl dhparam -out /etc/ssl/dhparams.pem 2048' in directory '/root'
2018-02-16 18:14:29,287 [salt.state       ][INFO    ][9579] {'pid': 10376, 'retcode': 0, 'stderr': "Generating DH parameters, 2048 bit long safe prime, generator 2\nThis is going to take a long time\n....+..............................................................................................................................................++*++*\nunable to write 'random state'", 'stdout': ''}
2018-02-16 18:14:29,288 [salt.state       ][INFO    ][9579] Completed state [openssl dhparam -out /etc/ssl/dhparams.pem 2048] at time 18:14:29.288011 duration_in_ms=1066.864
2018-02-16 18:14:29,291 [salt.state       ][INFO    ][9579] Running state [nginx] at time 18:14:29.291482
2018-02-16 18:14:29,291 [salt.state       ][INFO    ][9579] Executing state service.running for nginx
2018-02-16 18:14:29,292 [salt.loaded.int.module.cmdmod][INFO    ][9579] Executing command ['systemctl', 'status', 'nginx.service', '-n', '0'] in directory '/root'
2018-02-16 18:14:29,310 [salt.loaded.int.module.cmdmod][INFO    ][9579] Executing command ['systemctl', 'is-active', 'nginx.service'] in directory '/root'
2018-02-16 18:14:29,325 [salt.loaded.int.module.cmdmod][INFO    ][9579] Executing command ['systemctl', 'is-enabled', 'nginx.service'] in directory '/root'
2018-02-16 18:14:29,340 [salt.state       ][INFO    ][9579] The service nginx is already running
2018-02-16 18:14:29,340 [salt.state       ][INFO    ][9579] Completed state [nginx] at time 18:14:29.340854 duration_in_ms=49.371
2018-02-16 18:14:29,341 [salt.state       ][INFO    ][9579] Running state [nginx] at time 18:14:29.341115
2018-02-16 18:14:29,341 [salt.state       ][INFO    ][9579] Executing state service.mod_watch for nginx
2018-02-16 18:14:29,342 [salt.loaded.int.module.cmdmod][INFO    ][9579] Executing command ['systemctl', 'is-active', 'nginx.service'] in directory '/root'
2018-02-16 18:14:29,356 [salt.loaded.int.module.cmdmod][INFO    ][9579] Executing command ['systemctl', 'is-enabled', 'nginx.service'] in directory '/root'
2018-02-16 18:14:29,371 [salt.loaded.int.module.cmdmod][INFO    ][9579] Executing command ['systemd-run', '--scope', 'systemctl', 'restart', 'nginx.service'] in directory '/root'
2018-02-16 18:14:29,475 [salt.state       ][INFO    ][9579] {'nginx': True}
2018-02-16 18:14:29,475 [salt.state       ][INFO    ][9579] Completed state [nginx] at time 18:14:29.475451 duration_in_ms=134.336
2018-02-16 18:14:29,479 [salt.minion      ][INFO    ][9579] Returning information for job: 20180216181416410785
2018-02-16 18:14:46,189 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command pkg.version with jid 20180216181446177472
2018-02-16 18:14:46,199 [salt.minion      ][INFO    ][10444] Starting a new job with PID 10444
2018-02-16 18:14:46,223 [salt.loader.192.168.11.2.int.module.cmdmod][INFO    ][10444] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
2018-02-16 18:14:46,493 [salt.minion      ][INFO    ][10444] Returning information for job: 20180216181446177472
2018-02-16 18:14:47,203 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command pillar.get with jid 20180216181447192596
2018-02-16 18:14:47,212 [salt.minion      ][INFO    ][10452] Starting a new job with PID 10452
2018-02-16 18:14:47,217 [salt.minion      ][INFO    ][10452] Returning information for job: 20180216181447192596
2018-02-16 18:14:47,934 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command cp.push with jid 20180216181447921600
2018-02-16 18:14:47,943 [salt.minion      ][INFO    ][10457] Starting a new job with PID 10457
2018-02-16 18:14:47,960 [salt.minion      ][INFO    ][10457] Returning information for job: 20180216181447921600
2018-02-16 18:15:39,512 [salt.minion      ][INFO    ][1391] User sudo_ubuntu Executing command cp.push_dir with jid 20180216181539500437
2018-02-16 18:15:39,523 [salt.minion      ][INFO    ][10464] Starting a new job with PID 10464
