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

2016-02-05 Thread Pavel Gashev
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: mailto:users-boun...@ovirt.org>> on behalf of 
Charles Kozler mailto:char...@fixflyer.com>>
Date: Thursday 4 February 2016 at 23:37
To: users mailto:users@ovirt.org>>
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.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Problem about connecting iscsi server

2016-02-05 Thread İren SALTALI

I'm trying to setup oVirtManager on Centos 7. Here is the configurations:

oVirtEngine Machine:
Centos 7 minimal + GNOME
multipath, firewall, iptables services are stopped and disabled.

Host Machine:
Centos 7 minmal
VDSM is installed and working
iscsi is installed and working
multipath, firewall, iptables services are stopped and disabled.

Situtation:
oVirtEngine installed.
DataCenter is set.
Cluster is set.
Host is set and active.
I can see iqn of iscsi from oVirtEngine Machine via terminal. Like this:

# iscsiadm -m discovery -t st -p 192.168.1.44:3260
192.168.1.44:3260,1 iqn.2016-01.vdsm.localhost:SCSI1

But I cannot connect same machine form oVirtManager. I get this error:

No new devices were found. This may be due to either: incorrect multipath
configuration on the Host or wrong address of the iscsi target or a failure
to authenticate on the target device. Please consult your Storage
Administrator.

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


Re: [ovirt-users] Dumb question: exclamation mark next to VM?

2016-02-05 Thread Patrick Hurrelmann
On 05.02.2016 08:56, Nicolas Ecarnot wrote:
> Le 04/02/2016 22:35, Colin Coe a écrit :
>> Is the oVirt agent up to date?
>
> yum -y upgrade
> ... [blah blah blah]
> ... reboot
> and then :
>
> # cat /etc/centos-release
> CentOS Linux release 7.2.1511 (Core)
>
> # rpm -qa|grep -i agent
> ovirt-guest-agent-common-1.0.11-1.el7.noarch
> qemu-guest-agent-2.3.0-4.el7.x86_64
>
> Exclamation mark is still there.
>
Hi,

this is probably https://bugzilla.redhat.com/show_bug.cgi?id=1281871.
I'm facing the same on 3.6.1. Maybe time to vote for this bug?

Regards
Patrick

--

Lobster SCM GmbH, Hindenburgstraße 15, D-82343 Pöcking
HRB 178831, Amtsgericht München
Geschäftsführer: Dr. Martin Fischer, Rolf Henrich

___
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-05 Thread 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
> >
> > ---+--+--+-+-+
> > ---
> >  engine| postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
> >
> > This is almost certainly my fault though, one too many upgrades from old
> > versions and/or a slightly botched restore process. Would I be better off
> > setting “engine” as the owner of the engine database then (thinking
> > forward here)?
> >
> >   -Darrell
> >
> >
> >> On Feb 4, 2016, at 10:22 AM, Martin Perina  wrote:
> >>
> >>
> >>
> >> - Original Message -
> >>> From: "Eli Mesika" 
> >>> To: "Martin Perina" 
> >>> Cc: "Marcelo Leandro" , "Darrell Budic"
> >>> , "users" 
> >>> Sent: Thursday, February 4, 2016 5:17:24 PM
> >>> Subject: Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to
> >>> 6.2.6-1.el7
> >>>
> >>>
> >>>
> >>> - Original Message -
>  From: "Martin Perina" 
>  To: "Marcelo Leandro" 
>  Cc: "Darrell Budic" , "Eli Mesika"
>  , "users" 
>  Sent: Thursday, February 4, 2016 6:12:34 PM
>  Subject: Re: [

Re: [ovirt-users] All snapshots read only

2016-02-05 Thread Colin Coe
Yep, its been pointed out to me that the prod RHEV environment has this
problem because its running RHEL 6 hosts.  I need to upgrade to RHEL 7.

Thanks

---

Sent from my Nexus 5
On Feb 5, 2016 15:32, "Raz Tamir"  wrote:

> Hi Colin,
> What you are trying to do is live merge - delete a vm's snapshot for
> running vm.
> This feature might not be supported on some of your hypervisors because of
> vdsm or OS version.
> Can you please share the OS version and vdsm vesrion of the hypervisor
> that hositng the running vm which you cannot delete it's snapshot?
>
> A quick solution is to make sure you powering off a vm before deleting
> it's snapshot.
>
> Thanks,
> Raz Tamir
>
___
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-05 Thread Marcelo Leandro
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.

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
>> >
>> > ---+--+--+-+-+
>> > ---
>> >  engine| postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
>> >
>> > This is almost certainly my fault though, one too many upgrades from old
>> > versions and/or a slightly botched restore process. Would I be better off
>> > setting “engine” as the owner of the engine database then (thinking
>> > forward here)?
>> >
>> >   -Darrell
>> >
>> >
>> >> On Feb 4, 2016, at 10:22 AM, Martin Perina  wrote:
>> >>
>> >>
>> >>
>> >> - Original Message -
>> >>> From: "Eli Mesika" 
>

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

2016-02-05 Thread Mark Steele
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:

# PCI device 0x1af4:/sys/devices/pci:00/:00:04.0/virtio1
(virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR(address)=="00:01:a4:a2:b4:04", ATTR(dev_id)=="0x0", ATTR(type)=="1",
KERNEL=="eth*", NAME="eth1"

# PCI device 0x1af4:/sys/devices/pci:00/:00:03.0/virtio0
(virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR(address)=="00:01:a4:a2:b4:03", ATTR(dev_id)=="0x0", ATTR(type)=="1",
KERNEL=="eth*", NAME="eth0"

# PCI device 0x1af4:/sys/devices/pci:00/:00:05.0/virtio2
(virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR(address)=="00:01:a4:a2:b4:05", ATTR(dev_id)=="0x0", ATTR(type)=="1",
KERNEL=="eth*", NAME="eth2"

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

# PCI device 0x1af4:/sys/devices/pci:00/:00:04.0/virtio1
(virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR(address)=="00:01:a4:a2:b4:04", ATTR(dev_id)=="0x0", ATTR(type)=="1",
KERNEL=="eth*", NAME="eth1"

# PCI device 0x1af4:/sys/devices/pci:00/:00:03.0/virtio0
(virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR(address)=="00:01:a4:a2:b4:03", ATTR(dev_id)=="0x0", ATTR(type)=="1",
KERNEL=="eth*", NAME="eth0"

# PCI device 0x1af4:/sys/devices/pci:00/:00:05.0/virtio2
(virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR(address)=="00:01:a4:a2:b4:05", ATTR(dev_id)=="0x0", ATTR(type)=="1",
KERNEL=="eth*", NAME="eth2"

# PCI device 0x1af4:/sys/devices/pci:00/:00:04.0/virtio1
(virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR(address)=="00:01:a4:a2:b4:10", ATTR(dev_id)=="0x0", ATTR(type)=="1",
KERNEL=="eth*", NAME="eth3"

# PCI device 0x1af4:/sys/devices/pci:00/:00:03.0/virtio1
(virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR(address)=="00:01:a4:a2:b4:0f", ATTR(dev_id)=="0x0", ATTR(type)=="1",
KERNEL=="eth*", NAME="eth5"

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]

***
*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


[ovirt-users] cluster's minimum CPU level

2016-02-05 Thread suporte
Hi, 
I'm trying to add a new old host (Intel(R) Xeon(R) CPU X3430 @ 2.40GHz Intel 
Nehalem Family) to oVirt Engine Version: 3.5.4.2-1.el7.centos. 
But I'm getting this error: 
host does not meet the cluster's minimum CPU level. Missing CPU features : 
model_SandyBridge 


What happen if I lower the cluster CPU type? Do I loose functionalities? Do I 
need to shutdown all VMs before change the cluster CPU type? 
Do you see any problem here? 

Thanks 

José 


-- 

Jose Ferradeira 
http://www.logicworks.pt 

___
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-05 Thread Pavel Gashev
Solution:
http://www.ovirt.org/OVirt_Administration_Guide#Sealing_a_Linux_Virtual_Machine_for_Deployment_as_a_Template


From: mailto:users-boun...@ovirt.org>> on behalf of 
Mark Steele mailto:mste...@telvue.com>>
Date: Friday 5 February 2016 at 15:07
To: "users@ovirt.org" 
mailto:users@ovirt.org>>
Subject: [ovirt-users] Clone / New VM from Template changing network interfaces

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:

# PCI device 0x1af4:/sys/devices/pci:00/:00:04.0/virtio1 (virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR(address)=="00:01:a4:a2:b4:04", ATTR(dev_id)=="0x0", ATTR(type)=="1", 
KERNEL=="eth*", NAME="eth1"

# PCI device 0x1af4:/sys/devices/pci:00/:00:03.0/virtio0 (virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR(address)=="00:01:a4:a2:b4:03", ATTR(dev_id)=="0x0", ATTR(type)=="1", 
KERNEL=="eth*", NAME="eth0"

# PCI device 0x1af4:/sys/devices/pci:00/:00:05.0/virtio2 (virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR(address)=="00:01:a4:a2:b4:05", ATTR(dev_id)=="0x0", ATTR(type)=="1", 
KERNEL=="eth*", NAME="eth2"

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

# PCI device 0x1af4:/sys/devices/pci:00/:00:04.0/virtio1 (virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR(address)=="00:01:a4:a2:b4:04", ATTR(dev_id)=="0x0", ATTR(type)=="1", 
KERNEL=="eth*", NAME="eth1"

# PCI device 0x1af4:/sys/devices/pci:00/:00:03.0/virtio0 (virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR(address)=="00:01:a4:a2:b4:03", ATTR(dev_id)=="0x0", ATTR(type)=="1", 
KERNEL=="eth*", NAME="eth0"

# PCI device 0x1af4:/sys/devices/pci:00/:00:05.0/virtio2 (virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR(address)=="00:01:a4:a2:b4:05", ATTR(dev_id)=="0x0", ATTR(type)=="1", 
KERNEL=="eth*", NAME="eth2"

# PCI device 0x1af4:/sys/devices/pci:00/:00:04.0/virtio1 (virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR(address)=="00:01:a4:a2:b4:10", ATTR(dev_id)=="0x0", ATTR(type)=="1", 
KERNEL=="eth*", NAME="eth3"

# PCI device 0x1af4:/sys/devices/pci:00/:00:03.0/virtio1 (virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR(address)=="00:01:a4:a2:b4:0f", ATTR(dev_id)=="0x0", ATTR(type)=="1", 
KERNEL=="eth*", NAME="eth5"

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:

[Inline image 3]

***
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


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

2016-02-05 Thread Mark Steele
Thank you very much for this quick response!


***
*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

On Fri, Feb 5, 2016 at 7:46 AM, Pavel Gashev  wrote:

> Solution:
>
> http://www.ovirt.org/OVirt_Administration_Guide#Sealing_a_Linux_Virtual_Machine_for_Deployment_as_a_Template
>
>
> From:  on behalf of Mark Steele <
> mste...@telvue.com>
> Date: Friday 5 February 2016 at 15:07
> To: "users@ovirt.org" 
> Subject: [ovirt-users] Clone / New VM from Template changing network
> interfaces
>
> 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:
>
> # PCI device 0x1af4:/sys/devices/pci:00/:00:04.0/virtio1
> (virtio-pci)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR(address)=="00:01:a4:a2:b4:04", ATTR(dev_id)=="0x0", ATTR(type)=="1",
> KERNEL=="eth*", NAME="eth1"
>
> # PCI device 0x1af4:/sys/devices/pci:00/:00:03.0/virtio0
> (virtio-pci)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR(address)=="00:01:a4:a2:b4:03", ATTR(dev_id)=="0x0", ATTR(type)=="1",
> KERNEL=="eth*", NAME="eth0"
>
> # PCI device 0x1af4:/sys/devices/pci:00/:00:05.0/virtio2
> (virtio-pci)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR(address)=="00:01:a4:a2:b4:05", ATTR(dev_id)=="0x0", ATTR(type)=="1",
> KERNEL=="eth*", NAME="eth2"
>
> However, once the VM is either cloned or a new VM created from a template
> of this source VM, the file looks like this:
>
> # PCI device 0x1af4:/sys/devices/pci:00/:00:04.0/virtio1
> (virtio-pci)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR(address)=="00:01:a4:a2:b4:04", ATTR(dev_id)=="0x0", ATTR(type)=="1",
> KERNEL=="eth*", NAME="eth1"
>
> # PCI device 0x1af4:/sys/devices/pci:00/:00:03.0/virtio0
> (virtio-pci)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR(address)=="00:01:a4:a2:b4:03", ATTR(dev_id)=="0x0", ATTR(type)=="1",
> KERNEL=="eth*", NAME="eth0"
>
> # PCI device 0x1af4:/sys/devices/pci:00/:00:05.0/virtio2
> (virtio-pci)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR(address)=="00:01:a4:a2:b4:05", ATTR(dev_id)=="0x0", ATTR(type)=="1",
> KERNEL=="eth*", NAME="eth2"
>
> # PCI device 0x1af4:/sys/devices/pci:00/:00:04.0/virtio1
> (virtio-pci)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR(address)=="00:01:a4:a2:b4:10", ATTR(dev_id)=="0x0", ATTR(type)=="1",
> KERNEL=="eth*", NAME="eth3"
>
> # PCI device 0x1af4:/sys/devices/pci:00/:00:03.0/virtio1
> (virtio-pci)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR(address)=="00:01:a4:a2:b4:0f", ATTR(dev_id)=="0x0", ATTR(type)=="1",
> KERNEL=="eth*", NAME="eth5"
>
> 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]
>
> ***
> *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


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

2016-02-05 Thread Martin Perina
Great to hear! Let me know if there are still any other issues with the upgrade.

Thanks

Martin Perina


- Original Message -
> From: "Marcelo Leandro" 
> To: "Martin Perina" 
> Cc: "Eli Mesika" , "users" 
> Sent: Friday, February 5, 2016 1:02:37 PM
> Subject: Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to 6.2.6-1.el7
> 
> 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.
> 
> 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|   Acc

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

2016-02-05 Thread Marcelo Leandro
I had the same problem from the other server , I had to wheel the command:

psql -U engine -c "DELETE from command_entities;" 

after the update.
but now it's ok.

2016-02-05 10:11 GMT-03:00 Martin Perina :
> Great to hear! Let me know if there are still any other issues with the 
> upgrade.
>
> Thanks
>
> Martin Perina
>
>
> - Original Message -
>> From: "Marcelo Leandro" 
>> To: "Martin Perina" 
>> Cc: "Eli Mesika" , "users" 
>> Sent: Friday, February 5, 2016 1:02:37 PM
>> Subject: Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to 6.2.6-1.el7
>>
>> 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.
>>
>> 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.cg

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

2016-02-05 Thread Martin Perina


- Original Message -
> From: "Marcelo Leandro" 
> To: "Martin Perina" 
> Cc: "Eli Mesika" , "users" 
> Sent: Friday, February 5, 2016 2:28:55 PM
> Subject: Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to 6.2.6-1.el7
> 
> I had the same problem from the other server , I had to wheel the command:
> 
> psql -U engine -c "DELETE from command_entities;" 
> 
> after the update.
> but now it's ok.

Thanks to your report this is covered by [1] and it will be fixed in 3.6.3.

Martin Perina

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1303163

> 
> 2016-02-05 10:11 GMT-03:00 Martin Perina :
> > Great to hear! Let me know if there are still any other issues with the
> > upgrade.
> >
> > Thanks
> >
> > Martin Perina
> >
> >
> > - Original Message -
> >> From: "Marcelo Leandro" 
> >> To: "Martin Perina" 
> >> Cc: "Eli Mesika" , "users" 
> >> Sent: Friday, February 5, 2016 1:02:37 PM
> >> Subject: Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to
> >> 6.2.6-1.el7
> >>
> >> 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.
> >>
> >> 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.c

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

2016-02-05 Thread Marcelo Leandro
Thank you all for help.

2016-02-05 10:35 GMT-03:00 Martin Perina :
>
>
> - Original Message -
>> From: "Marcelo Leandro" 
>> To: "Martin Perina" 
>> Cc: "Eli Mesika" , "users" 
>> Sent: Friday, February 5, 2016 2:28:55 PM
>> Subject: Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to 6.2.6-1.el7
>>
>> I had the same problem from the other server , I had to wheel the command:
>>
>> psql -U engine -c "DELETE from command_entities;" 
>>
>> after the update.
>> but now it's ok.
>
> Thanks to your report this is covered by [1] and it will be fixed in 3.6.3.
>
> Martin Perina
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1303163
>
>>
>> 2016-02-05 10:11 GMT-03:00 Martin Perina :
>> > Great to hear! Let me know if there are still any other issues with the
>> > upgrade.
>> >
>> > Thanks
>> >
>> > Martin Perina
>> >
>> >
>> > - Original Message -
>> >> From: "Marcelo Leandro" 
>> >> To: "Martin Perina" 
>> >> Cc: "Eli Mesika" , "users" 
>> >> Sent: Friday, February 5, 2016 1:02:37 PM
>> >> Subject: Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to
>> >> 6.2.6-1.el7
>> >>
>> >> 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.
>> >>
>> >> 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]
>> >> >>   

[ovirt-users] Concerning CPU and Memory columns of VM screen

2016-02-05 Thread Jean-Pierre Ribeauville
Hi,


I'm trying to find a thread to retrieve ( within sources) what are the metrics 
counters used within ovirt-engine GUI displayed in CPU and Memory columns of VM 
screen.

Any idea or help is welcome.


Thx.

Regards,


J.P. Ribeauville


P: +33.(0).1.47.17.20.49
.
Puteaux 3 Etage 5  Bureau 4

jpribeauvi...@axway.com
http://www.axway.com



P Pensez à l'environnement avant d'imprimer.



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


Re: [ovirt-users] OVirt 3.6.2 -> NPE while clicking on "Setup Host Networks"

2016-02-05 Thread ovirt

Hi Alona,

yes I can confirm that the steps are solving the issue.
I'm able to access the network configuration page of the host now.

Best regards, thank you for the great support and nice weekend
Christoph

Am 01.02.2016 um 17:27 schrieb Alona Kaplan:

Hi Christoph,

I think that I know what happened on your environment.
Since, as you said, the names of the nics were changed after reboot. Nic names 
that previously were used for sriov nics, are now used for a regular nics.

As I see from looking at the results of your queries-
Previously - eth2, eth3, eth4 and eth5 were sriov nics.
Now after the reboot - eth1, eth3, eth4 and eth6 are sriov nics.

Due to a bug (https://bugzilla.redhat.com/1303640), currently the engine 
doesn't know how to deal with this situation and the data in the db gets 
corrupted.
Until the bug is fixed, the way to fix it manually is to clean the host's data 
from some tables and then refreshing the capabilities of the host.

Please do the following -

1. delete from host_device where host_id='b3b01963-caf8-4f01-bfcc-57e6d33e7dc4';
2. delete from host_nic_vfs_config where nic_id in (select id from 
vds_interface where vds_id='b3b01963-caf8-4f01-bfcc-57e6d33e7dc4');

After it, please do -
1. select from host_device where host_id='b3b01963-caf8-4f01-bfcc-57e6d33e7dc4';
2. select from host_nic_vfs_config where nic_id in (select id from 
vds_interface where vds_id='b3b01963-caf8-4f01-bfcc-57e6d33e7dc4');

Make sure both of the queries return empty values.

Then click on the 'refresh host's capabilities' button.

Please let me know if after doing so you manage to open the host's setup 
network dialog.

Thanks,
Alona.

- Original Message -

From: ov...@timmi.org
To: "Alona Kaplan" 
Cc: "Martin Mucha" , users@ovirt.org
Sent: Sunday, January 31, 2016 4:47:36 PM
Subject: Re: [ovirt-users] OVirt 3.6.2 -> NPE while clicking on "Setup Host 
Networks"

Hi Alona,

please find the requested output in the attachment.

Best regards
Christoph

Am 31.01.2016 um 15:09 schrieb Alona Kaplan:

Hi Christoph,

Please send me also the output of the following-

On the host (The problematic host is - 'lxedna.voipfuture.com', right?)-
1. vdsClient -s 0 getVdsCapabilities
2. vdsClient -s 0 hostdevListByCaps

On the DB-
1. select * from vds_interface where
vds_id='b3b01963-caf8-4f01-bfcc-57e6d33e7dc4';
2. select * from host_device where
host_id='b3b01963-caf8-4f01-bfcc-57e6d33e7dc4';
3. select * from host_nic_vfs_config;

Thanks,
Alona.

- Original Message -

From: ov...@timmi.org
To: "Alona Kaplan" , "Martin Mucha"

Cc: users@ovirt.org
Sent: Friday, January 29, 2016 9:25:53 AM
Subject: Re: [ovirt-users] OVirt 3.6.2 -> NPE while clicking on "Setup
Host Networks"

Hi Alona,

here are my answers.

1. no, but I did that just now and it does not change the behavior.
2. the host is up
3. it is in the attachment

Best regards
Christoph

Am 28.01.2016 um 15:47 schrieb Alona Kaplan:

Hi Christoph,

I have some questions/requests-

1. After the reboot and the rewiring you did- did you press manually on
the
Host's 'Refresh Capabilities' button (it is part of the Host's actions in
the host's main tab)?
If not, please do it and let me know if after doing it you manage to open
the 'setup networks' dialog or still get the same error.
2. What is the status of your host? Up/Maintenance/some thing else?
3. Please attach the full log of your engine.

Thanks,
Alona.

- Original Message -

From: "Martin Mucha" 
To: ov...@timmi.org
Cc: users@ovirt.org
Sent: Thursday, January 28, 2016 11:46:30 AM
Subject: Re: [ovirt-users] OVirt 3.6.2 -> NPE while clicking on "Setup
Host Networks"

ok, thanks. Just o inform you — so far it seems there is inconsistency
in
assumptions of what can be nullable and what can not. We just need to
decide
which approach is correct and fix rest.
M.

- Original Message -

Hi Martin,

please let me know I can help.

Best regards
Christoph

Am 28.01.2016 um 09:04 schrieb Martin Mucha:

I think this issue is real and it seems to be caused by unboxing of
nullvalued integer obtained from function
org.ovirt.engine.core.common.businessentities.HostDevice#getTotalVirtualFunctions

M.

- Original Message -

Hi List,

I update my OVirt 3.6.1 installation to 3.6.2 this morning.
After the reboot of the server the interface numbering wasn't the
same
so I had to change some cable to have them connected to the right
configuration.

Everything looks OK but I receive a null pointer exception while
clicking on "Setup Host Networks" of my engine/host server.

Any help is more then welcome!!

Best regards
Christoph

2016-01-27 19:04:47,738 ERROR
[org.ovirt.engine.core.bll.network.host.GetAllVfsConfigByHostIdQuery]
(default task-482) [] Exception: java.lang.NullPointerException
 at
org.ovirt.engine.core.bll.network.host.NetworkDeviceHelperImpl.getMaxNumOfVfs(NetworkDeviceHelperImpl.java:172)
[bll.jar:]
 at
org.ovirt.engine.core.bll.network.host.NetworkDeviceHelperImpl.

Re: [ovirt-users] Problem about connecting iscsi server

2016-02-05 Thread Gianluca Cecchi
Il 05/Feb/2016 09:20, "İren SALTALI"  ha scritto:
>
> I'm trying to setup oVirtManager on Centos 7. Here is the configurations:

[Snip]

> I can see iqn of iscsi from oVirtEngine Machine via terminal. Like this:
>
> # iscsiadm -m discovery -t st -p 192.168.1.44:3260
> 192.168.1.44:3260,1 iqn.2016-01.vdsm.localhost:SCSI1
>
> But I cannot connect same machine form oVirtManager. I get this error:
>
> No new devices were found. This may be due to either: incorrect multipath
configuration on the Host or wrong address of the iscsi target or a failure
to authenticate on the target device. Please consult your Storage
Administrator.

It is the host, not engine, that has to establish connection to iSCSI
target, so you have to verify that connectivity...
see PROCEDURE 7.7at
http://www.ovirt.org/OVirt_Administration_Guide#Preparing_and_Adding_Block_Storage

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


Re: [ovirt-users] Dumb question: exclamation mark next to VM?

2016-02-05 Thread Joe DiTommasso
If you mouse over the exclamation mark, you should get a tooltip that tells
you what it's complaining about. I've got it on pretty much all my VMs,
it's an issue with the timezone for me.

On Thu, Feb 4, 2016 at 10:41 AM, Charles Kozler 
wrote:

> I have this too. Thank you, I was going to email about this as well
> http://i.imgur.com/cZ6P5dp.png
>
> On Thu, Feb 4, 2016 at 10:38 AM, Chris Adams  wrote:
>
>> I set up a new oVirt 3.6.2 cluster on CentOS 7.2 (everything up to date
>> as of yesterday).  I created a basic CentOS 7.2 VM with my local
>> customizations, created a template from it, and then created a VM from
>> that template.
>>
>> That new VM has an exclamation mark next to it in the web GUI (between
>> the up arror for "running" and the "server" icon).  Usually I would
>> expect that means something is wrong or needs attention, but I can't
>> find anything to fix/address/etc. (no messages in the Alerts, nothing
>> odd in the Events, etc.).  What does the exclamation mark mean, and how
>> do I clear it?
>>
>> --
>> Chris Adams 
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
>
> --
>
> *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
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Dumb question: exclamation mark next to VM?

2016-02-05 Thread Chris Adams
Once upon a time, Joe DiTommasso  said:
> If you mouse over the exclamation mark, you should get a tooltip that tells
> you what it's complaining about. I've got it on pretty much all my VMs,
> it's an issue with the timezone for me.

I get nothing for the exclamation mark.  I go straight from the "Up" tip
to the "Server" tip.  The ! is in the first column with the status icon
(if you widen the columns it stay next to the up arror).

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


Re: [ovirt-users] Several VM's stuck in Migration

2016-02-05 Thread Mark Steele
I was able to clear the stuck items by restarting the Host.

***
*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


Re: [ovirt-users] Disabling migration when there is a problem with storage

2016-02-05 Thread Mark Steele
I found that setting the cluster's 'Resilience Policy' to 'Do Not Migrate
Virtual Machines' seems to have the desired effect while still letting me
manually and via 'Maintenance' migrate VM's

Thanks all

***
*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


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

2016-02-05 Thread Mark Steele
 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


Re: [ovirt-users] Dumb question: exclamation mark next to VM?

2016-02-05 Thread Darrell Budic
After upgrading to 3.6.2, I’ve got a couple that are doing this to (No actual 
tooltip for the exclamation point). One windows, two linux, funny thing is they 
are all down at the moment and still have this warning…

  -Darrell

> On Feb 5, 2016, at 4:58 PM, Chris Adams  wrote:
> 
> Once upon a time, Joe DiTommasso  said:
>> If you mouse over the exclamation mark, you should get a tooltip that tells
>> you what it's complaining about. I've got it on pretty much all my VMs,
>> it's an issue with the timezone for me.
> 
> I get nothing for the exclamation mark.  I go straight from the "Up" tip
> to the "Server" tip.  The ! is in the first column with the status icon
> (if you widen the columns it stay next to the up arror).
> 
> -- 
> Chris Adams 
> ___
> 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] Dumb question: exclamation mark next to VM?

2016-02-05 Thread Chris Adams
Once upon a time, Darrell Budic  said:
> After upgrading to 3.6.2, I’ve got a couple that are doing this to (No actual 
> tooltip for the exclamation point). One windows, two linux, funny thing is 
> they are all down at the moment and still have this warning…

Weird, I think mine only have it when they are up.  The VMs with the
exclamation point are all CentOS 7.2+EPEL up-to-date (so
ovirt-guest-agent-common-1.0.11-1.el7 from EPEL - is that current?).

I installed a Windows Server 2012 Essentials today, using the ISO from
ovirt-guest-tools-iso-3.6.0-0.2_master.fc22, and the Windows VM does not
have an exclamation mark.

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