Re: [Users] vmware disks

2013-10-23 Thread Matthew Booth
On Fri, 2013-10-18 at 10:55 +0100, supo...@logicworks.pt wrote:
 Well, the idea is to have a backup software updating a vmdk file, that
 vmdk is a vdisk of a virtual machine that is off, when needed we start
 the VM and users start working on this VM, for a disaster recovery
 solution.

The problem with this is that you would also have to go back. V2V
definitely isn't what you're looking for.

Matt

 Jose 
 
 
 __
 From: Richard W.M. Jones rjo...@redhat.com
 To: supo...@logicworks.pt, mbo...@redhat.com
 Cc: Users@ovirt.org
 Sent: Quinta-feira, 17 de Outubro de 2013 12:33:28
 Subject: Re: [Users] vmware disks
 
 
 On Thu, Oct 17, 2013 at 10:14:11AM +0100, supo...@logicworks.pt wrote:
  Hi, it's possible to import a vmware disk into ovirt? 
 
 It depends.
 
 If you're using an ESX server, then yes, pretty easily with
 virt-v2v.
 
 If it's just a disk image, that's more difficult.  I think the
 latest virt-v2v can do it.  (Matt?)
 
 Rich.
 
 -- 
 Richard Jones, Virtualization Group, Red Hat
 http://people.redhat.com/~rjones
 virt-top is 'top' for virtual machines.  Tiny program with many
 powerful monitoring features, net stats, disk stats, logging, etc.
 http://people.redhat.com/~rjones/virt-top
 
 
 


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


Re: [Users] HTTPD error

2013-10-23 Thread Zhang, Hongyi
Hello Itamar,

The version of ovirt engine I used is:
ovirt-engine-setup-3.2.3-1.fc18.noarch

Thanks,
Hongyi

-Original Message-
From: Itamar Heim [mailto:ih...@redhat.com] 
Sent: Tuesday, October 22, 2013 1:52 AM
To: Zhang, Hongyi
Cc: users@ovirt.org
Subject: Re: [Users] HTTPD error

On 10/21/2013 10:25 PM, Zhang, Hongyi wrote:
 Hello,

 I tried to setup ovirt engine on a fedora 18 machine, but I got the 
 following error:

 $engine-setup

 [...]

 Installing:

 Configuring oVirt Engine... [ DONE ]

 Configuring JVM...  [ DONE ]

 Creating CA...  [ DONE ]

 Updating ovirt-engine service...[ DONE ]

 Setting Database Configuration...   [ DONE ]

 Setting Database Security...[ DONE ]

 Creating Database...[ DONE ]

 Updating the Default Data Center Storage Type...[ DONE ]

 Editing oVirt Engine Configuration...   [ DONE ]

 Editing Postgresql Configuration... [ DONE ]

 Configuring Firewall... [ DONE ]

 Starting ovirt-engine Service...[ DONE ]

 Configuring HTTPD... [ ERROR ]

 Failed to enable SELinux boolean

 Would someone help me to fix this problem?

 Thanks a lot!

 Hongyi

 --

 My machine uses:

 $ uname -a

 Linux localhost 3.10.10-100.fc18.x86_64 #1 SMP Thu Sep 5 17:47:01 EDT
 2013 x86_64 x86_64 x86_64 GNU/Linux

 $ getenforce

 Disabled

 *Here is the trace in the log:*

 2013-10-21 17:12:02::DEBUG::engine-setup::960::root:: Creating 
 firewalld configuration

 2013-10-21 17:12:02::DEBUG::setup_sequences::59::root:: running 
 _startEngine

 2013-10-21 17:12:02::DEBUG::engine-setup::1732::root:: using chkconfig 
 to enable engine to load on system startup.

 2013-10-21 17:12:02::DEBUG::common_utils::434::root:: Executing 
 command
 -- '/sbin/chkconfig ovirt-engine on'

 2013-10-21 17:12:02::DEBUG::common_utils::472::root:: output =

 2013-10-21 17:12:02::DEBUG::common_utils::473::root:: stderr = Note:
 Forwarding request to 'systemctl enable ovirt-engine.service'.

 2013-10-21 17:12:02::DEBUG::common_utils::474::root:: retcode = 0

 2013-10-21 17:12:02::DEBUG::common_utils::1261::root:: stopping 
 ovirt-engine

 2013-10-21 17:12:02::DEBUG::common_utils::1298::root:: executing 
 action ovirt-engine on service stop

 2013-10-21 17:12:02::DEBUG::common_utils::434::root:: Executing 
 command
 -- '/sbin/service ovirt-engine stop'

 2013-10-21 17:12:02::DEBUG::common_utils::472::root:: output =

 2013-10-21 17:12:02::DEBUG::common_utils::473::root:: stderr = 
 Redirecting to /bin/systemctl stop  ovirt-engine.service

 2013-10-21 17:12:02::DEBUG::common_utils::474::root:: retcode = 0

 2013-10-21 17:12:02::DEBUG::common_utils::1251::root:: starting 
 ovirt-engine

 2013-10-21 17:12:02::DEBUG::common_utils::1298::root:: executing 
 action ovirt-engine on service start

 2013-10-21 17:12:02::DEBUG::common_utils::434::root:: Executing 
 command
 -- '/sbin/service ovirt-engine start'

 2013-10-21 17:12:02::DEBUG::common_utils::472::root:: output =

 2013-10-21 17:12:02::DEBUG::common_utils::473::root:: stderr = 
 Redirecting to /bin/systemctl start  ovirt-engine.service

 2013-10-21 17:12:02::DEBUG::common_utils::474::root:: retcode = 0

 2013-10-21 17:12:02::DEBUG::setup_sequences::59::root:: running 
 _configureSelinuxBoolean

 2013-10-21 17:12:02::DEBUG::engine-setup::722::root:: Enable 
 httpd_can_network_connect boolean

 2013-10-21 17:12:02::DEBUG::common_utils::434::root:: Executing 
 command
 -- '/usr/sbin/semanage boolean --modify --on httpd_can_network_connect'

 2013-10-21 17:12:16::DEBUG::common_utils::472::root:: output =

 2013-10-21 17:12:16::DEBUG::common_utils::473::root:: stderr =
 libsemanage.semanage_commit_sandbox: Error while renaming 
 /etc/selinux/targeted/modules/active to 
 /etc/selinux/targeted/modules/previous. (Invalid cross-device link).

 /usr/sbin/semanage: Could not commit semanage transaction

 2013-10-21 17:12:16::DEBUG::common_utils::474::root:: retcode = 1

 2013-10-21 17:12:16::DEBUG::setup_sequences::62::root:: Traceback 
 (most recent call last):

 File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60, in 
 run

  function()

File /usr/bin/engine-setup, line 730, in _configureSelinuxBoolean

  out, rc = utils.execCmd(cmdList=cmd, failOnError=True,
 msg=output_messages.ERR_FAILED_UPDATING_SELINUX_BOOLEAN)

File /usr/share/ovirt-engine/scripts/common_utils.py, line 477, 
 in execCmd

  raise Exception(msg)

 Exception: Failed to enable SELinux boolean

 2013-10-21 17:12:16::DEBUG::engine-setup::1973::root:: *** The 
 following params were used as user input:

 2013-10-21 17:12:16::DEBUG::engine-setup::1978::root::
 override-httpd-config: yes

 

[Users] [BUG] vdsm-hooks-qos

2013-10-23 Thread Sven Kieske
Hi,

I think I found a spelling bug in:
http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=blob_plain;f=vdsm_hooks/qos/before_vm_start.py;hb=refs/tags/v4.13.0

there are two occasions where peak is written as peek.

Lines: 30, 35
-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] vmware disks

2013-10-23 Thread Ekin Meroğlu
Hi,

On Thu, Oct 17, 2013 at 2:33 PM, Richard W.M. Jones rjo...@redhat.comwrote:


 On Thu, Oct 17, 2013 at 10:14:11AM +0100, supo...@logicworks.pt wrote:
  Hi, it's possible to import a vmware disk into ovirt?

 It depends.

 If you're using an ESX server, then yes, pretty easily with
 virt-v2v.


If you only have the images of the virtual machine but not the ESX server
itself, it is possible use a dirty scenario:

- first convert the virtual machine to a local libvirt / virtmanager based
KVM environment. [1] includes a brief how-to..
- then use virt-v2v to import this new guest to an ovirt import domain.
 The most complete documentation on v2v I could find is here [2]


 If it's just a disk image, that's more difficult.  I think the
 latest virt-v2v can do it.  (Matt?)


It can not AFAIK, but this would be a very welcome addition...

[1]
http://www.dna.org/2011/02/converting-from-vmware-to-linux-kvm/

[2]
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html-single/V2V_Guide/index.html

-- 
Ekin Meroğlu ekin.mero...@linuxera.com
*linuxera* OpenSource Services and Solutions
www.linuxera.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] vmware disks

2013-10-23 Thread Matthew Booth
On Wed, 2013-10-23 at 17:44 +0300, Ekin Meroğlu wrote:
 Hi,
 
 On Thu, Oct 17, 2013 at 2:33 PM, Richard W.M. Jones
 rjo...@redhat.com wrote:
 
 On Thu, Oct 17, 2013 at 10:14:11AM +0100,
 supo...@logicworks.pt wrote:
  Hi, it's possible to import a vmware disk into ovirt?
 
 
 It depends.
 
 If you're using an ESX server, then yes, pretty easily with
 virt-v2v.
 
 
 If you only have the images of the virtual machine but not the ESX
 server itself, it is possible use a dirty scenario: 
 
 
 - first convert the virtual machine to a local libvirt / virtmanager
 based KVM environment. [1] includes a brief how-to..
 - then use virt-v2v to import this new guest to an ovirt import
 domain.  The most complete documentation on v2v I could find is here
 [2]
 
  
 If it's just a disk image, that's more difficult.  I think the
 latest virt-v2v can do it.  (Matt?)
 
 
 It can not AFAIK, but this would be a very welcome addition...

The latest virt-v2v can convert a VMware OVA export.

Matt


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


Re: [Users] HTTPD error

2013-10-23 Thread Itamar Heim

On 10/23/2013 02:52 PM, Zhang, Hongyi wrote:

Hello Itamar,

The version of ovirt engine I used is:
ovirt-engine-setup-3.2.3-1.fc18.noarch

Thanks,
Hongyi

-Original Message-
From: Itamar Heim [mailto:ih...@redhat.com]
Sent: Tuesday, October 22, 2013 1:52 AM
To: Zhang, Hongyi
Cc: users@ovirt.org
Subject: Re: [Users] HTTPD error

On 10/21/2013 10:25 PM, Zhang, Hongyi wrote:

Hello,

I tried to setup ovirt engine on a fedora 18 machine, but I got the
following error:

$engine-setup

[...]

Installing:

Configuring oVirt Engine... [ DONE ]

Configuring JVM...  [ DONE ]

Creating CA...  [ DONE ]

Updating ovirt-engine service...[ DONE ]

Setting Database Configuration...   [ DONE ]

Setting Database Security...[ DONE ]

Creating Database...[ DONE ]

Updating the Default Data Center Storage Type...[ DONE ]

Editing oVirt Engine Configuration...   [ DONE ]

Editing Postgresql Configuration... [ DONE ]

Configuring Firewall... [ DONE ]

Starting ovirt-engine Service...[ DONE ]

Configuring HTTPD... [ ERROR ]

Failed to enable SELinux boolean

Would someone help me to fix this problem?

Thanks a lot!

Hongyi

--

My machine uses:

$ uname -a

Linux localhost 3.10.10-100.fc18.x86_64 #1 SMP Thu Sep 5 17:47:01 EDT
2013 x86_64 x86_64 x86_64 GNU/Linux

$ getenforce

Disabled

*Here is the trace in the log:*

2013-10-21 17:12:02::DEBUG::engine-setup::960::root:: Creating
firewalld configuration

2013-10-21 17:12:02::DEBUG::setup_sequences::59::root:: running
_startEngine

2013-10-21 17:12:02::DEBUG::engine-setup::1732::root:: using chkconfig
to enable engine to load on system startup.

2013-10-21 17:12:02::DEBUG::common_utils::434::root:: Executing
command
-- '/sbin/chkconfig ovirt-engine on'

2013-10-21 17:12:02::DEBUG::common_utils::472::root:: output =

2013-10-21 17:12:02::DEBUG::common_utils::473::root:: stderr = Note:
Forwarding request to 'systemctl enable ovirt-engine.service'.

2013-10-21 17:12:02::DEBUG::common_utils::474::root:: retcode = 0

2013-10-21 17:12:02::DEBUG::common_utils::1261::root:: stopping
ovirt-engine

2013-10-21 17:12:02::DEBUG::common_utils::1298::root:: executing
action ovirt-engine on service stop

2013-10-21 17:12:02::DEBUG::common_utils::434::root:: Executing
command
-- '/sbin/service ovirt-engine stop'

2013-10-21 17:12:02::DEBUG::common_utils::472::root:: output =

2013-10-21 17:12:02::DEBUG::common_utils::473::root:: stderr =
Redirecting to /bin/systemctl stop  ovirt-engine.service

2013-10-21 17:12:02::DEBUG::common_utils::474::root:: retcode = 0

2013-10-21 17:12:02::DEBUG::common_utils::1251::root:: starting
ovirt-engine

2013-10-21 17:12:02::DEBUG::common_utils::1298::root:: executing
action ovirt-engine on service start

2013-10-21 17:12:02::DEBUG::common_utils::434::root:: Executing
command
-- '/sbin/service ovirt-engine start'

2013-10-21 17:12:02::DEBUG::common_utils::472::root:: output =

2013-10-21 17:12:02::DEBUG::common_utils::473::root:: stderr =
Redirecting to /bin/systemctl start  ovirt-engine.service

2013-10-21 17:12:02::DEBUG::common_utils::474::root:: retcode = 0

2013-10-21 17:12:02::DEBUG::setup_sequences::59::root:: running
_configureSelinuxBoolean

2013-10-21 17:12:02::DEBUG::engine-setup::722::root:: Enable
httpd_can_network_connect boolean

2013-10-21 17:12:02::DEBUG::common_utils::434::root:: Executing
command
-- '/usr/sbin/semanage boolean --modify --on httpd_can_network_connect'

2013-10-21 17:12:16::DEBUG::common_utils::472::root:: output =

2013-10-21 17:12:16::DEBUG::common_utils::473::root:: stderr =
libsemanage.semanage_commit_sandbox: Error while renaming
/etc/selinux/targeted/modules/active to
/etc/selinux/targeted/modules/previous. (Invalid cross-device link).

/usr/sbin/semanage: Could not commit semanage transaction

2013-10-21 17:12:16::DEBUG::common_utils::474::root:: retcode = 1

2013-10-21 17:12:16::DEBUG::setup_sequences::62::root:: Traceback
(most recent call last):

File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60, in
run

  function()

File /usr/bin/engine-setup, line 730, in _configureSelinuxBoolean

  out, rc = utils.execCmd(cmdList=cmd, failOnError=True,
msg=output_messages.ERR_FAILED_UPDATING_SELINUX_BOOLEAN)

File /usr/share/ovirt-engine/scripts/common_utils.py, line 477,
in execCmd

  raise Exception(msg)

Exception: Failed to enable SELinux boolean

2013-10-21 17:12:16::DEBUG::engine-setup::1973::root:: *** The
following params were used as user input:

2013-10-21 17:12:16::DEBUG::engine-setup::1978::root::
override-httpd-config: yes

2013-10-21 17:12:16::DEBUG::engine-setup::1978::root:: http-port: 80