[ovirt-users] Limit number of vms

2017-09-04 Thread qinglong.d...@horebdata.cn
Hi all,
I want to limit number of running vms in ovirt. For example, a vm 
should fail to start when there are enough running vms. Is there an easy way to 
do this such as modifing an vdsm script? Wish someone can help. Thanks!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] active directory

2017-06-08 Thread qinglong.d...@horebdata.cn
It worked. Thanks!
 
From: Ondra Machacek
Date: 2017-06-08 14:45
To: qinglong.d...@horebdata.cn
CC: Latcho; users
Subject: Re: Re: [ovirt-users] active directory
If you are using Active Directory you most probably don't use Anonymous bind.
The question:
 
   Enter search user DN (for example
uid=username,dc=example,dc=com or leave empty for anonymous):
 
You should not leave empty but rather specify some user, which can
search in active directory,
you can enter it either in DN format(cn=user,dc=domain,dcom) or UPN
format (u...@domain.com).
 
On Thu, Jun 8, 2017 at 5:32 AM, qinglong.d...@horebdata.cn
<qinglong.d...@horebdata.cn> wrote:
> Thanks! I excuted "ovirt-engine-extension-aaa-ldap-setup", but I got an
> error. Is there anything wrong?
>
> [root@engine ~]# ovirt-engine-extension-aaa-ldap-setup
> [ INFO  ] Stage: Initializing
> [ INFO  ] Stage: Environment setup
>   Configuration files:
> ['/etc/ovirt-engine-extension-aaa-ldap-setup.conf.d/10-packaging.conf']
>   Log file:
> /tmp/ovirt-engine-extension-aaa-ldap-setup-20170608112535-jll8t2.log
>   Version: otopi-1.6.2 (otopi-1.6.2-1.el7.centos)
> [ INFO  ] Stage: Environment packages setup
> [ INFO  ] Stage: Programs detection
> [ INFO  ] Stage: Environment customization
>   Welcome to LDAP extension configuration program
>   Available LDAP implementations:
>1 - 389ds
>2 - 389ds RFC-2307 Schema
>3 - Active Directory
>4 - IBM Security Directory Server
>5 - IBM Security Directory Server RFC-2307 Schema
>6 - IPA
>7 - Novell eDirectory RFC-2307 Schema
>8 - OpenLDAP RFC-2307 Schema
>9 - OpenLDAP Standard Schema
>   10 - Oracle Unified Directory RFC-2307 Schema
>   11 - RFC-2307 Schema (Generic)
>   12 - RHDS
>   13 - RHDS RFC-2307 Schema
>   14 - iPlanet
>   Please select: 3
>   Please enter Active Directory Forest name: horebdata.com
> [ INFO  ] Resolving Global Catalog SRV record for horebdata.com
> [ INFO  ] Resolving LDAP SRV record for horebdata.com
>   NOTE:
>   It is highly recommended to use secure protocol to access the LDAP
> server.
>   Protocol startTLS is the standard recommended method to do so.
>   Only in cases in which the startTLS is not supported, fallback to
> non standard ldaps protocol.
>   Use plain for test environments only.
>   Please select protocol to use (startTLS, ldaps, plain) [startTLS]:
> plain
> [ INFO  ] Resolving SRV record 'horebdata.com'
> [ INFO  ] Connecting to LDAP using
> 'ldap://win-fvdsocg3abj.horebdata.com:389'
> [ INFO  ] Connection succeeded
>   Enter search user DN (for example uid=username,dc=example,dc=com
> or leave empty for anonymous):
> [ INFO  ] Attempting to bind using '[Anonymous]'
>   Are you going to use Single Sign-On for Virtual Machines (Yes, No)
> [No]: yes
>   NOTE:
>   Profile name has to match domain name, otherwise Single Sign-On
> for Virtual Machines will not work.
>   Please specify profile name that will be visible to users
> [horebdata.com]:
> [ INFO  ] Stage: Setup validation
>   The following files are about to be overwritten:
>   /etc/ovirt-engine/extensions.d/horebdata.com-authn.properties
>   /etc/ovirt-engine/extensions.d/horebdata.com.properties
>   /etc/ovirt-engine/aaa/horebdata.com.properties
>   Continue and overwrite? (Yes, No) [No]: yes
>   NOTE:
>   It is highly recommended to test drive the configuration before
> applying it into engine.
>   Perform at least one Login sequence and one Search sequence.
>   Select test sequence to execute (Done, Abort, Login, Search)
> [Abort]: login
>   Enter user name: horebdata
>   Enter user password:
> [ INFO  ] Executing login sequence...
>   Login output:
>   2017-06-08 11:26:09,446+08 INFO
> 
>   2017-06-08 11:26:09,463+08 INFO
> Initialization 
>   2017-06-08 11:26:09,463+08 INFO
> 
>   2017-06-08 11:26:09,475+08 INFOLoading extension
> 'horebdata.com-authn'
>   2017-06-08 11:26:09,517+08 INFOExtension 'horebdata.com-authn'
> loaded
>   2017-06-08 11:26:09,522+08 INFOLoading extension
> 'horebdata.com'
>   2017-06-08 11:26:09,530+08 INFOExtension 'horebdata.com'
> loaded
>

Re: [ovirt-users] active directory

2017-06-07 Thread qinglong.d...@horebdata.cn
itializing extension 
'horebdata.com'
  2017-06-08 11:26:09,651+08 INFO
[ovirt-engine-extension-aaa-ldap.authz::horebdata.com] Creating LDAP pool 
'authz'
  2017-06-08 11:26:09,679+08 INFO
[ovirt-engine-extension-aaa-ldap.authz::horebdata.com] LDAP pool 'authz' 
information: vendor='null' version='null'
  2017-06-08 11:26:09,679+08 INFO
[ovirt-engine-extension-aaa-ldap.authz::horebdata.com] Creating LDAP pool 'gc'
  2017-06-08 11:26:09,694+08 INFO
[ovirt-engine-extension-aaa-ldap.authz::horebdata.com] LDAP pool 'gc' 
information: vendor='null' version='null'
  2017-06-08 11:26:09,697+08 WARNING 
[ovirt-engine-extension-aaa-ldap.authz::horebdata.com] Cannot initialize LDAP 
framework, deferring initialization. Error: Unexpected comma or semicolon found 
at the end of the DN string.
  2017-06-08 11:26:09,697+08 INFOExtension 'horebdata.com' 
initialized
  2017-06-08 11:26:09,697+08 INFOStart of enabled extensions list
  2017-06-08 11:26:09,697+08 INFOInstance name: 'horebdata.com', 
Extension name: 'ovirt-engine-extension-aaa-ldap.authz', Version: '1.3.1', 
Notes: 'Display name: ovirt-engine-extension-aaa-ldap-1.3.1-1.el7.centos', 
License: 'ASL 2.0', Home: 'http://www.ovirt.org', Author 'The oVirt Project', 
Build interface Version: '0',  File: 
'/tmp/tmpHfBhQf/extensions.d/horebdata.com.properties', Initialized: 'true'
  2017-06-08 11:26:09,698+08 INFOInstance name: 
'horebdata.com-authn', Extension name: 'ovirt-engine-extension-aaa-ldap.authn', 
Version: '1.3.1', Notes: 'Display name: 
ovirt-engine-extension-aaa-ldap-1.3.1-1.el7.centos', License: 'ASL 2.0', Home: 
'http://www.ovirt.org', Author 'The oVirt Project', Build interface Version: 
'0',  File: '/tmp/tmpHfBhQf/extensions.d/horebdata.com-authn.properties', 
Initialized: 'true'
  2017-06-08 11:26:09,698+08 INFOEnd of enabled extensions list
  2017-06-08 11:26:09,698+08 INFO

  2017-06-08 11:26:09,698+08 INFO== 
Execution ===
  2017-06-08 11:26:09,698+08 INFO

  2017-06-08 11:26:09,698+08 INFOIteration: 0
  2017-06-08 11:26:09,699+08 INFOProfile='horebdata.com' 
authn='horebdata.com-authn' authz='horebdata.com' mapping='null'
  2017-06-08 11:26:09,699+08 INFOAPI: 
-->Authn.InvokeCommands.AUTHENTICATE_CREDENTIALS profile='horebdata.com' 
user='horebdata'
  2017-06-08 11:26:09,702+08 WARNING 
[ovirt-engine-extension-aaa-ldap.authn::horebdata.com-authn] Cannot initialize 
LDAP framework, deferring initialization. Error: Unexpected comma or semicolon 
found at the end of the DN string.
  2017-06-08 11:26:09,703+08 SEVERE  Unexpected comma or semicolon 
found at the end of the DN string.
[ ERROR ] Login sequence failed
  Please investigate details of the failure (search for lines 
containing SEVERE log level).
  Select test sequence to execute (Done, Abort, Login, Search) [Abort]: 
 
From: Ondra Machacek
Date: 2017-06-07 14:47
To: qinglong.d...@horebdata.cn
CC: users
Subject: Re: [ovirt-users] active directory
Or you can try the migration tool:
 
https://github.com/oVirt/ovirt-engine-kerbldap-migration
 
Check the README, there are instructions how to procceed.
 
On Wed, Jun 7, 2017 at 8:33 AM, Latchezar Filtchev <lat...@aubg.bg> wrote:
> This can help you:
>
>
>
> http://lists.ovirt.org/pipermail/users/2016-September/042937.html
>
>
>
> Best,
>
> Latcho
>
>
>
>
>
> From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of
> qinglong.d...@horebdata.cn
> Sent: Wednesday, June 07, 2017 4:57 AM
> To: users
> Subject: [ovirt-users] active directory
>
>
>
> Hi all,
>
> I used "engine-manage-domains" to add AD to ovirt in earlier
> version. What should I do in ovirt 4.1? Hope someone can help. 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] active directory

2017-06-06 Thread qinglong.d...@horebdata.cn
Hi all,
I used "engine-manage-domains" to add AD to ovirt in earlier version. 
What should I do in ovirt 4.1? Hope someone can help. Thanks!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] upload image

2017-05-23 Thread qinglong.d...@horebdata.cn
It worked. Thanks a lot!
 
From: Daniel Erez
Date: 2017-05-22 20:24
To: qinglong.d...@horebdata.cn; Niyazi Elvan
CC: users
Subject: Re: [ovirt-users] upload image
The oVirt's CA certificate can be fetched from 
http:///ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA

(more details in 'SSL installation' section at: 
https://github.com/oVirt/ovirt-imageio/blob/master/proxy/README).

For importing the certificate to firefox, try the following instruction demo :
https://danielerez.github.io/slides-image-io/#/3/2

On Mon, May 22, 2017 at 10:56 AM qinglong.d...@horebdata.cn 
<qinglong.d...@horebdata.cn> wrote:
Thanks! But I don't know how to import CA to browser. I have tried to import 
the CA to my firefox browser, but I failed. Is there any documentations about 
that?
 
From: Niyazi Elvan
Date: 2017-05-19 15:54
To: qinglong.dong
CC: users
Subject: Re: [ovirt-users] upload image
Most probably it's ovirt engine CA certificate. You need to import it to your 
browser.


On May 19, 2017 6:36 AM, "qinglong.d...@horebdata.cn" 
<qinglong.d...@horebdata.cn> wrote:
Hi all,
I wanted to upload a qcow2 image using web UI. But I got an error:
 "Unable to upload image to disk a38f29f4-594a-438b-a8e0-6a85ac56055d due to a 
network error. Make sure ovirt-imageio-proxy service is installed and 
configured, and ovirt-engine's certificate is registered as a valid CA in the 
browser."
The ovirt-imageio-proxy service had been installed when I excuted 
"engine-setup". What shoud I do about ovirt-imageio-proxy or CA? Hope someone 
can help, 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


Re: [ovirt-users] upload image

2017-05-22 Thread qinglong.d...@horebdata.cn
Thanks! But I don't know how to import CA to browser. I have tried to import 
the CA to my firefox browser, but I failed. Is there any documentations about 
that?
 
From: Niyazi Elvan
Date: 2017-05-19 15:54
To: qinglong.dong
CC: users
Subject: Re: [ovirt-users] upload image
Most probably it's ovirt engine CA certificate. You need to import it to your 
browser.


On May 19, 2017 6:36 AM, "qinglong.d...@horebdata.cn" 
<qinglong.d...@horebdata.cn> wrote:
Hi all,
I wanted to upload a qcow2 image using web UI. But I got an error:
 "Unable to upload image to disk a38f29f4-594a-438b-a8e0-6a85ac56055d due to a 
network error. Make sure ovirt-imageio-proxy service is installed and 
configured, and ovirt-engine's certificate is registered as a valid CA in the 
browser."
The ovirt-imageio-proxy service had been installed when I excuted 
"engine-setup". What shoud I do about ovirt-imageio-proxy or CA? Hope someone 
can help, 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] upload image

2017-05-18 Thread qinglong.d...@horebdata.cn
Hi all,
I wanted to upload a qcow2 image using web UI. But I got an error:
 "Unable to upload image to disk a38f29f4-594a-438b-a8e0-6a85ac56055d due to a 
network error. Make sure ovirt-imageio-proxy service is installed and 
configured, and ovirt-engine's certificate is registered as a valid CA in the 
browser."
The ovirt-imageio-proxy service had been installed when I excuted 
"engine-setup". What shoud I do about ovirt-imageio-proxy or CA? Hope someone 
can help, thanks!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] import domain and import template

2017-04-20 Thread qinglong.d...@horebdata.cn
Hi,
I have created an ovirt 4.1.1.6 environment a few days ago. And I have 
imported a data domain which was used in early version(4.0.0.5) sucessfully. 
But I got a same error when importing all templates of the data domain:
Anyone can help? Thanks!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] host-only network

2017-03-08 Thread qinglong.d...@horebdata.cn
Hi, all
I have noticed that kvm supports host-only network mode. So I want to 
know how to create a host-only vinc for a virtual machine in ovirt.
Anyone can help? Thanks!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] restapi

2017-03-07 Thread qinglong.d...@horebdata.cn
Hi, all
I have a cloud foundry environment. I have noticed that cloud foundry 
can schedule vitual machines created by vmware or openstack using restapi. 
Ovirt supports restapi, too. So I want to know if it is possible to schedule 
vitual machines which created by ovirt using cloud foundry. Anyone can help? 
Thanks!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] vm display effect

2017-03-02 Thread qinglong.d...@horebdata.cn
Yes. I have installed ovirt-guest-tools. There is a vitual card called "red hat 
qxl gpu" in the windows vm and I use virt-viewer console.
 
From: Jiri Belka
Date: 2017-02-22 22:50
To: qinglong dong
CC: users
Subject: Re: [ovirt-users] vm display effect
Do you have SPICE console and SPICE agents installed?
 
- Original Message -
From: "qinglong dong" <qinglong.d...@horebdata.cn>
To: "users" <users@ovirt.org>
Sent: Thursday, February 16, 2017 4:18:22 AM
Subject: [ovirt-users] vm display effect
 
Hi, all 
I have used windows vm created by ovirt for a long time. I found that the vm 
display effect was not very good in some cases. For example, The codes came out 
word by word when using some c ode browsing tools. And sometimes online video 
playing was not very fluent. 
Anyone coiuld give some advices to improve this? 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


Re: [ovirt-users] gpu passthrough

2017-02-21 Thread qinglong.d...@horebdata.cn
It worked. Thanks a lot!
 
From: Darrell Budic
Date: 2017-02-22 00:37
To: qinglong.d...@horebdata.cn
CC: users
Subject: Re: [ovirt-users] gpu passthrough
I think you need to click the “down arrow” under the top box, should move the 
GPU into the “Host Devices to be attached” box, then hit Ok to make the 
assignment.

On Feb 21, 2017, at 3:26 AM, qinglong.d...@horebdata.cn wrote:

Hi, all:
I want to assign the gpu card of one host to the vm which is running in 
the host.

After I click "OK", I got nothing. Anyone can help? 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] vm display effect

2017-02-15 Thread qinglong.d...@horebdata.cn
Hi, all
I have used windows vm created by ovirt for a long time. I found that 
the vm display effect was not very good in some cases. For example, The codes 
came out word by word when using some code browsing tools. And sometimes online 
video playing was not very fluent.
Anyone coiuld give some advices to improve this? Thanks!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] vm redhat5.8 graphical mode

2017-01-11 Thread qinglong.d...@horebdata.cn
It works! Thanks!
 
From: Gianluca Cecchi
Date: 2017-01-09 22:33
To: qinglong.d...@horebdata.cn
CC: users
Subject: Re: [ovirt-users] vm redhat5.8 graphical mode
On Mon, Jan 9, 2017 at 2:44 PM, qinglong.d...@horebdata.cn 
<qinglong.d...@horebdata.cn> wrote:
Hi,all
I want to install redhat5.8 in graphical mode. I can install it in 
ovirt3.5(picture1), but I cann't install it in ovirt4.0(picture2). I cann't see 
the three selections in ovirt4.0. I use rhel-server-5.8-x86_64-dvd.iso.



I don't have at hand a rhel 5.8 iso but I reproduced the same problem with rhel 
5.11 iso too (and oVirt 4.0.5 with CentOS 7.2 at hypervisor side)
I verified that in edit VM, console, the only "Video Type" option that works is 
"Cirrus", while with QXL and VGA I get the same problem described by you.
I think you can install in graphic mode with Cirrus video type and then setup 
the operating system for QXL in a second time, also taking in account what 
detailed in this bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=890230
(or keep Cirrus+VNC graphical access also after install)

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


Re: [ovirt-users] high availability

2017-01-04 Thread qinglong.d...@horebdata.cn
Thanks! I'd like to try it out.
 
From: Yaniv Dary
Date: 2017-01-04 19:24
To: qinglong.d...@horebdata.cn
CC: users; Martin Sivak
Subject: Re: [ovirt-users] high availability
In oVirt 4.1 we are planning to allow VM leases that will allow you to restart 
HA VMs in this use case even without power management.
We would love some feedback on this on the latest tested build, if you want to 
try it out:
https://github.com/nirs/ovirt-site/blob/77669161397ebf4cc15c66e0e6876bc033384cfc/source/develop/release-management/features/virt/vm-failover-using-vm-leases.html.md

Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109
Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary

On Wed, Jan 4, 2017 at 11:33 AM, Martin Sivak <msi...@redhat.com> wrote:
Hi,

high availability requires power management to be configured properly for your 
hosts. The VM won't be restarted until we can ascertain the status of node2 
(because it can still be up).

The host is Non responsive, meaning we do not know if it is up or down. That is 
the reason we show the VM status as unknown.

You can fix that by configuring power management for node2 or by right clicking 
and selecting Confirm host has been rebooted menu option.

Regards

--
Martin Sivak
SLA / oVirt

On Wed, Jan 4, 2017 at 9:45 AM, qinglong.d...@horebdata.cn 
<qinglong.d...@horebdata.cn> wrote:
Hi, all
I have an ovirt 4.0 environment with two hosts and a hosted engine. The 
engine vm was running on host 1 and another vm was running on host2. Then I 
unpluged the power of host 2. The another vm should be supposed to restart on 
host 1 because of ha feature. But it couldn't. It stayed unknown status all the 
time. And the host 2 stayed non responsive status.

Did I understand ha correctly? Anyon can help? 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] high availability

2017-01-04 Thread qinglong.d...@horebdata.cn
Hi, all
I have an ovirt 4.0 environment with two hosts and a hosted engine. The 
engine vm was running on host 1 and another vm was running on host2. Then I 
unpluged the power of host 2. The another vm should be supposed to restart on 
host 1 because of ha feature. But it couldn't. It stayed unknown status all the 
time. And the host 2 stayed non responsive status.

Did I understand ha correctly? Anyon can help? Thanks!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Promiscuous mode

2016-09-02 Thread qinglong.d...@horebdata.cn
Hi, all:
I have a vpn server in a vm, but it could not work normally. It seems 
that promiscuous mode must be enabled in nic of the hypervisor. I do not know 
how to set the promiscuous mode in ovirt node. Anyone can help? Thanks!




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


[ovirt-users] hosted-engine-deploy error

2016-07-24 Thread qinglong.d...@horebdata.cn
Hi, all:
I tried to deploy an hosted engine, but I got an error:
[root@node ~]# hosted-engine --deploy
..
  --== CONFIGURATION PREVIEW ==--

  Bridge interface   : enp6s0f0
  Engine FQDN: engine.horebdata.cn
  Bridge name: ovirtmgmt
  Host address   : node.horebdata.cn
  SSH daemon port: 22
  Firewall manager   : iptables
  Gateway address: 192.168.1.1
  Host name for web application  : node
  Storage Domain type: iscsi
  Host ID: 1
  LUN ID : 23866376332323932
  Image size GB  : 25
  iSCSI Portal IP Address: 192.168.128.115
  iSCSI Target Name  : engine
  iSCSI Portal port  : 3260
  iSCSI Portal user  :
  Console type   : vnc
  Memory size MB : 4096
  MAC address: 00:16:3e:48:db:9e
  Boot type  : cdrom
  Number of CPUs : 2
  ISO image (cdrom boot/cloud-init)  : /tmp/1.iso
  CPU Type   : model_SandyBridge

  Please confirm installation settings (Yes, No)[Yes]:
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stage: Misc configuration
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Configuring libvirt
[ INFO  ] Configuring VDSM
[ INFO  ] Starting vdsmd
[ INFO  ] Configuring the management bridge
[ INFO  ] Creating Volume Group
[ ERROR ] Error creating Volume Group: Failed to initialize physical device: 
("[u'/dev/mapper/23866376332323932']",)
  The selected device is already used.
  To create a vg on this device, you must use Force.
  WARNING: This will destroy existing data on the device.
  (Force, Abort)[Abort]? Force
[ INFO  ] Creating Storage Domain
[ INFO  ] Creating Storage Pool
[ INFO  ] Connecting Storage Pool
[ INFO  ] Verifying sanlock lockspace initialization
[ ERROR ] Failed to execute stage 'Misc configuration': [Errno 101] Network is 
unreachable
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20160725101205.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-20160725100535-h2y78c.log
[root@node ~]# cat 
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160725100535-h2y78c.log
 | grep ERROR
2016-07-25 10:07:01 ERROR otopi.plugins.gr_he_setup.storage.blockd 
blockd._misc:664 Error creating Volume Group: Failed to initialize physical 
device: ("[u'/dev/mapper/23866376332323932']",)
2016-07-25 10:11:59 ERROR otopi.context context._executeMethod:151 Failed to 
execute stage 'Misc configuration': [Errno 101] Network is unreachable
2016-07-25 10:12:05 ERROR otopi.plugins.gr_he_setup.core.misc 
misc._terminate:99 Hosted Engine deployment failed: this system is not 
reliable, please check the issue, fix and redeploy
[root@node ~]# cat /var/log/vdsm/vdsm.log | grep ERROR
jsonrpc.Executor/4::ERROR::2016-07-25 
10:07:01,491::lvm::737::Storage.LVM::(_initpvs) pvcreate failed with rc=5
jsonrpc.Executor/4::ERROR::2016-07-25 
10:07:01,492::lvm::738::Storage.LVM::(_initpvs) [], ['  WARNING: lvmetad is 
running but disabled. Restart lvmetad before enabling it!', '  
/dev/mapper/23866376332323932: read failed after 0 of 4096 at 0: Input/output 
error', '  /dev/mapper/23866376332323932: read failed after 0 of 4096 at 
42949607424: Input/output error', '  /dev/mapper/23866376332323932: read failed 
after 0 of 4096 at 42949664768: Input/output error', '  WARNING: Error counts 
reached a limit of 3. Device /dev/mapper/23866376332323932 was disabled', '  
Failed to wipe new metadata area at the start of the 
/dev/mapper/23866376332323932', '  Failed to add metadata area for new physical 
volume /dev/mapper/23866376332323932', '  Failed to setup physical volume 
"/dev/mapper/23866376332323932"']
jsonrpc.Executor/4::ERROR::2016-07-25 
10:07:01,492::task::868::Storage.TaskManager.Task::(_setError) 
Task=`a1b55dc1-2c23-4e9f-b81a-43b189557028`::Unexpected error
jsonrpc.Executor/4::ERROR::2016-07-25 
10:07:01,496::dispatcher::77::Storage.Dispatcher::(wrapper) {'status': 
{'message': 'Failed to initialize physical device: 
("[u\'/dev/mapper/23866376332323932\']",)', 'code': 601}}
jsonrpc.Executor/2::ERROR::2016-07-25 
10:10:47,116::sdc::140::Storage.StorageDomainCache::(_findDomain) looking for 
unfetched domain 

[ovirt-users] ovirt-engine-sdk-python

2016-07-19 Thread qinglong.d...@horebdata.cn
Hi all,
I have an ovirt 4.0 environment. I got an error when I excuted an 
python script which could be normally excuted in 3.6. I have figured out that 
in ovirt 4.0 the version of python sdk is still 3.6.7.0. It seemed that the 
server thought it was an unsecured connection, but HTTPS protocol and the right 
ca file was used.
Anyone can help? Thanks!

[root@test ~]# ./test.py
Traceback (most recent call last):
  File "./test.py", line 30, in 
vms = VirtualMachines()
  File "/root/vm.py", line 31, in __init__
self.api = 
API(url=BASEURL,username=USERNAME,password=PASSWORD,ca_file=CAFILE)
  File "/usr/lib/python2.7/site-packages/ovirtsdk/api.py", line 197, in __init__
raise UnsecuredConnectionAttemptError
ovirtsdk.infrastructure.errors.UnsecuredConnectionAttemptError: [ERROR]::No 
response returned from server. If you're using HTTP protocol
against a SSL secured server, then try using HTTPS instead.

(BASEURL: https://test.example.com/ovirt-engine)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt 4.0 engine access

2016-07-06 Thread qinglong.d...@horebdata.cn
Thanks! No specific reasons. I use IP in ovirt 3.6 and it seems simple to use 
an IP address in some cases.




From: Yedidyah Bar David
Date: 2016-07-06 14:26
To: qinglong.d...@horebdata.cn
CC: users; 胡茂荣; 胡晓宇
Subject: Re: [ovirt-users] ovirt 4.0 engine access
On Wed, Jul 6, 2016 at 9:13 AM, qinglong.d...@horebdata.cn
<qinglong.d...@horebdata.cn> wrote:
> Hi, all
> I am using ovirt 4.0. It seems that I could only use FQDN to access
> the website of engine. Is it possible to use IP to access the website?
 
No.
 
You can only access the engine using the FQDN you input when running
engine-setup.
You should add it to the DNS if it's not there already. You can also add it to
your local hosts file.
 
You can also change the FQDN using [1], but this will still not allow using an
IP address.
 
Any specific reason you need to access it using an IP address?
 
[1] 
https://www.ovirt.org/documentation/how-to/networking/changing-engine-hostname/
 
Best,
-- 
Didi
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt 4.0 engine access

2016-07-06 Thread qinglong.d...@horebdata.cn
Hi, all
I am using ovirt 4.0. It seems that I could only use FQDN to access the 
website of engine. Is it possible to use IP to access the website?
Anyone can help? Thanks!



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


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

2016-07-05 Thread qinglong.d...@horebdata.cn
Thanks, I have solved this problem. It seems that IPv6 has not been disabled 
actually.
 
From: qinglong.d...@horebdata.cn
Date: 2016-07-05 14:57
To: Roy Golan
CC: users
Subject: Re: Re: [ovirt-users] ovirt 4.0 hosted engine deploy
Yes, IPv6 was enabled before. Now I think it has been disabled.

output of  "vdsClient -s 0 getVdsCaps":

[root@node ~]# vdsClient -s 0 getVdsCaps
HBAInventory = {'FC': [], 'iSCSI': [{'InitiatorName': 
'iqn.1994-05.com.redhat:2bcb704cbce4'}]}
ISCSIInitiatorName = 'iqn.1994-05.com.redhat:2bcb704cbce4'
additionalFeatures = []
autoNumaBalancing = 0
bondings = {'bond0': {'active_slave': '',
  'addr': '',
  'cfg': {'BONDING_OPTS': 'mode=0', 'BOOTPROTO': 
'none'},
  'dhcpv4': False,
  'dhcpv6': False,
  'gateway': '',
  'hwaddr': 'd2:96:d0:98:31:62',
  'ipv4addrs': [],
  'ipv6addrs': [],
  'ipv6autoconf': True,
  'ipv6gateway': '::',
  'mtu': '1500',
  'netmask': '',
  'opts': {'mode': '0'},
  'slaves': [],
  'switch': 'legacy'}}
bridges = {}
clusterLevels = ['3.5', '3.6', '4.0']
cpuCores = '4'
cpuFlags = 
'fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,pdpe1gb,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,nopl,xtopology,nonstop_tsc,aperfmperf,eagerfpu,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,smx,est,tm2,ssse3,cx16,xtpr,pdcm,pcid,dca,sse4_1,sse4_2,x2apic,popcnt,tsc_deadline_timer,aes,xsave,avx,f16c,rdrand,lahf_lm,ida,arat,epb,pln,pts,dtherm,tpr_shadow,vnmi,flexpriority,ept,vpid,fsgsbase,smep,erms,xsaveopt,model_Nehalem,model_Conroe,model_coreduo,model_core2duo,model_Penryn,model_IvyBridge,model_Westmere,model_n270,model_SandyBridge'
cpuModel = 'Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz'
cpuSockets = '1'
cpuSpeed = '2324.496'
cpuThreads = '8'
dnss = ['140.207.198.6']
emulatedMachines = ['pc-i440fx-rhel7.1.0',
'rhel6.3.0',
'pc-q35-rhel7.2.0',
'pc-i440fx-rhel7.0.0',
'rhel6.1.0',
'rhel6.6.0',
'rhel6.2.0',
'pc',
'pc-q35-rhel7.0.0',
'pc-q35-rhel7.1.0',
'q35',
'pc-i440fx-rhel7.2.0',
'rhel6.4.0',
'rhel6.0.0',
'rhel6.5.0']
guestOverhead = '65'
hooks = {'before_device_create': {'50_vmfex': {'md5': 
'e05994261acaea7dcf4b88ea0e81f1f5'}},
 'before_device_migrate_destination': {'50_vmfex': {'md5': 
'e05994261acaea7dcf4b88ea0e81f1f5'}},
 'before_nic_hotplug': {'50_vmfex': {'md5': 
'e05994261acaea7dcf4b88ea0e81f1f5'}},
 'before_vm_start': {'50_hostedengine': {'md5': 
'2a6d96c26a3599812be6cf1a13d9f485'}}}
hostdevPassthrough = 'false'
kdumpStatus = 0
kernelArgs = 'BOOT_IMAGE=/vmlinuz-3.10.0-327.22.2.el7.x86_64 
root=UUID=de9c1960-b3a0-435c-9e77-05b08ebda832 ro crashkernel=auto rhgb quiet 
LANG=en_US.UTF-8'
kvmEnabled = 'true'
lastClient = '::1'
lastClientIface = 'lo'
liveMerge = 'true'
liveSnapshot = 'true'
memSize = '31907'
netConfigDirty = 'False'
networks = {}
nics = {'enp6s0f0': {'addr': '192.168.128.60',
 'cfg': {'BOOTPROTO': 'none',
 'DEFROUTE': 'yes',
 'DEVICE': 'enp6s0f0',
 'IPADDR': '192.168.128.60',
 'IPV4_FAILURE_FATAL': 'no',
 'IPV6INIT': 'no',
 'NAME': 'enp6s0f0',
 'NETMASK': '255.255.255.0',
 'ONBOOT': 'yes',
 'PEERDNS': 'yes',
 'PEERROUTES': 'yes',
 'TYPE': 'Ethernet',
 'UUID': 
'64215e21-e12e-4a2b-9c1e-3e636df61487'},
 'dhcpv4': False,
 'dhcpv6': False,
 'gateway': '',
 'hwaddr': '00:1e:67:a5:1b:ee',
 'ipv4addrs': ['192.168

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

2016-07-05 Thread qinglong.d...@horebdata.cn
e': '2.el7',
   'version': '3.7.12'},
 'kernel': {'buildtime': 1466672711.0,
'release': '327.22.2.el7.x86_64',
'version': '3.10.0'},
 'librbd1': {'buildtime': 1448036424, 'release': '3.el7', 
'version': '0.80.7'},
 'libvirt': {'buildtime': 1466692118,
 'release': '13.el7_2.5',
 'version': '1.2.17'},
 'mom': {'buildtime': 1464686497,
 'release': '1.el7.centos',
 'version': '0.5.4'},
 'qemu-img': {'buildtime': 1461573104,
  'release': '31.el7_2.10.1',
  'version': '2.3.0'},
 'qemu-kvm': {'buildtime': 1461573104,
  'release': '31.el7_2.10.1',
  'version': '2.3.0'},
 'spice-server': {'buildtime': 1465308266,
  'release': '15.el7_2.1',
  'version': '0.12.4'},
 'vdsm': {'buildtime': 1466710303,
  'release': '0.el7.centos',
  'version': '4.18.4.1'}}
reservedMem = '321'
rngSources = ['random']
selinux = {'mode': '1'}
software_revision = '0'
software_version = '4.18'
supportedENGINEs = ['3.5', '3.6', '4.0']
supportsIPv6 = True
uuid = '617DC761-B9B4-E311-AF6C-001E67A51BEE'
version_name = 'Snow Man'
vlans = {}
vmTypes = ['kvm']
 
From: Roy Golan
Date: 2016-07-05 14:30
To: qinglong.d...@horebdata.cn
CC: users
Subject: Re: Re: [ovirt-users] ovirt 4.0 hosted engine deploy

On Tue, Jul 5, 2016 at 5:37 AM, qinglong.d...@horebdata.cn 
<qinglong.d...@horebdata.cn> wrote:
Reactor thread::INFO::2016-07-04 
17:52:04,607::protocoldetector::72::ProtocolDetector.AcceptorImpl::(handle_accept)
 Accepting connection from ::1:45016

I see you are getting connections from IPv6 and I think it should be disabled. 
Make sure you follow the vdsm install guidelines. 

Also can you share the output of 
```bash
vdsClient -s 0 getVdsCaps
```



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


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

2016-07-04 Thread qinglong.d...@horebdata.cn
Yes, I am running 7.2. Here are the vdsm logs when I excuted "hosted-engine 
--deploy"

Reactor thread::INFO::2016-07-04 
17:51:49,584::protocoldetector::72::ProtocolDetector.AcceptorImpl::(handle_accept)
 Accepting connection from ::1:45014
Reactor thread::DEBUG::2016-07-04 
17:51:49,589::protocoldetector::85::ProtocolDetector.Detector::(__init__) Using 
required_size=11
Reactor thread::INFO::2016-07-04 
17:51:49,589::protocoldetector::121::ProtocolDetector.Detector::(handle_read) 
Detected protocol xml from ::1:45014
Reactor thread::DEBUG::2016-07-04 
17:51:49,589::bindingxmlrpc::1275::XmlDetector::(handle_socket) xml over http 
detected from ('::1', 45014)
BindingXMLRPC::INFO::2016-07-04 
17:51:49,589::xmlrpc::73::vds.XMLRPCServer::(handle_request) Starting request 
handler for ::1:45014
Thread-32::INFO::2016-07-04 
17:51:49,590::xmlrpc::83::vds.XMLRPCServer::(_process_requests) Request handler 
for ::1:45014 started
Thread-32::INFO::2016-07-04 
17:51:49,591::xmlrpc::91::vds.XMLRPCServer::(_process_requests) Request handler 
for ::1:45014 stopped
Reactor thread::INFO::2016-07-04 
17:52:04,607::protocoldetector::72::ProtocolDetector.AcceptorImpl::(handle_accept)
 Accepting connection from ::1:45016
Reactor thread::DEBUG::2016-07-04 
17:52:04,611::protocoldetector::85::ProtocolDetector.Detector::(__init__) Using 
required_size=11
Reactor thread::INFO::2016-07-04 
17:52:04,611::protocoldetector::121::ProtocolDetector.Detector::(handle_read) 
Detected protocol xml from ::1:45016
Reactor thread::DEBUG::2016-07-04 
17:52:04,611::bindingxmlrpc::1275::XmlDetector::(handle_socket) xml over http 
detected from ('::1', 45016)
BindingXMLRPC::INFO::2016-07-04 
17:52:04,612::xmlrpc::73::vds.XMLRPCServer::(handle_request) Starting request 
handler for ::1:45016
Thread-33::INFO::2016-07-04 
17:52:04,612::xmlrpc::83::vds.XMLRPCServer::(_process_requests) Request handler 
for ::1:45016 started
Thread-33::INFO::2016-07-04 
17:52:04,613::xmlrpc::91::vds.XMLRPCServer::(_process_requests) Request handler 
for ::1:45016 stopped
Reactor thread::INFO::2016-07-04 
17:52:19,616::protocoldetector::72::ProtocolDetector.AcceptorImpl::(handle_accept)
 Accepting connection from ::1:45018
Reactor thread::DEBUG::2016-07-04 
17:52:19,620::protocoldetector::85::ProtocolDetector.Detector::(__init__) Using 
required_size=11
Reactor thread::INFO::2016-07-04 
17:52:19,621::protocoldetector::121::ProtocolDetector.Detector::(handle_read) 
Detected protocol xml from ::1:45018
Reactor thread::DEBUG::2016-07-04 
17:52:19,621::bindingxmlrpc::1275::XmlDetector::(handle_socket) xml over http 
detected from ('::1', 45018)
BindingXMLRPC::INFO::2016-07-04 
17:52:19,621::xmlrpc::73::vds.XMLRPCServer::(handle_request) Starting request 
handler for ::1:45018
Thread-34::INFO::2016-07-04 
17:52:19,621::xmlrpc::83::vds.XMLRPCServer::(_process_requests) Request handler 
for ::1:45018 started
Thread-34::INFO::2016-07-04 
17:52:19,622::xmlrpc::91::vds.XMLRPCServer::(_process_requests) Request handler 
for ::1:45018 stopped
..

It seems that a few messages come out every 15 seconds. Is vdsmd running at a 
healthy status?




 
From: Roy Golan
Date: 2016-07-04 17:36
To: qinglong.d...@horebdata.cn
CC: users
Subject: Re: [ovirt-users] ovirt 4.0 hosted engine deploy


On Mon, Jul 4, 2016 at 12:23 PM, qinglong.d...@horebdata.cn 
<qinglong.d...@horebdata.cn> wrote:
Hi, all
I got an error when I excuted "hosted-engine --deploy" on centos 7.0

We don't support 7.0 you need Centos 7.2  

If you are running 7.2 look at /var/log/vdsm/vdsm.log to see why it isn't 
functional  
 

[root@node ~]# hosted-engine --deploy
[ INFO  ] Stage: Initializing
[ INFO  ] Generating a temporary VNC password.
[ INFO  ] Stage: Environment setup
  During customization use CTRL-D to abort.
  Continuing will configure this host for serving as hypervisor and 
create a VM where you have to install the engine afterwards.
  Are you sure you want to continue? (Yes, No)[Yes]: 
[ INFO  ] Hardware supports virtualization
  Configuration files: []
  Log file: 
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160704170730-e6bm6x.log
  Version: otopi-1.5.0 (otopi-1.5.0-1.el7.centos)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Waiting for VDSM to reply
..
[ INFO  ] Waiting for VDSM to reply
[ ERROR ] Failed to execute stage 'Environment setup': Couldnt  connect to VDSM 
within 240 seconds
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20160704171138.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-20160704170730-e6bm6x.lo

[ovirt-users] ovirt 4.0 hosted engine deploy

2016-07-04 Thread qinglong.d...@horebdata.cn
Hi, all
I got an error when I excuted "hosted-engine --deploy" on centos 7.0.

[root@node ~]# hosted-engine --deploy
[ INFO  ] Stage: Initializing
[ INFO  ] Generating a temporary VNC password.
[ INFO  ] Stage: Environment setup
  During customization use CTRL-D to abort.
  Continuing will configure this host for serving as hypervisor and 
create a VM where you have to install the engine afterwards.
  Are you sure you want to continue? (Yes, No)[Yes]: 
[ INFO  ] Hardware supports virtualization
  Configuration files: []
  Log file: 
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160704170730-e6bm6x.log
  Version: otopi-1.5.0 (otopi-1.5.0-1.el7.centos)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Waiting for VDSM to reply
..
[ INFO  ] Waiting for VDSM to reply
[ ERROR ] Failed to execute stage 'Environment setup': Couldnt  connect to VDSM 
within 240 seconds
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20160704171138.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-20160704170730-e6bm6x.log

Anyone can help? Thanks!



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


[ovirt-users] new version of qemu

2016-06-22 Thread qinglong.d...@horebdata.cn
Hi, all
I have found that the latest version of qemu has been updated to 2.6. 
In the latest version it supports a new virtio-gpu device which supprts 
accelerated 2D and 3D. Qemu 2.3 is used in ovirt 3.6 for now. So I wonder when 
the version of qemu will be updated in ovirt or if I can update the version of 
qemu in ovirt myself.
Anyone can help? Thanks!



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


[ovirt-users] Video RAM

2016-06-13 Thread qinglong.d...@horebdata.cn
Hi, all
I want to modify three arguments ram, vram and vgamem in the qemu 
command where virtual machines are created. I found that the arguments had 
default values in libvirt and I wonder how to modify them. Could they be 
modified in a certain xml file or in a before_vm_start VDSM 
hook?(http://www.ovirt.org/documentation/draft/video-ram/) I dont't know where 
the xml file is or how to write the hook.
Anyone can help? Thanks!




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


[ovirt-users] video memory in virtual machine

2016-06-07 Thread qinglong.d...@horebdata.cn
I have found that playing video is not fluent in the virtual machine. So I 
thought maybe too small video memory in virtual machines led to this. Some 
parameters have been found when I was trying to check some information. So I 
wonder where to modify them and if it works to do this.

-device qxl-vga,id=video0,ram_size=67108864,vram_size=8388608,vgamem_mb=16

Anyone can help?



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


[ovirt-users] hosted engine vm nic

2016-03-19 Thread qinglong.d...@horebdata.cn
Hi:
In 3.5, I can add a nic for the hosted engine vm by following these 
steps:

- Created the network in the UI
- hosted-engine --set-maintenance --mode=global
- edited /etc/ovirt-hosted-engine/vm.conf; duplicated the existing network 
line, changing the macAddr, network, deviceId, and slot (changed on all 
hosted-engine nodes)
- hosted-engine --vm-shutdown
- hosted-engine --vm-start
- hosted-engine --set-maintenance --mode=none

But in 3.6 I cannot find the conf file. How Can I add a nic for hosted 
engine vm?



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


[ovirt-users] engine-setup error

2016-03-19 Thread qinglong.d...@horebdata.cn
Hi,
I wanted to install webSocket proxy on another host, but I got an error 
when setting up engine.

[root@proxy ~]# engine-setup 
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
  Configuration files: 
['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', 
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf']
  Log file: 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20160318103658-88xphu.log
  Version: otopi-1.4.1 (otopi-1.4.1-1.el6)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Yum Downloading: ovirt-3.6-epel/primary_db 1.9 M(32%)
[ INFO  ] Yum Downloading: virtio-win-stable/primary_db (0%)
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization
 
  --== PRODUCT OPTIONS ==--
 
  Configure Engine on this host (Yes, No) [Yes]: no
  Configure VM Console Proxy on this host (Yes, No) [Yes]: 
  Configure WebSocket Proxy on this host (Yes, No) [Yes]: 
 
  --== PACKAGES ==--
 
[ INFO  ] Checking for product updates...
[ INFO  ] No product updates found
 
  --== ALL IN ONE CONFIGURATION ==--
 
 
  --== NETWORK CONFIGURATION ==--
 
  Host fully qualified DNS name of this server [proxy.horebdata.cn]: 
[WARNING] Failed to resolve proxy.horebdata.cn using DNS, it can be resolved 
only locally
  Setup can automatically configure the firewall on this system.
  Note: automatic configuration of the firewall may overwrite current 
settings.
  Do you want Setup to configure the firewall? (Yes, No) [Yes]: 
[ INFO  ] iptables will be configured as firewall manager.
  Host fully qualified DNS name of the engine server 
[proxy.horebdata.cn]: engine.horebdata.cn
[WARNING] Failed to resolve engine.horebdata.cn using DNS, it can be resolved 
only locally
[WARNING] Failed to resolve engine.horebdata.cn using DNS, it can be resolved 
only locally
 
  --== DATABASE CONFIGURATION ==--
 
 
  --== OVIRT ENGINE CONFIGURATION ==--
 
 
  --== STORAGE CONFIGURATION ==--
 
  Default SAN wipe after delete (Yes, No) [No]: 
 
  --== PKI CONFIGURATION ==--
 
  Setup will need to do some actions on the remote engine server. 
Either automatically, using ssh as root to access it, or you will be prompted 
to manually perform each such action.
  Please choose one of the following:
  1 - Access remote engine server using ssh as root
  2 - Perform each action manually, use files to copy content around
  (1, 2) [1]: 1
  ssh port on remote engine server [22]: 
  root password on remote engine server engine.horebdata.cn: 
[ INFO  ] Signing the WebSocket Proxy certificate on the engine server
[ INFO  ] WebSocket Proxy certificate signed successfully
 
  --== APACHE CONFIGURATION ==--
 
 
  --== SYSTEM CONFIGURATION ==--
 
 
  --== MISC CONFIGURATION ==--
 
 
  --== END OF CONFIGURATION ==--
 
[ INFO  ] Stage: Setup validation
  Generated iptables rules are different from current ones.
  Do you want to review them? (Yes, No) [No]: 
 
  --== CONFIGURATION PREVIEW ==--
 
  Default SAN wipe after delete   : False
  Firewall manager: iptables
  Update Firewall : True
  Host FQDN   : proxy.horebdata.cn
  Engine installation : False
  Configure VMConsole Proxy   : True
  Engine Host FQDN: engine.horebdata.cn
  Configure WebSocket Proxy   : True
 
  Please confirm installation settings (OK, Cancel) [OK]: 
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stopping engine service
[ INFO  ] Stopping ovirt-fence-kdump-listener service
[ INFO  ] Stopping websocket-proxy service
[ INFO  ] Stage: Misc configuration
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ ERROR ] Failed to execute stage 'Misc configuration': 'NoneType' object has 
no attribute 'execute'
[ INFO  ] Yum Performing yum transaction rollback
[ INFO  ] Stage: Clean up
  Log file is located at 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20160318103658-88xphu.log
[ INFO  ] Generating answer file 
'/var/lib/ovirt-engine/setup/answers/20160318103900-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed




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


[ovirt-users] vm cannot be started

2015-09-24 Thread qinglong.d...@horebdata.cn
Hi all,
I have installed ovirt-hosted-engine-setup on one machine and it used 
iscsi shared storage on another machine. I created and sealed a windows xp 
template and then I created a vm based on the template. When the vm was started 
at the first time I attached the floppy to it and use sysprep to init it. Then 
I shutdown the vm, but after I shutdown it I cannot start it. Here are the logs:
VM test is down with error. Exit message: internal error Process exited 
while reading console log output: char device redirected to /dev/pts/1
2015-09-25T01:29:31.222028Z qemu-kvm: -drive 
file=/var/run/vdsm/payload/6be72664-a80c-4d78-9a5b-f2bbe37c5b2e.4ebf24c33f6111e0dae20466f370de53.img,if=none,id=drive-fdc0-0-0,format=raw,serial=:
 could not open disk image 
/var/run/vdsm/payload/6be72664-a80c-4d78-9a5b-f2bbe37c5b2e.4ebf24c33f6111e0dae20466f370de53.img:
 Permission denied.
Anyone can help? Thanks!


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


[ovirt-users] ovirt reports question

2015-08-03 Thread qinglong.d...@horebdata.cn
Hi all,

I have installed engine 3.5.3.1, dwh 3.5.3 and reports 3.5.3. I correctly set 
up the engine, dwh and  reports. But when I clicked Reports Portal link on 
the homepage of engine I got page not found. When I clicked Show Report in 
the administrator portal I also got page not found. When I directly input 
https://domain/ovirt-engine-reports; in the address bar of the brower I can 
get to the login page of reports.

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