Re: [ovirt-users] Startup VM after host reboot

2016-02-06 Thread Joop van de Wege
On February 6, 2016 11:00:41 PM CET, gregor  wrote:
>Hi,
>
>I use oVirt all-in-one 3.6, is there a setting to automatically start
>selected VM's when the host has rebooted? This can happen on power
>failure when the UPS is running to low.
No there isn't but you can script it using ovirt-shell or a python script.

Joop

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


Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to 6.2.6-1.el7

2016-02-06 Thread Yedidyah Bar David
On Fri, Feb 5, 2016 at 2:02 PM, Marcelo Leandro  wrote:
> Thanks Martin,
> my problem resolved after the command :
>
> su - postgres -c "psql --command=\"ALTER DATABASE engine OWNER TO engine;\""
>
> i haven't  ideia what  started the problem,
> i restore backup following the link:
> http://www.ovirt.org/User:Adrian15/oVirt_engine_migration
>
> very thanks.
>

Please note that the above page is very old and unmaintained, and should only
be used to get some detailed reference about the process. It also mentions in
bold, close to the beginning, "This howto is intended for oVirt 3.1 version."

Please use the tool engine-backup and related pages about it.

If you encounter problems please report them.

Thanks!

Best regards,

> 2016-02-05 7:00 GMT-03:00 Martin Perina :
>> Hi,
>>
>> I'm not sure what you did to your setup, but looking at all setup logs
>> there's one big issue:
>>
>>   ERROR:  must be owner of database engine
>>
>> So, in over to by pass this you need to make sure that owner of db
>> 'engine' is user 'engine'. To do that please execute:
>>
>> su - postgres -c "psql --command=\"ALTER DATABASE engine OWNER TO engine;\""
>>
>> When done, please make sure you perform upgrade from 3.5 yo 3.6 properly:
>>
>> 1. Add 3.6 repo to your machine
>>
>> 2. Execute:
>>  yum update 'ovirt-engine-setup*'
>>
>> 3. Execute:
>>  engine-setup
>>
>>
>> If it still doesn't work please send latest setup log.
>>
>> Thanks
>>
>> Martin Perina
>>
>>
>>
>> - Original Message -
>>> From: "Marcelo Leandro" 
>>> To: "Darrell Budic" 
>>> Cc: "Martin Perina" , "Eli Mesika" 
>>> , "users" 
>>> Sent: Friday, February 5, 2016 2:44:16 AM
>>> Subject: Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to 6.2.6-1.el7
>>>
>>> i try update, but the problem persists and now the ovirt not start.
>>>
>>> attached the setup.log, I tried three times:
>>>
>>> 1- i have problem with connection and the process closed
>>> 2-return erro :
>>> [ ERROR ] Failed to execute stage 'Misc configuration': Command
>>> '/usr/share/ovirt-engine-extension-aaa-jdbc/dbscripts/schema.sh'
>>> failed to execute
>>> i see that que yum have problem :
>>> run command:
>>> yum clean expire-cache
>>> and yum it's ok now.
>>> 3- return erro:
>>> [ ERROR ] Failed to execute stage 'Misc configuration': Command
>>> '/usr/share/ovirt-engine-extension-aaa-jdbc/dbscripts/schema.sh'
>>> failed to execute
>>>
>>> now the ovirt not start.
>>>
>>> erro the boot.log
>>>
>>> 22:15:55,237 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
>>> 22:16:05,538 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
>>> 22:16:05,614 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final
>>> "Brontes" starting
>>> 22:16:05,988 ERROR [org.jboss.as.server] JBAS015956: Caught exception
>>> during boot:
>>> org.jboss.as.controller.persistence.ConfigurationPersistenceException:
>>> JBAS014676: Failed to parse configuration
>>> at
>>> 
>>> org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:141)
>>> [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
>>> at org.jboss.as.server.ServerService.boot(ServerService.java:266)
>>> [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
>>> at
>>> 
>>> org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155)
>>> [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
>>> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_95]
>>> Caused by: javax.xml.stream.XMLStreamException: ParseError at 
>>> [row,col]:[4,1]
>>> Message: Unexpected element '{urn:jboss:domain:2.1}server'
>>> at
>>> 
>>> org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108)
>>> [staxmapper-1.1.0.Final.jar:1.1.0.Final]
>>> at
>>> 
>>> org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
>>> [staxmapper-1.1.0.Final.jar:1.1.0.Final]
>>> at
>>> 
>>> org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:133)
>>> [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
>>> ... 3 more
>>>
>>> 22:16:06,012 FATAL [org.jboss.as.server] JBAS015957: Server boot has
>>> failed in an unrecoverable manner; exiting. See previous messages for
>>> details.
>>> 22:16:06,040 INFO  [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final
>>> "Brontes" stopped in 3ms
>>>
>>> additional information:
>>> [root@srv-ovirt01 ~]# cat 
>>> /etc/ovirt-engine/engine.conf.d/10-setup-jboss.conf
>>> JBOSS_HOME="/usr/share/ovirt-engine-jboss-as"
>>>  i try this https://bugzilla.redhat.com/show_bug.cgi?id=1062318 but no
>>> have success
>>>
>>>
>>> thanks.
>>>
>>> 2016-02-04 18:40 GMT-03:00 Darrell Budic :
>>> > I suspect that’s my problem, my database isn’t owned by engine:
>>> >
>>> > engine=# \l
>>> >   List of databases
>>> >Name|  Owner   | Encoding |  Collation  |Ctype|   Access
>>> >privileges
>>> >
>>> > 

Re: [ovirt-users] 3.5 or 3.6 For Production System?

2016-02-06 Thread Neal Gompa
On Sat, Feb 6, 2016 at 12:09 PM, Charles Tassell  wrote:
> Hi Folks,
>
>   I'm setting up a small virtualization system that will start with one or
> two hosts and then probably grow to 4-5 hosts.  We will eventually be using
> a shared iSCSI datastore, but right now I'll probably just use NFS4.  I'm
> wondering if I should stick with my plan of using oVirt 3.6.2, or should I
> start of with 3.5 and upgrade at a later date.  Is 3.6 generally stable
> enough for production use?  We're not doing anything very complicated, just
> running a few Linux webserver VMs.  No high availability or auto-deployment
> type stuff.

By all means, use oVirt 3.6. It works great and is recommended for
production use. I highly recommend you deploy it on RHEL/CentOS 7.2,
for best results.



-- 
真実はいつも一つ!/ Always, there's only one truth!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] matching / mapping ovirt storage domain images to VMs

2016-02-06 Thread Charles Kozler
Pavel -

This works if engine is up. What about if it is down? Is there no way to
easily correlate? Like maybe through vdsClient to check with VDSM on the
engine directly?

On Fri, Feb 5, 2016 at 3:11 AM, Pavel Gashev  wrote:

> You can use ovirt-shell:
>
> [oVirt shell (connected)]# list disks --parent-vm-name VM1 --show-all
>
> id  :
> e7a1f91c-4196-4e04-8936-bbc37daff393
> name: W2K12_Disk1
> active  : True
> actual_size : 327680
> alias   : W2K12_Disk1
> bootable: True
> format  : cow
> image_id:
> 48b748b6-dc20-43f5-8c51-e0f984e2fd00
> interface   : virtio
> propagate_errors: False
> provisioned_size: 85899345920
> quota-id:
> c224e50a-de46-461e-bd32-94a921151355
> read_only   : False
> shareable   : False
> size: 85899345920
> sparse  : True
> status-state: ok
> storage_domains-storage_domain-id   :
> 75801b3b-d9ce-4b62-aa36-6b6519ecc04e
> storage_type: image
> vm-id   :
> 8f163624-823f-4ac2-8964-7aa473c41de2
> wipe_after_delete   : False
>
> Where id is the directory name, and image_id is the file name.
>
>
> From:  on behalf of Charles Kozler <
> char...@fixflyer.com>
> Date: Thursday 4 February 2016 at 23:37
> To: users 
> Subject: [ovirt-users] matching / mapping ovirt storage domain images to
> VMs
>
> is there an easy / intutive way to find out the underlying image
> associated to a VM? for instance, looking at a storage domain from the
> server, it is not easy to figure out what VM it actually belongs to
>
> [storage[root@snode01 images]$ find -type f | grep -iv meta | grep -iv
> lease  | xargs du -sch
> 20K
> ./bd765364-064d-487c-a6f8-a290249edca1/4f6dcb0e-e4c9-4ab6-af6d-d49f89228fa1
> 20K
> ./e69a0128-fddc-4ee7-b91c-04caf8bdd540/2ce9d1aa-70e3-4063-895d-c9848ec122e5
> 10G
> ./2d1eab4a-df47-4e8e-8a0c-c58ca9c0d6cf/1ab0bebd-57b4-45f3-8e77-7c1973282766
> 10G
> ./9ed4a196-bc18-4d6a-b7b6-f38bee01e102/32953e4c-8a3c-4252-96d9-9ecbb7c2a603
> 0
> ./1c3129dc-56fa-4e41-bd5b-3313f9f1aa86/d4221e11-bf3b-4226-a8a8-b53ff0189592
> 21G total
>
> How can I find out what VMs these belong to?
>
> --
>
> *Charles Kozler*
> *Vice President, IT Operations*
>
> FIX Flyer, LLC
> 225 Broadway | Suite 1600 | New York, NY 10007
> 1-888-349-3593
> http://www.fixflyer.com 
>
> NOTICE TO RECIPIENT: THIS E-MAIL IS MEANT ONLY FOR THE INTENDED
> RECIPIENT(S) OF THE TRANSMISSION, AND CONTAINS CONFIDENTIAL INFORMATION
> WHICH IS PROPRIETARY TO FIX FLYER LLC.  ANY UNAUTHORIZED USE, COPYING,
> DISTRIBUTION, OR DISSEMINATION IS STRICTLY PROHIBITED.  ALL RIGHTS TO THIS
> INFORMATION IS RESERVED BY FIX FLYER LLC.  IF YOU ARE NOT THE INTENDED
> RECIPIENT, PLEASE CONTACT THE SENDER BY REPLY E-MAIL AND PLEASE DELETE THIS
> E-MAIL FROM YOUR SYSTEM AND DESTROY ANY COPIES.
>



-- 

*Charles Kozler*
*Vice President, IT Operations*

FIX Flyer, LLC
225 Broadway | Suite 1600 | New York, NY 10007
1-888-349-3593
http://www.fixflyer.com 

NOTICE TO RECIPIENT: THIS E-MAIL IS MEANT ONLY FOR THE INTENDED
RECIPIENT(S) OF THE TRANSMISSION, AND CONTAINS CONFIDENTIAL INFORMATION
WHICH IS PROPRIETARY TO FIX FLYER LLC.  ANY UNAUTHORIZED USE, COPYING,
DISTRIBUTION, OR DISSEMINATION IS STRICTLY PROHIBITED.  ALL RIGHTS TO THIS
INFORMATION IS RESERVED BY FIX FLYER LLC.  IF YOU ARE NOT THE INTENDED
RECIPIENT, PLEASE CONTACT THE SENDER BY REPLY E-MAIL AND PLEASE DELETE THIS
E-MAIL FROM YOUR SYSTEM AND DESTROY ANY COPIES.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] packet loss ingress to engine VM

2016-02-06 Thread Charles Kozler
I cannot figure this out for the life of me but its been an issue. it
eventually resolves itself once everything has "settled" after I bring the
hosted-engine VM up but it takes anywhere between 15 minutes and 1 hour to
completely settle

http://imgur.com/a/o4S5m

The picture is the best way I can describe it. From the node the engine is
running on I ping the engine VM and packet loss is great. When I ping FROM
the VM out to the outside world (or any IP really) there is no packet loss

I have ruled out physical connectivity issues and RSTP/STP is not enabled
on the switches that the ovirtmgmt network is connected to

This causes a problem because the inbound checks from the nodes fails (I
guess you use ICMP?) and then it starts to enter a constant flap state
where the engine keeps migrating around

-- 

*Charles Kozler*
*Vice President, IT Operations*

FIX Flyer, LLC
225 Broadway | Suite 1600 | New York, NY 10007
1-888-349-3593
http://www.fixflyer.com 

NOTICE TO RECIPIENT: THIS E-MAIL IS MEANT ONLY FOR THE INTENDED
RECIPIENT(S) OF THE TRANSMISSION, AND CONTAINS CONFIDENTIAL INFORMATION
WHICH IS PROPRIETARY TO FIX FLYER LLC.  ANY UNAUTHORIZED USE, COPYING,
DISTRIBUTION, OR DISSEMINATION IS STRICTLY PROHIBITED.  ALL RIGHTS TO THIS
INFORMATION IS RESERVED BY FIX FLYER LLC.  IF YOU ARE NOT THE INTENDED
RECIPIENT, PLEASE CONTACT THE SENDER BY REPLY E-MAIL AND PLEASE DELETE THIS
E-MAIL FROM YOUR SYSTEM AND DESTROY ANY COPIES.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Windows Server 2012R3 guest: BSOD

2016-02-06 Thread gregor
Hi,

I will install in the next few days a new host where Windows Server 2012
R2 should run. On my test machine I had run qemu with the cpu "Westmere"
to use Window Server 2012 R2, all other CPU's will bring a BSOD, reboot
loop or other issues.

Maybe this will help.

regards
gregor

On 06/02/16 09:34, Alan Murrell wrote:
> Hello,
> 
> oVirt: 3.6.1
> qemu: 2.3.0
> 
> I installed a Windows Server 2012R2 guest.  The install is good, but
> when the guest boots into Windows, the Server 2012 version of the BSOD
> comes up,then goes to a "DOS" screen that has an error code '0xc001'
> 
> I have tried using a VirtIO HDD and IDE; both result in the same error.
> 
> Any ideas what the issue might be?  CPU is Sandybridge, if that makes a
> difference.
> 
> Regards,
> 
> Alan
> ___
> 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] Startup VM after host reboot

2016-02-06 Thread gregor
Hi,

I use oVirt all-in-one 3.6, is there a setting to automatically start
selected VM's when the host has rebooted? This can happen on power
failure when the UPS is running to low.

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


[ovirt-users] Move from Gluster to NFS

2016-02-06 Thread Christophe TREFOIS
Dear all,

I currently have a self-hosted setup with gluster on 1 node.
I do have other data centers with 3 other hosts and local (sharable) NFS 
storage. Furthermore, I have 1 NFS export domain.

We would like to move from Gluster to NFS only on the first host.

Does anybody have any experience with this?

Thank you,

—
Christophe


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


[ovirt-users] 3.5 or 3.6 For Production System?

2016-02-06 Thread Charles Tassell

Hi Folks,

  I'm setting up a small virtualization system that will start with one 
or two hosts and then probably grow to 4-5 hosts.  We will eventually be 
using a shared iSCSI datastore, but right now I'll probably just use 
NFS4.  I'm wondering if I should stick with my plan of using oVirt 
3.6.2, or should I start of with 3.5 and upgrade at a later date.  Is 
3.6 generally stable enough for production use?  We're not doing 
anything very complicated, just running a few Linux webserver VMs.  No 
high availability or auto-deployment type stuff.

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


Re: [ovirt-users] No OVF Store on Export Domain - normal?

2016-02-06 Thread Christophe TREFOIS
Note, I did mean

"the export domain and ovirt have never been used below 3.5

Thank you for your help,

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Christophe TREFOIS
Sent: samedi 6 février 2016 15:39
To: users@ovirt.org
Subject: [ovirt-users] No OVF Store on Export Domain - normal?

Hi,

When I attached my NFS export domain to a data center, I see the following 
message in the events log

"The Storage Domain does not contain any OVF_STORE disks. Usually the Storage 
Domain does not contain OVF_STORE disks when the Storage Domain has been 
previously managed with a Data Center version lower then 3.5."

However, the export domain and oVirt have been used below 3.5.

Is this normal behavior for an export domain or is there something I should do 
to fix it?

I can export / import VMs from / to the export domain just fine (until now)

Thank you for your feedback,

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


[ovirt-users] No OVF Store on Export Domain - normal?

2016-02-06 Thread Christophe TREFOIS
Hi,

When I attached my NFS export domain to a data center, I see the following 
message in the events log

"The Storage Domain does not contain any OVF_STORE disks. Usually the Storage 
Domain does not contain OVF_STORE disks when the Storage Domain has been 
previously managed with a Data Center version lower then 3.5."

However, the export domain and oVirt have been used below 3.5.

Is this normal behavior for an export domain or is there something I should do 
to fix it?

I can export / import VMs from / to the export domain just fine (until now)

Thank you for your feedback,

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


Re: [ovirt-users] Clone / New VM from Template changing network interfaces

2016-02-06 Thread Raz Tamir
Hi Mark,
The problem is that you need to seal the source vm before creting the
template.

http://www.ovirt.org/Sealing_Linux_VM

Thanks,
Raz Tamir
Red Hat Israel
oVirt Engine Version: 3.5.0.1-1.el6

When cloning or creating a new vm, the network interfaces in
/etc/udev/rules.d/70-persistent-net.rules is getting changed - rendering
the new new VM un-networkable.

The original file looks like this:

[image: Inline image 1]

However, once the VM is either cloned or a new VM created from a template
of this source VM, the file looks like this:

[image: Inline image 2]

The 'correct' interfaces are still there, but out of sequence and there are
two additional interfaces that do not belong there.

Ovirt admin console is showing the correct number of interfaces as seen in
this image:

[image: Inline image 3]

Any idea what is causing this?

Thank you for your assistance.



***
*Mark Steele*
CIO / VP Technical Operations | TelVue Corporation
TelVue - We Share Your Vision
800.885.8886 x128 | mste...@telvue.com | http://www.telvue.com
twitter: http://twitter.com/telvue | facebook:
https://www.facebook.com/telvue

___
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] Windows Server 2012R3 guest: BSOD

2016-02-06 Thread Alan Murrell

Hello,

oVirt: 3.6.1
qemu: 2.3.0

I installed a Windows Server 2012R2 guest.  The install is good, but 
when the guest boots into Windows, the Server 2012 version of the BSOD 
comes up,then goes to a "DOS" screen that has an error code '0xc001'


I have tried using a VirtIO HDD and IDE; both result in the same error.

Any ideas what the issue might be?  CPU is Sandybridge, if that makes a 
difference.


Regards,

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