[ovirt-users] write a PopupWidget for Web UI

2018-06-07 Thread dhy336
Hi,I write a web UI in oVirt engine, write a  EntityModelDateTimeBoxEditor in 
my PopupWidget. But my calendar not to select a day. I  want to select.
source is :
 53 @UiField(provided = true) 54 @Path(value = "validDate.entity") 55   
  @WithElementId("validDate") 56 EntityModelDateTimeBoxEditor 
validDateEditor; 57 

 72 private void initEditors() { 73 ¦   
log.info("initEditors==="); //$NON-NLS-1$users 
74  75 ¦   validDateEditor = new EntityModelDateTimeBoxEditor(); 76 ¦   
validDateEditor.getContentWidget().setDateTimeFormat("-MM-dd"); 
//$NON-NLS-1$users 77 ¦   validDateEditor.getContentWidget().setValue(new 
Date()); 78 ¦   validDateEditor.getContentWidget().showDateOnly(); 79 ¦ 
  validDateEditor.getContentWidget().setEnabled(true); 80  81 ¦}
can you give me some advise? 


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SI23C6XMBWRTC5KTURTO4TJGGOSG6EDN/


[ovirt-users] Re: engine UI add user failed

2018-06-04 Thread dhy336
hi,I already write a UI plugin, But do not how to  use the ovirt-aaa-jdbc-tool? 
i find  I do not call shell in javascript, can you give me some advise?- 
Original Message -
From: Andrej Krejcir 
To: dhy...@sina.com
Cc: users 
Subject: Re: Re: [ovirt-users] engine UI add user failed
Date: 2018-06-01 20:04

The UI supports plugins. So you could maybe write a plugin, that would then use 
the ovirt-aaa-jdbc-tool.
I don't know much about UI plugins, but here is some 
info:https://www.ovirt.org/documentation/admin-guide/appe-oVirt_User_Interface_Plugins/

On 1 June 2018 at 13:46,   wrote:
Hi,why don't add a function that create usres using the web UI,  has the engine 
API for create users in web UI
we want to create users using the web ui, can you give me some advise?- 
Original Message -
From: Andrej Krejcir 
To: dhy...@sina.com
Cc: users 
Subject: Re: [ovirt-users] engine UI add user failed
Date: 2018-06-01 17:22

Hi, 
Users are not created using the UI. Ovirt can be connected to various external 
user domains.The UI can then be used to assign permissions to existing users or 
groups.
Here is the 
documentation:https://www.ovirt.org/documentation/admin-guide/chap-Users_and_Roles/
The 'ovirt-aaa-jdbc-tool' can be used to create users locally.

Andrej
On 1 June 2018 at 09:46,   wrote:
Hi I want to add user by engine UI,but failed.  is it need other soft package, 
or should I do ?
___

Users mailing list -- users@ovirt.org

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

Privacy Statement: https://www.ovirt.org/site/privacy-policy/

oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/

List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/E37HA64XX7ZPJGI4E4K6R3TSMXOMGAXB/








___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SRIYDRRUHZEJBAUUJHEJYXB3DFLA7HB4/


[ovirt-users] Re: engine UI add user failed

2018-06-04 Thread dhy336
Hi Andrejthanks,could i compile  ovirt-engnie-extension-aaa-jdbc as a jar, I 
call i by gwt to add "add users" web UI?- Original Message -
From: Andrej Krejcir 
To: dhy...@sina.com
Cc: users 
Subject: Re: Re: [ovirt-users] engine UI add user failed
Date: 2018-06-01 20:04

The UI supports plugins. So you could maybe write a plugin, that would then use 
the ovirt-aaa-jdbc-tool.
I don't know much about UI plugins, but here is some 
info:https://www.ovirt.org/documentation/admin-guide/appe-oVirt_User_Interface_Plugins/

On 1 June 2018 at 13:46,   wrote:
Hi,why don't add a function that create usres using the web UI,  has the engine 
API for create users in web UI
we want to create users using the web ui, can you give me some advise?- 
Original Message -
From: Andrej Krejcir 
To: dhy...@sina.com
Cc: users 
Subject: Re: [ovirt-users] engine UI add user failed
Date: 2018-06-01 17:22

Hi, 
Users are not created using the UI. Ovirt can be connected to various external 
user domains.The UI can then be used to assign permissions to existing users or 
groups.
Here is the 
documentation:https://www.ovirt.org/documentation/admin-guide/chap-Users_and_Roles/
The 'ovirt-aaa-jdbc-tool' can be used to create users locally.

Andrej
On 1 June 2018 at 09:46,   wrote:
Hi I want to add user by engine UI,but failed.  is it need other soft package, 
or should I do ?
___

Users mailing list -- users@ovirt.org

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

Privacy Statement: https://www.ovirt.org/site/privacy-policy/

oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/

List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/E37HA64XX7ZPJGI4E4K6R3TSMXOMGAXB/








___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PO55UBXPNCM7FLVFCIBWBYQWSN3C4CBV/


[ovirt-users] Re: engine UI add user failed

2018-06-01 Thread dhy336
hi Andrejthanks very much.- Original Message -
From: Andrej Krejcir 
To: dhy...@sina.com
Cc: users 
Subject: Re: [ovirt-users] engine UI add user failed
Date: 2018-06-01 17:22

Hi, 
Users are not created using the UI. Ovirt can be connected to various external 
user domains.The UI can then be used to assign permissions to existing users or 
groups.
Here is the 
documentation:https://www.ovirt.org/documentation/admin-guide/chap-Users_and_Roles/
The 'ovirt-aaa-jdbc-tool' can be used to create users locally.

Andrej
On 1 June 2018 at 09:46,   wrote:
Hi I want to add user by engine UI,but failed.  is it need other soft package, 
or should I do ?
___

Users mailing list -- users@ovirt.org

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

Privacy Statement: https://www.ovirt.org/site/privacy-policy/

oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/

List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/E37HA64XX7ZPJGI4E4K6R3TSMXOMGAXB/





___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/5VSKZU3UKDBQSNEHMKONKBXBF6LK7OCN/


[ovirt-users] engine UI add user failed

2018-06-01 Thread dhy336
Hi I want to add user by engine UI,but failed.  is it need other soft package, 
or should I do ?___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/E37HA64XX7ZPJGI4E4K6R3TSMXOMGAXB/


[ovirt-users] second deploy hosted engine, engine VM is shut dwon

2018-05-28 Thread dhy336
HiI first deploy hosted engine is failed, then deploy hosted engine, after 
ansible run "name: Add host ovirt_hosts:"(bootstrap_local_vm.yml), engine VM is 
shut dwon, why to shutown engine VM?___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Q6FOBLUAV46IRPJYSRBKZFGTPW4CT4LN/


[ovirt-users] Re: hosted engine setup error

2018-05-27 Thread dhy336
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  (asyncevent:220)
- Original Message -
From: 
To: "Yanir Quinn" 
Cc: users 
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 
To: dhy...@sina.com
Cc: users 
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,   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 
To: dhy...@sina.com
Cc: users 
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. 



[ovirt-users] Re: hosted engine setup error

2018-05-27 Thread dhy336
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 
To: dhy...@sina.com
Cc: users 
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,   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 
To: dhy...@sina.com
Cc: users 
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,   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 
_vmDependentInitself.guestAgent.start()  File 

[ovirt-users] hosted engine deploy failed , engine vm is shudown

2018-05-26 Thread dhy336
Hi I deploy hosted engine face some errors.[ 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]
I find when hosted-engine -deloy run  [Get ovirtmgmt route table id], my 
enginen VM is shutdown,and /var/log/message show my engine vm is powered down 
by guest-shutdown,
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...



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


[ovirt-users] Re: hosted engine setup error

2018-05-25 Thread dhy336
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 
To: dhy...@sina.com
Cc: users 
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,   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 
_vmDependentInitself.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_socketsupervdsm.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 
**kwargs)  File "", 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:  mtu 65536 
qdisc noqueue state UNKNOWN qlen 1link/loopback 00:00:00:00:00:00 brd 
00:00:00:00:00:00inet 127.0.0.1/8 scope host lo   valid_lft forever 
preferred_lft foreverinet6 ::1/128 scope hostvalid_lft forever 
preferred_lft forever2: eth0:  mtu 1500 qdisc 
pfifo_fast state UP qlen 1000link/ether 52:54:00:6c:ee:a8 brd 
ff:ff:ff:ff:ff:ffinet 192.168.122.217/24 brd 192.168.122.255 scope global 
dynamic eth0   valid_lft 2936sec preferred_lft 2936secinet6 
fe80::834a:9cc1:df2:83f/64 scope linkvalid_lft forever preferred_lft 
forever18: ;vdsmdummy;:  mtu 1500 qdisc noop state DOWN 
qlen 1000link/ether 9a:d1:bc:96:cc:c0 brd ff:ff:ff:ff:ff:ff19: virbr0: 
 mtu 1500 qdisc noqueue state DOWN qlen 1000 
   link/ether 52:54:00:55:06:26 brd ff:ff:ff:ff:ff:ffinet 192.168.124.1/24 
brd 192.168.124.255 scope global virbr0   valid_lft forever preferred_lft 
forever20: virbr0-nic:  mtu 1500 qdisc pfifo_fast master 
virbr0 state DOWN qlen 1000link/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


[ovirt-users] hosted engine setup error

2018-05-23 Thread dhy336
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 
_vmDependentInitself.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_socketsupervdsm.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 
**kwargs)  File "", 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:  mtu 65536 
qdisc noqueue state UNKNOWN qlen 1link/loopback 00:00:00:00:00:00 brd 
00:00:00:00:00:00inet 127.0.0.1/8 scope host lo   valid_lft forever 
preferred_lft foreverinet6 ::1/128 scope hostvalid_lft forever 
preferred_lft forever2: eth0:  mtu 1500 qdisc 
pfifo_fast state UP qlen 1000link/ether 52:54:00:6c:ee:a8 brd 
ff:ff:ff:ff:ff:ffinet 192.168.122.217/24 brd 192.168.122.255 scope global 
dynamic eth0   valid_lft 2936sec preferred_lft 2936secinet6 
fe80::834a:9cc1:df2:83f/64 scope linkvalid_lft forever preferred_lft 
forever18: ;vdsmdummy;:  mtu 1500 qdisc noop state DOWN 
qlen 1000link/ether 9a:d1:bc:96:cc:c0 brd ff:ff:ff:ff:ff:ff19: virbr0: 
 mtu 1500 qdisc noqueue state DOWN qlen 1000 
   link/ether 52:54:00:55:06:26 brd ff:ff:ff:ff:ff:ffinet 192.168.124.1/24 
brd 192.168.124.255 scope global virbr0   valid_lft forever preferred_lft 
forever20: virbr0-nic:  mtu 1500 qdisc pfifo_fast master 
virbr0 state DOWN qlen 1000link/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


[ovirt-users] Re: hosted-engine ovirt-engine server not run

2018-05-22 Thread dhy336
Hi SimoneI debug my hosted engine, i find my engine block in class 
InitBackendServicesOnStartupBean -> serviceLoader.load(HostDeviceManager.class);
I should how to dubug it? thanks- Original Message -
From: 
To: "Simone Tiraboschi" 
Cc: users 
Subject: [ovirt-users] Re: hosted-engine ovirt-engine server not run
Date: 2018-05-22 15:07

hi, I try to run my engine, if engine is good run, it has more log info in 
engine.log than bad run.my bad run engine log miss some info,  I should how to 
dubug this issue?
2018-05-21 17:35:43,446+08 INFO  
[org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand] 
(EE-ManagedThreadFactory-engine-Thread-1) [6ced2adb] Running command: 
RefreshHostDevicesCommand internal: true. Entities affected :  ID: 
34fa518e-e453-4de2-bd18-4942885c8aa5 Type: VDSAction group MANIPULATE_HOST with 
role type ADMIN2018-05-21 17:35:43,447+08 INFO  
[org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) 
[6ced2adb] Start org.ovirt.engine.core.bll.hostdev.HostDeviceManager@20ad9625 
2018-05-21 17:35:43,449+08 INFO  [org.ovirt.engine.core.bll.dwh.DwhHeartBeat] 
(ServerService Thread Pool -- 64) [6ced2adb] Initializing DWH Heart 
Beat2018-05-21 17:35:43,464+08 INFO  
[org.ovirt.engine.core.bll.dwh.DwhHeartBeat] (ServerService Thread Pool -- 64) 
[6ced2adb] DWH Heart Beat initialized2018-05-21 17:35:43,465+08 INFO  
[org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) 
[6ced2adb] Start org.ovirt.engine.core.bll.dwh.DwhHeartBeat@75f99d39 2018-05-21 
17:35:43,539+08 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(ServerService Thread Pool -- 64) [6ced2adb] EVENT_ID: 
AFFINITY_RULES_ENFORCEMENT_MANAGER_START(10,780), Affinity Rules Enforcement 
Manager started.2018-05-21 17:35:43,542+08 INFO  
[org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) 
[6ced2adb] Start 
org.ovirt.engine.core.bll.scheduling.AffinityRulesEnforcementManager@703aa6cd 
2018-05-21 17:35:43,547+08 INFO  [org.ovirt.engine.core.bll.ServiceLoader] 
(ServerService Thread Pool -- 64) [6ced2adb] Start 
org.ovirt.engine.core.bll.CertificationValidityChecker@47df0bd8 2018-05-21 
17:35:43,554+08 INFO  [org.ovirt.engine.core.bll.ServiceLoader] (ServerService 
Thread Pool -- 64) [6ced2adb] Start 
org.ovirt.engine.core.bll.hostdeploy.HostUpdatesCheckerService@4dc8896 
2018-05-21 17:35:43,556+08 INFO  
[org.ovirt.engine.core.bll.IPTablesDeprecationNotifier] (ServerService Thread 
Pool -- 64) [6ced2adb] Start initializing IPTablesDeprecationNotifier2018-05-21 
17:35:43,560+08 INFO  [org.ovirt.engine.core.bll.IPTablesDeprecationNotifier] 
(ServerService Thread Pool -- 64) [6ced2adb] Finished initializing 
IPTablesDeprecationNotifier2018-05-21 17:35:43,560+08 INFO  
[org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) 
[6ced2adb] Start org.ovirt.engine.core.bll.IPTablesDeprecationNotifier@46fc7dd7 
- Original Message -
From: Simone Tiraboschi 
To: dhy...@sina.com
Cc: users 
Subject: Re: [ovirt-users] hosted-engine ovirt-engine server not run
Date: 2018-05-21 21:05



On Mon, May 21, 2018 at 12:21 PM,   wrote:
Hi
I deploy hosted-engine with two nodes, when I power off the node that engine is 
runing,  other node can run VM after about 3 minutes.but ovirt-engine server 
could not normally run. but systemctrl resetart ovirt-engine.  ovirt-engine 
server can run.
this is VM engine logs.
Nothing seams bad from that logs.Can you please try reproducing it?
 
___

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


[ovirt-users] Re: hosted-engine ovirt-engine server not run

2018-05-22 Thread dhy336
hi, I try to run my engine, if engine is good run, it has more log info in 
engine.log than bad run.my bad run engine log miss some info,  I should how to 
dubug this issue?
2018-05-21 17:35:43,446+08 INFO  
[org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand] 
(EE-ManagedThreadFactory-engine-Thread-1) [6ced2adb] Running command: 
RefreshHostDevicesCommand internal: true. Entities affected :  ID: 
34fa518e-e453-4de2-bd18-4942885c8aa5 Type: VDSAction group MANIPULATE_HOST with 
role type ADMIN2018-05-21 17:35:43,447+08 INFO  
[org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) 
[6ced2adb] Start org.ovirt.engine.core.bll.hostdev.HostDeviceManager@20ad9625 
2018-05-21 17:35:43,449+08 INFO  [org.ovirt.engine.core.bll.dwh.DwhHeartBeat] 
(ServerService Thread Pool -- 64) [6ced2adb] Initializing DWH Heart 
Beat2018-05-21 17:35:43,464+08 INFO  
[org.ovirt.engine.core.bll.dwh.DwhHeartBeat] (ServerService Thread Pool -- 64) 
[6ced2adb] DWH Heart Beat initialized2018-05-21 17:35:43,465+08 INFO  
[org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) 
[6ced2adb] Start org.ovirt.engine.core.bll.dwh.DwhHeartBeat@75f99d39 2018-05-21 
17:35:43,539+08 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(ServerService Thread Pool -- 64) [6ced2adb] EVENT_ID: 
AFFINITY_RULES_ENFORCEMENT_MANAGER_START(10,780), Affinity Rules Enforcement 
Manager started.2018-05-21 17:35:43,542+08 INFO  
[org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) 
[6ced2adb] Start 
org.ovirt.engine.core.bll.scheduling.AffinityRulesEnforcementManager@703aa6cd 
2018-05-21 17:35:43,547+08 INFO  [org.ovirt.engine.core.bll.ServiceLoader] 
(ServerService Thread Pool -- 64) [6ced2adb] Start 
org.ovirt.engine.core.bll.CertificationValidityChecker@47df0bd8 2018-05-21 
17:35:43,554+08 INFO  [org.ovirt.engine.core.bll.ServiceLoader] (ServerService 
Thread Pool -- 64) [6ced2adb] Start 
org.ovirt.engine.core.bll.hostdeploy.HostUpdatesCheckerService@4dc8896 
2018-05-21 17:35:43,556+08 INFO  
[org.ovirt.engine.core.bll.IPTablesDeprecationNotifier] (ServerService Thread 
Pool -- 64) [6ced2adb] Start initializing IPTablesDeprecationNotifier2018-05-21 
17:35:43,560+08 INFO  [org.ovirt.engine.core.bll.IPTablesDeprecationNotifier] 
(ServerService Thread Pool -- 64) [6ced2adb] Finished initializing 
IPTablesDeprecationNotifier2018-05-21 17:35:43,560+08 INFO  
[org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) 
[6ced2adb] Start org.ovirt.engine.core.bll.IPTablesDeprecationNotifier@46fc7dd7 
- Original Message -
From: Simone Tiraboschi 
To: dhy...@sina.com
Cc: users 
Subject: Re: [ovirt-users] hosted-engine ovirt-engine server not run
Date: 2018-05-21 21:05



On Mon, May 21, 2018 at 12:21 PM,   wrote:
Hi
I deploy hosted-engine with two nodes, when I power off the node that engine is 
runing,  other node can run VM after about 3 minutes.but ovirt-engine server 
could not normally run. but systemctrl resetart ovirt-engine.  ovirt-engine 
server can run.
this is VM engine logs.
Nothing seams bad from that logs.Can you please try reproducing it?
 
___

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


[ovirt-users] hosted-engine deploy not use FQDN

2018-05-17 Thread dhy336
Hi 
I deploy hosted-engine by #hosted-engine --deploy,   but I do not use FQDN,  I 
want to visit engine directly by ip
besides, I  have not  DNS server, I want to skip setup  Engine VM FQDN, because 
my project can not to setup /etc/hosts

 Please provide the FQDN you would like to use for the engine appliance.
  Note: This will be the FQDN of the engine VM you are now going to launch, 
 it should not point to the base host or to any other existing machine. 
 Engine VM FQDN: (leave it empty to skip):  []: 

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


[ovirt-users] engine setup error

2018-04-26 Thread dhy336
Hi I engine setup faces some error.
 I try to solute it and  it is work. here is my patch. But  not sure it is 
right?

 $HOME/ovirt-engine/bin/engine-setup[ INFO  ] Stage: Initializing
  Setup was run under unprivileged user this will produce development 
installation do you wish to proceed? (Yes, No) [No]: yes
[ INFO  ] Stage: Environment setup
  Configuration files: []
  Log file: 
/home/guoss4/ovirt-engine/var/log/ovirt-engine/setup/ovirt-engine-setup-20180427001528-6h7snp.log
  Version: otopi-1.8.0_master 
(otopi-1.8.0-0.0.master.20180313084114.git4e788f9.el7.centos)
[ ERROR ] "before" parameter of method 
otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_ovn_pki
 is a string, should probably be a tuple. Perhaps a missing comma?
  methodinfo: {'priority': 5000, 'name': None, 'before': 
'osetup.ovn.provider.service.restart', 'after': ('osetup.pki.ca.available', 
'osetup.ovn.services.restart'), 'method': >, 'condition':  of 
>, 'stage': 11}
[ ERROR ] "before" parameter of method 
otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_provider
 is a string, should probably be a tuple. Perhaps a missing comma?
  methodinfo: {'priority': 5000, 'name': None, 'before': 
'osetup.ovn.provider.service.restart', 'after': ('osetup.pki.ca.available', 
'osetup.ovn.services.restart'), 'method': >, 'condition':  of 
>, 'stage': 11}
[ ERROR ] Failed to execute stage 'Environment setup': Found bad "before" or 
"after" parameters
[ INFO  ] Stage: Clean up
  Log file is located at 
/home/guoss4/ovirt-engine/var/log/ovirt-engine/setup/ovirt-engine-setup-20180427001528-6h7snp.log
[ ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has no 
attribute 'cleanup'
[ INFO  ] Generating answer file 
'/home/guoss4/ovirt-engine/var/lib/ovirt-engine/setup/answers/20180427001531-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed


0001-fixed-engine-setup-error.patch
Description: Binary data
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 回复: 回复:Re: Hosted-engine can not_switch

2018-04-26 Thread dhy336
sorry, I used 192.168.223 to replace 192.168.122.65, forget tell you,  
hosted-engine.ovirt.com=192.168.122.91, it is engine VM, visit  
hosted-engine.ovirt.com show me web UI. 发自网易邮箱手机版 在2018年04月26日 14:52,Martin 
Sivak 写道: Hi, > hosted-engine1 : 192.168.122.66 > hosted-engine2 : 
192.168.122.223 But you said in an earlier email that: > I hava two node, 
A:192.168.122.65 ,   B:192.168.122.66 Make sure your names resolve properly. So 
far it does exactly what it is supposed to do - when the engine is unreachable, 
it tries restarting it. Did you really use hosted-engine.ovirt.com as the fqdn? 
Are you sure it resolves to whatever IP the VM has (192.168.122.91)? Maybe you 
used /etc/hosts to configure the name on the first host and in the VM, but miss 
the record on the second host? What does $(host hosted-engine.ovirt.com) show 
you? > I can not visit web UI, but my engine VM is run, i can login it.  engine 
has > some error > > 
VdsIdVDSCommandParametersBase:{hostId='1b5f799a-125d-4f4e-8aef-cb2ecdd63136'})' 
>  execution failed: java.net.NoRouteToHostException: No route to host I told 
you before. This is normal as it is trying to figure out whether the host is 
up. Best regards Martin Sivak On Thu, Apr 26, 2018 at 4:14 AM,  
<dhy...@sina.com> wrote: > engine VM:192.168.122.91 > hosted-engine1 : 
192.168.122.66 > hosted-engine2 : 192.168.122.223 > > I can not visit web UI, 
but my engine VM is run, i can login it.  engine has > some error > >  
2018-04-25 18:35:03,401+08 INFO >  
[org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor) >  
[] Connecting to hosted-engine1/192.168.122.66 >  2018-04-25 18:35:06,411+08 
ERROR >  [org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand] >  
(EE-ManagedThreadFactory-engineScheduled-Thread-2) [] Command >  
'GetAllVmStatsVDSCommand(HostName = hosted-engine1, > > 
VdsIdVDSCommandParametersBase:{hostId='1b5f799a-125d-4f4e-8aef-cb2ecdd63136'})' 
>  execution failed: java.net.NoRouteToHostException: No route to host > 

 > [root@hosted-engine2 ~]# hosted-engine --check-liveliness > Hosted Engine is 
not up! > 
-
 > [root@hosted-engine2 ~]# curl > 
http://hosted-engine.ovirt.com/ovirt-engine/services/health > 
Error404 - Not Found > > 
Note: this command is blocked ,it takes 5 minutes > 
-
 > --== Host 1 status ==-- > > conf_on_shared_storage             : True > 
Status up-to-date                  : False > Hostname                           
: hosted-engine1 > Host ID                            : 1 > Engine status       
               : unknown stale-data > Score                              : 3400 
> stopped                            : False > Local maintenance                
  : False > crc32                              : 1eae8968 > 
local_conf_timestamp               : 48907 > Host timestamp                     
: 48907 > Extra metadata (valid at timestamp): > metadata_parse_version=1 > 
metadata_feature_version=1 > timestamp=48907 (Thu Apr 26 01:57:14 2018) > 
host-id=1 > score=3400 > vm_conf_refresh_time=48907 (Thu Apr 26 01:57:15 2018) 
> conf_on_shared_storage=True > maintenance=False > state=EngineUp > 
stopped=False > > > --== Host 2 status ==-- > > conf_on_shared_storage          
   : True > Status up-to-date                  : True > Hostname                
           : hosted-engine2 > Host ID                            : 2 > Engine 
status                      : {"reason": "failed liveliness check", > "health": 
"bad", "vm": "up", "detail": "Up"} > Score                              : 3000 
> stopped                            : False > Local maintenance                
  : False > crc32                              : 1b92756d > 
local_conf_timestamp               : 44057 > Host timestamp                     
: 44057 > Extra metadata (valid at timestamp): > metadata_parse_version=1 > 
metadata_feature_version=1 > timestamp=44057 (Thu Apr 26 02:00:57 2018) > 
host-id=2 > score=3000 > vm_conf_refresh_time=44057 (Thu Apr 26 02:00:57 2018) 
> conf_on_shared_storage=True > maintenance=False > state=EngineStarting > 
stopped=False > > > > > > > - Original Message -ovirt > From: Martin 
Sivak <msi...@redhat.com> > To: dhy336

[ovirt-users] ovirtsdk4 compile ERROR

2018-04-25 Thread dhy336
Hi, I compile ovirtsdk4, but has some error, do i need to run ovirt-engine in 
computer which compile ovirtsdk4?
thanks.- >> end captured stdout << --
==ERROR: 
Test that sending two headers a request is sent with that two 
headers.--Traceback
 (most recent call last):  File 
"/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/tests/test_vm_service.py",
 line 208, in test_start_with_two_custom_headersheaders={'my': 'value', 
'your': 'value'}  File 
"/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/services.py",
 line 29448, in startreturn self._internal_action(action, 'start', None, 
headers, query, wait)  File 
"/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/service.py",
 line 288, in _internal_actioncontext = self._connection.send(request)  
File 
"/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py",
 line 370, in sendreturn self.__send(request)  File 
"/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py",
 line 388, in __sendself.authenticate()  File 
"/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py",
 line 384, in authenticateself.__parse_error(e)  File 
"/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py",
 line 932, in __parse_errorsix.reraise(clazz, clazz(error_msg), 
sys.exc_info()[2])  File 
"/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py",
 line 381, in authenticateself._sso_token = self._get_access_token()  File 
"/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py",
 line 617, in _get_access_tokensso_response = 
self._get_sso_response(self._sso_url, post_data)  File 
"/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py",
 line 694, in _get_sso_responsecurl.perform()Error: Error while sending 
HTTP request: (52, 'Empty reply from server') >> begin 
captured stdout << 
-Exception happened 
during processing of request from ('127.0.0.1', 
41440)
- >> end captured stdout << --
==ERROR: 
Test that sending two parameters a request is sent with that two 
parameters.--Traceback
 (most recent call last):  File 
"/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/tests/test_vm_service.py",
 line 190, in test_start_with_two_custom_parametersquery={'my': 'value', 
'your': 'value'}  File 
"/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/services.py",
 line 29448, in startreturn self._internal_action(action, 'start', None, 
headers, query, wait)  File 
"/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/service.py",
 line 288, in _internal_actioncontext = self._connection.send(request)  
File 
"/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py",
 line 370, in sendreturn self.__send(request)  File 
"/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py",
 line 388, in __sendself.authenticate()  File 
"/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py",
 line 384, in authenticateself.__parse_error(e)  File 
"/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py",
 line 932, in __parse_errorsix.reraise(clazz, clazz(error_msg), 
sys.exc_info()[2])  File 
"/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py",
 line 381, in authenticateself._sso_token = self._get_access_token()  File 
"/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py",
 line 617, in _get_access_tokensso_response = 
self._get_sso_response(self._sso_url, post_data)  File 
"/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py",
 line 694, in _get_sso_responsecurl.perform()Error: Error while sending 
HTTP request: (52, 'Empty reply from server') >> begin 
captured stdout << -___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 回复:Re: Hosted-engine can not_switch

2018-04-25 Thread dhy336
engine VM:192.168.122.91hosted-engine1 : 192.168.122.66hosted-engine2 : 
192.168.122.223
I can not visit web UI, but my engine VM is run, i can login it.  engine has 
some error 
 2018-04-25 18:35:03,401+08 INFO
 [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor)
 [] Connecting to hosted-engine1/192.168.122.66
 2018-04-25 18:35:06,411+08 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand]
 (EE-ManagedThreadFactory-engineScheduled-Thread-2) [] Command
 'GetAllVmStatsVDSCommand(HostName = hosted-engine1,
 VdsIdVDSCommandParametersBase:{hostId='1b5f799a-125d-4f4e-8aef-cb2ecdd63136'})'
 execution failed: java.net.NoRouteToHostException: No route to 
host[root@hosted-engine2
 ~]# hosted-engine --check-livelinessHosted Engine is not 
up!-[root@hosted-engine2
 ~]# curl 
http://hosted-engine.ovirt.com/ovirt-engine/services/healthError404
 - Not Found
Note: this command is blocked ,it takes 5 
minutes---==
 Host 1 status ==--
conf_on_shared_storage : TrueStatus up-to-date  : 
FalseHostname   : hosted-engine1Host ID 
   : 1Engine status  : unknown stale-dataScore  
: 3400stopped: FalseLocal 
maintenance  : Falsecrc32  : 
1eae8968local_conf_timestamp   : 48907Host timestamp
 : 48907Extra metadata (valid at timestamp):   metadata_parse_version=1 
   metadata_feature_version=1  timestamp=48907 (Thu Apr 26 01:57:14 2018)   
   host-id=1   score=3400  vm_conf_refresh_time=48907 (Thu Apr 26 
01:57:15 2018)   conf_on_shared_storage=True maintenance=False   
state=EngineUp  stopped=False

--== Host 2 status ==--
conf_on_shared_storage : TrueStatus up-to-date  : 
TrueHostname   : hosted-engine2Host ID  
  : 2Engine status  : {"reason": "failed liveliness 
check", "health": "bad", "vm": "up", "detail": "Up"}Score   
   : 3000stopped: FalseLocal maintenance
  : Falsecrc32  : 
1b92756dlocal_conf_timestamp   : 44057Host timestamp
 : 44057Extra metadata (valid at timestamp):metadata_parse_version=1
metadata_feature_version=1  timestamp=44057 (Thu Apr 26 02:00:57 2018)  
host-id=2   score=3000  vm_conf_refresh_time=44057 (Thu Apr 26 
02:00:57 2018)   conf_on_shared_storage=True maintenance=False   
state=EngineStartingstopped=False





----- Original Message -ovirt
From: Martin Sivak <msi...@redhat.com>
To: dhy336 <dhy...@sina.com>
Cc: users <users@ovirt.org>
Subject: Re: Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch
Date: 2018-04-25 20:41


> 2018-04-25 18:35:06,411+08 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand]
> (EE-ManagedThreadFactory-engineScheduled-Thread-2) [] Command
> 'GetAllVmStatsVDSCommand(HostName = hosted-engine1,
> VdsIdVDSCommandParametersBase:{hostId='1b5f799a-125d-4f4e-8aef-cb2ecdd63136'})'
> execution failed: java.net.NoRouteToHostException: No route to host
This is expected and normal. The ovirt-engine service is trying to
find out whether host A is still unreachable or not. This is not the
issue you are looking for.
> 192.168.122.66 has been powered off, and hosted engine VM run in
> 192.168.122.223, I think engine should connect to 192.168.122.223,
You are mixing the IP of the engine VM and the IP of a host. The
engine runs in VM with stable .122.223 (independent on which host the
VM runs at) and manages two hosts .122.65 and .122.66. The engine
constantly monitors all its hosts and that means it is trying to
connect to them every now and then.
Please execute the two following commands on Host B and show us the
results (use the proper fqdn):
$(hosted-engine --check-liveliness)
$(curl http://{fqdn}/ovirt-engine/services/health)
Best regards
Martin Sivak
On Wed, Apr 25, 2018 at 2:34 PM,  <dhy...@sina.com> wrote:
> I  login in engine VM by (#hosted-engine --console) , I find ovirt-engine
> process. and I find some error in /var/log/ovirt-engine/engine.log
>
> 192.168.122.66 has been powered off, and hosted engine VM run in
> 192.168.122.223, I think engine shoul

Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch

2018-04-25 Thread dhy336
I  login in engine VM by (#hosted-engine --console) , I find ovirt-engine 
process. and I find some error in /var/log/ovirt-engine/engine.log
192.168.122.66 has been powered off, and hosted engine VM run in 
192.168.122.223, I think engine should connect to 192.168.122.223, 

2018-04-25 18:35:03,401+08 INFO  
[org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor) [] 
Connecting to hosted-engine1/192.168.122.662018-04-25 18:35:06,411+08 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-2) [] Command 
'GetAllVmStatsVDSCommand(HostName = hosted-engine1, 
VdsIdVDSCommandParametersBase:{hostId='1b5f799a-125d-4f4e-8aef-cb2ecdd63136'})' 
execution failed: java.net.NoRouteToHostException: No route to host2018-04-25 
18:35:06,411+08 INFO  
[org.ovirt.engine.core.vdsbroker.monitoring.PollVmStatsRefresher] 
(EE-ManagedThreadFactory-engineScheduled-Thread-2) [] Failed to fetch vms info 
for host 'hosted-engine1' - skipping VMs monitoring.2018-04-25 18:35:21,420+08 
INFO  [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp 
Reactor) [] Connecting to hosted-engine1/192.168.122.662018-04-25 
18:35:24,430+08 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-1) [] Command 
'GetAllVmStatsVDSCommand(HostName = hosted-engine1, 
VdsIdVDSCommandParametersBase:{hostId='1b5f799a-125d-4f4e-8aef-cb2ecdd63136'})' 
execution failed: java.net.NoRouteToHostException: No route to host2018-04-25 
18:35:24,431+08 INFO  
[org.ovirt.engine.core.vdsbroker.monitoring.PollVmStatsRefresher] 
(EE-ManagedThreadFactory-engineScheduled-Thread-1) [] Failed to fetch vms info 
for host 'hosted-engine1' - skipping VMs monitoring.2018-04-25 18:35:39,438+08 
INFO  [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp 
Reactor) [] Connecting to hosted-engine1/192.168.122.66


- Original Message -
From: Martin Sivak <msi...@redhat.com>
To: dhy336 <dhy...@sina.com>
Cc: users <users@ovirt.org>
Subject: Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch
Date: 2018-04-25 20:27


The engine will try connecting to all registered hosts all the time.
That is normal.
If your host can reach the engine then check whether it can reach
http://{fqdn}/ovirt-engine/services/health as that is what is used to
make sure the engine is alive.
Best regards
Martin Sivak
On Wed, Apr 25, 2018 at 2:15 PM,  <dhy...@sina.com> wrote:
> Hi Martin,
>
> thank you for answer
> my host can reach the engine, I confuse why engine connect to another host
> which has been power off by me?
>
> - Original Message -
> From: Martin Sivak <msi...@redhat.com>
> To: dhy336 <dhy...@sina.com>, users <users@ovirt.org>
> Subject: Re: Re: Re: Re: Re: Re: [ovirt-users] 回复:Re: Hosted-engine can
> not_switch
> Date: 2018-04-25 19:12
>
> It is as I expected:
> Engine status : {"reason": "failed liveliness check"
> The host can't talk to the ovirt-engine service. Please make sure the
> host can reach the engine fqdn as configured in
> /etc/ovirt-hosted-engine/hosted-engine.conf on the fqdn= line.
> You can check it manually by executing $(hosted-engine
> --check-liveliness) from the host.
> Best regards
> Martin Sivak
> On Wed, Apr 25, 2018 at 12:51 PM, <dhy...@sina.com> wrote:
>> Hi,
>>
>> two node :
>> 192.168.122.66 hosted-engine1
>> 192.168.122.223 hosted-engine2
>>
>> I power off hosted-engine1, so I do not attach hosted-engine1`s log,
>>
>> [root@hosted-engine2 ~]# hosted-engine --vm-status
>>
>> --== Host 1 status ==--
>>
>> conf_on_shared_storage : True
>> Status up-to-date : False
>> Hostname : hosted-engine1
>> Host ID : 1
>> Engine status : unknown stale-data
>> Score : 3400
>> stopped : False
>> Local maintenance : False
>> crc32 : a7af0afa
>> local_conf_timestamp : 11485
>> Host timestamp : 11485
>> Extra metadata (valid at timestamp):
>> metadata_parse_version=1
>> metadata_feature_version=1
>> timestamp=11485 (Wed Apr 25 10:08:34 2018)
>> host-id=1
>> score=3400
>> vm_conf_refresh_time=11485 (Wed Apr 25 10:08:34 2018)
>> conf_on_shared_storage=True
>> maintenance=False
>> state=EngineUp
>> stopped=False
>>
>>
>> --== Host 2 status ==--
>>
>> conf_on_shared_storage : True
>> Status up-to-date : True
>> Hostname : hosted-engine2
>> Host ID : 2
>> Engine status : {"reason": "failed liveliness check",
>> "health": "bad", "vm": "up", "detail": "Up"}
>> Score : 3000
>> stopped : False
>> Local mai

[ovirt-users] 回复:Re: Hosted-engine can not_switch

2018-04-25 Thread dhy336
Hi Martin,
thank you for answermy host can reach the engine, I confuse why engine connect 
to another host which has been power off by me?
- Original Message -
From: Martin Sivak <msi...@redhat.com>
To: dhy336 <dhy...@sina.com>, users <users@ovirt.org>
Subject: Re: Re: Re: Re: Re: Re: [ovirt-users] 回复:Re: Hosted-engine can 
not_switch
Date: 2018-04-25 19:12

It is as I expected:
Engine status : {"reason": "failed liveliness check"
The host can't talk to the ovirt-engine service. Please make sure the
host can reach the engine fqdn as configured in
/etc/ovirt-hosted-engine/hosted-engine.conf on the fqdn= line.
You can check it manually by executing $(hosted-engine
--check-liveliness) from the host.
Best regards
Martin Sivak
On Wed, Apr 25, 2018 at 12:51 PM,  <dhy...@sina.com> wrote:
> Hi,
>
>  two node :
> 192.168.122.66 hosted-engine1
> 192.168.122.223 hosted-engine2
>
> I power off  hosted-engine1, so I do not attach  hosted-engine1`s log,
>
> [root@hosted-engine2 ~]# hosted-engine --vm-status
>
> --== Host 1 status ==--
>
> conf_on_shared_storage : True
> Status up-to-date  : False
> Hostname   : hosted-engine1
> Host ID: 1
> Engine status  : unknown stale-data
> Score  : 3400
> stopped: False
> Local maintenance  : False
> crc32  : a7af0afa
> local_conf_timestamp   : 11485
> Host timestamp : 11485
> Extra metadata (valid at timestamp):
> metadata_parse_version=1
> metadata_feature_version=1
> timestamp=11485 (Wed Apr 25 10:08:34 2018)
> host-id=1
> score=3400
> vm_conf_refresh_time=11485 (Wed Apr 25 10:08:34 2018)
> conf_on_shared_storage=True
> maintenance=False
> state=EngineUp
> stopped=False
>
>
> --== Host 2 status ==--
>
> conf_on_shared_storage : True
> Status up-to-date  : True
> Hostname   : hosted-engine2
> Host ID: 2
> Engine status  : {"reason": "failed liveliness check",
> "health": "bad", "vm": "up", "detail": "Up"}
> Score  : 3000
> stopped: False
> Local maintenance  : False
> crc32  : a2e82883
> local_conf_timestamp   : 6278
> Host timestamp : 6278
> Extra metadata (valid at timestamp):
> metadata_parse_version=1
> metadata_feature_version=1
> timestamp=6278 (Wed Apr 25 10:37:44 2018)
> host-id=2
> score=3000
> vm_conf_refresh_time=6278 (Wed Apr 25 10:37:44 2018)
> conf_on_shared_storage=True
> maintenance=False
> state=EngineStop
> stopped=False
> timeout=Thu Jan  1 09:49:38 1970
>
>
>
> - Original Message -
> From: Martin Sivak <msi...@redhat.com>
> To: dhy336 <dhy...@sina.com>, users <users@ovirt.org>
> Subject: Re: Re: Re: Re: Re: [ovirt-users] 回复:Re: Hosted-engine can
> not_switch
> Date: 2018-04-25 17:41
>
>
> Please attach the output of hosted-engine --vm-status and the
> /var/log/ovirt-hosted-engine-ha/agent.log file from both hosts.
> The VM will restart if the ovirt-engine service does not become
> available within timeout. And that might mean couple of things - the
> FQDN of the engine is wrong, the engine needs something that was only
> available on the dead host (A) like some storage, host B cannot ping
> the gateway..
> Best regards
> Martin Sivak
> On Wed, Apr 25, 2018 at 11:33 AM, <dhy...@sina.com> wrote:
>> sorry, I mis-represent,
>>
>> I hava two node, A:192.168.122.65 , B:192.168.122.66 with hosted-engine.
>>
>> testing engine HA :
>>
>> first two node is up, and hosted-engine VM run in A, then I poweroff A,
>> and
>> after 3 minutes, B start it`s hosted engine VM,
>> But it`s ovirt-engine connect to host A, and continue for about 10
>> minutes,
>> then hosted engine VM restart.
>> - Original Message -
>> From: Martin Sivak <msi...@redhat.com>
>> To: dhy336 <dhy...@sina.com>
>> Subject: Re: Re: Re: Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch
>> Date: 2018-04-25 17:11
>>
>>
>> Your hosted engine VM has its own address that does not depend on
>> which host it is currently running. So it should be available on the
>> same address no matter where the VM is running.
>> Best regards
>> Martin Sivak
>> On Wed, Apr 25, 2018 at 9:07 AM, <

Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch

2018-04-25 Thread dhy336
>> I deploy two node for hosted engine, first hosted engine VM run in>> 
>> 192.168.122.65, I power off this host, hosted-engine VM switch>> another 
>> host,but ovirt engine still connect 192.168.122.65. if restart>> 
>> ovirt-engine server, it is work.
I think this issue is error, because  hosted engine VM has power up in another 
host( 192.168.122.66), so hosted engine shouldconnect to  host( 
192.168.122.66), not connet to  host(192.168.122.66)? 
thanks
- Original Message -
From: Martin Sivak <msi...@redhat.com>
To: dhy336 <dhy...@sina.com>
Cc: users <users@ovirt.org>
Subject: Re: Re: Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch
Date: 2018-04-20 18:28


Hi,
No, this is not an error. You killed the host without moving it to
maintenance first. The engine has no way to distinguish this from
temporary network failure for example. Give it some time and the host
will move its status to one of the error states and handle the highly
available VMs on it (if fencing is properly configured).
Best regards
Martin Sivak
On Fri, Apr 20, 2018 at 12:13 PM,  <dhy...@sina.com> wrote:
> this process is not error ?
> - Original Message -
> From: Martin Sivak <msi...@redhat.com>
> To: dhy336 <dhy...@sina.com>
> Cc: users <users@ovirt.org>
> Subject: Re: Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch
> Date: 2018-04-20 18:05
>
>
> Hi,
> the engine does not know you killed the host. It will notice
> eventually and handle the situation. Just give it time (5 minutes or
> so).
> Best regards
> --
> Martin Sivak
> SLA / oVirt
> On Fri, Apr 20, 2018 at 12:00 PM, <dhy...@sina.com> wrote:
>> Hi, thanks for your feedback. I hava another qeustions
>>
>> I deploy two node for hosted engine, first hosted engine VM run in
>> 192.168.122.65, I power off this host, hosted-engine VM switch
>> another host,but ovirt engine still connect 192.168.122.65. if restart
>> ovirt-engine server, it is work.
>>
>>
>> 2018-04-20 17:13:04,692+08 ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand]
>> (EE-ManagedThreadFactory-en gineScheduled-Thread-98) [] Command
>> 'GetAllVmStatsVDSCommand(HostName = hosted-engine2,
>> VdsIdVDSCommandParametersBase:{hos
>> tId='a5428ef7-9df6-4a86-91de-7e36fda340fa'})' execution failed:
>> java.net.NoRouteToHostException: No route to host
>> 6568 2018-04-20 17:13:04,693+08 INFO
>> [org.ovirt.engine.core.vdsbroker.monitoring.PollVmStatsRefresher]
>> (EE-ManagedThreadFactory-engi neScheduled-Thread-98) [] Failed to fetch
>> vms info for host 'hosted-engin2' - skipping VMs monitoring.
>> 6569 2018-04-20 17:13:19,710+08 INFO
>> [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor)
>> [] Connecting to hosted-engine2/192.168.122.656570 2018-04-20
>> 17:13:22,730+08 ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand]
>> (EE-ManagedThreadFactory-en gineScheduled-Thread-45) [] Command
>> 'GetAllVmStatsVDSCommand(HostName = hosted-engine-tchyp2,
>> VdsIdVDSCommandParametersBase:{hos
>> tId='a5428ef7-9df6-4a86-91de-7e36fda340fa'})' execution failed:
>> java.net.NoRouteToHostException: No route to host
>> 6571 2018-04-20 17:13:22,732+08 INFO
>> [org.ovirt.engine.core.vdsbroker.monitoring.PollVmStatsRefresher]
>> (EE-ManagedThreadFactory-engi neScheduled-Thread-45) [] Failed to fetch
>> vms info for host 'hosted-engine2' - skipping VMs monitoring.
>>
>> - Original Message -
>> From: Martin Sivak <msi...@redhat.com>
>> To: dhy336 <dhy...@sina.com>
>> Cc: users <users@ovirt.org>
>> Subject: Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch
>> Date: 2018-04-20 16:40
>>
>>
>> Hi,
>> your ovirt-hosted-engine-ha package is too old. You need at least
>> 2.1.9 to properly support 4.2 engine. The same applies to vdsm. Please
>> upgrade the node.
>> Best regards
>> Martin Sivak
>> On Fri, Apr 20, 2018 at 3:58 AM, <dhy...@sina.com> wrote:
>>> Hi I find some error logs in /var/log/ovirt-hosted-engine-ha/broker.
>>>
>>> [root@hosted-engine2 ~]# ll /rhev/data-center/mnt
>>> total 0
>>> drwxr-xr-x. 3 vdsm kvm 76 Apr 18 22:28 192.168.122.218:_exports_data
>>> drwxr-xr-x. 3 vdsm kvm 76 Apr 18 22:12
>>> 192.168.122.218:_exports_hosted-engine-test1
>>> [root@hosted-engine2 ~]# ll
>>> /rhev/data-center/mnt/192.168.122.218\:_exports_hosted-engine-test1/
>>> total 0
>>> drwxr-xr-x. 5 vdsm kvm 50 Apr 18 22:14
>>> 8a734205-65b7-4801-b7f0-d380eb45dbae
>>> -rwxr-xr-x. 1

[ovirt-users] hosted-engine some errors

2018-04-24 Thread dhy336
Hi,  I deploy hosted engine by hosted-engine --deploy,  but it go wrong . I do 
not know how to debug? thanks.
[ INFO  ] TASK [Clean /etc/hosts for the engine VM][ INFO  ] skipping: 
[localhost][ INFO  ] TASK [Copy /etc/hosts back to the engine VM][ INFO  ] 
skipping: [localhost][ INFO  ] TASK [Clean /etc/hosts on the host][ ERROR ] 
fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an 
undefined variable. The error was: list object has no element 0\n\nThe error 
appears to have been in 
'/usr/share/ovirt-hosted-engine-setup/ansible/create_target_vm.yml': line 265, 
column 5, but may\nbe elsewhere in the file depending on the exact syntax 
problem.\n\nThe offending line appears to be:\n\ntags: [ 
'skip_ansible_lint' ]\n  - name: Clean /etc/hosts on the host\n^ 
here\n\nexception type: \nexception: list object has no 
element 0"}[ 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][ INFO  ] changed: [localhost][ INFO  ] Generating 
answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20180425125000.conf'[ INFO  
] Stage: Pre-termination[ INFO  ] Stage: Termination[ ERROR ] Hosted Engine 
deployment failed: please check the logs for the issue, fix accordingly or 
re-deploy from scratch.  Log file is located at 
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20180425043425-savh7b.log
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] hosted-engine --deploy ERROR

2018-04-24 Thread dhy336
Hi,
I deploy hosted engine but it has some error,
# hosted-engine --deploy
[ INFO  ] TASK [Check status of default libvirt network][ INFO  ] changed: 
[localhost][ INFO  ] TASK [Activate default libvirt network][ ERROR ] fatal: 
[localhost]: FAILED! => {"changed": true, "cmd": ["virsh", "net-start", 
"default"], "delta": "0:00:00.074655", "end": "2018-04-24 14:59:12.548459", 
"msg": "non-zero return code", "rc": 1, "start": "2018-04-24 14:59:12.473804", 
"stderr": "error: failed to get network 'default'\nerror: Network not found: no 
network with matching name 'default'", "stderr_lines": ["error: failed to get 
network 'default'", "error: Network not found: no network with matching name 
'default'"], "stdout": "", "stdout_lines": []}[ INFO  ] TASK [include_tasks][ 
INFO  ] ok: [localhost][ INFO  ] TASK [Remove local vm dir][ INFO  ] changed: 
[localhost][ INFO  ] TASK [Notify the user about a failure][ ERROR ] fatal: 
[localhost]: FAILED! => {"changed": false, "msg": "The system may not be 
provisioned according to the playbook results: please check the logs for the 
issue, fix accordingly or re-deploy from scratch.\n"}[ ERROR ] Failed to 
execute stage 'Closing up': Failed executing ansible-playbook
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-engine VM not run

2018-04-22 Thread dhy336
Hi , I have not choose the controller type 'virtio-scsi',   controller type  is 
'scsi' after  I deploy the hosted-engine, when I force power off  a  node , 
another node to run hosted-engine, it can not run VM,controller type  
became 'scsi-scs'
- Original Message -
From: wgao 
To: , users 
Subject: Re: [ovirt-users] ovirt-engine VM not run
Date: 2018-04-23 10:10


Have you choose the controller type 'virtio-scsi' ?

unsupported configuration: Unknown controller type 'virtio-scsi' 
(code=1) (vm:1656)
Thanks.
On 2018年04月23日 10:04, dhy...@sina.com wrote:
> unsupported configuration: Unknown controller type 'virtio-scsi' 
> (code=1) (vm:1656)
-- 
Best regards.
-
Wgao, Linux BSP Tester, Wind River Beijing
Phone: +86-10-8477-7015, Cell: +86-158-1020-4994, Fax: +86-10-6479-0367
TO DO NOTHING IS THE WAY TO BE NOTHING.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt-engine VM not run

2018-04-22 Thread dhy336
Hi, my ovirt-engine VM not run,I find vdsm.log has some error.
xml is :......
2018-04-23 01:40:54,452+0800 ERROR (vm/784a5258) [virt.vm] 
(vmId='784a5258-804c-4b02-bc9f-f38471f91c1a') The vm start process failed 
(vm:898)Traceback (most recent call last):  File 
"/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 827, in 
_startUnderlyingVmself._run()  File 
"/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2687, in _rundom = 
self._connection.defineXML(domxml)  File 
"/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 125, in 
wrapperret = f(*args, **kwargs)  File 
"/usr/lib/python2.7/site-packages/vdsm/utils.py", line 586, in wrapper
return func(inst, *args, **kwargs)  File 
"/usr/lib64/python2.7/site-packages/libvirt.py", line 3632, in defineXMLif 
ret is None:raise libvirtError('virDomainDefineXML() failed', 
conn=self)libvirtError: unsupported configuration: Unknown controller type 
'virtio-scsi'2018-04-23 01:40:54,452+0800 INFO  (vm/784a5258) [virt.vm] 
(vmId='784a5258-804c-4b02-bc9f-f38471f91c1a') Changed state to Down: 
unsupported configuration: Unknown controller type 'virtio-scsi' (code=1) 
(vm:1656)___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch

2018-04-20 Thread dhy336
thanks very much ,I got it.
- Original Message -
From: Martin Sivak <msi...@redhat.com>
To: dhy336 <dhy...@sina.com>
Cc: users <users@ovirt.org>
Subject: Re: Re: Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch
Date: 2018-04-20 18:28


Hi,
No, this is not an error. You killed the host without moving it to
maintenance first. The engine has no way to distinguish this from
temporary network failure for example. Give it some time and the host
will move its status to one of the error states and handle the highly
available VMs on it (if fencing is properly configured).
Best regards
Martin Sivak
On Fri, Apr 20, 2018 at 12:13 PM,  <dhy...@sina.com> wrote:
> this process is not error ?
> - Original Message -
> From: Martin Sivak <msi...@redhat.com>
> To: dhy336 <dhy...@sina.com>
> Cc: users <users@ovirt.org>
> Subject: Re: Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch
> Date: 2018-04-20 18:05
>
>
> Hi,
> the engine does not know you killed the host. It will notice
> eventually and handle the situation. Just give it time (5 minutes or
> so).
> Best regards
> --
> Martin Sivak
> SLA / oVirt
> On Fri, Apr 20, 2018 at 12:00 PM, <dhy...@sina.com> wrote:
>> Hi, thanks for your feedback. I hava another qeustions
>>
>> I deploy two node for hosted engine, first hosted engine VM run in
>> 192.168.122.65, I power off this host, hosted-engine VM switch
>> another host,but ovirt engine still connect 192.168.122.65. if restart
>> ovirt-engine server, it is work.
>>
>>
>> 2018-04-20 17:13:04,692+08 ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand]
>> (EE-ManagedThreadFactory-en gineScheduled-Thread-98) [] Command
>> 'GetAllVmStatsVDSCommand(HostName = hosted-engine2,
>> VdsIdVDSCommandParametersBase:{hos
>> tId='a5428ef7-9df6-4a86-91de-7e36fda340fa'})' execution failed:
>> java.net.NoRouteToHostException: No route to host
>> 6568 2018-04-20 17:13:04,693+08 INFO
>> [org.ovirt.engine.core.vdsbroker.monitoring.PollVmStatsRefresher]
>> (EE-ManagedThreadFactory-engi neScheduled-Thread-98) [] Failed to fetch
>> vms info for host 'hosted-engin2' - skipping VMs monitoring.
>> 6569 2018-04-20 17:13:19,710+08 INFO
>> [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor)
>> [] Connecting to hosted-engine2/192.168.122.656570 2018-04-20
>> 17:13:22,730+08 ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand]
>> (EE-ManagedThreadFactory-en gineScheduled-Thread-45) [] Command
>> 'GetAllVmStatsVDSCommand(HostName = hosted-engine-tchyp2,
>> VdsIdVDSCommandParametersBase:{hos
>> tId='a5428ef7-9df6-4a86-91de-7e36fda340fa'})' execution failed:
>> java.net.NoRouteToHostException: No route to host
>> 6571 2018-04-20 17:13:22,732+08 INFO
>> [org.ovirt.engine.core.vdsbroker.monitoring.PollVmStatsRefresher]
>> (EE-ManagedThreadFactory-engi neScheduled-Thread-45) [] Failed to fetch
>> vms info for host 'hosted-engine2' - skipping VMs monitoring.
>>
>> - Original Message -
>> From: Martin Sivak <msi...@redhat.com>
>> To: dhy336 <dhy...@sina.com>
>> Cc: users <users@ovirt.org>
>> Subject: Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch
>> Date: 2018-04-20 16:40
>>
>>
>> Hi,
>> your ovirt-hosted-engine-ha package is too old. You need at least
>> 2.1.9 to properly support 4.2 engine. The same applies to vdsm. Please
>> upgrade the node.
>> Best regards
>> Martin Sivak
>> On Fri, Apr 20, 2018 at 3:58 AM, <dhy...@sina.com> wrote:
>>> Hi I find some error logs in /var/log/ovirt-hosted-engine-ha/broker.
>>>
>>> [root@hosted-engine2 ~]# ll /rhev/data-center/mnt
>>> total 0
>>> drwxr-xr-x. 3 vdsm kvm 76 Apr 18 22:28 192.168.122.218:_exports_data
>>> drwxr-xr-x. 3 vdsm kvm 76 Apr 18 22:12
>>> 192.168.122.218:_exports_hosted-engine-test1
>>> [root@hosted-engine2 ~]# ll
>>> /rhev/data-center/mnt/192.168.122.218\:_exports_hosted-engine-test1/
>>> total 0
>>> drwxr-xr-x. 5 vdsm kvm 50 Apr 18 22:14
>>> 8a734205-65b7-4801-b7f0-d380eb45dbae
>>> -rwxr-xr-x. 1 vdsm kvm 0 Apr 20 09:54 __DIRECT_IO_TEST__
>>>
>>> uuid 8a734205-65b7-4801-b7f0-d380eb45dbae is in
>>> /rhev/data-center/mnt/192.168.122.218\:_exports_hosted-engine-test1/
>>> but broker find it in /rhev/data-center/mnt, is it my version is error?
>>> my
>>> ovirt-hosted-engine-ha version is 2.1.5, vdsm is 4.20.5,
>>> ovirt-engine is 4.2
>>>
>>> MainThread::INFO::2018-04-19
>>>
>&g

Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch

2018-04-20 Thread dhy336
this process is not error ?
- Original Message -
From: Martin Sivak <msi...@redhat.com>
To: dhy336 <dhy...@sina.com>
Cc: users <users@ovirt.org>
Subject: Re: Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch
Date: 2018-04-20 18:05


Hi,
the engine does not know you killed the host. It will notice
eventually and handle the situation. Just give it time (5 minutes or
so).
Best regards
--
Martin Sivak
SLA / oVirt
On Fri, Apr 20, 2018 at 12:00 PM,  <dhy...@sina.com> wrote:
> Hi, thanks for your feedback. I hava another qeustions
>
> I deploy two node for hosted engine, first hosted engine VM run in
> 192.168.122.65, I power off this host, hosted-engine VM switch
> another host,but ovirt engine still connect 192.168.122.65.  if restart
> ovirt-engine server, it is work.
>
>
>  2018-04-20 17:13:04,692+08 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand]
> (EE-ManagedThreadFactory-en gineScheduled-Thread-98) [] Command
> 'GetAllVmStatsVDSCommand(HostName = hosted-engine2,
> VdsIdVDSCommandParametersBase:{hos
> tId='a5428ef7-9df6-4a86-91de-7e36fda340fa'})' execution failed:
> java.net.NoRouteToHostException: No route to host
> 6568 2018-04-20 17:13:04,693+08 INFO
> [org.ovirt.engine.core.vdsbroker.monitoring.PollVmStatsRefresher]
> (EE-ManagedThreadFactory-engi neScheduled-Thread-98) [] Failed to fetch
> vms info for host 'hosted-engin2' - skipping VMs monitoring.
> 6569 2018-04-20 17:13:19,710+08 INFO
> [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor)
> [] Connecting to hosted-engine2/192.168.122.656570 2018-04-20
> 17:13:22,730+08 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand]
> (EE-ManagedThreadFactory-en gineScheduled-Thread-45) [] Command
> 'GetAllVmStatsVDSCommand(HostName = hosted-engine-tchyp2,
> VdsIdVDSCommandParametersBase:{hos
> tId='a5428ef7-9df6-4a86-91de-7e36fda340fa'})' execution failed:
> java.net.NoRouteToHostException: No route to host
> 6571 2018-04-20 17:13:22,732+08 INFO
> [org.ovirt.engine.core.vdsbroker.monitoring.PollVmStatsRefresher]
> (EE-ManagedThreadFactory-engi neScheduled-Thread-45) [] Failed to fetch
> vms info for host 'hosted-engine2' - skipping VMs monitoring.
>
> - Original Message -
> From: Martin Sivak <msi...@redhat.com>
> To: dhy336 <dhy...@sina.com>
> Cc: users <users@ovirt.org>
> Subject: Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch
> Date: 2018-04-20 16:40
>
>
> Hi,
> your ovirt-hosted-engine-ha package is too old. You need at least
> 2.1.9 to properly support 4.2 engine. The same applies to vdsm. Please
> upgrade the node.
> Best regards
> Martin Sivak
> On Fri, Apr 20, 2018 at 3:58 AM, <dhy...@sina.com> wrote:
>> Hi I find some error logs in /var/log/ovirt-hosted-engine-ha/broker.
>>
>> [root@hosted-engine2 ~]# ll /rhev/data-center/mnt
>> total 0
>> drwxr-xr-x. 3 vdsm kvm 76 Apr 18 22:28 192.168.122.218:_exports_data
>> drwxr-xr-x. 3 vdsm kvm 76 Apr 18 22:12
>> 192.168.122.218:_exports_hosted-engine-test1
>> [root@hosted-engine2 ~]# ll
>> /rhev/data-center/mnt/192.168.122.218\:_exports_hosted-engine-test1/
>> total 0
>> drwxr-xr-x. 5 vdsm kvm 50 Apr 18 22:14
>> 8a734205-65b7-4801-b7f0-d380eb45dbae
>> -rwxr-xr-x. 1 vdsm kvm 0 Apr 20 09:54 __DIRECT_IO_TEST__
>>
>> uuid 8a734205-65b7-4801-b7f0-d380eb45dbae is in
>> /rhev/data-center/mnt/192.168.122.218\:_exports_hosted-engine-test1/
>> but broker find it in /rhev/data-center/mnt, is it my version is error? my
>> ovirt-hosted-engine-ha version is 2.1.5, vdsm is 4.20.5,
>> ovirt-engine is 4.2
>>
>> MainThread::INFO::2018-04-19
>>
>> 19:26:31,479::listener::41::ovirt_hosted_engine_ha.broker.listener.Listener::(__init__)
>> Initializing SocketServer
>> MainThread::INFO::2018-04-19
>>
>> 19:26:31,480::listener::56::ovirt_hosted_engine_ha.broker.listener.Listener::(__init__)
>> SocketServer ready
>> Thread-1::INFO::2018-04-19
>>
>> 19:26:31,558::listener::134::ovirt_hosted_engine_ha.broker.listener.ConnectionHandler::(setup)
>> Connection established
>> Thread-1::ERROR::2018-04-19
>>
>> 19:26:31,559::listener::192::ovirt_hosted_engine_ha.broker.listener.ConnectionHandler::(handle)
>> Error handling request, data: 'set-storage-domain FilesystemBackend
>> dom_type=nfs3 sd_uuid=8a734205-65b7-4801-b7f0-d380eb45dbae'
>> Traceback (most recent call last):
>> File
>>
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/listener.py",
>> line 166, in handle
>> data)
>> File
>>
>> "/usr/lib/python2.7/site

Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch

2018-04-20 Thread dhy336
Hi, thanks for your feedback. I hava another qeustions
I deploy two node for hosted engine, first hosted engine VM run in 
192.168.122.65, I power off this host, hosted-engine VM switchanother host,but 
ovirt engine still connect 192.168.122.65.  if restart ovirt-engine server, it 
is work.

 2018-04-20 17:13:04,692+08 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand] 
(EE-ManagedThreadFactory-en gineScheduled-Thread-98) [] Command 
'GetAllVmStatsVDSCommand(HostName = hosted-engine2, 
VdsIdVDSCommandParametersBase:{hos 
tId='a5428ef7-9df6-4a86-91de-7e36fda340fa'})' execution failed: 
java.net.NoRouteToHostException: No route to host6568 2018-04-20 
17:13:04,693+08 INFO  
[org.ovirt.engine.core.vdsbroker.monitoring.PollVmStatsRefresher] 
(EE-ManagedThreadFactory-engi neScheduled-Thread-98) [] Failed to fetch vms 
info for host 'hosted-engin2' - skipping VMs monitoring.6569 2018-04-20 
17:13:19,710+08 INFO  [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] 
(SSL Stomp Reactor) [] Connecting to hosted-engine2/192.168.122.656570 
2018-04-20 17:13:22,730+08 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand] 
(EE-ManagedThreadFactory-en gineScheduled-Thread-45) [] Command 
'GetAllVmStatsVDSCommand(HostName = hosted-engine-tchyp2, 
VdsIdVDSCommandParametersBase:{hos 
tId='a5428ef7-9df6-4a86-91de-7e36fda340fa'})' execution failed: 
java.net.NoRouteToHostException: No route to host6571 2018-04-20 
17:13:22,732+08 INFO  
[org.ovirt.engine.core.vdsbroker.monitoring.PollVmStatsRefresher] 
(EE-ManagedThreadFactory-engi neScheduled-Thread-45) [] Failed to fetch vms 
info for host 'hosted-engine2' - skipping VMs monitoring.
- Original Message -
From: Martin Sivak <msi...@redhat.com>
To: dhy336 <dhy...@sina.com>
Cc: users <users@ovirt.org>
Subject: Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch
Date: 2018-04-20 16:40


Hi,
your ovirt-hosted-engine-ha package is too old. You need at least
2.1.9 to properly support 4.2 engine. The same applies to vdsm. Please
upgrade the node.
Best regards
Martin Sivak
On Fri, Apr 20, 2018 at 3:58 AM,  <dhy...@sina.com> wrote:
> Hi I find some error logs in /var/log/ovirt-hosted-engine-ha/broker.
>
> [root@hosted-engine2 ~]# ll /rhev/data-center/mnt
> total 0
> drwxr-xr-x. 3 vdsm kvm 76 Apr 18 22:28 192.168.122.218:_exports_data
> drwxr-xr-x. 3 vdsm kvm 76 Apr 18 22:12
> 192.168.122.218:_exports_hosted-engine-test1
> [root@hosted-engine2 ~]# ll
> /rhev/data-center/mnt/192.168.122.218\:_exports_hosted-engine-test1/
> total 0
> drwxr-xr-x. 5 vdsm kvm 50 Apr 18 22:14 8a734205-65b7-4801-b7f0-d380eb45dbae
> -rwxr-xr-x. 1 vdsm kvm  0 Apr 20 09:54 __DIRECT_IO_TEST__
>
> uuid 8a734205-65b7-4801-b7f0-d380eb45dbae is in
> /rhev/data-center/mnt/192.168.122.218\:_exports_hosted-engine-test1/
> but broker find it in  /rhev/data-center/mnt, is it my version is error? my
> ovirt-hosted-engine-ha version is 2.1.5, vdsm is 4.20.5,
> ovirt-engine is 4.2
>
> MainThread::INFO::2018-04-19
> 19:26:31,479::listener::41::ovirt_hosted_engine_ha.broker.listener.Listener::(__init__)
> Initializing SocketServer
> MainThread::INFO::2018-04-19
> 19:26:31,480::listener::56::ovirt_hosted_engine_ha.broker.listener.Listener::(__init__)
> SocketServer ready
> Thread-1::INFO::2018-04-19
> 19:26:31,558::listener::134::ovirt_hosted_engine_ha.broker.listener.ConnectionHandler::(setup)
> Connection established
> Thread-1::ERROR::2018-04-19
> 19:26:31,559::listener::192::ovirt_hosted_engine_ha.broker.listener.ConnectionHandler::(handle)
> Error handling request, data: 'set-storage-domain FilesystemBackend
> dom_type=nfs3 sd_uuid=8a734205-65b7-4801-b7f0-d380eb45dbae'
> Traceback (most recent call last):
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/listener.py",
> line 166, in handle
> data)
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/listener.py",
> line 299, in _dispatch
> .set_storage_domain(client, sd_type, **options)
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/storage_broker.py",
> line 66, in set_storage_domain
> self._backends[client].connect()
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py",
> line 462, in connect
> self._dom_type)
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py",
> line 107, in get_domain_path
> " in {1}".format(sd_uuid, parent))
> BackendFailureException: path to storage domain
> 8a734205-65b7-4801-b7f0-d380eb45dbae not found in /rhev/data-center/mnt
> Thread-1::INFO::2018-04-19
> 19:26:31,563::listener::186::ovirt_hosted_engine_ha.broker.listener.ConnectionHand

Re: [ovirt-users] Hosted-engine can not_switch

2018-04-19 Thread dhy336
this is my vdsm log lead to hosted-engine start.
2018-04-20 04:40:09,011+0800 ERROR (vm/08bbd680) [virt.vm] 
(vmId='08bbd680-a8a7-4267-82e7-89f36e87e930') The vm start process failed 
(vm:898)Traceback (most recent call last):  File 
"/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 827, in 
_startUnderlyingVmself._run()  File 
"/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2687, in _rundom = 
self._connection.defineXML(domxml)  File 
"/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 125, in 
wrapperret = f(*args, **kwargs)  File 
"/usr/lib/python2.7/site-packages/vdsm/utils.py", line 586, in wrapper
return func(inst, *args, **kwargs)  File 
"/usr/lib64/python2.7/site-packages/libvirt.py", line 3632, in defineXMLif 
ret is None:raise libvirtError('virDomainDefineXML() failed', 
conn=self)libvirtError: unsupported configuration: Unknown controller type 
'virtio-scsi'2018-04-20 04:40:09,012+0800 INFO  (vm/08bbd680) [virt.vm] 
(vmId='08bbd680-a8a7-4267-82e7-89f36e87e930') Changed state to Down: 
unsupported configuration: Unknown controller type 'virtio-scsi' (code=1) 
(vm:1656)2018-04-20 04:40:09,024+0800 INFO  (vm/08bbd680) [virt.vm] 
(vmId='08bbd680-a8a7-4267-82e7-89f36e87e930') Stopping connection 
(guestagent:434)
- 原始邮件 -
发件人:<dhy...@sina.com>
收件人:"dhy336" <dhy...@sina.com>, "Martin Sivak" <msi...@redhat.com>
抄送人:"users" <users@ovirt.org>
主题:回复:[ovirt-users] 回复:Re:  Hosted-engine can not_switch
日期:2018年04月20日 09点58分

Hi I find some error logs in /var/log/ovirt-hosted-engine-ha/broker.
[root@hosted-engine2 ~]# ll /rhev/data-center/mnttotal 0drwxr-xr-x. 3 vdsm kvm 
76 Apr 18 22:28 192.168.122.218:_exports_datadrwxr-xr-x. 3 vdsm kvm 76 Apr 18 
22:12 192.168.122.218:_exports_hosted-engine-test1[root@hosted-engine2 ~]# ll 
/rhev/data-center/mnt/192.168.122.218\:_exports_hosted-engine-test1/total 
0drwxr-xr-x. 5 vdsm kvm 50 Apr 18 22:14 
8a734205-65b7-4801-b7f0-d380eb45dbae-rwxr-xr-x. 1 vdsm kvm  0 Apr 20 09:54 
__DIRECT_IO_TEST__
uuid 8a734205-65b7-4801-b7f0-d380eb45dbae is in 
/rhev/data-center/mnt/192.168.122.218\:_exports_hosted-engine-test1/but broker 
find it in  /rhev/data-center/mnt, is it my version is error? my 
ovirt-hosted-engine-ha version is 2.1.5, vdsm is 4.20.5,ovirt-engine is 4.2
MainThread::INFO::2018-04-19 
19:26:31,479::listener::41::ovirt_hosted_engine_ha.broker.listener.Listener::(__init__)
 Initializing SocketServerMainThread::INFO::2018-04-19 
19:26:31,480::listener::56::ovirt_hosted_engine_ha.broker.listener.Listener::(__init__)
 SocketServer readyThread-1::INFO::2018-04-19 
19:26:31,558::listener::134::ovirt_hosted_engine_ha.broker.listener.ConnectionHandler::(setup)
 Connection establishedThread-1::ERROR::2018-04-19 
19:26:31,559::listener::192::ovirt_hosted_engine_ha.broker.listener.ConnectionHandler::(handle)
 Error handling request, data: 'set-storage-domain FilesystemBackend 
dom_type=nfs3 sd_uuid=8a734205-65b7-4801-b7f0-d380eb45dbae'Traceback (most 
recent call last):  File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/listener.py", 
line 166, in handledata)  File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/listener.py", 
line 299, in _dispatch.set_storage_domain(client, sd_type, **options)  File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/storage_broker.py",
 line 66, in set_storage_domainself._backends[client].connect()  File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py",
 line 462, in connectself._dom_type)  File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py",
 line 107, in get_domain_path" in {1}".format(sd_uuid, 
parent))BackendFailureException: path to storage domain 
8a734205-65b7-4801-b7f0-d380eb45dbae not found in 
/rhev/data-center/mntThread-1::INFO::2018-04-19 
19:26:31,563::listener::186::ovirt_hosted_engine_ha.broker.listener.ConnectionHandler::(handle)
 Connection closedThread-2::INFO::2018-04-19 
19:26:44,601::listener::134::ovirt_hosted_engine_ha.broker.listener.ConnectionHandler::(setup)
 Connection established
- 原始邮件 -
发件人:<dhy...@sina.com>
收件人:"Martin Sivak" <msi...@redhat.com>
抄送人:users <users@ovirt.org>
主题:[ovirt-users] 回复:Re:  Hosted-engine can not_switch
日期:2018年04月20日 09点30分

libvirt has not error logs . I only find some error for vdsm.vdsm log 
is:2018-04-20 09:24:52,610+0800 INFO  (jsonrpc/1) [vdsm.api] FINISH 
getVolumeInfo return={'info': {'status': 'OK', 'domain': 
'8a734205-65b7-4801-b7f0-d380eb45dbae', 'voltype': 'LEAF', 'description': 
'hosted-engine.lockspace', 'parent': '----', 
'format': 'RAW', 'generation': 0, 'image': 
'611272bd-c2cc-42bc-94e2-9aa52e754c35', 'ctime': '1524032037', 'disktype': '2', 

[ovirt-users] 回复: 回复:Re: Hosted-engine can not_switch

2018-04-19 Thread dhy336
tor thread) [Broker.StompAdapter] Processing 
CONNECT request (stompreactor:103)2018-04-20 09:24:54,818+0800 INFO  (JsonRpc 
(StompReactor)) [Broker.StompAdapter] Subscribe command received 
(stompreactor:132)2018-04-20 09:24:55,119+0800 INFO  (jsonrpc/6) [api.host] 
START getHardwareInfo() from=::1,48308 (api:46)
- 原始邮件 -
发件人:Martin Sivak <msi...@redhat.com>
收件人:dhy336 <dhy...@sina.com>
抄送人:users <users@ovirt.org>
主题:Re: [ovirt-users] Hosted-engine can not switch
日期:2018年04月19日 20点16分


We need more than just this small log snippet. Please check the vdsm
and libvirt logs as well.
Best regards
Martin Sivak
On Thu, Apr 19, 2018 at 2:05 PM,  <dhy...@sina.com> wrote:
> Hi,
>  I deploy three node with hosted engine,  I force shut down  a node which
> Host-engine VM is run, But  hosted engine VM in other nodes can not run.
>
> I find some error in /var/log/ovirt-hosted-engine-ha/agent.log
>
> MainThread::INFO::2018-04-19
> 19:56:35,787::hosted_engine::1192::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_clean_vdsm_state)
> Cleaning state for non-running VM
> MainThread::INFO::2018-04-19
> 19:56:42,587::hosted_engine::1176::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_clean_vdsm_state)
> Vdsm state for VM clean
> MainThread::INFO::2018-04-19
> 19:56:42,589::hosted_engine::1125::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_start_engine_vm)
> Starting vm using `/usr/sbin/hosted-engine --vm-start`
> MainThread::INFO::2018-04-19
> 19:56:47,599::hosted_engine::1131::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_start_engine_vm)
> stdout:
> MainThread::INFO::2018-04-19
> 19:56:47,600::hosted_engine::1132::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_start_engine_vm)
> stderr: Virtual machine does not exist: {'vmId':
> u'08bbd680-a8a7-4267-82e7-89f36e87e930'}
>
> MainThread::INFO::2018-04-19
> 19:56:47,600::hosted_engine::1144::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_start_engine_vm)
> Engine VM started on localhost
> MainThread::INFO::2018-04-19
> 19:56:47,609::brokerlink::111::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(notify)
> Trying: notify time=1524139007.61 type=state_transition
> detail=EngineStart-EngineStarting hostname='hosted-engine2'
> MainThread::INFO::2018-04-19
> 19:56:47,670::brokerlink::121::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(notify)
> Success, was notification of state_transition (EngineStart-EngineStarting)
> sent? sent
> MainThread::INFO::2018-04-19
> 19:56:47,670::hosted_engine::604::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_vdsm)
> Initializing VDSM
> MainThread::INFO::2018-04-19
> 19:56:50,095::hosted_engine::630::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images)
> Connecting the storage
> MainThread::INFO::2018-04-19
> 19:56:50,096::storage_server::220::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(validate_storage_server)
> Validating storage server
> MainThread::INFO::2018-04-19
> 19:56:52,449::hosted_engine::639::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images)
> Storage domain reported as valid and reconnect is not forced.
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 回复:Re: Hosted-engine can not switch

2018-04-19 Thread dhy336
libvirt has not error logs . I only find some error for vdsm.vdsm log 
is:2018-04-20 09:24:52,610+0800 INFO  (jsonrpc/1) [vdsm.api] FINISH 
getVolumeInfo return={'info': {'status': 'OK', 'domain': 
'8a734205-65b7-4801-b7f0-d380eb45dbae', 'voltype': 'LEAF', 'description': 
'hosted-engine.lockspace', 'parent': '----', 
'format': 'RAW', 'generation': 0, 'image': 
'611272bd-c2cc-42bc-94e2-9aa52e754c35', 'ctime': '1524032037', 'disktype': '2', 
'legality': 'LEGAL', 'mtime': '0', 'apparentsize': '1048576', 'children': [], 
'pool': '', 'capacity': '1048576', 'uuid': 
u'7037aac6-7c8e-4efd-82f7-ca618c953fe6', 'truesize': '1048576', 'type': 
'PREALLOCATED', 'lease': {'owners': [], 'version': None}}} from=::1,48306, 
task_id=03a7938e-8afb-4b16-b8dd-126c2b1f5d52 (api:52)2018-04-20 
09:24:52,611+0800 INFO  (jsonrpc/1) [jsonrpc.JsonRpcServer] RPC call 
Volume.getInfo succeeded in 0.03 seconds (__init__:630)2018-04-20 
09:24:54,113+0800 ERROR (periodic/3) [virt.periodic.Operation] 
 operation failed 
(periodic:215)Traceback (most recent call last):  File 
"/usr/lib/python2.7/site-packages/vdsm/virt/periodic.py", line 213, in __call__ 
   self._func()  File "/usr/lib/python2.7/site-packages/vdsm/virt/sampling.py", 
line 522, in __call__self._send_metrics()  File 
"/usr/lib/python2.7/site-packages/vdsm/virt/sampling.py", line 538, in 
_send_metricsvm_sample.interval)  File 
"/usr/lib/python2.7/site-packages/vdsm/virt/vmstats.py", line 45, in produce
networks(vm, stats, first_sample, last_sample, interval)  File 
"/usr/lib/python2.7/site-packages/vdsm/virt/vmstats.py", line 322, in networks  
  if nic.name.startswith('hostdev'):AttributeError: name2018-04-20 
09:24:54,800+0800 INFO  (Reactor thread) [ProtocolDetector.AcceptorImpl] 
Accepted connection from ::1:48308 (protocoldetector:61)2018-04-20 
09:24:54,810+0800 INFO  (Reactor thread) [ProtocolDetector.Detector] Detected 
protocol stomp from ::1:48308 (protocoldetector:125)2018-04-20 
09:24:54,810+0800 INFO  (Reactor thread) [Broker.StompAdapter] Processing 
CONNECT request (stompreactor:103)2018-04-20 09:24:54,818+0800 INFO  (JsonRpc 
(StompReactor)) [Broker.StompAdapter] Subscribe command received 
(stompreactor:132)2018-04-20 09:24:55,119+0800 INFO  (jsonrpc/6) [api.host] 
START getHardwareInfo() from=::1,48308 (api:46)
- 原始邮件 -----
发件人:Martin Sivak <msi...@redhat.com>
收件人:dhy336 <dhy...@sina.com>
抄送人:users <users@ovirt.org>
主题:Re: [ovirt-users] Hosted-engine can not switch
日期:2018年04月19日 20点16分


We need more than just this small log snippet. Please check the vdsm
and libvirt logs as well.
Best regards
Martin Sivak
On Thu, Apr 19, 2018 at 2:05 PM,  <dhy...@sina.com> wrote:
> Hi,
>  I deploy three node with hosted engine,  I force shut down  a node which
> Host-engine VM is run, But  hosted engine VM in other nodes can not run.
>
> I find some error in /var/log/ovirt-hosted-engine-ha/agent.log
>
> MainThread::INFO::2018-04-19
> 19:56:35,787::hosted_engine::1192::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_clean_vdsm_state)
> Cleaning state for non-running VM
> MainThread::INFO::2018-04-19
> 19:56:42,587::hosted_engine::1176::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_clean_vdsm_state)
> Vdsm state for VM clean
> MainThread::INFO::2018-04-19
> 19:56:42,589::hosted_engine::1125::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_start_engine_vm)
> Starting vm using `/usr/sbin/hosted-engine --vm-start`
> MainThread::INFO::2018-04-19
> 19:56:47,599::hosted_engine::1131::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_start_engine_vm)
> stdout:
> MainThread::INFO::2018-04-19
> 19:56:47,600::hosted_engine::1132::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_start_engine_vm)
> stderr: Virtual machine does not exist: {'vmId':
> u'08bbd680-a8a7-4267-82e7-89f36e87e930'}
>
> MainThread::INFO::2018-04-19
> 19:56:47,600::hosted_engine::1144::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_start_engine_vm)
> Engine VM started on localhost
> MainThread::INFO::2018-04-19
> 19:56:47,609::brokerlink::111::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(notify)
> Trying: notify time=1524139007.61 type=state_transition
> detail=EngineStart-EngineStarting hostname='hosted-engine2'
> MainThread::INFO::2018-04-19
> 19:56:47,670::brokerlink::121::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(notify)
> Success, was notification of state_transition (EngineStart-EngineStarting)
> sent? sent
> MainThread::INFO::2018-04-19
> 19:56:47,670::hosted_engine::604::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_vdsm)
> Initializing VDSM
> MainThread::INFO::2018-04-19
> 19:56:50,095::hosted_engine::630::ovirt_hosted_engine_ha.agent.hosted_engine.

[ovirt-users] Hosted-engine can not switch

2018-04-19 Thread dhy336
Hi, I deploy three node with hosted engine,  I force shut down  a node which 
Host-engine VM is run, But  hosted engine VM in other nodes can not run.
I find some error in /var/log/ovirt-hosted-engine-ha/agent.log
MainThread::INFO::2018-04-19 
19:56:35,787::hosted_engine::1192::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_clean_vdsm_state)
 Cleaning state for non-running VMMainThread::INFO::2018-04-19 
19:56:42,587::hosted_engine::1176::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_clean_vdsm_state)
 Vdsm state for VM cleanMainThread::INFO::2018-04-19 
19:56:42,589::hosted_engine::1125::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_start_engine_vm)
 Starting vm using `/usr/sbin/hosted-engine 
--vm-start`MainThread::INFO::2018-04-19 
19:56:47,599::hosted_engine::1131::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_start_engine_vm)
 stdout:MainThread::INFO::2018-04-19 
19:56:47,600::hosted_engine::1132::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_start_engine_vm)
 stderr: Virtual machine does not exist: {'vmId': 
u'08bbd680-a8a7-4267-82e7-89f36e87e930'}
MainThread::INFO::2018-04-19 
19:56:47,600::hosted_engine::1144::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_start_engine_vm)
 Engine VM started on localhostMainThread::INFO::2018-04-19 
19:56:47,609::brokerlink::111::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(notify)
 Trying: notify time=1524139007.61 type=state_transition 
detail=EngineStart-EngineStarting 
hostname='hosted-engine2'MainThread::INFO::2018-04-19 
19:56:47,670::brokerlink::121::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(notify)
 Success, was notification of state_transition (EngineStart-EngineStarting) 
sent? sentMainThread::INFO::2018-04-19 
19:56:47,670::hosted_engine::604::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_vdsm)
 Initializing VDSMMainThread::INFO::2018-04-19 
19:56:50,095::hosted_engine::630::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images)
 Connecting the storageMainThread::INFO::2018-04-19 
19:56:50,096::storage_server::220::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(validate_storage_server)
 Validating storage serverMainThread::INFO::2018-04-19 
19:56:52,449::hosted_engine::639::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images)
 Storage domain reported as valid and reconnect is not forced.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt-ha-broker not work

2018-04-18 Thread dhy336
Hi, my hosted-engine is working, but after more than one hour,  the 
hosted-engine status is false, but hosted-engine is work,  I can visit webadmin 
UI,additional, demaon server "ovirt-ha-broker"  is not run, I try to restart 
it, find some error.
should I debug ovirt-ha-broker and ovirt-ha-agent?
thanks...
Logs:
[root@hosted-engine1 ~]# hosted-engine --vm-status

--== Host 1 status ==--
conf_on_shared_storage : TrueStatus up-to-date  : 
FalseHostname   : hosted-engine1Host ID 
   : 1Engine status  : unknown stale-dataScore  
: 3400stopped: FalseLocal 
maintenance  : Falsecrc32  : 
2f3d4df9local_conf_timestamp   : 5238Host timestamp 
: 5235Extra metadata (valid at timestamp): metadata_parse_version=1 
   metadata_feature_version=1  timestamp=5235 (Wed Apr 18 23:27:00 2018)
   host-id=1   score=3400  vm_conf_refresh_time=5238 (Wed Apr 18 
23:27:02 2018)conf_on_shared_storage=True maintenance=False   
state=EngineUp  stopped=False[root@hosted-engine1 ~]# [root@hosted-engine1 ~]# 
[root@hosted-engine1 ~]# [root@hosted-engine1 ~]# systemctl restart 
ovirt-ha-broker[root@hosted-engine1 ~]# journalctl -xe-- Defined-By: systemd-- 
Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel-- -- Unit 
mom-vdsm.service has begun starting up.Apr 19 11:06:20 hosted-engine1 
vdsm[4733]: WARN ping was deprecated in favor of ping2 and 
confirmConnectivityApr 19 11:06:30 hosted-engine1 vdsm[4733]: WARN cannot read 
eth0 speedApr 19 11:06:34 hosted-engine1 ovirt-ha-agent[30837]: ovirt-ha-agent 
ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine ERROR Unable to refresh 
vm.conf from the shared storage. Has this HE cluster correctlyApr 19 11:06:36 
hosted-engine1 vdsm[4733]: WARN unhandled write eventApr 19 11:06:44 
hosted-engine1 ovirt-ha-agent[30837]: ovirt-ha-agent 
ovirt_hosted_engine_ha.agent.agent.Agent ERROR Traceback (most recent call 
last):File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 
191, in _run_agent  
return action(he)File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 
64, in action_proper  
return he.start_monitoring()
File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py",
 line 421, in start_monitoring  
self._config.refresh_vm_conf()  
  File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/env/config.py", line 
492, in refresh_vm_conf 
 content_from_ovf = self._get_vm_conf_content_from_ovf_store()  
  File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/env/config.py", line 
438, in _get_vm_conf_content_from_ovf_store 
 conf = ovf2VmParams.confFromOvf(heovf) 
   File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py",
 line 283, in confFromOvf   
   vmConf = toDict(ovf)
File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py",
 line 210, in toDict  
vmParams['vmId'] = tree.find('Content/Section').attrib[OVF_NS + 'id']   
 File "lxml.etree.pyx", line 2272, 
in lxml.etree._Attrib.__getitem__ (src/lxml/lxml.etree.c:55336) 
 KeyError: 
'{http://schemas.dmtf.org/ovf/envelope/1/}id'Apr 19 11:06:44 hosted-engine1 
ovirt-ha-agent[30837]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent 
ERROR Trying to restart agentApr 19 11:06:45 hosted-engine1 vdsm[4733]: WARN 
cannot read eth0 speedApr 19 11:06:46 hosted-engine1 systemd[1]: 
mom-vdsm.service holdoff time over, scheduling restart.Apr 19 11:06:46 
hosted-engine1 systemd[1]: Cannot add dependency job for unit 
lvm2-lvmetad.socket, ignoring: Unit is masked.Apr 19 11:06:46 hosted-engine1 
systemd[1]: Started MOM instance configured for VDSM purposes.-- Subject: Unit 
mom-vdsm.service has finished start-up-- Defined-By: systemd-- Support: 
http://lists.freedesktop.org/mailman/listinfo/systemd-devel-- -- Unit 
mom-vdsm.service has finished 

[ovirt-users] 回复: 回复:Re: custom hosted-engine_issues

2018-04-18 Thread dhy336
thanks , I am sorry , I mis-understand your means,  I add a data domain , It 
work.- 原始邮件 -
发件人:<dhy...@sina.com>
收件人:"Martin Sivak" <msi...@redhat.com>
抄送人:users <users@ovirt.org>
主题:[ovirt-users] 回复:Re:  custom hosted-engine_issues
日期:2018年04月18日 17点56分

Select the type of storage to use. Please specify the storage you would like to 
use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]:
For NFS storage types, specify the full address, using either the FQDN or IP 
address, and path name of the shared storage domain.  Please specify the full 
shared storage connection path to use (example: host:/path): 
storage.example.com:/hosted_engine/nfsI followed this guide configure my nfs 
shared storage, but this storage has not add to ovirt engine automatically, I 
do  not know why not to add to ovirt engine automatically?
- 原始邮件 -
发件人:Martin Sivak <msi...@redhat.com>
收件人:dhy336 <dhy...@sina.com>
抄送人:users <users@ovirt.org>
主题:Re: [ovirt-users] custom hosted-engine issues
日期:2018年04月18日 17点40分


Hi,
you need to add a storage domain for VMs first. The hosted engine
domain and VM will then be auto imported.
See the following in the Hosted engine deployment guide:
https://www.ovirt.org/documentation/self-hosted/chap-Deploying_Self-Hosted_Engine/
"Important: Log in as the admin@internal user to continue configuring
the Engine and add further resources. You must create another data
domain for the data center to be initialized to host regular virtual
machine data, and for the Engine virtual machine to be visible."
You seem to be using oVirt 4.1 so please note that the oVirt 4.2.2
release now supports much better and safer deployment method.
Best regards
--
Martin Sivak
SLA / oVirt
On Wed, Apr 18, 2018 at 11:08 AM,  <dhy...@sina.com> wrote:
> Hi,
> I setup hosted engine, and it is successed, but it has not add my share
> storage (nfs) to Storage Domain,
> I don`t find engine VM in webadmin UI compute->Virtual Machines.
> it has not  Hosted Engine sub-tab in webadmin UI when i add host to ovirt
> engine.
>
> would you give me some advise? thanks...
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 回复:Re: custom hosted-engine issues

2018-04-18 Thread dhy336
Select the type of storage to use. Please specify the storage you would like to 
use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]:
For NFS storage types, specify the full address, using either the FQDN or IP 
address, and path name of the shared storage domain.  Please specify the full 
shared storage connection path to use (example: host:/path): 
storage.example.com:/hosted_engine/nfsI followed this guide configure my nfs 
shared storage, but this storage has not add to ovirt engine automatically, I 
do  not know why not to add to ovirt engine automatically?
- 原始邮件 -
发件人:Martin Sivak <msi...@redhat.com>
收件人:dhy336 <dhy...@sina.com>
抄送人:users <users@ovirt.org>
主题:Re: [ovirt-users] custom hosted-engine issues
日期:2018年04月18日 17点40分


Hi,
you need to add a storage domain for VMs first. The hosted engine
domain and VM will then be auto imported.
See the following in the Hosted engine deployment guide:
https://www.ovirt.org/documentation/self-hosted/chap-Deploying_Self-Hosted_Engine/
"Important: Log in as the admin@internal user to continue configuring
the Engine and add further resources. You must create another data
domain for the data center to be initialized to host regular virtual
machine data, and for the Engine virtual machine to be visible."
You seem to be using oVirt 4.1 so please note that the oVirt 4.2.2
release now supports much better and safer deployment method.
Best regards
--
Martin Sivak
SLA / oVirt
On Wed, Apr 18, 2018 at 11:08 AM,  <dhy...@sina.com> wrote:
> Hi,
> I setup hosted engine, and it is successed, but it has not add my share
> storage (nfs) to Storage Domain,
> I don`t find engine VM in webadmin UI compute->Virtual Machines.
> it has not  Hosted Engine sub-tab in webadmin UI when i add host to ovirt
> engine.
>
> would you give me some advise? thanks...
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 回复:Re: Re: hosted-engine --deploy failed

2018-04-16 Thread dhy336

I can visit engine by browse,and I login VM by ssh, I find some gwt error in 
server.log.

- 原始邮件 -
发件人:Simone Tiraboschi 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: Re: [ovirt-users] hosted-engine --deploy failed
日期:2018年04月16日 18点23分



On Mon, Apr 16, 2018 at 12:18 PM,   wrote:
Hi Simone Thanks, I disble selinux, the issue is work, but  has other issue, 
error is:
[ INFO  ] Engine is still unreachable[ INFO  ] Engine is still not reachable, 
waiting...[ INFO  ] Engine is still unreachable[ ERROR ] Engine is still not 
reachable[ ERROR ] Failed to execute stage 'Closing up': Engine is still not 
reachable[ INFO  ] Stage: Clean up[ INFO  ] Generating answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20180416095044.conf'
when #hosted-engine --deploy  I setup static ip, and set ip in /etc/hosts. VM`s 
ip is same with that i set.

Can you please check the status of ovirt-engine service on the engine VM? 
 



- 原始邮件 -
发件人:Simone Tiraboschi 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: [ovirt-users] hosted-engine --deploy failed
日期:2018年04月16日 15点24分

2018-04-16 05:50:09,331+0800 DEBUG otopi.plugins.otopi.network.firewalld 
plugin.executeRaw:813 execute: ('/usr/bin/firewall-cmd', '--list-all-zones'), 
executable='None', cwd='None', env=None2018-04-16 14:21:26,331+0800 DEBUG 
otopi.plugins.otopi.network.firewalld plugin.executeRaw:869 execute-result: 
('/usr/bin/firewall-cmd', '--list-all-zones'), exception
'firewall-cmd --list-all-zones' got stuck on the engine VM; we had similar 
issue in the past to SELinux rues.
If you are deploying with a custom cloud-init ISO image with custom script 
please try disabling SELinux there just for engine-setup execution time.

As a general rule I'd suggest to move instead to the new ansible based flow 
where engine-setup is executed via ansible in a more controllable way.
On Mon, Apr 16, 2018 at 8:44 AM,   wrote:
Hi, when I depoy hosted engine by #hosted-engine --deploy
  |- [ INFO  ] Stage: Transaction setup  |- [ INFO  ] Stopping 
engine service  |- [ INFO  ] Stopping ovirt-fence-kdump-listener 
service  |- [ INFO  ] Stopping dwh service  |- [ INFO  ] 
Stopping Image I/O Proxy service  |- [ INFO  ] Stopping vmconsole-proxy 
service  |- [ INFO  ] Stopping websocket-proxy service  |- [ 
INFO  ] Stage: Misc configuration  [ ERROR ] Engine setup got stuck on 
the appliance  [ ERROR ] Failed to execute stage 'Closing up': Engine 
setup is stalled on the appliance since 1800 seconds ago. Please   
check its log on the appliance.   [ INFO  ] Stage: Clean up  [ 
INFO  ] Generating answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20180416062012.conf'
  [ INFO  ] Stage: Pre-termination  [ INFO  ] Stage: Termination
  [ ERROR ] Hosted Engine deployment failed: this system is not reliable, 
please check the issue,fix and redeploy  Log file is located at 
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20180416054143-5p2ilc.log
engine-setup take a lot time in "Stage: Misc configuration", and finaly failed.
My mail attachment is hosted-engine --deploy log and VM engine-setup log.
would you give me some advise?  Thanks...



___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users








___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 回复:Re: hosted-engine --deploy failed

2018-04-16 Thread dhy336
Hi Simone Thanks, I disble selinux, the issue is work, but  has other issue, 
error is:
[ INFO  ] Engine is still unreachable[ INFO  ] Engine is still not reachable, 
waiting...[ INFO  ] Engine is still unreachable[ ERROR ] Engine is still not 
reachable[ ERROR ] Failed to execute stage 'Closing up': Engine is still not 
reachable[ INFO  ] Stage: Clean up[ INFO  ] Generating answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20180416095044.conf'
when #hosted-engine --deploy  I setup static ip, and set ip in /etc/hosts. VM`s 
ip is same with that i set.

 



- 原始邮件 -
发件人:Simone Tiraboschi 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: [ovirt-users] hosted-engine --deploy failed
日期:2018年04月16日 15点24分

2018-04-16 05:50:09,331+0800 DEBUG otopi.plugins.otopi.network.firewalld 
plugin.executeRaw:813 execute: ('/usr/bin/firewall-cmd', '--list-all-zones'), 
executable='None', cwd='None', env=None2018-04-16 14:21:26,331+0800 DEBUG 
otopi.plugins.otopi.network.firewalld plugin.executeRaw:869 execute-result: 
('/usr/bin/firewall-cmd', '--list-all-zones'), exception
'firewall-cmd --list-all-zones' got stuck on the engine VM; we had similar 
issue in the past to SELinux rues.
If you are deploying with a custom cloud-init ISO image with custom script 
please try disabling SELinux there just for engine-setup execution time.

As a general rule I'd suggest to move instead to the new ansible based flow 
where engine-setup is executed via ansible in a more controllable way.
On Mon, Apr 16, 2018 at 8:44 AM,   wrote:
Hi, when I depoy hosted engine by #hosted-engine --deploy
  |- [ INFO  ] Stage: Transaction setup  |- [ INFO  ] Stopping 
engine service  |- [ INFO  ] Stopping ovirt-fence-kdump-listener 
service  |- [ INFO  ] Stopping dwh service  |- [ INFO  ] 
Stopping Image I/O Proxy service  |- [ INFO  ] Stopping vmconsole-proxy 
service  |- [ INFO  ] Stopping websocket-proxy service  |- [ 
INFO  ] Stage: Misc configuration  [ ERROR ] Engine setup got stuck on 
the appliance  [ ERROR ] Failed to execute stage 'Closing up': Engine 
setup is stalled on the appliance since 1800 seconds ago. Please   
check its log on the appliance.   [ INFO  ] Stage: Clean up  [ 
INFO  ] Generating answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20180416062012.conf'
  [ INFO  ] Stage: Pre-termination  [ INFO  ] Stage: Termination
  [ ERROR ] Hosted Engine deployment failed: this system is not reliable, 
please check the issue,fix and redeploy  Log file is located at 
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20180416054143-5p2ilc.log
engine-setup take a lot time in "Stage: Misc configuration", and finaly failed.
My mail attachment is hosted-engine --deploy log and VM engine-setup log.
would you give me some advise?  Thanks...



___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users





___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] How to build ovirt-engine-appliance-xxx.rpm

2018-04-11 Thread dhy336
Hi How to build ovirt-engine-appliance-xxx.rpm,  I do not find docs and source 
now I hava build ovirt-engine-appliance.ova by ovirt-appliance.
 someone give me some advise?  thanks ___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] why hosted-engine use OVA

2018-04-11 Thread dhy336
Hi, I want to know why hosted-engine use OVA, not directly use qcow2? 
 thanks___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 回复:Re: Re: Re: hosted-engine --deploy ERROR

2018-04-10 Thread dhy336
Hi Simone thank you, I adjust time zone and time by ntpdate, # hosted-engine 
--deploy is work。

- 原始邮件 -
发件人:Simone Tiraboschi 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: Re: Re: [ovirt-users] hosted-engine --deploy ERROR
日期:2018年04月10日 15点55分



On Mon, Apr 9, 2018 at 3:01 PM,   wrote:
Hi , this issue is time zone change.
I fear that the time zone change in the middle of the deployment could make the 
DHCP lease invalid.Did it work if you simply set the right time zone before 
starting the deployment? 

- 原始邮件 -
发件人:Simone Tiraboschi 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: Re: [ovirt-users] hosted-engine --deploy ERROR
日期:2018年04月09日 19点47分



On Mon, Apr 9, 2018 at 1:14 PM,   wrote:
Hi, that is my log.


Is this real:2018-04-09 08:33:07,333+0800 INFO 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:100 
TASK [Get ovirtmgmt route table id]2018-04-09 16:35:22,495+0800 INFO 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:100 
changed: [localhost]2018-04-09 16:35:22,800+0800 DEBUG 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:94 
TASK [debug]2018-04-09 16:35:22,901+0800 DEBUG 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:94 
ovirtmgmt_table_id: {'stderr_lines': [], u'changed': True, u'end': u'2018-04-09 
16:35:22.316121', u'stdout': u'3232266921', u'cmd': u"ip rule list | grep 
ovirtmgmt | sed s/[.*]\\ //g | awk '{ print $9 }'", 'failed': False, 
'attempts': 14, u'stderr': u'', u'rc': 0, u'delta': u'0:00:00.012578', 
'stdout_lines': [u'3232266921'], u'start': u'2018-04-09 16:35:22.303543'}
Did it really took 8 hours for that or the system time changed in the middle 
for external reasons? - 原始邮件 -
发件人:Simone Tiraboschi 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: [ovirt-users] hosted-engine --deploy ERROR
日期:2018年04月09日 18点31分



On Mon, Apr 9, 2018 at 11:05 AM,   wrote:
Hi
my node is installed by ovirt-node-ng-installer-ovirt-4.2-2018021412.iso,  and 
I deploy hosted-engine, # hosted-engine --deploy

[ INFO  ] changed: [localhost][ INFO  ] TASK [Clean /etc/hosts for the engine 
VM][ INFO  ] changed: [localhost][ INFO  ] TASK [Copy /etc/hosts back to the 
engine VM][ INFO  ] changed: [localhost][ INFO  ] TASK [Clean /etc/hosts on the 
host][ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The task includes an 
option with an undefined variable. The error was: list object has no element 
0\n\nThe error appears to have been in 
'/usr/share/ovirt-hosted-engine-setup/ansible/create_target_vm.yml': line 265, 
column 5, but may\nbe elsewhere in the file depending on the exact syntax 
problem.\n\nThe offending line appears to be:\n\ntags: [ 
'skip_ansible_lint' ]\n  - name: Clean /etc/hosts on the host\n^ 
here\n\nexception type: \nexception: list object has no 
element 0"}[ 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][ INFO  ] changed: [localhost][ INFO  ] Generating 
answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20180409164100.conf'[ INFO  
] Stage: Pre-termination[ INFO  ] Stage: Termination[ ERROR ] Hosted Engine 
deployment failed: please check the logs for the issue, fix accordingly or 
re-deploy from scratch.  Log file is located at 
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20180409080454-uts7by.log


Hi,according to the error it seams that the playbook wasn't able to fetch the 
IP address got by the local VM on the default libvirt natted network but it's 
pretty strange since it shouldn't reach that stage in that case.
Can you please attach the whole log file? 
___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users











___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 回复:Re: Re: hosted-engine --deploy ERROR

2018-04-09 Thread dhy336
Hi , this issue is time zone change.

- 原始邮件 -
发件人:Simone Tiraboschi 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: Re: [ovirt-users] hosted-engine --deploy ERROR
日期:2018年04月09日 19点47分



On Mon, Apr 9, 2018 at 1:14 PM,   wrote:
Hi, that is my log.


Is this real:2018-04-09 08:33:07,333+0800 INFO 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:100 
TASK [Get ovirtmgmt route table id]2018-04-09 16:35:22,495+0800 INFO 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:100 
changed: [localhost]2018-04-09 16:35:22,800+0800 DEBUG 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:94 
TASK [debug]2018-04-09 16:35:22,901+0800 DEBUG 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:94 
ovirtmgmt_table_id: {'stderr_lines': [], u'changed': True, u'end': u'2018-04-09 
16:35:22.316121', u'stdout': u'3232266921', u'cmd': u"ip rule list | grep 
ovirtmgmt | sed s/[.*]\\ //g | awk '{ print $9 }'", 'failed': False, 
'attempts': 14, u'stderr': u'', u'rc': 0, u'delta': u'0:00:00.012578', 
'stdout_lines': [u'3232266921'], u'start': u'2018-04-09 16:35:22.303543'}
Did it really took 8 hours for that or the system time changed in the middle 
for external reasons? - 原始邮件 -
发件人:Simone Tiraboschi 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: [ovirt-users] hosted-engine --deploy ERROR
日期:2018年04月09日 18点31分



On Mon, Apr 9, 2018 at 11:05 AM,   wrote:
Hi
my node is installed by ovirt-node-ng-installer-ovirt-4.2-2018021412.iso,  and 
I deploy hosted-engine, # hosted-engine --deploy

[ INFO  ] changed: [localhost][ INFO  ] TASK [Clean /etc/hosts for the engine 
VM][ INFO  ] changed: [localhost][ INFO  ] TASK [Copy /etc/hosts back to the 
engine VM][ INFO  ] changed: [localhost][ INFO  ] TASK [Clean /etc/hosts on the 
host][ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The task includes an 
option with an undefined variable. The error was: list object has no element 
0\n\nThe error appears to have been in 
'/usr/share/ovirt-hosted-engine-setup/ansible/create_target_vm.yml': line 265, 
column 5, but may\nbe elsewhere in the file depending on the exact syntax 
problem.\n\nThe offending line appears to be:\n\ntags: [ 
'skip_ansible_lint' ]\n  - name: Clean /etc/hosts on the host\n^ 
here\n\nexception type: \nexception: list object has no 
element 0"}[ 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][ INFO  ] changed: [localhost][ INFO  ] Generating 
answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20180409164100.conf'[ INFO  
] Stage: Pre-termination[ INFO  ] Stage: Termination[ ERROR ] Hosted Engine 
deployment failed: please check the logs for the issue, fix accordingly or 
re-deploy from scratch.  Log file is located at 
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20180409080454-uts7by.log


Hi,according to the error it seams that the playbook wasn't able to fetch the 
IP address got by the local VM on the default libvirt natted network but it's 
pretty strange since it shouldn't reach that stage in that case.
Can you please attach the whole log file? 
___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users








___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 回复:Re: 回复:Re: 回复:Re: ovirt engine HA

2018-04-09 Thread dhy336
thanks, my 4.1.9 webadmin UI has not Hosted Engine sub-tab on new host, I do 
not where is error?
- 原始邮件 -
发件人:Simone Tiraboschi 
收件人:dhy...@sina.com
抄送人:Alex K , users 
主题:Re: [ovirt-users] 回复:Re: 回复:Re: ovirt engine HA
日期:2018年04月09日 18点32分



On Sun, Apr 8, 2018 at 3:53 PM,   wrote:
sorry. I do not know how to describe my qeustion I want to add a hosted-engine, 
I use same nfs path with first hosted-engine, but has some error.  --== 
STORAGE CONFIGURATION ==--   Please specify the storage you 
would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]:   Please 
specify the full shared storage connection path to use (example: host:/path): 
192.168.122.218:/exports/hosted-engine-test1[ ERROR ] The selected device 
already contains a storage domain.[ ERROR ] Setup of additional hosts using 
this software is not allowed anymore. Please use the engine web interface to 
deploy any additional hosts.
Since 4.0 you should add additional hosted-engine hosts directly from the 
webadmin UI. [ ERROR ] Failed to execute stage 'Environment customization': 
Setup of additional hosts using this software is not allowed anymore. Please 
use the engine web interface to deploy any additional hosts.[ INFO  ] Stage: 
Clean up[ INFO  ] Generating answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20180408214554.conf'[ INFO  
] Stage: Pre-termination[ INFO  ] Stage: Termination[ ERROR ] Hosted Engine 
deployment failed  Log file is located at 
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20180408214515-4vofq6.log


- 原始邮件 -
发件人:Alex K 
收件人:dhy...@sina.com
抄送人:FERNANDO FREDIANI , users 
主题:Re: [ovirt-users] 回复:Re: ovirt engine HA
日期:2018年04月08日 19点45分

Are you a troll?

On Sun, Apr 8, 2018, 12:15   wrote:

Hi, I hava two node, and deploy hosted-engine by #hosted-engine --deploy, I 
find two hosted-engine that  i deploied is independent,  how to make my 
hosted-engine is HA?
- 原始邮件 -
发件人:Alex K 
收件人:FERNANDO FREDIANI 
抄送人:users 
主题:Re: [ovirt-users] ovirt engine HA
日期:2018年04月04日 01点40分

In case you need HA for the engine you need to deploy it to other hosts also 
through the GUI.


On Tue, Apr 3, 2018 at 4:47 PM, FERNANDO FREDIANI  
wrote:
Is it enough to deploy the Self-Hosted engine in just one Host of the cluster 
or is it necessary to repeat the process in each of the nodes that must be able 
to run it ?

Thanks
Fernando

2018-04-03 2:01 GMT-03:00 Vincent Royer :
Same thing, the engine in this case is "self-hosted", as in, it runs in a VM 
hosted on the cluster that it is managing.  I am a beginner here, but from my 
understanding, each node is always checking on the health of the engine VM.  If 
the engine is missing (ie, the host running it has gone down), then another 
available, healthy host will spawn up the engine and you will regain access. 
In my experience this has worked very reliably.  I have 2 hosts, both are 
"able" to run the engine VM.  If I take one host down, I am not able to load 
the engine GUI.  But if I wait a few minutes, then I regain access, and see 
that the engine is now running on the remaining healthy host. Vincent 
Royer778-825-1057

SUSTAINABLE MOBILE ENERGY SOLUTIONS




On Mon, Apr 2, 2018 at 6:07 PM,   wrote:
what different between self-hosted engine and  hosted engine? I find a project 
ovirt-hosted-engine-ha  https://github.com/oVirt/ovirt-hosted-engine-ha  - 
原始邮件 -
发件人:Vincent Royer 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: [ovirt-users] ovirt engine HA
日期:2018年04月03日 08点57分

If your node running self-hosted engine crashes, the hosted engine will be 
started up on another node. It just takes a few minutes for this all to happen, 
but it works reliably in my experience. 



On Mon, Apr 2, 2018 at 5:42 PM,   wrote:
How to solute ovirt engine HA, I have a three node cluster, one of is deploy 
engine and node , others are node, if node that deplay engine and  node crash, 
How to ensure my server is up?
___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users








___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users





___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users





___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org

[ovirt-users] hosted-engine --deploy ERROR

2018-04-09 Thread dhy336
Hi
my node is installed by ovirt-node-ng-installer-ovirt-4.2-2018021412.iso,  and 
I deploy hosted-engine, # hosted-engine --deploy

[ INFO  ] changed: [localhost][ INFO  ] TASK [Clean /etc/hosts for the engine 
VM][ INFO  ] changed: [localhost][ INFO  ] TASK [Copy /etc/hosts back to the 
engine VM][ INFO  ] changed: [localhost][ INFO  ] TASK [Clean /etc/hosts on the 
host][ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The task includes an 
option with an undefined variable. The error was: list object has no element 
0\n\nThe error appears to have been in 
'/usr/share/ovirt-hosted-engine-setup/ansible/create_target_vm.yml': line 265, 
column 5, but may\nbe elsewhere in the file depending on the exact syntax 
problem.\n\nThe offending line appears to be:\n\ntags: [ 
'skip_ansible_lint' ]\n  - name: Clean /etc/hosts on the host\n^ 
here\n\nexception type: \nexception: list object has no 
element 0"}[ 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][ INFO  ] changed: [localhost][ INFO  ] Generating 
answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20180409164100.conf'[ INFO  
] Stage: Pre-termination[ INFO  ] Stage: Termination[ ERROR ] Hosted Engine 
deployment failed: please check the logs for the issue, fix accordingly or 
re-deploy from scratch.  Log file is located at 
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20180409080454-uts7by.log
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 回复:Re: 回复:Re: ovirt engine HA

2018-04-08 Thread dhy336
sorry. I do not know how to describe my qeustion I want to add a hosted-engine, 
I use same nfs path with first hosted-engine, but has some error.  --== 
STORAGE CONFIGURATION ==--   Please specify the storage you 
would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]:   Please 
specify the full shared storage connection path to use (example: host:/path): 
192.168.122.218:/exports/hosted-engine-test1[ ERROR ] The selected device 
already contains a storage domain.[ ERROR ] Setup of additional hosts using 
this software is not allowed anymore. Please use the engine web interface to 
deploy any additional hosts.[ ERROR ] Failed to execute stage 'Environment 
customization': Setup of additional hosts using this software is not allowed 
anymore. Please use the engine web interface to deploy any additional hosts.[ 
INFO  ] Stage: Clean up[ INFO  ] Generating answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20180408214554.conf'[ INFO  
] Stage: Pre-termination[ INFO  ] Stage: Termination[ ERROR ] Hosted Engine 
deployment failed  Log file is located at 
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20180408214515-4vofq6.log


- 原始邮件 -
发件人:Alex K 
收件人:dhy...@sina.com
抄送人:FERNANDO FREDIANI , users 
主题:Re: [ovirt-users] 回复:Re: ovirt engine HA
日期:2018年04月08日 19点45分

Are you a troll?

On Sun, Apr 8, 2018, 12:15   wrote:

Hi, I hava two node, and deploy hosted-engine by #hosted-engine --deploy, I 
find two hosted-engine that  i deploied is independent,  how to make my 
hosted-engine is HA?
- 原始邮件 -
发件人:Alex K 
收件人:FERNANDO FREDIANI 
抄送人:users 
主题:Re: [ovirt-users] ovirt engine HA
日期:2018年04月04日 01点40分

In case you need HA for the engine you need to deploy it to other hosts also 
through the GUI.


On Tue, Apr 3, 2018 at 4:47 PM, FERNANDO FREDIANI  
wrote:
Is it enough to deploy the Self-Hosted engine in just one Host of the cluster 
or is it necessary to repeat the process in each of the nodes that must be able 
to run it ?

Thanks
Fernando

2018-04-03 2:01 GMT-03:00 Vincent Royer :
Same thing, the engine in this case is "self-hosted", as in, it runs in a VM 
hosted on the cluster that it is managing.  I am a beginner here, but from my 
understanding, each node is always checking on the health of the engine VM.  If 
the engine is missing (ie, the host running it has gone down), then another 
available, healthy host will spawn up the engine and you will regain access. 
In my experience this has worked very reliably.  I have 2 hosts, both are 
"able" to run the engine VM.  If I take one host down, I am not able to load 
the engine GUI.  But if I wait a few minutes, then I regain access, and see 
that the engine is now running on the remaining healthy host. Vincent 
Royer778-825-1057

SUSTAINABLE MOBILE ENERGY SOLUTIONS




On Mon, Apr 2, 2018 at 6:07 PM,   wrote:
what different between self-hosted engine and  hosted engine? I find a project 
ovirt-hosted-engine-ha  https://github.com/oVirt/ovirt-hosted-engine-ha  - 
原始邮件 -
发件人:Vincent Royer 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: [ovirt-users] ovirt engine HA
日期:2018年04月03日 08点57分

If your node running self-hosted engine crashes, the hosted engine will be 
started up on another node. It just takes a few minutes for this all to happen, 
but it works reliably in my experience. 



On Mon, Apr 2, 2018 at 5:42 PM,   wrote:
How to solute ovirt engine HA, I have a three node cluster, one of is deploy 
engine and node , others are node, if node that deplay engine and  node crash, 
How to ensure my server is up?
___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users








___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users





___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users





___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 回复: 回复:Re: ovirt engine HA

2018-04-08 Thread dhy336

Hi, I hava two node, and deploy hosted-engine by #hosted-engine --deploy, I 
find two hosted-engine that  i deploied is independent,  how to make my 
hosted-engine is HA?
- 原始邮件 -
发件人:Alex K 
收件人:FERNANDO FREDIANI 
抄送人:users 
主题:Re: [ovirt-users] ovirt engine HA
日期:2018年04月04日 01点40分

In case you need HA for the engine you need to deploy it to other hosts also 
through the GUI.


On Tue, Apr 3, 2018 at 4:47 PM, FERNANDO FREDIANI  
wrote:
Is it enough to deploy the Self-Hosted engine in just one Host of the cluster 
or is it necessary to repeat the process in each of the nodes that must be able 
to run it ?

Thanks
Fernando

2018-04-03 2:01 GMT-03:00 Vincent Royer :
Same thing, the engine in this case is "self-hosted", as in, it runs in a VM 
hosted on the cluster that it is managing.  I am a beginner here, but from my 
understanding, each node is always checking on the health of the engine VM.  If 
the engine is missing (ie, the host running it has gone down), then another 
available, healthy host will spawn up the engine and you will regain access. 
In my experience this has worked very reliably.  I have 2 hosts, both are 
"able" to run the engine VM.  If I take one host down, I am not able to load 
the engine GUI.  But if I wait a few minutes, then I regain access, and see 
that the engine is now running on the remaining healthy host. Vincent 
Royer778-825-1057

SUSTAINABLE MOBILE ENERGY SOLUTIONS




On Mon, Apr 2, 2018 at 6:07 PM,   wrote:
what different between self-hosted engine and  hosted engine? I find a project 
ovirt-hosted-engine-ha  https://github.com/oVirt/ovirt-hosted-engine-ha  - 
原始邮件 -
发件人:Vincent Royer 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: [ovirt-users] ovirt engine HA
日期:2018年04月03日 08点57分

If your node running self-hosted engine crashes, the hosted engine will be 
started up on another node. It just takes a few minutes for this all to happen, 
but it works reliably in my experience. 



On Mon, Apr 2, 2018 at 5:42 PM,   wrote:
How to solute ovirt engine HA, I have a three node cluster, one of is deploy 
engine and node , others are node, if node that deplay engine and  node crash, 
How to ensure my server is up?
___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users








___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users





___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users





___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 回复:Re: ovirt engine HA

2018-04-08 Thread dhy336
Hi, I hava two node, and deploy hosted-engine by #hosted-engine --deploy, I do 
not understand what should I do?
- 原始邮件 -
发件人:Alex K 
收件人:FERNANDO FREDIANI 
抄送人:users 
主题:Re: [ovirt-users] ovirt engine HA
日期:2018年04月04日 01点40分

In case you need HA for the engine you need to deploy it to other hosts also 
through the GUI.


On Tue, Apr 3, 2018 at 4:47 PM, FERNANDO FREDIANI  
wrote:
Is it enough to deploy the Self-Hosted engine in just one Host of the cluster 
or is it necessary to repeat the process in each of the nodes that must be able 
to run it ?

Thanks
Fernando

2018-04-03 2:01 GMT-03:00 Vincent Royer :
Same thing, the engine in this case is "self-hosted", as in, it runs in a VM 
hosted on the cluster that it is managing.  I am a beginner here, but from my 
understanding, each node is always checking on the health of the engine VM.  If 
the engine is missing (ie, the host running it has gone down), then another 
available, healthy host will spawn up the engine and you will regain access. 
In my experience this has worked very reliably.  I have 2 hosts, both are 
"able" to run the engine VM.  If I take one host down, I am not able to load 
the engine GUI.  But if I wait a few minutes, then I regain access, and see 
that the engine is now running on the remaining healthy host. Vincent 
Royer778-825-1057

SUSTAINABLE MOBILE ENERGY SOLUTIONS




On Mon, Apr 2, 2018 at 6:07 PM,   wrote:
what different between self-hosted engine and  hosted engine? I find a project 
ovirt-hosted-engine-ha  https://github.com/oVirt/ovirt-hosted-engine-ha  - 
原始邮件 -
发件人:Vincent Royer 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: [ovirt-users] ovirt engine HA
日期:2018年04月03日 08点57分

If your node running self-hosted engine crashes, the hosted engine will be 
started up on another node. It just takes a few minutes for this all to happen, 
but it works reliably in my experience. 



On Mon, Apr 2, 2018 at 5:42 PM,   wrote:
How to solute ovirt engine HA, I have a three node cluster, one of is deploy 
engine and node , others are node, if node that deplay engine and  node crash, 
How to ensure my server is up?
___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users








___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users





___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users





___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 回复:Re: hosted-engine deploy error

2018-04-04 Thread dhy336
thanks, it is work,  I change my hostname by 
hostnamectl.[root@hosted-engine-test1 ~]# hostnamectl set-hostname 
hosted-engine-test1


- 原始邮件 -
发件人:Martin Sivak <msi...@redhat.com>
收件人:dhy336 <dhy...@sina.com>
抄送人:Simone Tiraboschi <stira...@redhat.com>, users <users@ovirt.org>
主题:Re: [ovirt-users] hosted-engine deploy error
日期:2018年04月04日 19点29分


Hi,
the hostname is invalid for hosted engine because it is set to
localhost.localdomain.
Check the shell prompt, do you see the localhost there?
[root@localhost ~]# hosted-engine --deploy
You can change the hostname by using many different tools, check
https://fedoramagazine.org/set-hostname-fedora/ for examples. Most of
them (if not all) should be valid for CentOS as well.
The hostname you set must be resolvable to IP and that IP has to point
back to the host you are on.
Best regards
Martin Sivak
On Wed, Apr 4, 2018 at 12:50 PM, dhy336 <dhy...@sina.com> wrote:
> thanks, but i do not know why is my hostname invalid?
>
>
> 在2018年04月04日 18:41,Simone Tiraboschi 写道:
>
>
> On Wed, Apr 4, 2018 at 12:28 PM, <dhy...@sina.com> wrote:
>>
>> Hi,
>>
>> I deloy hosted-engine, by this
>> blog,https://ovirt.org/documentation/self-hosted/chap-Deploying_Self-Hosted_Engine/
>>  but I am facing some error.who  may give me  some advise?
>>
>> [root@localhost ~]# hosted-engine --deploy
>
>
> ^^^
>
> The error is here: please set a valid hostname for your host: the engine VM
> should be able to reach it.
> If you add the host as localhost the engine VM will reach itself and it's
> not what we want.
>
> If you don'y have a working DNS system, hosted-engine-setup will ask about
> injecting an entry for you under /etc/hosts on the engine VM but you still
> need a valid hostname.
>
>
>>
>>
>>
>>
>>   --== STORAGE CONFIGURATION ==--
>>
>>   Please specify the storage you would like to use (glusterfs,
>> iscsi, fc, nfs3, nfs4)[nfs3]:
>>   Please specify the full shared storage connection path to use
>> (example: host:/path): 192.168.122.134:/home/exports/hosted-engine
>>
>>   --== HOST NETWORK CONFIGURATION ==--
>>
>>   iptables was detected on your computer, do you wish setup to
>> configure it? (Yes, No)[Yes]:
>>   Please indicate a pingable gateway IP address [192.168.122.1]:
>>   Please indicate a nic to set ovirtmgmt bridge on: (eth0) [eth0]:
>>
>>   --== VM CONFIGURATION ==--
>>
>>   The following appliance have been found on your system:
>>   [1] - The oVirt Engine Appliance image (OVA) -
>> 4.1-20180124.1.el7.centos
>>   [2] - Directly select an OVA file
>>   Please select an appliance (1, 2) [1]:
>> [ INFO  ] Verifying its sha1sum
>> [ INFO  ] Checking OVF archive content (could take a few minutes depending
>> on archive size)
>> [ INFO  ] Checking OVF XML content (could take a few minutes depending on
>> archive size)
>>   Please specify the console type you would like to use to connect
>> to the VM (vnc, spice) [vnc]:
>> [ INFO  ] Detecting host timezone.
>>   Would you like to use cloud-init to customize the appliance on
>> the first boot (Yes, No)[Yes]?
>>   Would you like to generate on-fly a cloud-init ISO image (of
>> no-cloud type)
>>   or do you have an existing one (Generate, Existing)[Generate]?
>>   Please provide the FQDN you would like to use for the engine
>> appliance.
>>   Note: This will be the FQDN of the engine VM you are now going
>> to launch,
>>   it should not point to the base host or to any other existing
>> machine.
>>   Engine VM FQDN: (leave it empty to skip):  []: engine.tchyp.com
>>   Please provide the domain name you would like to use for the
>> engine appliance.
>>   Engine VM domain: [tchyp.com]
>>   Automatically execute engine-setup on the engine appliance on
>> first boot (Yes, No)[Yes]?
>>   Automatically restart the engine VM as a monitored service after
>> engine-setup (Yes, No)[Yes]?
>>   Enter root password that will be used for the engine appliance
>> (leave it empty to skip):
>> [WARNING] Skipping appliance root password
>>   Enter ssh public key for the root user that will be used for the
>> engine appliance (leave it empty to skip):
>> [WARNING] Skipping appliance root ssh public key
>>   Do you want to enable ssh access for the root user (yes, no,
>> without-password) [yes]:
>> [WARNING] The oV

Re: [ovirt-users] hosted-engine deploy error

2018-04-04 Thread dhy336
thanks, but i do not know why is my hostname invalid? 在2018年04月04日 18:41,Simone 
Tiraboschi 写道: On Wed, Apr 4, 2018 at 12:28 PM,  wrote: Hi,   
I deloy hosted-engine, by this 
blog,https://ovirt.org/documentation/self-hosted/chap-Deploying_Self-Hosted_Engine/
  but I am facing some error.who  may give me  some advise? [root@localhost ~]# 
hosted-engine --deploy ^^^ The error is here: please set a valid hostname for 
your host: the engine VM should be able to reach it. If you add the host as 
localhost the engine VM will reach itself and it's not what we want. If you 
don'y have a working DNS system, hosted-engine-setup will ask about injecting 
an entry for you under /etc/hosts on the engine VM but you still need a valid 
hostname.                     --== STORAGE CONFIGURATION ==--                   
  Please specify the storage you would like to use (glusterfs, iscsi, fc, nfs3, 
nfs4)[nfs3]:            Please specify the full shared storage connection path 
to use (example: host:/path): 192.168.122.134:/home/exports/hosted-engine       
              --== HOST NETWORK CONFIGURATION ==--                     iptables 
was detected on your computer, do you wish setup to configure it? (Yes, 
No)[Yes]:            Please indicate a pingable gateway IP address 
[192.168.122.1]:            Please indicate a nic to set ovirtmgmt bridge on: 
(eth0) [eth0]:                      --== VM CONFIGURATION ==--                  
   The following appliance have been found on your system:           [1] - The 
oVirt Engine Appliance image (OVA) - 4.1-20180124.1.el7.centos           [2] - 
Directly select an OVA file           Please select an appliance (1, 2) [1]:  [ 
INFO  ] Verifying its sha1sum [ INFO  ] Checking OVF archive content (could 
take a few minutes depending on archive size) [ INFO  ] Checking OVF XML 
content (could take a few minutes depending on archive size)           Please 
specify the console type you would like to use to connect to the VM (vnc, 
spice) [vnc]:  [ INFO  ] Detecting host timezone.           Would you like to 
use cloud-init to customize the appliance on the first boot (Yes, No)[Yes]?     
       Would you like to generate on-fly a cloud-init ISO image (of no-cloud 
type)           or do you have an existing one (Generate, Existing)[Generate]?  
          Please provide the FQDN you would like to use for the engine 
appliance.           Note: This will be the FQDN of the engine VM you are now 
going to launch,           it should not point to the base host or to any other 
existing machine.           Engine VM FQDN: (leave it empty to skip):  []: 
engine.tchyp.com           Please provide the domain name you would like to use 
for the engine appliance.           Engine VM domain: [tchyp.com]           
Automatically execute engine-setup on the engine appliance on first boot (Yes, 
No)[Yes]?            Automatically restart the engine VM as a monitored service 
after engine-setup (Yes, No)[Yes]?            Enter root password that will be 
used for the engine appliance (leave it empty to skip):  [WARNING] Skipping 
appliance root password           Enter ssh public key for the root user that 
will be used for the engine appliance (leave it empty to skip):  [WARNING] 
Skipping appliance root ssh public key           Do you want to enable ssh 
access for the root user (yes, no, without-password) [yes]:  [WARNING] The 
oVirt engine appliance is not configured with a default password, please 
consider configuring it via cloud-init           Please specify the size of the 
VM disk in GB: [58]:  [WARNING] Minimum requirements not met by available 
memory: Required: 4096 MB. Available: 3064 MB           Please specify the 
memory size of the VM in MB (Defaults to maximum available): [3064]:  [WARNING] 
Minimum requirements for memory size not met           Continue with specified 
memory size? (Yes, No) [No]: yes           The following CPU types are 
supported by this host:           - model_Haswell-noTSX: Intel Haswell-noTSX 
Family           - model_SandyBridge: Intel SandyBridge Family           - 
model_Westmere: Intel Westmere Family           - model_Nehalem: Intel Nehalem 
Family           - model_Penryn: Intel Penryn Family           - model_Conroe: 
Intel Conroe Family           Please specify the CPU type to be used by the VM 
[model_Haswell-noTSX]:            Please specify the number of virtual CPUs for 
the VM (Defaults to appliance OVF value): [4]:            You may specify a 
unicast MAC address for the VM or accept a randomly generated default 
[00:16:3e:5d:72:8a]:            How should the engine VM network be configured 
(DHCP, Static)[DHCP]? Static           Please enter the IP address to be used 
for the engine VM [192.168.122.2]: 192.168.122.211 [ INFO  ] The engine VM will 
be configured to use 192.168.122.211/24           Please provide a 
comma-separated list (max 3) of IP addresses of domain name servers for the 
engine VM           Engine VM DNS (leave 

[ovirt-users] hosted-engine deploy error

2018-04-04 Thread dhy336
Hi, I deloy hosted-engine, by this 
blog,https://ovirt.org/documentation/self-hosted/chap-Deploying_Self-Hosted_Engine/
 but I am facing some error.who  may give me  some advise?
[root@localhost ~]# hosted-engine --deploy   

  --== STORAGE CONFIGURATION ==--   Please specify the 
storage you would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]: 
  Please specify the full shared storage connection path to use (example: 
host:/path): 192.168.122.134:/home/exports/hosted-engine   --== 
HOST NETWORK CONFIGURATION ==--   iptables was detected on your 
computer, do you wish setup to configure it? (Yes, No)[Yes]:   Please 
indicate a pingable gateway IP address [192.168.122.1]:   Please 
indicate a nic to set ovirtmgmt bridge on: (eth0) [eth0]:
--== VM CONFIGURATION ==--   The following appliance have been 
found on your system:   [1] - The oVirt Engine Appliance image 
(OVA) - 4.1-20180124.1.el7.centos[2] - Directly select an OVA 
file  Please select an appliance (1, 2) [1]: [ INFO  ] Verifying its 
sha1sum[ INFO  ] Checking OVF archive content (could take a few minutes 
depending on archive size)[ INFO  ] Checking OVF XML content (could take a few 
minutes depending on archive size)  Please specify the console type you 
would like to use to connect to the VM (vnc, spice) [vnc]: [ INFO  ] Detecting 
host timezone.  Would you like to use cloud-init to customize the 
appliance on the first boot (Yes, No)[Yes]?   Would you like to 
generate on-fly a cloud-init ISO image (of no-cloud type)  or do you 
have an existing one (Generate, Existing)[Generate]?   Please provide 
the FQDN you would like to use for the engine appliance.  Note: This 
will be the FQDN of the engine VM you are now going to launch,  it 
should not point to the base host or to any other existing machine.  
Engine VM FQDN: (leave it empty to skip):  []: engine.tchyp.com  Please 
provide the domain name you would like to use for the engine appliance. 
 Engine VM domain: [tchyp.com]  Automatically execute engine-setup on 
the engine appliance on first boot (Yes, No)[Yes]?   Automatically 
restart the engine VM as a monitored service after engine-setup (Yes, No)[Yes]? 
  Enter root password that will be used for the engine appliance (leave 
it empty to skip): [WARNING] Skipping appliance root password  Enter 
ssh public key for the root user that will be used for the engine appliance 
(leave it empty to skip): [WARNING] Skipping appliance root ssh public key  
Do you want to enable ssh access for the root user (yes, no, 
without-password) [yes]: [WARNING] The oVirt engine appliance is not configured 
with a default password, please consider configuring it via cloud-init  
Please specify the size of the VM disk in GB: [58]: [WARNING] Minimum 
requirements not met by available memory: Required: 4096 MB. Available: 3064 MB 
 Please specify the memory size of the VM in MB (Defaults to maximum 
available): [3064]: [WARNING] Minimum requirements for memory size not met  
Continue with specified memory size? (Yes, No) [No]: yes  The 
following CPU types are supported by this host:- 
model_Haswell-noTSX: Intel Haswell-noTSX Family   - 
model_SandyBridge: Intel SandyBridge Family   - model_Westmere: 
Intel Westmere Family - model_Nehalem: Intel Nehalem Family 
  - model_Penryn: Intel Penryn Family - model_Conroe: 
Intel Conroe Family  Please specify the CPU type to be used by the VM 
[model_Haswell-noTSX]:   Please specify the number of virtual CPUs for 
the VM (Defaults to appliance OVF value): [4]:   You may specify a 
unicast MAC address for the VM or accept a randomly generated default 
[00:16:3e:5d:72:8a]:   How should the engine VM network be configured 
(DHCP, Static)[DHCP]? Static  Please enter the IP address to be used 
for the engine VM [192.168.122.2]: 192.168.122.211[ INFO  ] The engine VM will 
be configured to use 192.168.122.211/24  Please provide a 
comma-separated list (max 3) of IP addresses of domain name servers for the 
engine VM  Engine VM DNS (leave it empty to skip) [192.168.122.1]:  
 Add lines for the appliance itself and for this host to /etc/hosts on the 
engine VM?  Note: ensuring that this host could resolve the engine VM 
hostname is still up to you  (Yes, No)[No]--== 
HOSTED ENGINE CONFIGURATION ==--   Enter engine admin password: 
  Confirm engine admin password:   Please provide the name of 
the SMTP server through which we will send notifications [localhost]:   
Please provide the TCP port 

[ovirt-users] 回复:Re: oVirt non-self-hosted HA

2018-04-03 Thread dhy336
Why not to use hosted-engine for engine HA?  I am wanting to solute engine HA, 
But i do not know how to select haproxy/keepalived  and hosted engine.
--
 原始邮件 -
发件人:Tom 
收件人:Yaniv Kaul 
抄送人:users 
主题:Re: [ovirt-users] oVirt non-self-hosted HA
日期:2018年04月04日 05点45分



Sent from my iPhone
On Apr 3, 2018, at 9:32 AM, Yaniv Kaul  wrote:



On Tue, Apr 3, 2018 at 3:12 PM, TomK  wrote:
Hey Guy's,



If I'm looking to setup the oVirt engine in an HA configuration off the 
physical servers hosting my VM's (non self hosted), what are my options here?



I want to setup two to four active oVirt engine instances elsewhere and handle 
the HA via something like haproxy / keepalived to keep the entire experience 
seamless to the user.

You will need to set up the oVirt engine service as well as the PG database 
(and ovirt-engine-dwhd service and any other service we run next to the engine) 
as highly available module.In pacemaker[1], for example. You'll need to ensure 
configuration is also sync'ed between nodes, etc.Y.
So already have one ovirt engine setup separately on a vm that manages two 
remote physical hosts.  So familiar with the single host approach which I would 
simply replicate.  At least that’s the idea anyway.  Could you please expand a 
bit on the highly available module and  syncing the config between hosts?
Cheers,Tom

[1] https://clusterlabs.org/quickstart-redhat.html

From what I've seen in oVirt, that seems to be possible without the two oVirt 
engines even knowing each other's existence but is it something anyone has ever 
done?  Any recommendations in this case?



Having settings replicated would be a bonus but I would be comfortable if they 
weren't and I handle that myself.



-- 

Cheers,

Tom K.

-



Living on earth is expensive, but it includes a free trip around the sun.



___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 回复:Re: Re: Re: ovirt engine HA

2018-04-03 Thread dhy336
thanks, 

- 原始邮件 -
发件人:Vincent Royer 
收件人:dhy...@sina.com
抄送人:Users 
主题:Re: Re: Re: [ovirt-users] ovirt engine HA
日期:2018年04月03日 13点59分

Sounds like you should start here 
https://ovirt.org/documentation/self-hosted/Self-Hosted_Engine_Guide/


On Mon, Apr 2, 2018, 10:42 PM ,  wrote:
Thank you, How to deploy self-hosted engine? may you give me some data for 
self-hosted engine.
- 原始邮件 -
发件人:Vincent Royer 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: Re: [ovirt-users] ovirt engine HA
日期:2018年04月03日 13点02分

Same thing, the engine in this case is "self-hosted", as in, it runs in a VM 
hosted on the cluster that it is managing.  I am a beginner here, but from my 
understanding, each node is always checking on the health of the engine VM.  If 
the engine is missing (ie, the host running it has gone down), then another 
available, healthy host will spawn up the engine and you will regain access. 
In my experience this has worked very reliably.  I have 2 hosts, both are 
"able" to run the engine VM.  If I take one host down, I am not able to load 
the engine GUI.  But if I wait a few minutes, then I regain access, and see 
that the engine is now running on the remaining healthy host. Vincent 
Royer778-825-1057

SUSTAINABLE MOBILE ENERGY SOLUTIONS




On Mon, Apr 2, 2018 at 6:07 PM,   wrote:
what different between self-hosted engine and  hosted engine? I find a project 
ovirt-hosted-engine-ha  https://github.com/oVirt/ovirt-hosted-engine-ha  - 
原始邮件 -
发件人:Vincent Royer 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: [ovirt-users] ovirt engine HA
日期:2018年04月03日 08点57分

If your node running self-hosted engine crashes, the hosted engine will be 
started up on another node. It just takes a few minutes for this all to happen, 
but it works reliably in my experience. 



On Mon, Apr 2, 2018 at 5:42 PM,   wrote:
How to solute ovirt engine HA, I have a three node cluster, one of is deploy 
engine and node , others are node, if node that deplay engine and  node crash, 
How to ensure my server is up?
___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users










___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 回复:Re: Re: ovirt engine HA

2018-04-02 Thread dhy336
Thank you, How to deploy self-hosted engine? may you give me some data for 
self-hosted engine.
- 原始邮件 -
发件人:Vincent Royer 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: Re: [ovirt-users] ovirt engine HA
日期:2018年04月03日 13点02分

Same thing, the engine in this case is "self-hosted", as in, it runs in a VM 
hosted on the cluster that it is managing.  I am a beginner here, but from my 
understanding, each node is always checking on the health of the engine VM.  If 
the engine is missing (ie, the host running it has gone down), then another 
available, healthy host will spawn up the engine and you will regain access. 
In my experience this has worked very reliably.  I have 2 hosts, both are 
"able" to run the engine VM.  If I take one host down, I am not able to load 
the engine GUI.  But if I wait a few minutes, then I regain access, and see 
that the engine is now running on the remaining healthy host. Vincent 
Royer778-825-1057

SUSTAINABLE MOBILE ENERGY SOLUTIONS




On Mon, Apr 2, 2018 at 6:07 PM,   wrote:
what different between self-hosted engine and  hosted engine? I find a project 
ovirt-hosted-engine-ha  https://github.com/oVirt/ovirt-hosted-engine-ha  - 
原始邮件 -
发件人:Vincent Royer 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: [ovirt-users] ovirt engine HA
日期:2018年04月03日 08点57分

If your node running self-hosted engine crashes, the hosted engine will be 
started up on another node. It just takes a few minutes for this all to happen, 
but it works reliably in my experience. 



On Mon, Apr 2, 2018 at 5:42 PM,   wrote:
How to solute ovirt engine HA, I have a three node cluster, one of is deploy 
engine and node , others are node, if node that deplay engine and  node crash, 
How to ensure my server is up?
___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users








___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 回复:Re: ovirt engine HA

2018-04-02 Thread dhy336
what different between self-hosted engine and  hosted engine? I find a project 
ovirt-hosted-engine-ha  https://github.com/oVirt/ovirt-hosted-engine-ha  - 
原始邮件 -
发件人:Vincent Royer 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: [ovirt-users] ovirt engine HA
日期:2018年04月03日 08点57分

If your node running self-hosted engine crashes, the hosted engine will be 
started up on another node. It just takes a few minutes for this all to happen, 
but it works reliably in my experience. 



On Mon, Apr 2, 2018 at 5:42 PM,   wrote:
How to solute ovirt engine HA, I have a three node cluster, one of is deploy 
engine and node , others are node, if node that deplay engine and  node crash, 
How to ensure my server is up?
___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users





___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt engine HA

2018-04-02 Thread dhy336
How to solute ovirt engine HA, I have a three node cluster, one of is deploy 
engine and node , others are node, if node that deplay engine and  node crash, 
How to ensure my server is up?___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 回复: 回复:Re: Re: ovirt-engine add_host_failed

2018-03-14 Thread dhy336
Hi Alona, I test your patch, it is work, thank you very much, but I seem not 
know how to  triggered this bug?- 原始邮件 -
发件人:
收件人:"Alona Kaplan" 
抄送人:users 
主题:[ovirt-users] 回复:Re: Re:  ovirt-engine add_host_failed
日期:2018年03月15日 10点42分

Hi Alona, I has file a bug in the bugzilla. url is  
https://bugzilla.redhat.com/show_bug.cgi?id=1556668, thanks.  - 原始邮件 -
发件人:Alona Kaplan 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: Re: [ovirt-users] ovirt-engine add host failed
日期:2018年03月14日 22点56分

Hi,

I posted a patch with a proposed fix (https://gerrit.ovirt.org/#/c/88999/).
Please open a bug so you can track the version the fix is included in.

Please attach to the bug vdsm.log, engine.log and server.log (If you had 
several attempts to reinstall/remove-add the host please add the logs with all 
the attempts).


On Wed, Mar 14, 2018 at 1:42 PM,   wrote:
Hi, Alona
1.  not  opened the SetupNetwoks dialog.  while installing the host .2.   I try 
to many times to  re-install (or remove and re-add) the host  - 原始邮件 -
发件人:Alona Kaplan 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: [ovirt-users] ovirt-engine add host failed
日期:2018年03月14日 18点47分

Hi,

Seems the communication with the host is slow and you get a timeout error.
Is there a chance you opened the SetupNetwoks dialog while installing the host 
(it may slow down the host since it queries the host for lldp information)?
Please try to re-install (or remove and re-add) the host (don't open the setup 
network dialog during the installation).
More technically, there is a bug in the code -Collecting and persisting the 
data from the host is done inside a transaction.Only the persisting should be 
done in a transaction.According to the attached log seems the collection of the 
data from the host finished successfully (was slow, but finished without a 
timeout), but the persistence of the data fails since during the persistence 
the transaction reached to the timeout.
Can you please file a bug in the bugzilla and attach the relevant logs 
(engine.log, server.log and vdsm.log)
Thanks.Alona.



On Wed, Mar 14, 2018 at 5:15 AM,   wrote:
I add host for ovirt-engine,  when SetupNetworks faild, server.log has some 
error. But I do not how fix it,  could someone give me some advise?
___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users








___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 回复:Re: Re: ovirt-engine add host failed

2018-03-14 Thread dhy336
Hi Alona, I has file a bug in the bugzilla. url is  
https://bugzilla.redhat.com/show_bug.cgi?id=1556668, thanks.  - 原始邮件 -
发件人:Alona Kaplan 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: Re: [ovirt-users] ovirt-engine add host failed
日期:2018年03月14日 22点56分

Hi,

I posted a patch with a proposed fix (https://gerrit.ovirt.org/#/c/88999/).
Please open a bug so you can track the version the fix is included in.

Please attach to the bug vdsm.log, engine.log and server.log (If you had 
several attempts to reinstall/remove-add the host please add the logs with all 
the attempts).


On Wed, Mar 14, 2018 at 1:42 PM,   wrote:
Hi, Alona
1.  not  opened the SetupNetwoks dialog.  while installing the host .2.   I try 
to many times to  re-install (or remove and re-add) the host  - 原始邮件 -
发件人:Alona Kaplan 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: [ovirt-users] ovirt-engine add host failed
日期:2018年03月14日 18点47分

Hi,

Seems the communication with the host is slow and you get a timeout error.
Is there a chance you opened the SetupNetwoks dialog while installing the host 
(it may slow down the host since it queries the host for lldp information)?
Please try to re-install (or remove and re-add) the host (don't open the setup 
network dialog during the installation).
More technically, there is a bug in the code -Collecting and persisting the 
data from the host is done inside a transaction.Only the persisting should be 
done in a transaction.According to the attached log seems the collection of the 
data from the host finished successfully (was slow, but finished without a 
timeout), but the persistence of the data fails since during the persistence 
the transaction reached to the timeout.
Can you please file a bug in the bugzilla and attach the relevant logs 
(engine.log, server.log and vdsm.log)
Thanks.Alona.



On Wed, Mar 14, 2018 at 5:15 AM,   wrote:
I add host for ovirt-engine,  when SetupNetworks faild, server.log has some 
error. But I do not how fix it,  could someone give me some advise?
___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users








___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 回复:Re: ovirt-engine add host failed

2018-03-14 Thread dhy336
Hi, Alona
1.  not  opened the SetupNetwoks dialog.  while installing the host .2.   I try 
to many times to  re-install (or remove and re-add) the host  - 原始邮件 -
发件人:Alona Kaplan 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: [ovirt-users] ovirt-engine add host failed
日期:2018年03月14日 18点47分

Hi,

Seems the communication with the host is slow and you get a timeout error.
Is there a chance you opened the SetupNetwoks dialog while installing the host 
(it may slow down the host since it queries the host for lldp information)?
Please try to re-install (or remove and re-add) the host (don't open the setup 
network dialog during the installation).
More technically, there is a bug in the code -Collecting and persisting the 
data from the host is done inside a transaction.Only the persisting should be 
done in a transaction.According to the attached log seems the collection of the 
data from the host finished successfully (was slow, but finished without a 
timeout), but the persistence of the data fails since during the persistence 
the transaction reached to the timeout.
Can you please file a bug in the bugzilla and attach the relevant logs 
(engine.log, server.log and vdsm.log)
Thanks.Alona.



On Wed, Mar 14, 2018 at 5:15 AM,   wrote:
I add host for ovirt-engine,  when SetupNetworks faild, server.log has some 
error. But I do not how fix it,  could someone give me some advise?
___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users





___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 回复:Re: ovirt-engine add host failed

2018-03-14 Thread dhy336
Hi,Alona thanks for your reply, I find node network is not fixed, there is not 
Bridge ovirtmgmt.
 I solve this issue, as shown in the figure. ovirtmgmt is not in "Assiged 
Logical Networks",  I drag ovirtmgmt to "Assiged Logical Networks" .then click 
OK. host`s status become up, this is work.

But when add host , network setup fail, host is "no reponsed" .

- 原始邮件 -
发件人:Alona Kaplan 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: [ovirt-users] ovirt-engine add host failed
日期:2018年03月14日 18点47分

Hi,

Seems the communication with the host is slow and you get a timeout error.
Is there a chance you opened the SetupNetwoks dialog while installing the host 
(it may slow down the host since it queries the host for lldp information)?
Please try to re-install (or remove and re-add) the host (don't open the setup 
network dialog during the installation).
More technically, there is a bug in the code -Collecting and persisting the 
data from the host is done inside a transaction.Only the persisting should be 
done in a transaction.According to the attached log seems the collection of the 
data from the host finished successfully (was slow, but finished without a 
timeout), but the persistence of the data fails since during the persistence 
the transaction reached to the timeout.
Can you please file a bug in the bugzilla and attach the relevant logs 
(engine.log, server.log and vdsm.log)
Thanks.Alona.



On Wed, Mar 14, 2018 at 5:15 AM,   wrote:
I add host for ovirt-engine,  when SetupNetworks faild, server.log has some 
error. But I do not how fix it,  could someone give me some advise?
___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users





___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] create new domain failed

2018-03-14 Thread dhy336
HiI find a issue, I create new domain failed
error info is "Error while executing action New NFS Storage Domain: Storage 
domain already exists". 
vdsm debug info :
2018-03-14 15:39:46,163+0800 INFO  (jsonrpc/1) [DynamicBridge] 
duhy test- (Bridge:189)2018-03-14 
15:39:46,163+0800 INFO  (jsonrpc/1) [DynamicBridge] cmd = 
StoragePool_connectStorageServer (Bridge:190)2018-03-14 15:39:46,164+0800 INFO  
(jsonrpc/1) [vdsm.api] START connectStorageServer(domType=1, 
spUUID=u'----', conList=[{u'id': 
u'a16bcfa2-fd7c-49f9-84b2-3a905b4f4135', u'connection': 
u'192.168.122.134:/home/exports/vmstorage', u'iqn': u'', u'user': u'', u'tpgt': 
u'1', u'protocol_version': u'auto', u'password': '', u'port': u''}], 
options=None) from=:::192.168.122.134,45460, flow_id=61f0b27f, 
task_id=ecd65a2e-3687-49b6-a4d6-11b9fce74775 (api:46)2018-03-14 
15:39:46,190+0800 INFO  (jsonrpc/1) [vdsm.api] FINISH connectStorageServer 
return={'statuslist': [{'status': 0, 'id': 
u'a16bcfa2-fd7c-49f9-84b2-3a905b4f4135'}]} from=:::192.168.122.134,45460, 
flow_id=61f0b27f, task_id=ecd65a2e-3687-49b6-a4d6-11b9fce74775 
(api:52)2018-03-14 15:39:46,191+0800 INFO  (jsonrpc/1) [jsonrpc.JsonRpcServer] 
RPC call StoragePool.connectStorageServer succeeded in 0.03 seconds 
(__init__:630)2018-03-14 15:39:46,204+0800 INFO  (jsonrpc/3) [DynamicBridge] 
duhy test- (Bridge:189)2018-03-14 
15:39:46,205+0800 INFO  (jsonrpc/3) [DynamicBridge] cmd = StorageDomain_create 
(Bridge:190)2018-03-14 15:39:46,205+0800 INFO  (jsonrpc/3) [vdsm.api] START 
createStorageDomain(storageType=1, 
sdUUID=u'80586557-820f-4e12-9763-11beed4259c8', domainName=u'vmstorage', 
typeSpecificArg=u'192.168.122.134:/home/exports/vmstorage', domClass=1, 
domVersion=u'4', options=None) from=:::192.168.122.134,45460, 
flow_id=61f0b27f, task_id=4b38bebc-5e9f-49cf-aafd-0de9155abe06 
(api:46)2018-03-14 15:39:46,206+0800 INFO  (jsonrpc/3) 
[storage.StorageDomainCache] ---duhy test-- 
(sdc:106)2018-03-14 15:39:46,206+0800 INFO  (jsonrpc/3) 
[storage.StorageDomainCache] /rhev/data-center (sdc:107)2018-03-14 
15:39:46,206+0800 INFO  (jsonrpc/3) [storage.StorageDomainCache] 
--- (sdc:119)2018-03-14 
15:39:46,206+0800 INFO  (jsonrpc/3) [storage.StorageDomainCache] {} 
(sdc:120)2018-03-14 15:39:46,207+0800 INFO  (jsonrpc/3) 
[storage.StorageDomainCache] sdUUID not in __inProgress (sdc:128)2018-03-14 
15:39:46,207+0800 INFO  (jsonrpc/3) [storage.StorageDomainCache] set([]) 
(sdc:129)2018-03-14 15:39:46,668+0800 INFO  (itmap/0) [IOProcessClient] 
Starting client ioprocess-1 (__init__:330)2018-03-14 15:39:46,693+0800 INFO  
(ioprocess/31894) [IOProcess] Starting ioprocess (__init__:452)2018-03-14 
15:39:46,704+0800 INFO  (jsonrpc/3) [storage.StorageDomain] 
sdUUID=80586557-820f-4e12-9763-11beed4259c8 domainName=vmstorage 
remotePath=192.168.122.134:/home/exports/vmstorage domClass=1 
(nfsSD:70)2018-03-14 15:39:46,745+0800 INFO  (jsonrpc/3) [IOProcessClient] 
Starting client ioprocess-2 (__init__:330)2018-03-14 15:39:46,780+0800 INFO  
(ioprocess/31903) [IOProcess] Starting ioprocess (__init__:452)2018-03-14 
15:39:47,108+0800 INFO  (jsonrpc/3) [storage.xlease] Formatting index for 
lockspace u'80586557-820f-4e12-9763-11beed4259c8' (version=1) 
(xlease:641)2018-03-14 15:39:47,489+0800 INFO  (jsonrpc/3) [storage.HSM] 
knownSDs: {80586557-820f-4e12-9763-11beed4259c8: vdsm.storage.nfsSD.findDomain} 
(hsm:2581)2018-03-14 15:39:47,490+0800 INFO  (jsonrpc/3) 
[storage.StorageDomainCache] --manuallyAddDomain 
(sdc:204)2018-03-14 15:39:47,490+0800 INFO  (jsonrpc/3) 
[storage.StorageDomainCache]  (sdc:205)2018-03-14 15:39:47,490+0800 INFO  (jsonrpc/3) 
[storage.StorageDomainCache] 80586557-820f-4e12-9763-11beed4259c8 
(sdc:206)2018-03-14 15:39:47,490+0800 INFO  (jsonrpc/3) [vdsm.api] FINISH 
createStorageDomain return=None from=:::192.168.122.134,45460, 
flow_id=61f0b27f, task_id=4b38bebc-5e9f-49cf-aafd-0de9155abe06 
(api:52)2018-03-14 15:39:47,491+0800 INFO  (jsonrpc/3) [jsonrpc.JsonRpcServer] 
RPC call StorageDomain.create succeeded in 1.29 seconds 
(__init__:630)2018-03-14 15:39:47,508+0800 INFO  (jsonrpc/4) [DynamicBridge] 
duhy test- (Bridge:189)2018-03-14 
15:39:47,509+0800 INFO  (jsonrpc/4) [DynamicBridge] cmd = StorageDomain_create 
(Bridge:190)2018-03-14 15:39:47,510+0800 INFO  (jsonrpc/4) [vdsm.api] START 
createStorageDomain(storageType=1, 
sdUUID=u'80586557-820f-4e12-9763-11beed4259c8', domainName=u'vmstorage', 
typeSpecificArg=u'192.168.122.134:/home/exports/vmstorage', domClass=1, 
domVersion=u'4', options=None) from=:::192.168.122.134,45460, 
flow_id=61f0b27f, task_id=e419bf88-6f4e-43ff-a6ae-0153b3a98c65 
(api:46)2018-03-14 15:39:47,510+0800 INFO  (jsonrpc/4) 
[storage.StorageDomainCache] ---duhy test--