Addition of hosts fail at network setup
by Paul-Erik Törrönen
Hello,
I'm attempting to add another host to the cluster, and I'm getting the
following error when I add the ovirtmgmt network to the physical network
device:
Error while executing action HostSetupNetworks: Unexpected exception
In the host vdsm.log I have the following:
2017-09-25 19:58:35,060+0300 ERROR (jsonrpc/4) [jsonrpc.JsonRpcServer]
Internal server error (__init__:577)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line
572, in _handle_request
res = method(**params)
File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 202,
in _dynamicMethod
result = fn(*methodArgs)
File "/usr/share/vdsm/API.py", line 1575, in setupNetworks
supervdsm.getProxy().setupNetworks(networks, bondings, options)
File "/usr/lib/python2.7/site-packages/vdsm/supervdsm.py", line 53, in
__call__
return callMethod()
File "/usr/lib/python2.7/site-packages/vdsm/supervdsm.py", line 51, in
<lambda>
**kwargs)
File "<string>", line 2, in setupNetworks
File "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in
_callmethod
raise convert_to_error(kind, result)
IOError: [Errno 2] No such file or directory:
u'/etc/sysconfig/network-scripts/ifcfg-ovirtmgmt'
2017-09-25 19:58:35,061+0300 INFO (jsonrpc/4) [jsonrpc.JsonRpcServer]
RPC call Host.setupNetworks failed (error -32603) in 0.18 seconds
(__init__:539)
I thought the ifcfg-ovirtmgmt-file was supposed to be created by the
ovirt setup?
I'm running the latest ovirt 4.1.6 on CentOS7.4 x86_64
(ovirt-release41-4.1.6-1.el7.centos.noarch).
Poltsi
7 years, 2 months
Clone of VM and copy of disks doubts
by Gianluca Cecchi
Hello,
I have a VM VM1 that I would like to clone.
It has 3 disks: 2 of them on storage domain SDA, 1 of them (size 80Gb) on a
second storage domain SDB
I want the new VM to have all the 3 disks on SDA, because SDB has not
enough space to accomodate the cloned disk
I power off VM1, select it and then "Clone VM". It seems I have no options
at all and that I can only specify the name of the new VM, while oVirt
would copy the VM with exactlly the same disks and so I receive error
Error while executing action:
VM2:
- Cannot add VM. Low disk space on Storage Domain SDB.
Is this expected? In case it seems not very flexible.
So I create a snapshot of VM1 and then "Clone". Inside the "Resource
Allocation" section, the drop-down for the 3 disks seems not enabled, in
the sense that for every disk it contains only the name of the origin SD,
so for 2 disks it contains SDA and no other SD to be chosen, for 1 disk it
contains SDB and no other SD to be chosen.
See here:
https://drive.google.com/file/d/0BwoPbcrMv8mvdFd0RFMzRXhmRzQ/view?usp=sha...
Can anyone replicate this in 4.1.5 to see if it is a problem of mine?
So as a last resource I decide to copy disk by disk.
Apparently my VM1 disk in SDB is preallocated: at least this is what I see
if I select VM1, Snapshots, select the "Current" line (it is the only oe as
therer are no snapshots), "DIsks" in right subpane
See here for screenshot:
https://drive.google.com/file/d/0BwoPbcrMv8mvclV5bDdsdE9Ubmc/view?usp=sha...
Any more comfortable and correct way from web admin gui to see disk type?
When I copy the disk it seems it tries to create a thin provisioned disk
and it takes about 4 hours to copy 80Gb of disks from SSD to SAS SD with
very few I/O activity on hypervisor in the mean time (I have only one node
in this test)
when I would expect around 40minutes with a throughput of at elast 40MB/s
with a sort of dd as the cemu-img command should be... instead the command
I see from command line is kind of
/usr/bin/qemu-img convert -p -t none -T none -f qcow2
/rhev/data-center/59b7af54-0155-01c2-0248-000000000195/70411599-c19f-4a6a-80b5-abdeffc1616e/images/3d357b96-57e1-47bd-be65-558252a591d3/77ba5e2b-dfbe-4801-b5ec-dc9ffae2c481
-O qcow2 -o compat=1.1
/rhev/data-center/mnt/blockSD/fad05d79-254d-4f40-8201-360757128ede/images/73292653-f5d9-49ae-8132-f17d288bf822/deb4b841-95cd-4523-9523-f2ffdbb9b4a9
Also, if get this VM and create a snapshot of it I see this:
- starting point all the 3 disks seem preallocated (same method as above)
- after creating a snapshot, if I select the "Current" line the 3 disks are
all thin-provision, if I select the line of the taken snapshot instead the
disks are all preallocated.
Any comments or suggestions about the points above?
Thanks,
Gianluca
7 years, 2 months
Snapshot removal vs selinux enforced
by Lionel Caignec
Hi,
i have a problem with selinux enforced.
When i tried to live remove a snapshot the operation failed . After some headache i found the problem source : selinux.
When i "setenfore 0" the removal task work, when i "setenforce 1" removal task failed.
log from audit.log:
vc: denied {write} for pid = 28360 tmptext = system_u: object_r : fixed_disk_device_t: s0 tclass = blk_file
I'm with RHEL 7.4 and ovirt 4.1, is it some specific configuration to do?.
Thanks for help.
7 years, 2 months
Failed gdeploy
by Sean McMurray
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
7 years, 2 months
API Snapshot removal ending event
by Lionel Caignec
Hi,
For snap creation i use a loop like this to know when task is finished:
> snap = snapshots_service.add(types.Snapshot(description=description,
persist_memorystate=False))
> snap_service = snapshots_service.snapshot_service(snap.id)
> while snap.snapshot_status != types.SnapshotStatus.OK:
is it possible to do the same think for snap deletion? i did not find anything in api doc.
Thank you
--
Lionel
7 years, 2 months
Restoring from backup
by Tyson Landon
The final setup in restoring a backup has you run engine-setup. When I try to run engine-setup I get "[ ERROR ] Failed to execute stage 'Setup validation': Hosted Engine setup detected, but Global Maintenance is not set." I am in Global Maintenance mode however. If I exit Global Maintenance the hosted engine reboots every few minutes and it fails liveliness checks. Is there a service i have to stop so that the setup wont think HA is running?
7 years, 2 months
update to centos 7.4
by Nathanaël Blanchet
Hi all,
Now centos 7.4 is available, is it recommanted to update nodes (and
engine os) knowing that ovirt 4.1 is officially supported for 7.3 or later?
--
Nathanaël Blanchet
Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
blanchet(a)abes.fr
7 years, 2 months
SSLHandshakeException: Received fatal alert: certificate_expired
by Neil
Hi guys,
Please could someone assist, my cluster is down and I can't access my vm's
to switch some of them back on.
I'm seeing the following error in the engine.log however I've checked my
certs on my hosts (as some of the goolge results said to check), but the
certs haven't expired...
2017-09-21 15:09:45,077 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
(DefaultQuartzScheduler_Worker-4) Command
GetCapabilitiesVDSCommand(HostName = node02.mydomain.za, HostId =
d2debdfe-76e7-40cf-a7fd-78a0f50f14d4, vds=Host[node02.mydomain.za])
execution failed. Exception: VDSNetworkException:
javax.net.ssl.SSLHandshakeException: Received fatal alert:
certificate_expired
2017-09-21 15:09:45,086 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
(DefaultQuartzScheduler_Worker-10) Command
GetCapabilitiesVDSCommand(HostName = node01.mydomain.za, HostId =
b108549c-1700-11e2-b936-9f5243b8ce13, vds=Host[node01.mydomain.za])
execution failed. Exception: VDSNetworkException:
javax.net.ssl.SSLHandshakeException: Received fatal alert:
certificate_expired
2017-09-21 15:09:48,173 ERROR
My engine and host info is below...
[root@engine01 ovirt-engine]# rpm -qa | grep -i ovirt
ovirt-engine-lib-3.4.0-1.el6.noarch
ovirt-engine-restapi-3.4.0-1.el6.noarch
ovirt-engine-setup-plugin-ovirt-engine-3.4.0-1.el6.noarch
ovirt-engine-3.4.0-1.el6.noarch
ovirt-engine-setup-plugin-websocket-proxy-3.4.0-1.el6.noarch
ovirt-host-deploy-java-1.2.0-1.el6.noarch
ovirt-engine-setup-3.4.0-1.el6.noarch
ovirt-host-deploy-1.2.0-1.el6.noarch
ovirt-engine-backend-3.4.0-1.el6.noarch
ovirt-image-uploader-3.4.0-1.el6.noarch
ovirt-engine-tools-3.4.0-1.el6.noarch
ovirt-engine-sdk-python-3.4.0.7-1.el6.noarch
ovirt-engine-webadmin-portal-3.4.0-1.el6.noarch
ovirt-engine-cli-3.4.0.5-1.el6.noarch
ovirt-engine-setup-base-3.4.0-1.el6.noarch
ovirt-iso-uploader-3.4.0-1.el6.noarch
ovirt-engine-userportal-3.4.0-1.el6.noarch
ovirt-log-collector-3.4.1-1.el6.noarch
ovirt-engine-websocket-proxy-3.4.0-1.el6.noarch
ovirt-engine-setup-plugin-ovirt-engine-common-3.4.0-1.el6.noarch
ovirt-engine-dbscripts-3.4.0-1.el6.noarch
[root@engine01 ovirt-engine]# cat /etc/redhat-release
CentOS release 6.5 (Final)
[root@node02 ~]# openssl x509 -in /etc/pki/vdsm/certs/vdsmcert.pem -enddate
-noout ; date
notAfter=May 27 08:36:17 2019 GMT
Thu Sep 21 15:18:22 SAST 2017
CentOS release 6.5 (Final)
[root@node02 ~]# rpm -qa | grep vdsm
vdsm-4.14.6-0.el6.x86_64
vdsm-python-4.14.6-0.el6.x86_64
vdsm-cli-4.14.6-0.el6.noarch
vdsm-xmlrpc-4.14.6-0.el6.noarch
vdsm-python-zombiereaper-4.14.6-0.el6.noarch
[root@node01 ~]# openssl x509 -in /etc/pki/vdsm/certs/vdsmcert.pem -enddate
-noout ; date
notAfter=Jun 13 16:09:41 2018 GMT
Thu Sep 21 15:18:52 SAST 2017
CentOS release 6.5 (Final)
[root@node01 ~]# rpm -qa | grep -i vdsm
vdsm-4.14.6-0.el6.x86_64
vdsm-xmlrpc-4.14.6-0.el6.noarch
vdsm-cli-4.14.6-0.el6.noarch
vdsm-python-zombiereaper-4.14.6-0.el6.noarch
vdsm-python-4.14.6-0.el6.x86_64
Please could I have some assistance, I'm rater desperate.
Thank you.
Regards.
Neil Wilson
7 years, 2 months