[ovirt-users] Failed gdeploy

Sean McMurray sean at mvtel.com
Fri Sep 22 16:11:08 UTC 2017


After reading https://bugzilla.redhat.com/show_bug.cgi?id=1469469 and 
https://bugzilla.redhat.com/show_bug.cgi?id=1491548#c2 I changed 
gdeployConfig.conf so that [script3] has 
file=/usr/share/gdeploy/scripts/disable-multipath.sh

That gives me a different failture:

TASK [Run a shell script] 
********************************************************************************************************************
task path: /tmp/tmp4kfKbY/run-script.yml:7
failed: [192.168.1.3] 
(item=/usr/share/gdeploy/scripts/disable-multipath.sh) => {"changed": 
true, "failed": true, "failed_when_result": true, "item": 
"/usr/share/gdeploy/scripts/disable-multipath.sh", "rc": 1, "stderr": 
"Shared connection to 192.168.1.3 closed.\r\n", "stdout": "iscsiadm: No 
active sessions.\r\nThis script will prevent listing iscsi devices when 
multipath CLI is called\r\nwithout parameters, and so no LUNs will be 
discovered by applications like VDSM\r\n(oVirt, RHV) which shell-out to 
call `/usr/sbin/multipath` after target login\r\nSep 22 08:58:47 | DM 
multipath kernel driver not loaded\r\nSep 22 08:58:47 | DM multipath 
kernel driver not loaded\r\n", "stdout_lines": ["iscsiadm: No active 
sessions.", "This script will prevent listing iscsi devices when 
multipath CLI is called", "without parameters, and so no LUNs will be 
discovered by applications like VDSM", "(oVirt, RHV) which shell-out to 
call `/usr/sbin/multipath` after target login", "Sep 22 08:58:47 | DM 
multipath kernel driver not loaded", "Sep 22 08:58:47 | DM multipath 
kernel driver not loaded"]}
failed: [192.168.1.2] 
(item=/usr/share/gdeploy/scripts/disable-multipath.sh) => {"changed": 
true, "failed": true, "failed_when_result": true, "item": 
"/usr/share/gdeploy/scripts/disable-multipath.sh", "rc": 1, "stderr": 
"Shared connection to 192.168.1.2 closed.\r\n", "stdout": "iscsiadm: No 
active sessions.\r\nThis script will prevent listing iscsi devices when 
multipath CLI is called\r\nwithout parameters, and so no LUNs will be 
discovered by applications like VDSM\r\n(oVirt, RHV) which shell-out to 
call `/usr/sbin/multipath` after target login\r\nSep 22 15:57:47 | DM 
multipath kernel driver not loaded\r\nSep 22 15:57:47 | DM multipath 
kernel driver not loaded\r\n", "stdout_lines": ["iscsiadm: No active 
sessions.", "This script will prevent listing iscsi devices when 
multipath CLI is called", "without parameters, and so no LUNs will be 
discovered by applications like VDSM", "(oVirt, RHV) which shell-out to 
call `/usr/sbin/multipath` after target login", "Sep 22 15:57:47 | DM 
multipath kernel driver not loaded", "Sep 22 15:57:47 | DM multipath 
kernel driver not loaded"]}
failed: [192.168.1.1] 
(item=/usr/share/gdeploy/scripts/disable-multipath.sh) => {"changed": 
true, "failed": true, "failed_when_result": true, "item": 
"/usr/share/gdeploy/scripts/disable-multipath.sh", "rc": 1, "stderr": 
"Shared connection to 192.168.1.1 closed.\r\n", "stdout": "iscsiadm: No 
active sessions.\r\nThis script will prevent listing iscsi devices when 
multipath CLI is called\r\nwithout parameters, and so no LUNs will be 
discovered by applications like VDSM\r\n(oVirt, RHV) which shell-out to 
call `/usr/sbin/multipath` after target login\r\nSep 22 08:58:50 | DM 
multipath kernel driver not loaded\r\nSep 22 08:58:50 | DM multipath 
kernel driver not loaded\r\n", "stdout_lines": ["iscsiadm: No active 
sessions.", "This script will prevent listing iscsi devices when 
multipath CLI is called", "without parameters, and so no LUNs will be 
discovered by applications like VDSM", "(oVirt, RHV) which shell-out to 
call `/usr/sbin/multipath` after target login", "Sep 22 08:58:50 | DM 
multipath kernel driver not loaded", "Sep 22 08:58:50 | DM multipath 
kernel driver not loaded"]}
     to retry, use: --limit @/tmp/tmp4kfKbY/run-script.retry

PLAY RECAP 
***********************************************************************************************************************************
192.168.1.1                : ok=0    changed=0    unreachable=0 failed=1
192.168.1.2                : ok=0    changed=0    unreachable=0 failed=1
192.168.1.3                : ok=0    changed=0    unreachable=0 failed=1


On 09/22/2017 09:05 AM, Sean McMurray wrote:
> My latest attempt to deploy went like this 
> (/tmp/tmpaQJuTG/run-script.yml and /tmp/gdeployConfig.conf are pasted 
> below the gdeploy transcript):
>
> # gdeploy -k -vv -c /tmp/gdeployConfig.conf --trace
> Using /etc/ansible/ansible.cfg as config file
>
> PLAYBOOK: run-script.yml 
> *********************************************************************************************************************
> 1 plays in /tmp/tmpaQJuTG/run-script.yml
>
> PLAY [gluster_servers] 
> ***********************************************************************************************************************
> META: ran handlers
>
> TASK [Run a shell script] 
> ********************************************************************************************************************
> task path: /tmp/tmpaQJuTG/run-script.yml:7
> changed: [192.168.1.3] => 
> (item=/usr/share/gdeploy/scripts/grafton-sanity-check.sh -d sdb -h 
> 192.168.1.1,192.168.1.2,192.168.1.3) => {"changed": true, "failed": 
> false, "failed_when_result": false, "item": 
> "/usr/share/gdeploy/scripts/grafton-sanity-check.sh -d sdb -h 
> 192.168.1.1,192.168.1.2,192.168.1.3", "rc": 0, "stderr": "Shared 
> connection to 192.168.1.3 closed.\r\n", "stdout": "", "stdout_lines": []}
> changed: [192.168.1.2] => 
> (item=/usr/share/gdeploy/scripts/grafton-sanity-check.sh -d sdb -h 
> 192.168.1.1,192.168.1.2,192.168.1.3) => {"changed": true, "failed": 
> false, "failed_when_result": false, "item": 
> "/usr/share/gdeploy/scripts/grafton-sanity-check.sh -d sdb -h 
> 192.168.1.1,192.168.1.2,192.168.1.3", "rc": 0, "stderr": "Shared 
> connection to 192.168.1.2 closed.\r\n", "stdout": "", "stdout_lines": []}
> changed: [192.168.1.1] => 
> (item=/usr/share/gdeploy/scripts/grafton-sanity-check.sh -d sdb -h 
> 192.168.1.1,192.168.1.2,192.168.1.3) => {"changed": true, "failed": 
> false, "failed_when_result": false, "item": 
> "/usr/share/gdeploy/scripts/grafton-sanity-check.sh -d sdb -h 
> 192.168.1.1,192.168.1.2,192.168.1.3", "rc": 0, "stderr": "Shared 
> connection to 192.168.1.1 closed.\r\n", "stdout": "scp: 
> /tmp/*_host_ip_2017_09_22.txt: No such file or directory\r\nscp: 
> /tmp/*_host_ip_2017_09_22.txt: No such file or directory\r\n", 
> "stdout_lines": ["scp: /tmp/*_host_ip_2017_09_22.txt: No such file or 
> directory", "scp: /tmp/*_host_ip_2017_09_22.txt: No such file or 
> directory"]}
> META: ran handlers
> META: ran handlers
>
> PLAY RECAP 
> ***********************************************************************************************************************************
> 192.168.1.1                : ok=1    changed=1    unreachable=0 failed=0
> 192.168.1.2                : ok=1    changed=1    unreachable=0 failed=0
> 192.168.1.3                : ok=1    changed=1    unreachable=0 failed=0
>
> Using /etc/ansible/ansible.cfg as config file
>
> PLAYBOOK: chkconfig_service.yml 
> **************************************************************************************************************
> 1 plays in /tmp/tmpaQJuTG/chkconfig_service.yml
>
> PLAY [gluster_servers] 
> ***********************************************************************************************************************
> META: ran handlers
>
> TASK [Enable or disable services] 
> ************************************************************************************************************
> task path: /tmp/tmpaQJuTG/chkconfig_service.yml:7
> ok: [192.168.1.3] => (item=chronyd) => {"changed": false, "enabled": 
> true, "item": "chronyd", "name": "chronyd", "status": 
> {"ActiveEnterTimestamp": "Fri 2017-09-22 08:05:49 PDT", 
> "ActiveEnterTimestampMonotonic": "57218106256", "ActiveExitTimestamp": 
> "Fri 2017-09-22 08:05:49 PDT", "ActiveExitTimestampMonotonic": 
> "57218037256", "ActiveState": "active", "After": 
> "systemd-journald.socket var.mount tmp.mount ntpd.service -.mount 
> system.slice sntp.service basic.target ntpdate.service", 
> "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": 
> "yes", "AssertTimestamp": "Fri 2017-09-22 08:05:49 PDT", 
> "AssertTimestampMonotonic": "57218053902", "Before": 
> "multi-user.target imgbase-config-vdsm.service shutdown.target", 
> "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", 
> "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", 
> "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", 
> "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", 
> "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": 
> "yes", "CapabilityBoundingSet": "18446744073709551615", 
> "ConditionResult": "yes", "ConditionTimestamp": "Fri 2017-09-22 
> 08:05:49 PDT", "ConditionTimestampMonotonic": "57218053870", 
> "Conflicts": "shutdown.target systemd-timesyncd.service ntpd.service", 
> "ControlGroup": "/system.slice/chronyd.service", "ControlPID": "0", 
> "DefaultDependencies": "yes", "Delegate": "no", "Description": "NTP 
> client/server", "DevicePolicy": "auto", "Documentation": 
> "man:chronyd(8) man:chrony.conf(5)", "EnvironmentFile": 
> "/etc/sysconfig/chronyd (ignore_errors=yes)", "ExecMainCode": "0", 
> "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7300", 
> "ExecMainStartTimestamp": "Fri 2017-09-22 08:05:49 PDT", 
> "ExecMainStartTimestampMonotonic": "57218077328", "ExecMainStatus": 
> "0", "ExecStart": "{ path=/usr/sbin/chronyd ; argv[]=/usr/sbin/chronyd 
> $OPTIONS ; ignore_errors=no ; start_time=[Fri 2017-09-22 08:05:49 PDT] 
> ; stop_time=[Fri 2017-09-22 08:05:49 PDT] ; pid=7298 ; code=exited ; 
> status=0 }", "ExecStartPost": "{ path=/usr/libexec/chrony-helper ; 
> argv[]=/usr/libexec/chrony-helper update-daemon ; ignore_errors=no ; 
> start_time=[Fri 2017-09-22 08:05:49 PDT] ; stop_time=[Fri 2017-09-22 
> 08:05:49 PDT] ; pid=7302 ; code=exited ; status=0 }", "FailureAction": 
> "none", "FileDescriptorStoreMax": "0", "FragmentPath": 
> "/usr/lib/systemd/system/chronyd.service", "GuessMainPID": "yes", 
> "IOScheduling": "0", "Id": "chronyd.service", "IgnoreOnIsolate": "no", 
> "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", 
> "InactiveEnterTimestamp": "Fri 2017-09-22 08:05:49 PDT", 
> "InactiveEnterTimestampMonotonic": "57218052782", 
> "InactiveExitTimestamp": "Fri 2017-09-22 08:05:49 PDT", 
> "InactiveExitTimestampMonotonic": "57218054578", "JobTimeoutAction": 
> "none", "JobTimeoutUSec": "0", "KillMode": "control-group", 
> "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": 
> "18446744073709551615", "LimitCPU": "18446744073709551615", 
> "LimitDATA": "18446744073709551615", "LimitFSIZE": 
> "18446744073709551615", "LimitLOCKS": "18446744073709551615", 
> "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", 
> "LimitNOFILE": "4096", "LimitNPROC": "62043", "LimitRSS": 
> "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": 
> "18446744073709551615", "LimitSIGPENDING": "62043", "LimitSTACK": 
> "18446744073709551615", "LoadState": "loaded", "MainPID": "7300", 
> "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", 
> "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": 
> "chronyd.service", "NeedDaemonReload": "no", "Nice": "0", 
> "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", 
> "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": 
> "/var/run/chronyd.pid", "PermissionsStartOnly": "no", 
> "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", 
> "ProtectHome": "yes", "ProtectSystem": "full", "RefuseManualStart": 
> "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": 
> "basic.target -.mount var.mount", "RequiresMountsFor": "/var/tmp", 
> "Restart": "no", "RestartUSec": "100ms", "Result": "success", 
> "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", 
> "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", 
> "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": 
> "inherit", "StandardInput": "null", "StandardOutput": "journal", 
> "StartLimitAction": "none", "StartLimitBurst": "5", 
> "StartLimitInterval": "10000000", "StartupBlockIOWeight": 
> "18446744073709551615", "StartupCPUShares": "18446744073709551615", 
> "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", 
> "SyslogLevelPrefix": "yes", "SyslogPriority": "30", 
> "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", 
> "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": 
> "18446744073709551615", "TasksMax": "18446744073709551615", 
> "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", 
> "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", 
> "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": 
> "enabled", "WantedBy": "multi-user.target", "Wants": "system.slice", 
> "WatchdogTimestamp": "Fri 2017-09-22 08:05:49 PDT", 
> "WatchdogTimestampMonotonic": "57218077340", "WatchdogUSec": "0"}}
> ok: [192.168.1.2] => (item=chronyd) => {"changed": false, "enabled": 
> true, "item": "chronyd", "name": "chronyd", "status": 
> {"ActiveEnterTimestamp": "Fri 2017-09-22 15:04:50 PDT", 
> "ActiveEnterTimestampMonotonic": "139348506558", 
> "ActiveExitTimestamp": "Fri 2017-09-22 15:04:50 PDT", 
> "ActiveExitTimestampMonotonic": "139348424046", "ActiveState": 
> "active", "After": "ntpd.service sntp.service systemd-journald.socket 
> tmp.mount ntpdate.service -.mount system.slice basic.target 
> var.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", 
> "AssertResult": "yes", "AssertTimestamp": "Fri 2017-09-22 15:04:50 
> PDT", "AssertTimestampMonotonic": "139348447946", "Before": 
> "shutdown.target multi-user.target imgbase-config-vdsm.service", 
> "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", 
> "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", 
> "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", 
> "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", 
> "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": 
> "yes", "CapabilityBoundingSet": "18446744073709551615", 
> "ConditionResult": "yes", "ConditionTimestamp": "Fri 2017-09-22 
> 15:04:50 PDT", "ConditionTimestampMonotonic": "139348447884", 
> "Conflicts": "shutdown.target systemd-timesyncd.service ntpd.service", 
> "ControlGroup": "/system.slice/chronyd.service", "ControlPID": "0", 
> "DefaultDependencies": "yes", "Delegate": "no", "Description": "NTP 
> client/server", "DevicePolicy": "auto", "Documentation": 
> "man:chronyd(8) man:chrony.conf(5)", "EnvironmentFile": 
> "/etc/sysconfig/chronyd (ignore_errors=yes)", "ExecMainCode": "0", 
> "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10148", 
> "ExecMainStartTimestamp": "Fri 2017-09-22 15:04:50 PDT", 
> "ExecMainStartTimestampMonotonic": "139348474428", "ExecMainStatus": 
> "0", "ExecStart": "{ path=/usr/sbin/chronyd ; argv[]=/usr/sbin/chronyd 
> $OPTIONS ; ignore_errors=no ; start_time=[Fri 2017-09-22 15:04:50 PDT] 
> ; stop_time=[Fri 2017-09-22 15:04:50 PDT] ; pid=10146 ; code=exited ; 
> status=0 }", "ExecStartPost": "{ path=/usr/libexec/chrony-helper ; 
> argv[]=/usr/libexec/chrony-helper update-daemon ; ignore_errors=no ; 
> start_time=[Fri 2017-09-22 15:04:50 PDT] ; stop_time=[Fri 2017-09-22 
> 15:04:50 PDT] ; pid=10150 ; code=exited ; status=0 }", 
> "FailureAction": "none", "FileDescriptorStoreMax": "0", 
> "FragmentPath": "/usr/lib/systemd/system/chronyd.service", 
> "GuessMainPID": "yes", "IOScheduling": "0", "Id": "chronyd.service", 
> "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": 
> "yes", "InactiveEnterTimestamp": "Fri 2017-09-22 15:04:50 PDT", 
> "InactiveEnterTimestampMonotonic": "139348445639", 
> "InactiveExitTimestamp": "Fri 2017-09-22 15:04:50 PDT", 
> "InactiveExitTimestampMonotonic": "139348449304", "JobTimeoutAction": 
> "none", "JobTimeoutUSec": "0", "KillMode": "control-group", 
> "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": 
> "18446744073709551615", "LimitCPU": "18446744073709551615", 
> "LimitDATA": "18446744073709551615", "LimitFSIZE": 
> "18446744073709551615", "LimitLOCKS": "18446744073709551615", 
> "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", 
> "LimitNOFILE": "4096", "LimitNPROC": "62271", "LimitRSS": 
> "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": 
> "18446744073709551615", "LimitSIGPENDING": "62271", "LimitSTACK": 
> "18446744073709551615", "LoadState": "loaded", "MainPID": "10148", 
> "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", 
> "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": 
> "chronyd.service", "NeedDaemonReload": "no", "Nice": "0", 
> "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", 
> "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": 
> "/var/run/chronyd.pid", "PermissionsStartOnly": "no", 
> "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", 
> "ProtectHome": "yes", "ProtectSystem": "full", "RefuseManualStart": 
> "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": 
> "basic.target -.mount var.mount", "RequiresMountsFor": "/var/tmp", 
> "Restart": "no", "RestartUSec": "100ms", "Result": "success", 
> "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", 
> "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", 
> "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": 
> "inherit", "StandardInput": "null", "StandardOutput": "journal", 
> "StartLimitAction": "none", "StartLimitBurst": "5", 
> "StartLimitInterval": "10000000", "StartupBlockIOWeight": 
> "18446744073709551615", "StartupCPUShares": "18446744073709551615", 
> "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", 
> "SyslogLevelPrefix": "yes", "SyslogPriority": "30", 
> "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", 
> "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": 
> "18446744073709551615", "TasksMax": "18446744073709551615", 
> "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", 
> "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", 
> "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": 
> "enabled", "WantedBy": "multi-user.target", "Wants": "system.slice", 
> "WatchdogTimestamp": "Fri 2017-09-22 15:04:50 PDT", 
> "WatchdogTimestampMonotonic": "139348474458", "WatchdogUSec": "0"}}
> ok: [192.168.1.1] => (item=chronyd) => {"changed": false, "enabled": 
> true, "item": "chronyd", "name": "chronyd", "status": 
> {"ActiveEnterTimestamp": "Fri 2017-09-22 08:05:55 PDT", 
> "ActiveEnterTimestampMonotonic": "64535125522", "ActiveExitTimestamp": 
> "Fri 2017-09-22 08:05:54 PDT", "ActiveExitTimestampMonotonic": 
> "64535042941", "ActiveState": "active", "After": "ntpd.service 
> tmp.mount systemd-journald.socket system.slice sntp.service 
> basic.target var.mount ntpdate.service -.mount", "AllowIsolate": "no", 
> "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": 
> "Fri 2017-09-22 08:05:54 PDT", "AssertTimestampMonotonic": 
> "64535053307", "Before": "shutdown.target multi-user.target 
> imgbase-config-vdsm.service", "BlockIOAccounting": "no", 
> "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", 
> "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", 
> "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", 
> "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": 
> "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": 
> "18446744073709551615", "ConditionResult": "yes", 
> "ConditionTimestamp": "Fri 2017-09-22 08:05:54 PDT", 
> "ConditionTimestampMonotonic": "64535053202", "Conflicts": 
> "shutdown.target ntpd.service systemd-timesyncd.service", 
> "ControlGroup": "/system.slice/chronyd.service", "ControlPID": "0", 
> "DefaultDependencies": "yes", "Delegate": "no", "Description": "NTP 
> client/server", "DevicePolicy": "auto", "Documentation": 
> "man:chronyd(8) man:chrony.conf(5)", "EnvironmentFile": 
> "/etc/sysconfig/chronyd (ignore_errors=yes)", "ExecMainCode": "0", 
> "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9436", 
> "ExecMainStartTimestamp": "Fri 2017-09-22 08:05:55 PDT", 
> "ExecMainStartTimestampMonotonic": "64535083184", "ExecMainStatus": 
> "0", "ExecStart": "{ path=/usr/sbin/chronyd ; argv[]=/usr/sbin/chronyd 
> $OPTIONS ; ignore_errors=no ; start_time=[Fri 2017-09-22 08:05:54 PDT] 
> ; stop_time=[Fri 2017-09-22 08:05:55 PDT] ; pid=9434 ; code=exited ; 
> status=0 }", "ExecStartPost": "{ path=/usr/libexec/chrony-helper ; 
> argv[]=/usr/libexec/chrony-helper update-daemon ; ignore_errors=no ; 
> start_time=[Fri 2017-09-22 08:05:55 PDT] ; stop_time=[Fri 2017-09-22 
> 08:05:55 PDT] ; pid=9438 ; code=exited ; status=0 }", "FailureAction": 
> "none", "FileDescriptorStoreMax": "0", "FragmentPath": 
> "/usr/lib/systemd/system/chronyd.service", "GuessMainPID": "yes", 
> "IOScheduling": "0", "Id": "chronyd.service", "IgnoreOnIsolate": "no", 
> "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", 
> "InactiveEnterTimestamp": "Fri 2017-09-22 08:05:54 PDT", 
> "InactiveEnterTimestampMonotonic": "64535051400", 
> "InactiveExitTimestamp": "Fri 2017-09-22 08:05:54 PDT", 
> "InactiveExitTimestampMonotonic": "64535054635", "JobTimeoutAction": 
> "none", "JobTimeoutUSec": "0", "KillMode": "control-group", 
> "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": 
> "18446744073709551615", "LimitCPU": "18446744073709551615", 
> "LimitDATA": "18446744073709551615", "LimitFSIZE": 
> "18446744073709551615", "LimitLOCKS": "18446744073709551615", 
> "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", 
> "LimitNOFILE": "4096", "LimitNPROC": "14440", "LimitRSS": 
> "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": 
> "18446744073709551615", "LimitSIGPENDING": "14440", "LimitSTACK": 
> "18446744073709551615", "LoadState": "loaded", "MainPID": "9436", 
> "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", 
> "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": 
> "chronyd.service", "NeedDaemonReload": "no", "Nice": "0", 
> "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", 
> "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": 
> "/var/run/chronyd.pid", "PermissionsStartOnly": "no", 
> "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", 
> "ProtectHome": "yes", "ProtectSystem": "full", "RefuseManualStart": 
> "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": 
> "basic.target -.mount var.mount", "RequiresMountsFor": "/var/tmp", 
> "Restart": "no", "RestartUSec": "100ms", "Result": "success", 
> "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", 
> "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", 
> "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": 
> "inherit", "StandardInput": "null", "StandardOutput": "journal", 
> "StartLimitAction": "none", "StartLimitBurst": "5", 
> "StartLimitInterval": "10000000", "StartupBlockIOWeight": 
> "18446744073709551615", "StartupCPUShares": "18446744073709551615", 
> "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", 
> "SyslogLevelPrefix": "yes", "SyslogPriority": "30", 
> "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", 
> "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": 
> "18446744073709551615", "TasksMax": "18446744073709551615", 
> "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", 
> "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", 
> "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": 
> "enabled", "WantedBy": "multi-user.target", "Wants": "system.slice", 
> "WatchdogTimestamp": "Fri 2017-09-22 08:05:55 PDT", 
> "WatchdogTimestampMonotonic": "64535083221", "WatchdogUSec": "0"}}
> META: ran handlers
> META: ran handlers
>
> PLAY RECAP 
> ***********************************************************************************************************************************
> 192.168.1.1                : ok=1    changed=0    unreachable=0 failed=0
> 192.168.1.2                : ok=1    changed=0    unreachable=0 failed=0
> 192.168.1.3                : ok=1    changed=0    unreachable=0 failed=0
>
> Using /etc/ansible/ansible.cfg as config file
>
> PLAYBOOK: service_management.yml 
> *************************************************************************************************************
> 1 plays in /tmp/tmpaQJuTG/service_management.yml
>
> PLAY [gluster_servers] 
> ***********************************************************************************************************************
> META: ran handlers
>
> TASK [start/stop/restart/reload services] 
> ****************************************************************************************************
> task path: /tmp/tmpaQJuTG/service_management.yml:7
> changed: [192.168.1.3] => (item=chronyd) => {"changed": true, "item": 
> "chronyd", "name": "chronyd", "state": "started", "status": 
> {"ActiveEnterTimestamp": "Fri 2017-09-22 08:05:49 PDT", 
> "ActiveEnterTimestampMonotonic": "57218106256", "ActiveExitTimestamp": 
> "Fri 2017-09-22 08:05:49 PDT", "ActiveExitTimestampMonotonic": 
> "57218037256", "ActiveState": "active", "After": 
> "systemd-journald.socket var.mount tmp.mount ntpd.service -.mount 
> system.slice sntp.service basic.target ntpdate.service", 
> "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": 
> "yes", "AssertTimestamp": "Fri 2017-09-22 08:05:49 PDT", 
> "AssertTimestampMonotonic": "57218053902", "Before": 
> "multi-user.target imgbase-config-vdsm.service shutdown.target", 
> "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", 
> "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", 
> "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", 
> "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", 
> "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": 
> "yes", "CapabilityBoundingSet": "18446744073709551615", 
> "ConditionResult": "yes", "ConditionTimestamp": "Fri 2017-09-22 
> 08:05:49 PDT", "ConditionTimestampMonotonic": "57218053870", 
> "Conflicts": "shutdown.target systemd-timesyncd.service ntpd.service", 
> "ControlGroup": "/system.slice/chronyd.service", "ControlPID": "0", 
> "DefaultDependencies": "yes", "Delegate": "no", "Description": "NTP 
> client/server", "DevicePolicy": "auto", "Documentation": 
> "man:chronyd(8) man:chrony.conf(5)", "EnvironmentFile": 
> "/etc/sysconfig/chronyd (ignore_errors=yes)", "ExecMainCode": "0", 
> "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7300", 
> "ExecMainStartTimestamp": "Fri 2017-09-22 08:05:49 PDT", 
> "ExecMainStartTimestampMonotonic": "57218077328", "ExecMainStatus": 
> "0", "ExecStart": "{ path=/usr/sbin/chronyd ; argv[]=/usr/sbin/chronyd 
> $OPTIONS ; ignore_errors=no ; start_time=[Fri 2017-09-22 08:05:49 PDT] 
> ; stop_time=[Fri 2017-09-22 08:05:49 PDT] ; pid=7298 ; code=exited ; 
> status=0 }", "ExecStartPost": "{ path=/usr/libexec/chrony-helper ; 
> argv[]=/usr/libexec/chrony-helper update-daemon ; ignore_errors=no ; 
> start_time=[Fri 2017-09-22 08:05:49 PDT] ; stop_time=[Fri 2017-09-22 
> 08:05:49 PDT] ; pid=7302 ; code=exited ; status=0 }", "FailureAction": 
> "none", "FileDescriptorStoreMax": "0", "FragmentPath": 
> "/usr/lib/systemd/system/chronyd.service", "GuessMainPID": "yes", 
> "IOScheduling": "0", "Id": "chronyd.service", "IgnoreOnIsolate": "no", 
> "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", 
> "InactiveEnterTimestamp": "Fri 2017-09-22 08:05:49 PDT", 
> "InactiveEnterTimestampMonotonic": "57218052782", 
> "InactiveExitTimestamp": "Fri 2017-09-22 08:05:49 PDT", 
> "InactiveExitTimestampMonotonic": "57218054578", "JobTimeoutAction": 
> "none", "JobTimeoutUSec": "0", "KillMode": "control-group", 
> "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": 
> "18446744073709551615", "LimitCPU": "18446744073709551615", 
> "LimitDATA": "18446744073709551615", "LimitFSIZE": 
> "18446744073709551615", "LimitLOCKS": "18446744073709551615", 
> "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", 
> "LimitNOFILE": "4096", "LimitNPROC": "62043", "LimitRSS": 
> "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": 
> "18446744073709551615", "LimitSIGPENDING": "62043", "LimitSTACK": 
> "18446744073709551615", "LoadState": "loaded", "MainPID": "7300", 
> "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", 
> "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": 
> "chronyd.service", "NeedDaemonReload": "no", "Nice": "0", 
> "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", 
> "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": 
> "/var/run/chronyd.pid", "PermissionsStartOnly": "no", 
> "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", 
> "ProtectHome": "yes", "ProtectSystem": "full", "RefuseManualStart": 
> "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": 
> "basic.target -.mount var.mount", "RequiresMountsFor": "/var/tmp", 
> "Restart": "no", "RestartUSec": "100ms", "Result": "success", 
> "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", 
> "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", 
> "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": 
> "inherit", "StandardInput": "null", "StandardOutput": "journal", 
> "StartLimitAction": "none", "StartLimitBurst": "5", 
> "StartLimitInterval": "10000000", "StartupBlockIOWeight": 
> "18446744073709551615", "StartupCPUShares": "18446744073709551615", 
> "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", 
> "SyslogLevelPrefix": "yes", "SyslogPriority": "30", 
> "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", 
> "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": 
> "18446744073709551615", "TasksMax": "18446744073709551615", 
> "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", 
> "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", 
> "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": 
> "enabled", "WantedBy": "multi-user.target", "Wants": "system.slice", 
> "WatchdogTimestamp": "Fri 2017-09-22 08:05:49 PDT", 
> "WatchdogTimestampMonotonic": "57218077340", "WatchdogUSec": "0"}}
> changed: [192.168.1.2] => (item=chronyd) => {"changed": true, "item": 
> "chronyd", "name": "chronyd", "state": "started", "status": 
> {"ActiveEnterTimestamp": "Fri 2017-09-22 15:04:50 PDT", 
> "ActiveEnterTimestampMonotonic": "139348506558", 
> "ActiveExitTimestamp": "Fri 2017-09-22 15:04:50 PDT", 
> "ActiveExitTimestampMonotonic": "139348424046", "ActiveState": 
> "active", "After": "ntpd.service sntp.service systemd-journald.socket 
> tmp.mount ntpdate.service -.mount system.slice basic.target 
> var.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", 
> "AssertResult": "yes", "AssertTimestamp": "Fri 2017-09-22 15:04:50 
> PDT", "AssertTimestampMonotonic": "139348447946", "Before": 
> "shutdown.target multi-user.target imgbase-config-vdsm.service", 
> "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", 
> "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", 
> "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", 
> "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", 
> "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": 
> "yes", "CapabilityBoundingSet": "18446744073709551615", 
> "ConditionResult": "yes", "ConditionTimestamp": "Fri 2017-09-22 
> 15:04:50 PDT", "ConditionTimestampMonotonic": "139348447884", 
> "Conflicts": "shutdown.target systemd-timesyncd.service ntpd.service", 
> "ControlGroup": "/system.slice/chronyd.service", "ControlPID": "0", 
> "DefaultDependencies": "yes", "Delegate": "no", "Description": "NTP 
> client/server", "DevicePolicy": "auto", "Documentation": 
> "man:chronyd(8) man:chrony.conf(5)", "EnvironmentFile": 
> "/etc/sysconfig/chronyd (ignore_errors=yes)", "ExecMainCode": "0", 
> "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10148", 
> "ExecMainStartTimestamp": "Fri 2017-09-22 15:04:50 PDT", 
> "ExecMainStartTimestampMonotonic": "139348474428", "ExecMainStatus": 
> "0", "ExecStart": "{ path=/usr/sbin/chronyd ; argv[]=/usr/sbin/chronyd 
> $OPTIONS ; ignore_errors=no ; start_time=[Fri 2017-09-22 15:04:50 PDT] 
> ; stop_time=[Fri 2017-09-22 15:04:50 PDT] ; pid=10146 ; code=exited ; 
> status=0 }", "ExecStartPost": "{ path=/usr/libexec/chrony-helper ; 
> argv[]=/usr/libexec/chrony-helper update-daemon ; ignore_errors=no ; 
> start_time=[Fri 2017-09-22 15:04:50 PDT] ; stop_time=[Fri 2017-09-22 
> 15:04:50 PDT] ; pid=10150 ; code=exited ; status=0 }", 
> "FailureAction": "none", "FileDescriptorStoreMax": "0", 
> "FragmentPath": "/usr/lib/systemd/system/chronyd.service", 
> "GuessMainPID": "yes", "IOScheduling": "0", "Id": "chronyd.service", 
> "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": 
> "yes", "InactiveEnterTimestamp": "Fri 2017-09-22 15:04:50 PDT", 
> "InactiveEnterTimestampMonotonic": "139348445639", 
> "InactiveExitTimestamp": "Fri 2017-09-22 15:04:50 PDT", 
> "InactiveExitTimestampMonotonic": "139348449304", "JobTimeoutAction": 
> "none", "JobTimeoutUSec": "0", "KillMode": "control-group", 
> "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": 
> "18446744073709551615", "LimitCPU": "18446744073709551615", 
> "LimitDATA": "18446744073709551615", "LimitFSIZE": 
> "18446744073709551615", "LimitLOCKS": "18446744073709551615", 
> "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", 
> "LimitNOFILE": "4096", "LimitNPROC": "62271", "LimitRSS": 
> "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": 
> "18446744073709551615", "LimitSIGPENDING": "62271", "LimitSTACK": 
> "18446744073709551615", "LoadState": "loaded", "MainPID": "10148", 
> "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", 
> "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": 
> "chronyd.service", "NeedDaemonReload": "no", "Nice": "0", 
> "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", 
> "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": 
> "/var/run/chronyd.pid", "PermissionsStartOnly": "no", 
> "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", 
> "ProtectHome": "yes", "ProtectSystem": "full", "RefuseManualStart": 
> "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": 
> "basic.target -.mount var.mount", "RequiresMountsFor": "/var/tmp", 
> "Restart": "no", "RestartUSec": "100ms", "Result": "success", 
> "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", 
> "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", 
> "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": 
> "inherit", "StandardInput": "null", "StandardOutput": "journal", 
> "StartLimitAction": "none", "StartLimitBurst": "5", 
> "StartLimitInterval": "10000000", "StartupBlockIOWeight": 
> "18446744073709551615", "StartupCPUShares": "18446744073709551615", 
> "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", 
> "SyslogLevelPrefix": "yes", "SyslogPriority": "30", 
> "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", 
> "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": 
> "18446744073709551615", "TasksMax": "18446744073709551615", 
> "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", 
> "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", 
> "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": 
> "enabled", "WantedBy": "multi-user.target", "Wants": "system.slice", 
> "WatchdogTimestamp": "Fri 2017-09-22 15:04:50 PDT", 
> "WatchdogTimestampMonotonic": "139348474458", "WatchdogUSec": "0"}}
> changed: [192.168.1.1] => (item=chronyd) => {"changed": true, "item": 
> "chronyd", "name": "chronyd", "state": "started", "status": 
> {"ActiveEnterTimestamp": "Fri 2017-09-22 08:05:55 PDT", 
> "ActiveEnterTimestampMonotonic": "64535125522", "ActiveExitTimestamp": 
> "Fri 2017-09-22 08:05:54 PDT", "ActiveExitTimestampMonotonic": 
> "64535042941", "ActiveState": "active", "After": "ntpd.service 
> tmp.mount systemd-journald.socket system.slice sntp.service 
> basic.target var.mount ntpdate.service -.mount", "AllowIsolate": "no", 
> "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": 
> "Fri 2017-09-22 08:05:54 PDT", "AssertTimestampMonotonic": 
> "64535053307", "Before": "shutdown.target multi-user.target 
> imgbase-config-vdsm.service", "BlockIOAccounting": "no", 
> "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", 
> "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", 
> "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", 
> "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": 
> "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": 
> "18446744073709551615", "ConditionResult": "yes", 
> "ConditionTimestamp": "Fri 2017-09-22 08:05:54 PDT", 
> "ConditionTimestampMonotonic": "64535053202", "Conflicts": 
> "shutdown.target ntpd.service systemd-timesyncd.service", 
> "ControlGroup": "/system.slice/chronyd.service", "ControlPID": "0", 
> "DefaultDependencies": "yes", "Delegate": "no", "Description": "NTP 
> client/server", "DevicePolicy": "auto", "Documentation": 
> "man:chronyd(8) man:chrony.conf(5)", "EnvironmentFile": 
> "/etc/sysconfig/chronyd (ignore_errors=yes)", "ExecMainCode": "0", 
> "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9436", 
> "ExecMainStartTimestamp": "Fri 2017-09-22 08:05:55 PDT", 
> "ExecMainStartTimestampMonotonic": "64535083184", "ExecMainStatus": 
> "0", "ExecStart": "{ path=/usr/sbin/chronyd ; argv[]=/usr/sbin/chronyd 
> $OPTIONS ; ignore_errors=no ; start_time=[Fri 2017-09-22 08:05:54 PDT] 
> ; stop_time=[Fri 2017-09-22 08:05:55 PDT] ; pid=9434 ; code=exited ; 
> status=0 }", "ExecStartPost": "{ path=/usr/libexec/chrony-helper ; 
> argv[]=/usr/libexec/chrony-helper update-daemon ; ignore_errors=no ; 
> start_time=[Fri 2017-09-22 08:05:55 PDT] ; stop_time=[Fri 2017-09-22 
> 08:05:55 PDT] ; pid=9438 ; code=exited ; status=0 }", "FailureAction": 
> "none", "FileDescriptorStoreMax": "0", "FragmentPath": 
> "/usr/lib/systemd/system/chronyd.service", "GuessMainPID": "yes", 
> "IOScheduling": "0", "Id": "chronyd.service", "IgnoreOnIsolate": "no", 
> "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", 
> "InactiveEnterTimestamp": "Fri 2017-09-22 08:05:54 PDT", 
> "InactiveEnterTimestampMonotonic": "64535051400", 
> "InactiveExitTimestamp": "Fri 2017-09-22 08:05:54 PDT", 
> "InactiveExitTimestampMonotonic": "64535054635", "JobTimeoutAction": 
> "none", "JobTimeoutUSec": "0", "KillMode": "control-group", 
> "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": 
> "18446744073709551615", "LimitCPU": "18446744073709551615", 
> "LimitDATA": "18446744073709551615", "LimitFSIZE": 
> "18446744073709551615", "LimitLOCKS": "18446744073709551615", 
> "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", 
> "LimitNOFILE": "4096", "LimitNPROC": "14440", "LimitRSS": 
> "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": 
> "18446744073709551615", "LimitSIGPENDING": "14440", "LimitSTACK": 
> "18446744073709551615", "LoadState": "loaded", "MainPID": "9436", 
> "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", 
> "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": 
> "chronyd.service", "NeedDaemonReload": "no", "Nice": "0", 
> "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", 
> "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": 
> "/var/run/chronyd.pid", "PermissionsStartOnly": "no", 
> "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", 
> "ProtectHome": "yes", "ProtectSystem": "full", "RefuseManualStart": 
> "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": 
> "basic.target -.mount var.mount", "RequiresMountsFor": "/var/tmp", 
> "Restart": "no", "RestartUSec": "100ms", "Result": "success", 
> "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", 
> "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", 
> "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": 
> "inherit", "StandardInput": "null", "StandardOutput": "journal", 
> "StartLimitAction": "none", "StartLimitBurst": "5", 
> "StartLimitInterval": "10000000", "StartupBlockIOWeight": 
> "18446744073709551615", "StartupCPUShares": "18446744073709551615", 
> "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", 
> "SyslogLevelPrefix": "yes", "SyslogPriority": "30", 
> "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", 
> "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": 
> "18446744073709551615", "TasksMax": "18446744073709551615", 
> "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", 
> "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", 
> "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": 
> "enabled", "WantedBy": "multi-user.target", "Wants": "system.slice", 
> "WatchdogTimestamp": "Fri 2017-09-22 08:05:55 PDT", 
> "WatchdogTimestampMonotonic": "64535083221", "WatchdogUSec": "0"}}
> META: ran handlers
> META: ran handlers
>
> PLAY RECAP 
> ***********************************************************************************************************************************
> 192.168.1.1                : ok=1    changed=1    unreachable=0 failed=0
> 192.168.1.2                : ok=1    changed=1    unreachable=0 failed=0
> 192.168.1.3                : ok=1    changed=1    unreachable=0 failed=0
>
> Using /etc/ansible/ansible.cfg as config file
>
> PLAYBOOK: shell_cmd.yml 
> **********************************************************************************************************************
> 1 plays in /tmp/tmpaQJuTG/shell_cmd.yml
>
> PLAY [gluster_servers] 
> ***********************************************************************************************************************
> META: ran handlers
>
> TASK [Run a command in the shell] 
> ************************************************************************************************************
> task path: /tmp/tmpaQJuTG/shell_cmd.yml:7
> changed: [192.168.1.3] => (item=vdsm-tool configure --force) => 
> {"changed": true, "cmd": "vdsm-tool configure --force", "delta": 
> "0:00:00.666325", "end": "2017-09-22 08:13:13.528752", "item": 
> "vdsm-tool configure --force", "rc": 0, "start": "2017-09-22 
> 08:13:12.862427", "stderr": "", "stderr_lines": [], "stdout": 
> "\nChecking configuration status...\n\nabrt is already configured for 
> vdsm\nlvm is configured for vdsm\nlibvirt is already configured for 
> vdsm\nSUCCESS: ssl configured to true. No conflicts\nCurrent revision 
> of multipath.conf detected, preserving\n\nRunning 
> configure...\nReconfiguration of abrt is done.\nReconfiguration of 
> passwd is done.\nReconfiguration of libvirt is done.\n\nDone 
> configuring modules to VDSM.", "stdout_lines": ["", "Checking 
> configuration status...", "", "abrt is already configured for vdsm", 
> "lvm is configured for vdsm", "libvirt is already configured for 
> vdsm", "SUCCESS: ssl configured to true. No conflicts", "Current 
> revision of multipath.conf detected, preserving", "", "Running 
> configure...", "Reconfiguration of abrt is done.", "Reconfiguration of 
> passwd is done.", "Reconfiguration of libvirt is done.", "", "Done 
> configuring modules to VDSM."]}
> changed: [192.168.1.2] => (item=vdsm-tool configure --force) => 
> {"changed": true, "cmd": "vdsm-tool configure --force", "delta": 
> "0:00:02.812365", "end": "2017-09-22 15:12:16.320833", "item": 
> "vdsm-tool configure --force", "rc": 0, "start": "2017-09-22 
> 15:12:13.508468", "stderr": "", "stderr_lines": [], "stdout": 
> "\nChecking configuration status...\n\nabrt is already configured for 
> vdsm\nlvm is configured for vdsm\nlibvirt is already configured for 
> vdsm\nSUCCESS: ssl configured to true. No conflicts\nCurrent revision 
> of multipath.conf detected, preserving\n\nRunning 
> configure...\nReconfiguration of abrt is done.\nReconfiguration of 
> passwd is done.\nReconfiguration of libvirt is done.\n\nDone 
> configuring modules to VDSM.", "stdout_lines": ["", "Checking 
> configuration status...", "", "abrt is already configured for vdsm", 
> "lvm is configured for vdsm", "libvirt is already configured for 
> vdsm", "SUCCESS: ssl configured to true. No conflicts", "Current 
> revision of multipath.conf detected, preserving", "", "Running 
> configure...", "Reconfiguration of abrt is done.", "Reconfiguration of 
> passwd is done.", "Reconfiguration of libvirt is done.", "", "Done 
> configuring modules to VDSM."]}
> changed: [192.168.1.1] => (item=vdsm-tool configure --force) => 
> {"changed": true, "cmd": "vdsm-tool configure --force", "delta": 
> "0:00:02.004199", "end": "2017-09-22 08:13:18.078810", "item": 
> "vdsm-tool configure --force", "rc": 0, "start": "2017-09-22 
> 08:13:16.074611", "stderr": "", "stderr_lines": [], "stdout": 
> "\nChecking configuration status...\n\nabrt is already configured for 
> vdsm\nlvm is configured for vdsm\nlibvirt is already configured for 
> vdsm\nSUCCESS: ssl configured to true. No conflicts\nCurrent revision 
> of multipath.conf detected, preserving\n\nRunning 
> configure...\nReconfiguration of abrt is done.\nReconfiguration of 
> passwd is done.\nReconfiguration of libvirt is done.\n\nDone 
> configuring modules to VDSM.", "stdout_lines": ["", "Checking 
> configuration status...", "", "abrt is already configured for vdsm", 
> "lvm is configured for vdsm", "libvirt is already configured for 
> vdsm", "SUCCESS: ssl configured to true. No conflicts", "Current 
> revision of multipath.conf detected, preserving", "", "Running 
> configure...", "Reconfiguration of abrt is done.", "Reconfiguration of 
> passwd is done.", "Reconfiguration of libvirt is done.", "", "Done 
> configuring modules to VDSM."]}
> META: ran handlers
> META: ran handlers
>
> PLAY RECAP 
> ***********************************************************************************************************************************
> 192.168.1.1                : ok=1    changed=1    unreachable=0 failed=0
> 192.168.1.2                : ok=1    changed=1    unreachable=0 failed=0
> 192.168.1.3                : ok=1    changed=1    unreachable=0 failed=0
>
> Using /etc/ansible/ansible.cfg as config file
>
> PLAYBOOK: run-script.yml 
> *********************************************************************************************************************
> 1 plays in /tmp/tmpaQJuTG/run-script.yml
>
> PLAY [gluster_servers] 
> ***********************************************************************************************************************
> META: ran handlers
>
> TASK [Run a shell script] 
> ********************************************************************************************************************
> task path: /tmp/tmpaQJuTG/run-script.yml:7
> fatal: [192.168.1.3]: FAILED! => {"failed": true, "msg": "The 
> conditional check 'result.rc != 0' failed. The error was: error while 
> evaluating conditional (result.rc != 0): 'dict object' has no 
> attribute 'rc'"}
> fatal: [192.168.1.2]: FAILED! => {"failed": true, "msg": "The 
> conditional check 'result.rc != 0' failed. The error was: error while 
> evaluating conditional (result.rc != 0): 'dict object' has no 
> attribute 'rc'"}
> fatal: [192.168.1.1]: FAILED! => {"failed": true, "msg": "The 
> conditional check 'result.rc != 0' failed. The error was: error while 
> evaluating conditional (result.rc != 0): 'dict object' has no 
> attribute 'rc'"}
>     to retry, use: --limit @/tmp/tmpaQJuTG/run-script.retry
>
> PLAY RECAP 
> ***********************************************************************************************************************************
> 192.168.1.1                : ok=0    changed=0    unreachable=0 failed=1
> 192.168.1.2                : ok=0    changed=0    unreachable=0 failed=1
> 192.168.1.3                : ok=0    changed=0    unreachable=0 failed=1
>
> You can view the generated configuration files inside /tmp/tmpaQJuTG
>
>
> /tmp/tmpaQJuTG/run-script.yml is:
>
> ---
> - hosts: gluster_servers
>   remote_user: root
>   gather_facts: no
>
>   tasks:
>   - name: Run a shell script
>     script: "{{ item }}"
>     register: result
>     failed_when: result.rc != 0
>     with_items: "{{ script }}"
>
>
> /tmp/gdeployConfig.conf is:
>
> #gdeploy configuration generated by cockpit-gluster plugin
> [hosts]
> 192.168.1.1
> 192.168.1.2
> 192.168.1.3
>
> [script1]
> action=execute
> ignore_script_errors=no
> file=/usr/share/gdeploy/scripts/grafton-sanity-check.sh -d sdb -h 
> 192.168.1.1,192.168.1.2,192.168.1.3
>
> [disktype]
> raid6
>
> [diskcount]
> 12
>
> [stripesize]
> 256
>
> [service1]
> action=enable
> service=chronyd
>
> [service2]
> action=restart
> service=chronyd
>
> [shell2]
> action=execute
> command=vdsm-tool configure --force
>
> [script3]
> action=execute
> file=/usr/share/gdeploy/scripts/blacklist_all_disks.sh
> ignore_script_errors=no
>
> [pv1]
> action=create
> devices=sdb
> ignore_pv_errors=no
>
> [vg1]
> action=create
> vgname=gluster_vg_sdb
> pvname=sdb
> ignore_vg_errors=no
>
> [lv1]
> action=create
> poolname=gluster_thinpool_sdb
> ignore_lv_errors=no
> vgname=gluster_vg_sdb
> lvtype=thinpool
> size=1005GB
> poolmetadatasize=5GB
>
> [lv2]
> action=create
> lvname=gluster_lv_engine
> ignore_lv_errors=no
> vgname=gluster_vg_sdb
> mount=/gluster_bricks/engine
> size=100GB
> lvtype=thick
>
> [lv3]
> action=create
> lvname=gluster_lv_data
> ignore_lv_errors=no
> vgname=gluster_vg_sdb
> mount=/gluster_bricks/data
> lvtype=thinlv
> poolname=gluster_thinpool_sdb
> virtualsize=500GB
>
> [lv4]
> action=create
> lvname=gluster_lv_vmstore
> ignore_lv_errors=no
> vgname=gluster_vg_sdb
> mount=/gluster_bricks/vmstore
> lvtype=thinlv
> poolname=gluster_thinpool_sdb
> virtualsize=500GB
>
> [selinux]
> yes
>
> [service3]
> action=restart
> service=glusterd
> slice_setup=yes
>
> [firewalld]
> action=add
> ports=111/tcp,2049/tcp,54321/tcp,5900/tcp,5900-6923/tcp,5666/tcp,16514/tcp,54322/tcp 
>
> services=glusterfs
>
> [script2]
> action=execute
> file=/usr/share/gdeploy/scripts/disable-gluster-hooks.sh
>
> [shell3]
> action=execute
> command=usermod -a -G gluster qemu
>
> [volume1]
> action=create
> volname=engine
> transport=tcp
> replica=yes
> replica_count=3
> key=group,storage.owner-uid,storage.owner-gid,network.ping-timeout,performance.strict-o-direct,network.remote-dio,cluster.granular-entry-heal,features.shard-block-size 
>
> value=virt,36,36,30,on,off,enable,64MB
> brick_dirs=192.168.1.1:/gluster_bricks/engine/engine,192.168.1.2:/gluster_bricks/engine/engine,192.168.1.3:/gluster_bricks/engine/engine 
>
> ignore_volume_errors=no
>
> [volume2]
> action=create
> volname=data
> transport=tcp
> replica=yes
> replica_count=3
> key=group,storage.owner-uid,storage.owner-gid,network.ping-timeout,performance.strict-o-direct,network.remote-dio,cluster.granular-entry-heal,features.shard-block-size 
>
> value=virt,36,36,30,on,off,enable,64MB
> brick_dirs=192.168.1.1:/gluster_bricks/data/data,192.168.1.2:/gluster_bricks/data/data,192.168.1.3:/gluster_bricks/data/data 
>
> ignore_volume_errors=no
>
> [volume3]
> action=create
> volname=vmstore
> transport=tcp
> replica=yes
> replica_count=3
> key=group,storage.owner-uid,storage.owner-gid,network.ping-timeout,performance.strict-o-direct,network.remote-dio,cluster.granular-entry-heal,features.shard-block-size 
>
> value=virt,36,36,30,on,off,enable,64MB
> brick_dirs=192.168.1.1:/gluster_bricks/vmstore/vmstore,192.168.1.2:/gluster_bricks/vmstore/vmstore,192.168.1.3:/gluster_bricks/vmstore/vmstore 
>
> ignore_volume_errors=no
>



More information about the Users mailing list