[ovirt-users] ERROR: update or delete on table "luns" violates foreign key constraint...

2015-12-18 Thread Aleksey Chudov
Hi,

I have two-node self hosted engine cluster with iscsi shared storage. Every
ovirt-engine restart produces the following error in
/var/log/ovirt-engine/engine.log. After that engine works without any
problems.

How to fix it?

2015-12-18 11:33:00,053 ERROR
[org.ovirt.engine.core.bll.storage.SyncLunsInfoForBlockStorageDomainCommand]
(org.ovirt.thread.pool-8-thread-11) [674068d8] Command
'org.ovirt.engine.core.bll.storage.SyncLunsInfoForBlockStorageDomainCommand'
failed: CallableStatementCallback; SQL [{call deletelun(?)}]; ERROR: update
or delete on table "luns" violates foreign key constraint
"disk_lun_to_lun_fk" on table "disk_lun_map"
  Detail: Key (lun_id)=(36001405821da830526f48d0a961767c8) is still
referenced from table "disk_lun_map".
  Where: SQL statement "DELETE FROM LUNs
   WHERE LUN_id = v_LUN_id"
PL/pgSQL function deletelun(character varying) line 10 at SQL statement;
nested exception is org.postgresql.util.PSQLException: ERROR: update or
delete on table "luns" violates foreign key constraint "disk_lun_to_lun_fk"
on table "disk_lun_map"
  Detail: Key (lun_id)=(36001405821da830526f48d0a961767c8) is still
referenced from table "disk_lun_map".
  Where: SQL statement "DELETE FROM LUNs
   WHERE LUN_id = v_LUN_id"
PL/pgSQL function deletelun(character varying) line 10 at SQL statement
2015-12-18 11:33:00,053 ERROR
[org.ovirt.engine.core.bll.storage.SyncLunsInfoForBlockStorageDomainCommand]
(org.ovirt.thread.pool-8-thread-11) [674068d8] Exception:
org.springframework.dao.DataIntegrityViolationException:
CallableStatementCallback; SQL [{call deletelun(?)}]; ERROR: update or
delete on table "luns" violates foreign key constraint "disk_lun_to_lun_fk"
on table "disk_lun_map"
  Detail: Key (lun_id)=(36001405821da830526f48d0a961767c8) is still
referenced from table "disk_lun_map".
  Where: SQL statement "DELETE FROM LUNs
   WHERE LUN_id = v_LUN_id"
PL/pgSQL function deletelun(character varying) line 10 at SQL statement;
nested exception is org.postgresql.util.PSQLException: ERROR: update or
delete on table "luns" violates foreign key constraint "disk_lun_to_lun_fk"
on table "disk_lun_map"
  Detail: Key (lun_id)=(36001405821da830526f48d0a961767c8) is still
referenced from table "disk_lun_map".
  Where: SQL statement "DELETE FROM LUNs
   WHERE LUN_id = v_LUN_id"
PL/pgSQL function deletelun(character varying) line 10 at SQL statement
at
org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:245)
[spring-jdbc.jar:3.1.1.RELEASE]
at
org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
[spring-jdbc.jar:3.1.1.RELEASE]
at
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:1030)
[spring-jdbc.jar:3.1.1.RELEASE]
at
org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:1064)
[spring-jdbc.jar:3.1.1.RELEASE]
at
org.springframework.jdbc.core.simple.AbstractJdbcCall.executeCallInternal(AbstractJdbcCall.java:388)
[spring-jdbc.jar:3.1.1.RELEASE]
at
org.springframework.jdbc.core.simple.AbstractJdbcCall.doExecute(AbstractJdbcCall.java:351)
[spring-jdbc.jar:3.1.1.RELEASE]
at
org.springframework.jdbc.core.simple.SimpleJdbcCall.execute(SimpleJdbcCall.java:181)
[spring-jdbc.jar:3.1.1.RELEASE]
at
org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeImpl(SimpleJdbcCallsHandler.java:147)
[dal.jar:]
at
org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeImpl(SimpleJdbcCallsHandler.java:142)
[dal.jar:]
at
org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeModification(SimpleJdbcCallsHandler.java:80)
[dal.jar:]
at org.ovirt.engine.core.dao.LunDaoImpl.remove(LunDaoImpl.java:127)
[dal.jar:]
at org.ovirt.engine.core.dao.LunDaoImpl.remove(LunDaoImpl.java:18)
[dal.jar:]
at
org.ovirt.engine.core.bll.storage.SyncLunsInfoForBlockStorageDomainCommand.refreshLunsInfo(SyncLunsInfoForBlockStorageDomainCommand.java:94)
[bll.jar:]
at
org.ovirt.engine.core.bll.storage.SyncLunsInfoForBlockStorageDomainCommand$1.runInTransaction(SyncLunsInfoForBlockStorageDomainCommand.java:51)
[bll.jar:]
at
org.ovirt.engine.core.bll.storage.SyncLunsInfoForBlockStorageDomainCommand$1.runInTransaction(SyncLunsInfoForBlockStorageDomainCommand.java:48)
[bll.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:210)
[utils.jar:]
at
org.ovirt.engine.core.bll.storage.SyncLunsInfoForBlockStorageDomainCommand.executeCommand(SyncLunsInfoForBlockStorageDomainCommand.java:48)
[bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1215)
[bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1359)
[bll.jar:]
at

[ovirt-users] Remove reporst and dwh services and db

2015-12-18 Thread Kevin COUSIN
Hi list,

Is it safe to remove dwh service et databases from an running ovirt engine ?

I think I can try something like :

engine-cleanup 
[ 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-reports-jboss.conf', 
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf', 
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
  Log file: 
/var/log/ovirt-engine/setup/ovirt-engine-remove-20151218103955-e7a1em.log
  Version: otopi-1.4.0 (otopi-1.4.0-1.el7.centos)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment customization
  Do you want to remove all components? (Yes, No) [Yes]: no
 
  --== PRODUCT OPTIONS ==--
 
  Do you want to remove PKI keys? (Yes, No) [No]: no
  Do you want to remove ISO domain layout? (Yes, No) [No]: no
  Do you want to remove YUM version locking configuration? (Yes, No) 
[No]: no
  Do you want to remove PKI configuration? (Yes, No) [No]: no
  Do you want to remove Core files? (Yes, No) [No]: no
  Do you want to remove DWH files? (Yes, No) [No]: yes
  Do you want to remove Reports files? (Yes, No) [No]: yes
  Do you want to remove NFS exports configuration? (Yes, No) [No]: no
  Do you want to remove NFS Configuration? (Yes, No) [No]: no
  Do you want to remove Apache SSL configuration? (Yes, No) [No]: no
  Do you want to remove VMConsole Helper PKI keys? (Yes, No) [No]: no
  Do you want to remove VMConsole PKI Proxy keys? (Yes, No) [No]: no
  The following files were changed since setup:
  /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-uuid.conf
  
/etc/ovirt-engine-reports/ovirt-engine-reports.conf.d/10-setup-database.conf
  /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-database.conf
  /etc/ovirt-engine-reports/sso.properties
  Remove them anyway? (Yes, No) [Yes]: yes
  Do you want to remove the engine? (Yes, No) [No]: no
  Do you want to remove DWH DB content? All data will be lost (Yes, No) 
[No]: yes
  Do you want to remove Reports DB content? All data will be lost (Yes, 
No) [No]: yes
  Do you want to remove Reports Jasper artifacts? (Yes, No) [No]: yes
  Do you want to remove the WebSocket proxy? (Yes, No) [No]: no
[ INFO  ] Stage: Setup validation
  During execution engine service will be stopped (OK, Cancel) [OK]: 
Cancel

Regards,


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


Re: [ovirt-users] ovirt-ha-broker issue after upgrade CentOS 7.1 => 7.2 and oVirt 3.6.0 => 3.6.1

2015-12-18 Thread Bello Florent
 

Yes it's solved for me too. Thanks for your help 


Cordialement,

Florent BELLO
Service
Informatique
informati...@ville-kourou.fr
0594 22 31 22
Mairie de Kourou


Le 17/12/2015 22:08, Matthew Trent a écrit : 

> Yes! That did it.
All the errors are gone, and HA seems to be functioning normally. Thanks
much! 
> 
> --
> Matthew Trent 
> Network Engineer
> Lewis County IT
Services ​ 
> 
> -
> 
> FROM: Simone
Tiraboschi 
> SENT: Thursday, December 17, 2015
4:50 PM
> TO: Matthew Trent
> CC: users@ovirt.org
> SUBJECT: Re:
[ovirt-users] ovirt-ha-broker issue after upgrade CentOS 7.1 => 7.2 and
oVirt 3.6.0 => 3.6.1 
> 
> On Fri, Dec 18, 2015 at 12:32 AM, Matthew
Trent  wrote:
> 
>> (Sorry if this
reply doesn't thread properly. Just subscribed to reply to this
topic.)
>> 
>> I'm also experiencing this issue. Just upgraded to the
latest packages and both ovirt-ha-agent and ovirt-ha-broker pause for a
long time when being started, then timeout with errors.
> 
> Please try
manually reverting this patch https://gerrit.ovirt.org/#/c/50662/ [2] 
>
by removing the lines that start with PIDFile= from 
>
/usr/lib/systemd/system/ovirt-ha-broker.service and
/usr/lib/systemd/system/ovirt-ha-agent.service 
> Then systemctl
daemon-reload and restart the services 
> 
>> [root@ovirt2 ~]# systemctl
start ovirt-ha-broker
>> Job for ovirt-ha-broker.service failed because
a timeout was exceeded. See "systemctl status ovirt-ha-broker.service"
and "journalctl -xe" for details.
>> [root@ovirt2 ~]# systemctl start
ovirt-ha-agent
>> Job for ovirt-ha-agent.service failed because a
timeout was exceeded. See "systemctl status ovirt-ha-agent.service" and
"journalctl -xe" for details.
>> 
>> Dec 17 15:27:53 ovirt2 systemd:
Failed to start oVirt Hosted Engine High Availability Communications
Broker.
>> Dec 17 15:27:53 ovirt2 systemd: Unit ovirt-ha-broker.service
entered failed state.
>> Dec 17 15:27:53 ovirt2 systemd:
ovirt-ha-broker.service failed.
>> Dec 17 15:27:53 ovirt2 systemd:
ovirt-ha-broker.service holdoff time over, scheduling restart.
>> Dec 17
15:27:53 ovirt2 systemd: Starting oVirt Hosted Engine High Availability
Communications Broker...
>> Dec 17 15:27:53 ovirt2
systemd-ovirt-ha-broker: Starting ovirt-ha-broker: [ OK ]
>> Dec 17
15:27:53 ovirt2 systemd: PID 21125 read from file
/run/ovirt-hosted-engine-ha/broker.pid does not exist or is a zombie.
>>
Dec 17 15:29:22 ovirt2 systemd: ovirt-ha-agent.service
stop-final-sigterm timed out. Killing.
>> Dec 17 15:29:22 ovirt2
systemd: Failed to start oVirt Hosted Engine High Availability
Monitoring Agent.
>> Dec 17 15:29:22 ovirt2 systemd: Unit
ovirt-ha-agent.service entered failed state.
>> Dec 17 15:29:22 ovirt2
systemd: ovirt-ha-agent.service failed.
>> Dec 17 15:29:22 ovirt2
systemd: ovirt-ha-agent.service holdoff time over, scheduling
restart.
>> Dec 17 15:29:23 ovirt2 systemd: ovirt-ha-broker.service
start operation timed out. Terminating.
>> Dec 17 15:29:24 ovirt2
systemd: Failed to start oVirt Hosted Engine High Availability
Communications Broker.
>> Dec 17 15:29:24 ovirt2 systemd: Unit
ovirt-ha-broker.service entered failed state.
>> Dec 17 15:29:24 ovirt2
systemd: ovirt-ha-broker.service failed.
>> Dec 17 15:29:24 ovirt2
systemd: Starting oVirt Hosted Engine High Availability Monitoring
Agent...
>> Dec 17 15:29:24 ovirt2 systemd-ovirt-ha-agent: Starting
ovirt-ha-agent: [ OK ]
>> Dec 17 15:29:24 ovirt2 systemd: PID 21288 read
from file /run/ovirt-hosted-engine-ha/agent.pid does not exist or is a
zombie.
>> Dec 17 15:29:24 ovirt2 systemd: ovirt-ha-broker.service
holdoff time over, scheduling restart.
>> Dec 17 15:29:24 ovirt2
systemd: Starting oVirt Hosted Engine High Availability Communications
Broker...
>> Dec 17 15:29:25 ovirt2 systemd-ovirt-ha-broker: Starting
ovirt-ha-broker: [ OK ]
>> Dec 17 15:29:25 ovirt2 systemd: PID 21304
read from file /run/ovirt-hosted-engine-ha/broker.pid does not exist or
is a zombie.
>> 
>> --
>> Matthew Trent
>> Network Engineer
>> Lewis
County IT Services
>> 360.740.1247 - Helpdesk
>> 360.740.3343 - Direct
line
>> 
>> ___
>> Users
mailing list
>> Users@ovirt.org
>>
http://lists.ovirt.org/mailman/listinfo/users [1]
> 
>
___
> Users mailing list
>
Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users [1]



Links:
--
[1] http://lists.ovirt.org/mailman/listinfo/users
[2]
https://gerrit.ovirt.org/#/c/50662/
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt reports an Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz as a Intel SandyBridge Family?

2015-12-18 Thread gflwqs gflwqs
Hi,
I have registered a new DELL R730 machine in ovirt 3.5.6 this server type
has a Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz.
When i try to add a the new host to a cluster with a haswell architecure i
get an error:
"Host xxx moved to Non-Operational state as host does not meet the
cluster's minimum CPU level. Missing CPU features : model_Haswell"

When i look at the hardware tab on the host it says:
CPU Model: Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz
and
CPU Type: Intel SandyBridge Family

This is not a SandyBridge Family processor?

When i change the cluster to be a SandyBridge Family cluster the host can
be activated.

What are my options?
- Is it a bug i can get a fix for? (I can't upgrade to 3.6)
- Can i  force it to report correctly?
- What am i loosing in terms of functionality/performance if ovirt thinks
its a SandyBridge processor?

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


[ovirt-users] Network tagging

2015-12-18 Thread Kevin COUSIN
Hi list,

Is it possible to add same VLAN as tagged for different purposes :

* VLAN XX as VM network and tagged to attach VM
* VLAN XX tagged for bonding with another VLAN on an interface


Regards

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


Re: [ovirt-users] Self hosted engine and upgrade path to 3.6.1 CentOS 7.2 with single host

2015-12-18 Thread Sandro Bonazzola
On Thu, Dec 17, 2015 at 8:31 AM, Gianluca Cecchi 
wrote:

> Hello,
> having a self hosted engine environment in 3.6.0 and both host and engine
> VM in CentOS 7.1, and having only one single host, now that both CentOS 7.2
> and 3.6.1 have been released, what would be the correct path/approach?
>
> I have a test system with an NFS storage domain and some VMs on it, to try
> on before and then report, but if I get a confirmation/suggestion in
> advance is preferable.
>
> This is my idea, adapting what described at:
> http://www.ovirt.org/Hosted_Engine_Howto#Upgrade_Hosted_Engine
>
> - set hosted engine maintenance mode to global
> - upgrade engine VM both to 3.6.1 and CentOS 7.2 with:
>  # yum update "ovirt-engine-setup*"
>  # yum update
>  # engine-setup
> - reboot engine VM and verify correct access
>
> No what if I want to update the host too?
> - shutdown the VMs in my Datacenter
> Can I put the only existing host into maintenance? Would this shutdown the
> engine vm too or is it separate in terms of maintenance of the host?
>
>
You can't put the only existing host in maintenance since Hosted Engine is
running on it and it can't migrate



> Or should I simply
> - shutdown the VMs in my Datacenter
> - shutdown engine VM
> - stop vdsmd on host
> - update host to both CentOS 7.2 and oVirt 3.6.1 packages with:
>   # yum update
> - reboot host
> - verify vdsmd is ok
> - exit the global maintenance mode and wait for a few minutes the engine
> VM should on this fresh upgraded host
> - hopefully the host will come up again as active and I can start my VMs
> ?
>
>

- shutdown the VMs in your Datacenter
- move the host to local maintenance
- shutdown engine VM
- yum update
- reboot
- exit maintenance



> Thanks in advance for any help and clarification
>
> Gianluca
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt reports an Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz as a Intel SandyBridge Family?

2015-12-18 Thread gflwqs gflwqs
Ok
So i can still benefit from haswell performance?

/Christian

2015-12-18 14:51 GMT+01:00 Simone Tiraboschi :

>
>
> On Fri, Dec 18, 2015 at 1:02 PM, gflwqs gflwqs  wrote:
>
>> Hi,
>> I have registered a new DELL R730 machine in ovirt 3.5.6 this server type
>> has a Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz.
>> When i try to add a the new host to a cluster with a haswell architecure
>> i get an error:
>> "Host xxx moved to Non-Operational state as host does not meet the
>> cluster's minimum CPU level. Missing CPU features : model_Haswell"
>>
>> When i look at the hardware tab on the host it says:
>> CPU Model: Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz
>> and
>> CPU Type: Intel SandyBridge Family
>>
>> This is not a SandyBridge Family processor?
>>
>> When i change the cluster to be a SandyBridge Family cluster the host can
>> be activated.
>>
>> What are my options?
>> - Is it a bug i can get a fix for? (I can't upgrade to 3.6)
>> - Can i  force it to report correctly?
>> - What am i loosing in terms of functionality/performance if ovirt thinks
>> its a SandyBridge processor?
>>
>>
> It's a bugged Haswell CPU where the TSX feature has been hardware disabled
> by Intel with a microcode upgrade due to an hardware bug:
>
> http://www.anandtech.com/show/8376/intel-disables-tsx-instructions-erratum-found-in-haswell-haswelleep-broadwelly
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1218673
>
> You loosed the TSX feature (Transactional Synchronization eXtensions).
>
>
>
>> Thanks!
>> /Christian
>>
>>
>>
>>
>> ___
>> 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] ovirt reports an Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz as a Intel SandyBridge Family?

2015-12-18 Thread Simone Tiraboschi
On Fri, Dec 18, 2015 at 1:02 PM, gflwqs gflwqs  wrote:

> Hi,
> I have registered a new DELL R730 machine in ovirt 3.5.6 this server type
> has a Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz.
> When i try to add a the new host to a cluster with a haswell architecure i
> get an error:
> "Host xxx moved to Non-Operational state as host does not meet the
> cluster's minimum CPU level. Missing CPU features : model_Haswell"
>
> When i look at the hardware tab on the host it says:
> CPU Model: Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz
> and
> CPU Type: Intel SandyBridge Family
>
> This is not a SandyBridge Family processor?
>
> When i change the cluster to be a SandyBridge Family cluster the host can
> be activated.
>
> What are my options?
> - Is it a bug i can get a fix for? (I can't upgrade to 3.6)
> - Can i  force it to report correctly?
> - What am i loosing in terms of functionality/performance if ovirt thinks
> its a SandyBridge processor?
>
>
It's a bugged Haswell CPU where the TSX feature has been hardware disabled
by Intel with a microcode upgrade due to an hardware bug:
http://www.anandtech.com/show/8376/intel-disables-tsx-instructions-erratum-found-in-haswell-haswelleep-broadwelly

https://bugzilla.redhat.com/show_bug.cgi?id=1218673

You loosed the TSX feature (Transactional Synchronization eXtensions).



> Thanks!
> /Christian
>
>
>
>
> ___
> 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] Network tagging

2015-12-18 Thread Alex Crow
Just curious, why would you want to bond two different VLAN interfaces? 
It does not make much sense.


You can add a network with a VLAN and then use it on a bonded connection 
or an a single interface, if that's what you mean.


I just wish there was a way to make the VLAN ID optional, so you could 
use it tagged on a host with only a couple of ethernet interfaces, and 
then untagged on an interface on a machine it lots of eth interfaces (eg 
to spread the VLANs over multiple interfaces: imagine a host with 2x10G, 
one would be storage and the other for all VLANs tagged. Another host 
might have 8 or more interfaces, on that each VLAN could be untagged 
per-interface.)


Alex

On 18/12/15 13:17, Kevin COUSIN wrote:

Hi list,

Is it possible to add same VLAN as tagged for different purposes :

* VLAN XX as VM network and tagged to attach VM
* VLAN XX tagged for bonding with another VLAN on an interface


Regards

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


--
This message is intended only for the addressee and may contain
confidential information. Unless you are that person, you may not
disclose its contents or use it in any way and are requested to delete
the message along with any attachments and notify us immediately.
This email is not intended to, nor should it be taken to, constitute advice.
The information provided is correct to our knowledge & belief and must not
be used as a substitute for obtaining tax, regulatory, investment, legal or
any other appropriate advice.

"Transact" is operated by Integrated Financial Arrangements Ltd.
29 Clement's Lane, London EC4N 7AE. Tel: (020) 7608 4900 Fax: (020) 7608 5300.
(Registered office: as above; Registered in England and Wales under
number: 3727592). Authorised and regulated by the Financial Conduct
Authority (entered on the Financial Services Register; no. 190856).
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Network instability after upgrade 3.6.0 -> 3.6.1

2015-12-18 Thread Stefano Danzi

I found this in vdsm.log and I think that could be the problem:

Thread-3771::ERROR::2015-12-18 
16:18:58,597::brokerlink::279::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(_communicate) 
Connection closed: Connection closed
Thread-3771::ERROR::2015-12-18 
16:18:58,597::API::1847::vds::(_getHaInfo) failed to retrieve Hosted 
Engine HA info

Traceback (most recent call last):
  File "/usr/share/vdsm/API.py", line 1827, in _getHaInfo
stats = instance.get_all_stats()
  File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py", 
line 103, in get_all_stats

self._configure_broker_conn(broker)
  File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py", 
line 180, in _configure_broker_conn

dom_type=dom_type)
  File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py", 
line 176, in set_storage_domain

.format(sd_type, options, e))
RequestError: Failed to set storage domain FilesystemBackend, options 
{'dom_type': 'nfs3', 'sd_uuid': '46f55a31-f35f-465c-b3e2-df45c05e06a7'}: 
Connection closed


Il 17/12/2015 18.51, Stefano Danzi ha scritto:

I partially solve the problem.

My host machine has 2 network interfaces with a bond. The bond was 
configured with  mode=4 (802.3ad) and switch was configured in the 
same way.
If I remove one network cable the network become stable. With both 
cables attached the network is instable.


I removed the link aggregation configuration from switch and change 
the bond in mode=2 (balance-xor). Now the network are stable.
The strange thing is that previous configuration worked fine for one 
year... since the last upgrade.


Now ha-agent don't reboot the hosted-engine anymore, but I receive two 
emails from brocker evere 2/5 minutes.
First a mail with "ovirt-hosted-engine state transition 
StartState-ReinitializeFSM" and after "ovirt-hosted-engine state 
transition ReinitializeFSM-EngineStarting"



Il 17/12/2015 10.51, Stefano Danzi ha scritto:

Hello,
I have one testing host (only one host) with self hosted engine and 2 
VM (one linux and one windows).


After upgrade ovirt from 3.6.0 to 3.6.1 the network connection works 
discontinuously.
Every 10 minutes HA agent restart hosted engine VM because result 
down. But the machine is UP,

only the network stop to work for some minutes.
I activate global maintenace mode to prevent engine reboot. If I ssh 
to the hosted engine sometimes
the connection work and sometimes no.  Using VNC connection to engine 
I see that sometime VM reach external network

and sometimes no.
If I do a tcpdump on phisical ethernet interface I don't see any 
packet when network on vm don't work.


Same thing happens fo others two VM.

Before the upgrade I never had network problems.
___
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] ovirt reports an Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz as a Intel SandyBridge Family?

2015-12-18 Thread Simone Tiraboschi
On Fri, Dec 18, 2015 at 3:14 PM, gflwqs gflwqs  wrote:

> Ok
> So i can still benefit from haswell performance?
>

It depends: if your specific applications takes advantages on the haswell
specific feature no, in general why not.



>
> /Christian
>
> 2015-12-18 14:51 GMT+01:00 Simone Tiraboschi :
>
>>
>>
>> On Fri, Dec 18, 2015 at 1:02 PM, gflwqs gflwqs  wrote:
>>
>>> Hi,
>>> I have registered a new DELL R730 machine in ovirt 3.5.6 this server
>>> type has a Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz.
>>> When i try to add a the new host to a cluster with a haswell architecure
>>> i get an error:
>>> "Host xxx moved to Non-Operational state as host does not meet the
>>> cluster's minimum CPU level. Missing CPU features : model_Haswell"
>>>
>>> When i look at the hardware tab on the host it says:
>>> CPU Model: Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz
>>> and
>>> CPU Type: Intel SandyBridge Family
>>>
>>> This is not a SandyBridge Family processor?
>>>
>>> When i change the cluster to be a SandyBridge Family cluster the host
>>> can be activated.
>>>
>>> What are my options?
>>> - Is it a bug i can get a fix for? (I can't upgrade to 3.6)
>>> - Can i  force it to report correctly?
>>> - What am i loosing in terms of functionality/performance if ovirt
>>> thinks its a SandyBridge processor?
>>>
>>>
>> It's a bugged Haswell CPU where the TSX feature has been hardware
>> disabled by Intel with a microcode upgrade due to an hardware bug:
>>
>> http://www.anandtech.com/show/8376/intel-disables-tsx-instructions-erratum-found-in-haswell-haswelleep-broadwelly
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1218673
>>
>> You loosed the TSX feature (Transactional Synchronization eXtensions).
>>
>>
>>
>>> Thanks!
>>> /Christian
>>>
>>>
>>>
>>>
>>> ___
>>> 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] Hosted Engine setup - got " Failed to start service 'ovirt-ha-agent' "

2015-12-18 Thread Willard Dennis
Hi all,

Did a hosted engine setup using a Gluster storage domain, it went well until 
the end, where I got this error:

[ INFO  ] Saving hosted-engine configuration on the shared storage domain
[ INFO  ] Shutting down the engine VM
[ INFO  ] Enabling and starting HA services
[ ERROR ] Failed to execute stage 'Closing up': Failed to start service 
'ovirt-ha-agent’ 
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20151218124259.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination

Full screen output from setup run:
http://pastebin.com/yWkppmjG 

What’s my move now? Hopefully the install can be salvaged….

FYI, I have three hosts I’m using for oVirt; they are named 
“ovirt-node-[01,02,03]”

Thanks,
Will___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] [ANN] Async release for ovirt-hosted-engine-ha is now available

2015-12-18 Thread Sandro Bonazzola
The oVirt Team has just released a new version of ovirt-hosted-engine-ha
package that fixes several issues.[1].
We recommend to all users who are running ovirt-hosted-engine-ha on CentOS
7.2 to update to the 1.3.3.5 release included in this async release.
Thanks,

[1] http://www.ovirt.org/OVirt_3.6.1_Release_Notes#oVirt_Hosted_Engine_HA


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted Engine setup - got " Failed to start service 'ovirt-ha-agent' "

2015-12-18 Thread Will Dennis
I yum updated my hosts, and it did update ovirt-hosted-engine-ha on all to 
1.3.3.5 (two of my hosts include the one I did the engine install on were 
previously 1.3.3.4, and the third one was 1.3.3.3 for some reason)
Shortly thereafter, I began getting ovirt-hosted-engine state machine emails, 
and when I checked the state of the ovirt-ha-[agent,broker] services, they were 
running. When I got the email saying “EngineStarting-EngineUp”, I checked the 
web UI, and it was available, and I could successfully log into the admin site 
:)

Thanks for your help, and onwards!
W.

On Dec 18, 2015, at 4:55 PM, Simone Tiraboschi 
> wrote:

Today we async released ovirt-hosted-engine-ha-1.3.3.5-1 that should fix it.
Can you please check if you are already with that?
If not please update it and manually restart ovirt-ha-broker and ovirt-ha-agent 
services, I'm quite confident the it should be enough.

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


[ovirt-users] 3.6.1 HE install on CentOS 7.2 resulted in unsync'd network

2015-12-18 Thread John Florian
I'm trying to get a 3.6.1 HE setup going where I have 4 VLANs (VIDs
101-104) for storage networks, 1 VLAN (VID 100) for ovirtmgmt and 1 more
(VID 1) for everything else.  Because I know of no way to manipulate the
network configuration from the management GUI once the HE is running and
with only a single Host, I made the OS configuration as close as
possible to what I'd want when done.  This looks like:

[root@orthosie ~]# ip a
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
   valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
   valid_lft forever preferred_lft forever
2: bond0:  mtu 1500 qdisc
noqueue master ovirtmgmt state UP
link/ether 78:2b:cb:3c:da:02 brd ff:ff:ff:ff:ff:ff
3: em1:  mtu 1500 qdisc mq master
bond0 state UP qlen 1000
link/ether 78:2b:cb:3c:da:02 brd ff:ff:ff:ff:ff:ff
4: em2:  mtu 1500 qdisc mq master
bond0 state UP qlen 1000
link/ether 78:2b:cb:3c:da:02 brd ff:ff:ff:ff:ff:ff
5: em3:  mtu 1500 qdisc mq master
bond0 state UP qlen 1000
link/ether 78:2b:cb:3c:da:02 brd ff:ff:ff:ff:ff:ff
6: em4:  mtu 1500 qdisc mq master
bond0 state UP qlen 1000
link/ether 78:2b:cb:3c:da:02 brd ff:ff:ff:ff:ff:ff
8: bond0.1@bond0:  mtu 1500 qdisc
noqueue state UP
link/ether 78:2b:cb:3c:da:02 brd ff:ff:ff:ff:ff:ff
inet 172.16.7.8/24 brd 172.16.7.255 scope global bond0.1
   valid_lft forever preferred_lft forever
inet6 fe80::7a2b:cbff:fe3c:da02/64 scope link
   valid_lft forever preferred_lft forever
9: bond0.101@bond0:  mtu 1500 qdisc
noqueue state UP
link/ether 78:2b:cb:3c:da:02 brd ff:ff:ff:ff:ff:ff
inet 192.168.101.203/24 brd 192.168.101.255 scope global bond0.101
   valid_lft forever preferred_lft forever
inet6 fe80::7a2b:cbff:fe3c:da02/64 scope link
   valid_lft forever preferred_lft forever
10: bond0.102@bond0:  mtu 1500 qdisc
noqueue state UP
link/ether 78:2b:cb:3c:da:02 brd ff:ff:ff:ff:ff:ff
inet 192.168.102.203/24 brd 192.168.102.255 scope global bond0.102
   valid_lft forever preferred_lft forever
inet6 fe80::7a2b:cbff:fe3c:da02/64 scope link
   valid_lft forever preferred_lft forever
11: bond0.103@bond0:  mtu 1500 qdisc
noqueue state UP
link/ether 78:2b:cb:3c:da:02 brd ff:ff:ff:ff:ff:ff
inet 192.168.103.203/24 brd 192.168.103.255 scope global bond0.103
   valid_lft forever preferred_lft forever
inet6 fe80::7a2b:cbff:fe3c:da02/64 scope link
   valid_lft forever preferred_lft forever
12: bond0.104@bond0:  mtu 1500 qdisc
noqueue state UP
link/ether 78:2b:cb:3c:da:02 brd ff:ff:ff:ff:ff:ff
inet 192.168.104.203/24 brd 192.168.104.255 scope global bond0.104
   valid_lft forever preferred_lft forever
inet6 fe80::7a2b:cbff:fe3c:da02/64 scope link
   valid_lft forever preferred_lft forever
13: ovirtmgmt:  mtu 1500 qdisc noqueue
state UP
link/ether 78:2b:cb:3c:da:02 brd ff:ff:ff:ff:ff:ff
inet 192.168.100.102/24 brd 192.168.100.255 scope global ovirtmgmt
   valid_lft forever preferred_lft forever

The hosted-engine deploy script got stuck near the end when it wanted
the HA broker to take over.  It said the ovirtmgmt network was
unavailable on the Host and suggested trying to activate it within the
GUI.  Though I had my bonding and bridging all configured prior to any
HE deployment attempt (as shown above), the GUI didn’t see it that way. 
It knew of the bond, and the 4 IFs of course, but it showed all 4 IFs as
down and the required ovirtmgmt network was off on the right side –
effectively not yet associated with the physical devices.  I dragged the
ovirtmgmt net over to the left to associate it the 4 IFs and pressed
Save.  The GUI now shows all 4 IFs up with ovirtmgmt assigned.  But it
is not in sync -- specifically the netmask property on the host is
"255.255.255.0" while on the DC its "24".  They're saying the same
thing; just in different ways.

Since I only have the one Host, how can I sync this?

-- 
John Florian

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


Re: [ovirt-users] Hosted Engine setup - got " Failed to start service 'ovirt-ha-agent' "

2015-12-18 Thread Simone Tiraboschi
On Fri, Dec 18, 2015 at 7:08 PM, Willard Dennis 
wrote:

> Hi all,
>
> Did a hosted engine setup using a Gluster storage domain, it went well
> until the end, where I got this error:
>
> [ INFO  ] Saving hosted-engine configuration on the shared storage domain
> [ INFO  ] Shutting down the engine VM
> [ INFO  ] Enabling and starting HA services
> [ ERROR ] Failed to execute stage 'Closing up': Failed to start service
> 'ovirt-ha-agent’
> [ INFO  ] Stage: Clean up
> [ INFO  ] Generating answer file
> '/var/lib/ovirt-hosted-engine-setup/answers/answers-20151218124259.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
>
> Full screen output from setup run:
> http://pastebin.com/yWkppmjG
>
> What’s my move now? Hopefully the install can be salvaged….
>

It's hard to say without a detailed log but yesterday we found an issue
with HA services systemd unit files on Centos 7.2.

Today we async released ovirt-hosted-engine-ha-1.3.3.5-1 that should fix it.
Can you please check if you are already with that?
If not please update it and manually restart ovirt-ha-broker and
ovirt-ha-agent services, I'm quite confident the it should be enough.


>
> FYI, I have three hosts I’m using for oVirt; they are named
> “ovirt-node-[01,02,03]”
>
> Thanks,
> Will
>
> ___
> 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] Frustration and Contradictory Guidance?

2015-12-18 Thread Eriks Goodwin
Hi all, 

I have been working on building a new oVirt 3.6 deployment for more than two 
weeks now and a multitude of things are frustrating my attempts... Would 
someone please point me to the "right" HOWTO article for deploying a 
production-grade oVirt 3.6.x system with HA hosted engine? 

I spent almost two weeks just trying to get the networking straight--only to 
have VDSM overwrite all my hard work and totally break my networking (I was 
using a bonded set of NICs with bridges and VLANs for ovirt-management, 
ovirt-storage, and local-lan.). 

Once I abandoned VLANs and installed a third physical NIC, I was able to 
install the first node and the hosted engine-- but after I got things "working" 
now I receive constantly cycling email messages for ovirt-hosted-engine state 
transition: ReinitializeFSM-EngineStarting, EngineStarting-EngineUp, and 
StartState-ReinitializeFSM 

When I try to follow the instructions to add engines for HA, the system keep 
faulting that it is unable to find the answer file it needs on node 2. 

And now that I finally figured out that I needed to add "another" storage 
domain for the datacenter to initialize, the addition of new hosted-engine 
deployments is blocked by the presence of the attached storage domain. 

So, all of that said is there a HOWTO written specifically for CentOS 7 
that does not want me to kill Network Manager and switch from FirewallD back to 
iptables--and does not assume I want to use glusterfs? 

I have two sets of HP Proliant servers I want to use for this: 4 DL380 G6s and 
4 DL380G5s, plus one G5 which is my initial NFS3 share 

For such an AWESOME project, I find it really disappointing that the 
documentation is so poor/outdated. :-( 

Thanks, 
Eriks 

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


Re: [ovirt-users] Frustration and Contradictory Guidance?

2015-12-18 Thread Simone Tiraboschi
On Fri, Dec 18, 2015 at 9:37 PM, Eriks Goodwin 
wrote:

> Hi all,
>
> I have been working on building a new oVirt 3.6 deployment for more than
> two weeks now and a multitude of things are frustrating my attempts...
> Would someone please point me to the "right" HOWTO article for deploying a
> production-grade oVirt 3.6.x system with HA hosted engine?
>

Did you tried following this:
http://www.ovirt.org/Features/HEApplianceFlow

Or this:
https://www.youtube.com/watch?v=ODJ_UO7U1WQ


>
> I spent almost two weeks just trying to get the networking straight--only
> to have VDSM overwrite all my hard work and totally break my networking (I
> was using a bonded set of NICs with bridges and VLANs for ovirt-management,
> ovirt-storage, and local-lan.).
>
> Once I abandoned VLANs and installed a third physical NIC, I was able to
> install the first node and the hosted engine-- but after I got things
> "working" now I receive constantly cycling email messages for
> ovirt-hosted-engine state transition: ReinitializeFSM-EngineStarting,
> EngineStarting-EngineUp, and StartState-ReinitializeFSM
>
>
Involving Martin here.


> When I try to follow the instructions to add engines for HA, the system
> keep faulting that it is unable to find the answer file it needs on node 2.
>

The oVirt engine runs on a VM, than you need al least two physical hosts
and and some kind of shared storage (NFS, iSCSI, Gluster, FC).

You should run hosted-engine --deploy on the first host, it configures it
and starts the engine VM here.

Then you should run hosted-engine --deploy also the the second host
pointing to the same shared storage. The setup will find the existing
storage domain and it asks is you want to add an host, you have to say yes,
this is host 2.
At this point the setup will ask you the address of the first host to
download an answerfile from there to configure the second host as the first
without having you to manually enter the same data.


>
> And now that I finally figured out that I needed to add "another" storage
> domain for the datacenter to initialize,
>

The engine VM is on its own dedicated storage domain, you need an
additional one for other VMs.


> the addition of new hosted-engine deployments is blocked by the presence
> of the attached storage domain.
>

?
sorry, can you better explain the issue or add a log?


>
> So, all of that said  is there a HOWTO written specifically for CentOS
> 7 that does not want me to kill Network Manager and switch from FirewallD
> back to iptables--and does not assume I want to use glusterfs?
>

GlusterFS is just an option. iptables instead of Firewalld and no
NetworkManager are mandatory.


>
> I have two sets of HP Proliant servers I want to use for this:  4 DL380
> G6s and 4 DL380G5s, plus one G5 which is my initial NFS3 share
>
> For such an AWESOME project, I find it really disappointing that the
> documentation is so poor/outdated.  :-(
>
> Thanks,
> Eriks
>
>
> ___
> 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] Problem with hosted engine setup - vsdmd does not start

2015-12-18 Thread John Florian
On 12/17/2015 08:16 AM, Willard Dennis wrote:
> I checked and we do have a custom /etc/sudoers set —
>
>
> [root@ovirt-node-01 vdsm]# cat /etc/sudoers
> #
> # NECLA custom /etc/sudoers
> #
> # *** Managed by Ansible; do not edit manually,
> # file will be rewritten on next Ansible run! ***
> #
> # Do NOT add sudoers directly to this file; add them to the "wheel" group in 
> /etc/group
> #
>
> Defaultsrequiretty
> Defaults   !visiblepw
> Defaultsalways_set_home
> Defaultsenv_reset
> Defaultsenv_keep =  "COLORS DISPLAY HOSTNAME HISTSIZE INPUTRC KDEDIR 
> LS_COLORS"
> Defaultsenv_keep += "MAIL PS1 PS2 QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE"
> Defaultsenv_keep += "LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT 
> LC_MESSAGES"
> Defaultsenv_keep += "LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE"
> Defaultsenv_keep += "LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET 
> XAUTHORITY"
> Defaultssecure_path = /sbin:/bin:/usr/sbin:/usr/bin
> root  ALL=(ALL)   ALL
> %wheelALL=(ALL)   ALL
>
>
> What is missing / needs to be changed here to allow vdsmd to start correctly?

The first thing I'd do is to move that file aside and reinstall the
default from the package, i.e., yum/dnf reinstall sudo.  Make sure
ansible doesn't squash this while you test again.  If that resolves the
problem start looking at the differences between yours and the default
to isolate what & why.  If it doesn't resolve the problem then you need
to look elsewhere of course.

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


[ovirt-users] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-18 Thread Will Dennis
Doing a “hosted-engine —setup” on my 2nd oVirt host, and am getting the 
following error:


  --== SYSTEM CONFIGURATION ==--

[WARNING] A configuration file must be supplied to deploy Hosted Engine on an 
additional host.
  The answer file may be fetched from the first host using scp.
  If you do not want to download it automatically you can abort the 
setup answering no to the following question.
  Do you want to scp the answer file from the first host? (Yes, 
No)[Yes]:
  Please provide the FQDN or IP of the first host: 249.26.200.91
  Enter 'root' user password for host 249.26.200.91:
[ ERROR ] Failed to execute stage 'Environment customization': [Errno 2] No 
such file
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20151218205656.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination


The problem may be slowness of the SSH connection to the 1st host; ever since I 
did the hosted engine setup on the 1st host and it created the ‘ovirtmgmt’ 
bridge et al, it now for some reason takes a long time (~50 sec’s) to SSH into 
the host…
Example: (key exchange was first done from 2nd host to first host)

[root@ovirt-node-02 ~]# time ssh root@ovirt-node-01 uptime
 21:37:33 up 1 day, 10:43,  0 users,  load average: 0.14, 0.15, 0.14

real0m50.185s
user0m0.048s
sys 0m0.006s

So maybe because of that reason, the setup SCP session is timing out?? How can 
I fix this?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users