hi Yanirthis is my vdsm.log  vdsm run prepareForShutdown lead to engine VM 
shudown? why shutdown engine VM,when deploy hosted engine? thanks
2018-05-27 18:24:16,020+0800 INFO  (MainThread) [vds] Received signal 15, 
shutting down (vdsmd:67)2018-05-27 18:24:21,028+0800 INFO  (MainThread) 
[jsonrpc.JsonRpcServer] Stopping JsonRPC Server (__init__:703)2018-05-27 
18:24:21,030+0800 INFO  (MainThread) [vds] Stopping http server 
(http:79)2018-05-27 18:24:21,030+0800 INFO  (http) [vds] Server stopped 
(http:69)2018-05-27 18:24:21,031+0800 INFO  (MainThread) [root] Unregistering 
all secrets (secret:91)2018-05-27 18:24:21,031+0800 INFO  (MainThread) [vds] 
Stopping QEMU-GA poller (qemuguestagent:116)2018-05-27 18:24:21,032+0800 INFO  
(MainThread) [vdsm.api] START prepareForShutdown(options=None) from=internal, 
task_id=d3137135-e4f8-44ef-ac4c-d1687606fb02 (api:46)2018-05-27 
18:24:21,094+0800 INFO  (MainThread) [storage.Monitor] Shutting down domain 
monitors (monitor:222)2018-05-27 18:24:21,094+0800 INFO  (MainThread) 
[storage.check] Stopping check service (check:104)2018-05-27 18:24:21,094+0800 
INFO  (check/loop) [storage.asyncevent] Stopping <EventLoop running=True 
closed=False at 0x43126736> (asyncevent:220)
----- Original Message -----
From: <dhy...@sina.com>
To: "Yanir Quinn" <yqu...@redhat.com>
Cc: users <users@ovirt.org>
Subject: [ovirt-users] Re: hosted engine setup error
Date: 2018-05-27 18:51

thanks, I find when hosted-engine -deloy run  [Get ovirtmgmt route table id], 
my engine VM is shutdown,and /var/log/message show my engine vm is powered down 
by guest-shutdown,[ INFO  ] TASK [Get ovirtmgmt route table id][ ERROR ] fatal: 
[localhost]: FAILED! => {"attempts": 50, "changed": true, "cmd": "ip rule list 
| grep ovirtmgmt | sed s/\\\\[.*\\\\]\\ //g | awk '{ print $9 }'", "delta": 
"0:00:00.004175", "end": "2018-05-26 17:41:11.892218", "rc": 0, "start": 
"2018-05-26 17:41:11.888043", "stderr": "", "stderr_lines": [], "stdout": "", 
"stdout_lines": []}[ ERROR ] Failed to execute stage 'Closing up': Failed 
executing ansible-playbook[ INFO  ] Stage: Clean up[ INFO  ] Cleaning temporary 
resources[ INFO  ] TASK [Gathering Facts][ INFO  ] ok: [localhost][ INFO  ] 
TASK [Remove local vm dir]
/var/log/message
May 26 09:32:23 engine systemd: Reloading.May 26 09:32:24 engine python: 
ansible-file Invoked with directory_mode=None force=False remote_src=None 
path=/root/heanswers.conf owner=None follow=False group=None unsafe_writes=None 
state=absent content=NOT_LOGGING_PARAMETER serole=None diff_peek=None 
setype=None selevel=None original_basename=None regexp=None validate=None 
src=None seuser=None recurse=False delimiter=None mode=None attributes=None 
backup=NoneMay 26 09:32:38 engine systemd-logind: Removed session 3.May 26 
09:32:48 engine qemu-ga: info: guest-shutdown called, mode: powerdownMay 26 
09:32:48 engine systemd: Started Delayed Shutdown Service.May 26 09:32:48 
engine systemd: Starting Delayed Shutdown Service...May 26 09:32:48 engine 
systemd-shutdownd: Shutting down at Sat 2018-05-26 17:32:48 CST 
(poweroff)...May 26 09:32:48 engine systemd-shutdownd: Creating /run/nologin, 
blocking further logins...May 26 09:32:48 engine systemd: Stopping QEMU Guest 
Agent...May 26 09:32:48 engine systemd: Stopping Session 1 of user root.May 26 
09:32:48 engine systemd: Stopped target Multi-User System.May 26 09:32:48 
engine systemd: Stopping Multi-User System.May 26 09:32:48 engine systemd: 
Stopped Execute cloud user/final scripts.May 26 09:32:48 engine systemd: 
Stopping Execute cloud user/final scripts...May 26 09:32:48 engine systemd: 
Stopping oVirt Engine...May 26 09:32:48 engine sshd[24523]: Received signal 15; 
terminating.May 26 09:32:48 engine systemd: Stopping OpenSSH server 
daemon...May 26 09:32:48 engine systemd: Stopping The Apache HTTP 
Server...----- Original Message -----
From: Yanir Quinn <yqu...@redhat.com>
To: dhy...@sina.com
Cc: users <users@ovirt.org>
Subject: Re: Re: [ovirt-users] hosted engine setup error
Date: 2018-05-27 16:46

According to BZ : https://bugzilla.redhat.com/show_bug.cgi?id=1540451#c19you 
should retry with a newer kernel >= -851  if possible .If you still get the 
error please provide full setup and vdsm logs. 



On Fri, May 25, 2018 at 11:54 AM,  <dhy...@sina.com> wrote:
Hi thanks for your reponse, I try to do by your guide, but it is not work. my 
kernel version is 3.10.0-693.11.1.el7.x86_64.besides, I try to do hosted-engine 
--deploy in my Virtual machine is work. but it is not work in Physical Machine

----- Original Message -----
From: Yanir Quinn <yqu...@redhat.com>
To: dhy...@sina.com
Cc: users <users@ovirt.org>
Subject: Re: [ovirt-users] hosted engine setup error
Date: 2018-05-24 18:35

Hi
There is a BZ with a similar issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1546839

To sum things up,  try stopping the network manager and restarting your network 
if you are using a RH distribution, e,g. :
systemctl stop NetworkManager
systemctl restart networkAnd check what is your kernel version. 


On Wed, May 23, 2018 at 5:03 PM,  <dhy...@sina.com> wrote:
hiI deploy ovirt-engine-4.2.2 hosted-engine by #hosted-engine --deploy, but 
face some error bridge ovirtmgmt is not configure, i should how to do? thanks

[ INFO  ] TASK [Get ovirtmgmt route table id][ ERROR ] fatal: [localhost]: 
FAILED! => {"attempts": 50, "changed": true, "cmd": "ip rule list | grep 
ovirtmgmt | sed s/\\\\[.*\\\\]\\ //g | awk '{ print $9 }'", "delta": 
"0:00:00.010899", "end": "2018-05-23 20:03:21.222559", "rc": 0, "start": 
"2018-05-23 20:03:21.211660", "stderr": "", "stderr_lines": [], "stdout": "", 
"stdout_lines": []}[ ERROR ] Failed to execute stage 'Closing up': Failed 
executing ansible-playbook[ INFO  ] Stage: Clean up[ INFO  ] Cleaning temporary 
resources

vdsm.log
2018-05-23 19:55:15,305+0800 INFO  (vm/bfc6f7cf) [virt.vm] 
(vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') VM wrapper has started 
(vm:2619)2018-05-23 19:55:15,454+0800 INFO  (vm/bfc6f7cf) [virt.vm] 
(vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') Starting connection 
(guestagent:245)2018-05-23 19:55:15,458+0800 ERROR (vm/bfc6f7cf) [virt.vm] 
(vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') Failed to connect to guest agent 
channel (vm:2403)Traceback (most recent call last):  File 
"/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2401, in 
_vmDependentInit    self.guestAgent.start()  File 
"/usr/lib/python2.7/site-packages/vdsm/virt/guestagent.py", line 246, in start  
  self._prepare_socket()  File 
"/usr/lib/python2.7/site-packages/vdsm/virt/guestagent.py", line 288, in 
_prepare_socket    supervdsm.getProxy().prepareVmChannel(self._socketName)  
File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line 55, in 
__call__    return callMethod()  File 
"/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line 53, in 
<lambda>    **kwargs)  File "<string>", line 2, in prepareVmChannel  File 
"/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in _callmethod    
raise convert_to_error(kind, result)OSError: [Errno 2] No such file or 
directory: 
'/var/lib/libvirt/qemu/channels/bfc6f7cf-3e8d-4368-97f8-78a5c74a5175.com.redhat.rhevm.vdsm'2018-05-23
 19:55:15,480+0800 INFO  (vm/bfc6f7cf) [virt.vm] 
(vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') CPU running: domain 
initialization (vm:5908)
[root@hosted-engine-test1 ~]# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 
qdisc noqueue state UNKNOWN qlen 1    link/loopback 00:00:00:00:00:00 brd 
00:00:00:00:00:00    inet 127.0.0.1/8 scope host lo       valid_lft forever 
preferred_lft forever    inet6 ::1/128 scope host        valid_lft forever 
preferred_lft forever2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc 
pfifo_fast state UP qlen 1000    link/ether 52:54:00:6c:ee:a8 brd 
ff:ff:ff:ff:ff:ff    inet 192.168.122.217/24 brd 192.168.122.255 scope global 
dynamic eth0       valid_lft 2936sec preferred_lft 2936sec    inet6 
fe80::834a:9cc1:df2:83f/64 scope link        valid_lft forever preferred_lft 
forever18: ;vdsmdummy;: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN 
qlen 1000    link/ether 9a:d1:bc:96:cc:c0 brd ff:ff:ff:ff:ff:ff19: virbr0: 
<NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN qlen 1000 
   link/ether 52:54:00:55:06:26 brd ff:ff:ff:ff:ff:ff    inet 192.168.124.1/24 
brd 192.168.124.255 scope global virbr0       valid_lft forever preferred_lft 
forever20: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master 
virbr0 state DOWN qlen 1000    link/ether 52:54:00:55:06:26 brd 
ff:ff:ff:ff:ff:ff





_______________________________________________

Users mailing list -- users@ovirt.org

To unsubscribe send an email to users-le...@ovirt.org








_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org

Reply via email to