[ovirt-users] Re: DataAccessResourceFailureException from one to to the next

2020-02-12 Thread gregor
THANK YOU, this solved my problem.

Solution:
ssh to engine
engine-setup --offline
...
no vaccum, because this will break the setup
...

now the engine is back online

regards
gregor

On 11.02.20 21:32, Strahil Nikolov wrote:
> On February 11, 2020 9:24:40 PM GMT+02:00, gregor  
> wrote:
>> I found the following in this log file:
>> /var/log/ovirt-engine-dwh/ovirt-engine-dwhd.log
>>
>> org.postgresql.util.PSQLException: ERROR: right sibling's left-link
>> doesn't match: block 2 links to 1 instead of expected 4 in index
>> "idx_vm_device_history_vm_id_type"
>>
>> regards
>> gregor
>>
>> On 11.02.20 19:51, gregor wrote:
>>> After one day I'm not able to login to the ovirt-engine webinterface
>>> with the following error message:
>>>
>>> "org.springframework.dao.DataAccessResourceFailureException: Error
>>> retrieving database metadata; nested exception is
>>> org.springframework.jdbc.support.MetaDataAccessException: Error while
>>> extracting DatabaseMetaData; nested exception is
>>> org.postgresql.util.PSQLException: This connection has been closed."
>>>
>>> Things I tried which didn't help:
>>> - engine: check if the database is up
>>> - eninge: reboot
>>> - hosts: reboot
>>> - engine: xfs_repair
>>>
>>> Any ideas?
>>>
>>> regards
>>> gregor
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/XKWXHNHJV3SA7F46XSSCFCUGEOP53LCC/
>>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/FUPCDPQCGRVPY3ZB4JARWNU4WWFBQPMS/
> 
> Do you have a backup made by 'engine-backup' ?
> 
> If not, most probably (I have never done it and this is a long shot)  you can 
> purge the data in dwh via 'engine-setup'.
> 
> As far as I understand , dwh data is more a 'history' data -> but don't take 
> my words  for granted.
> 
> As I'm using Gluster, I use gluster  snapshots  to create a point-in-time 
> states for restoration of the engine.
> 
> Best Regards,
> Strahil Nikolov
> 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HLF3GSAYJVCCDQQDMVBY4T2Z6D5U7CF5/


[ovirt-users] Re: DataAccessResourceFailureException from one to to the next

2020-02-11 Thread gregor
I found the following in this log file:
/var/log/ovirt-engine-dwh/ovirt-engine-dwhd.log

org.postgresql.util.PSQLException: ERROR: right sibling's left-link
doesn't match: block 2 links to 1 instead of expected 4 in index
"idx_vm_device_history_vm_id_type"

regards
gregor

On 11.02.20 19:51, gregor wrote:
> After one day I'm not able to login to the ovirt-engine webinterface
> with the following error message:
> 
> "org.springframework.dao.DataAccessResourceFailureException: Error
> retrieving database metadata; nested exception is
> org.springframework.jdbc.support.MetaDataAccessException: Error while
> extracting DatabaseMetaData; nested exception is
> org.postgresql.util.PSQLException: This connection has been closed."
> 
> Things I tried which didn't help:
> - engine: check if the database is up
> - eninge: reboot
> - hosts: reboot
> - engine: xfs_repair
> 
> Any ideas?
> 
> regards
> gregor
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/XKWXHNHJV3SA7F46XSSCFCUGEOP53LCC/
> 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/FUPCDPQCGRVPY3ZB4JARWNU4WWFBQPMS/


[ovirt-users] DataAccessResourceFailureException from one to to the next

2020-02-11 Thread gregor
After one day I'm not able to login to the ovirt-engine webinterface
with the following error message:

"org.springframework.dao.DataAccessResourceFailureException: Error
retrieving database metadata; nested exception is
org.springframework.jdbc.support.MetaDataAccessException: Error while
extracting DatabaseMetaData; nested exception is
org.postgresql.util.PSQLException: This connection has been closed."

Things I tried which didn't help:
- engine: check if the database is up
- eninge: reboot
- hosts: reboot
- engine: xfs_repair

Any ideas?

regards
gregor
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XKWXHNHJV3SA7F46XSSCFCUGEOP53LCC/


[ovirt-users] Windows Server 2019 crash dxgkrnl.sys

2019-11-13 Thread gregor
Hello,

during the Installation of Windows Server 2019 after the first reboot
the VM crashed and inside the ntbtlog.txt I found that dxgkrnl.sys can
not be loaded.

Environment:
oVirt 4.3.6.7-1.el7
CPU: Intel-Westmere
Memory: 4096MB
Operation System VM config: Windows 2019 x64
HDD: VirtIO-SCSI
VirtIO driver: virtio-win-0.1.171_servers_amd64.vfd

Does anybody has an hint how to solve this problem and use Windows
Server 2019?

Besides: It's possible to install and use Windows Server 2019 in
VirtualBox 6.*. We have to install it in the meantime there to have a
alternative solution because it took now about two days to find a
solution. We tried different settings for VGA and drivers IDE ... and
many more.

best regards
gregor
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/EH53KXILZ5CF2O36K7JMLHOIRJSL2UP7/


[ovirt-users] Re: ovirt-ha-agent cpu usage

2019-05-14 Thread gregor
Hi,

did you found a solution or cause for this high CPU usage?
I have installed the self hosted engine on another server and there is
no VM running but ovirt-ha-agent uses heavily the CPU.

cheers
gregor

On 08/08/16 15:09, Gianluca Cecchi wrote:
> On Mon, Aug 8, 2016 at 1:03 PM, Roy Golan  <mailto:rgo...@redhat.com>> wrote:
> 
> Does the spikes correlates with info messages on extracting the ovf?
> 
> 
> 
> 
> 
> 
> yes, it seems so and it happens every 14-15 seconds
> 
> These are the lines I see scrolling in agent.log when I notice cpu
> spikes in ovirt-ha-agent...
> 
> MainThread::INFO::2016-08-08
> 15:03:07,815::storage_server::212::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server)
> Connecting storage server
> MainThread::INFO::2016-08-08
> 15:03:08,144::storage_server::220::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server)
> Refreshing the storage domain
> MainThread::INFO::2016-08-08
> 15:03:08,705::hosted_engine::685::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images)
> Preparing images
> MainThread::INFO::2016-08-08
> 15:03:08,705::image::126::ovirt_hosted_engine_ha.lib.image.Image::(prepare_images)
> Preparing images
> MainThread::INFO::2016-08-08
> 15:03:09,653::hosted_engine::688::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images)
> Reloading vm.conf from the shared storage domain
> MainThread::INFO::2016-08-08
> 15:03:09,653::config::205::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(refresh_local_conf_file)
> Trying to get a fresher copy of vm configuration from the OVF_STORE
> MainThread::INFO::2016-08-08
> 15:03:09,843::ovf_store::100::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(scan)
> Found OVF_STORE: imgUUID:223d26c2-1668-493c-a322-8054923d135f,
> volUUID:108a362c-f5a9-440e-8817-1ed8a129afe8
> MainThread::INFO::2016-08-08
> 15:03:10,309::ovf_store::100::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(scan)
> Found OVF_STORE: imgUUID:12ca2fc6-01f7-41ab-ab22-e75c822ac9b6,
> volUUID:1a18851e-6858-401c-be6e-af14415034b5
> MainThread::INFO::2016-08-08
> 15:03:10,652::ovf_store::109::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF)
> Extracting Engine VM OVF from the OVF_STORE
> MainThread::INFO::2016-08-08
> 15:03:10,974::ovf_store::116::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF)
> OVF_STORE volume path:
> /rhev/data-center/mnt/ovirt01.lutwyn.org:_SHE__DOMAIN/31a9e9fd-8dcb-4475-aac4-09f897ee1b45/images/12ca2fc6-01f7-41ab-ab22-e75c822ac9b6/1a18851e-6858-401c-be6e-af14415034b5
>  
> MainThread::INFO::2016-08-08
> 15:03:11,494::config::225::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(refresh_local_conf_file)
> Found an OVF for HE VM, trying to convert
> MainThread::INFO::2016-08-08
> 15:03:11,497::config::230::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(refresh_local_conf_file)
> Got vm.conf from OVF_STORE
> MainThread::INFO::2016-08-08
> 15:03:11,675::hosted_engine::462::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring)
> Current state EngineUp (score: 3400)
> 
> 
> ___
> 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

--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se



--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QJCHWW5M6M4WTEXW7GXYGOK2U3YNJNEO/


[ovirt-users] Can't boot VM: "At least one numa node has to be configured when enabling memory hotplug"

2019-05-14 Thread gregor
Hi,

yesterday I exported all my VM's and reinstalled the host fresh as
hosted-engine installation. After importing one VM and starting this, it
gaves me the error message (engine.log) see below.
After researching what "numa" means I don't have a clue what this should
mean or what was configured wrong. It's only one Server followed this
[1] instruction.

...
2016-10-04 06:34:30,719 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(DefaultQuartzScheduler4) [66e4bd80] Correlation ID: null, Call Stack:
null, Custom Event ID: -1, Message: VM webserver is down with error.
Exit message: unsupported configuration: At least one numa node has to
be configured when enabling memory hotplug.
2016-10-04 06:34:30,731 ERROR
[org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring]
(DefaultQuartzScheduler4) [66e4bd80] Rerun VM
'b5947250-77d3-46d2-a8c6-cdd9072bb558'. Called from VDS 'host'
2016-10-04 06:34:30,933 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(org.ovirt.thread.pool-8-thread-49) [66e4bd80] Correlation ID: 7e9dded6,
Job ID: 63c37b21-c3f4-40da-9eb2-fe98e824827c, Call Stack: null, Custom
Event ID: -1, Message: Failed to run VM webserver (User:
admin@internal-authz).
...

cheers
gregor

[1] https://www.ovirt.org/documentation/how-to/hosted-engine/

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

--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se



--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LHILKBDC3PLJRR6KR2POTGYIERMHMCRQ/


[ovirt-users] Re: Upgrade 4.0 to 4.1: Global Maintenance Mode not recognized

2018-11-26 Thread gregor
During installation the firewall was enable or changed therefore I get
an "NoRouteToHostException" from the Engine to the Host.
After disabling the firewall on the Host the Data Center and VM's are up
and running.

regards
gregor

Am 26.11.18 um 07:50 schrieb gregor:
> The Engine is up but the host stucks in NonResponsive.
> 
> The Webinterface stuck in "hanlding non respsonsive host". "Validating"
> is green and "Executing" is spinning.
> 
> Can anybody help?
> I found no errors in the logs under /var/log/ovirt-hosted-engine-ha and
> journalclt
> 
> regards
> gregor
> 
> 
> Am 26.11.18 um 07:35 schrieb gregor:
>> I was able to change the maintenance state in the database to finish the
>> upgrade with engine-setup.
>>
>> these are the lines:
>>
>> select vds_id,ha_global_maintenance from vds_statistics where vds_id =
>> '706599d5-2dbc-400c-b9da-5b5906de6dbd';
>> update vds_statistics set ha_global_maintenance = 't' where vds_id =
>> '706599d5-2dbc-400c-b9da-5b5906de6dbd';
>>
>> Now it's time to wait if the host and engine can reboot and start the vm's.
>>
>> regards
>> gregor
>>
>> Am 26.11.18 um 06:07 schrieb gregor:
>>> Hello,
>>>
>>> I upgraded one host from 4.0 to 4.1 without problems. Now I have a
>>> problem with another host, in another network, where the Global
>>> Maintenance mode is not recognized by engine-setup.
>>>
>>> Is there a way to force the setup or set the maintenance mode inside the
>>> database?
>>>
>>> One problem can be that an the host was accidentally upgraded to 4.1
>>> before I upgraded the engine.
>>>
>>> kind regards
>>> gregor
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>> oVirt Code of Conduct: 
>>> https://www.ovirt.org/community/about/community-guidelines/
>>> List Archives: 
>>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/RQOX7YHHW3GTYEOP5YMG6NF2OD4BHUC7/
>>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct: 
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives: 
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/TLXT24MHJHSPQDI7ENVVJO2WVOBHHLB4/
>>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/7M2HF3S6UHCLR7QK2AU2GZBN7DGPEHBF/
> 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/P2EVD5IRRG7YUXD36KKJ74YXFXMKX4RG/


[ovirt-users] Engine: Increase memory

2018-11-26 Thread gregor
How can I increase the memory of the Engine?

This does not work: https://access.redhat.com/solutions/964693

Kind regards,
Gregor
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HSSA53A62UY2ANGBMHSBW4J5PSJZH45L/


[ovirt-users] Re: Upgrade 4.0 to 4.1: Global Maintenance Mode not recognized

2018-11-26 Thread gregor
After a reboot the complete installation was gone. No automounts, no
engine nothing. Luckily the files where there.

Now I reinstall the whole host + engine fresh and import the existend
vm's :-(

Am 26.11.18 um 07:50 schrieb gregor:
> The Engine is up but the host stucks in NonResponsive.
> 
> The Webinterface stuck in "hanlding non respsonsive host". "Validating"
> is green and "Executing" is spinning.
> 
> Can anybody help?
> I found no errors in the logs under /var/log/ovirt-hosted-engine-ha and
> journalclt
> 
> regards
> gregor
> 
> 
> Am 26.11.18 um 07:35 schrieb gregor:
>> I was able to change the maintenance state in the database to finish the
>> upgrade with engine-setup.
>>
>> these are the lines:
>>
>> select vds_id,ha_global_maintenance from vds_statistics where vds_id =
>> '706599d5-2dbc-400c-b9da-5b5906de6dbd';
>> update vds_statistics set ha_global_maintenance = 't' where vds_id =
>> '706599d5-2dbc-400c-b9da-5b5906de6dbd';
>>
>> Now it's time to wait if the host and engine can reboot and start the vm's.
>>
>> regards
>> gregor
>>
>> Am 26.11.18 um 06:07 schrieb gregor:
>>> Hello,
>>>
>>> I upgraded one host from 4.0 to 4.1 without problems. Now I have a
>>> problem with another host, in another network, where the Global
>>> Maintenance mode is not recognized by engine-setup.
>>>
>>> Is there a way to force the setup or set the maintenance mode inside the
>>> database?
>>>
>>> One problem can be that an the host was accidentally upgraded to 4.1
>>> before I upgraded the engine.
>>>
>>> kind regards
>>> gregor
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>> oVirt Code of Conduct: 
>>> https://www.ovirt.org/community/about/community-guidelines/
>>> List Archives: 
>>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/RQOX7YHHW3GTYEOP5YMG6NF2OD4BHUC7/
>>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct: 
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives: 
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/TLXT24MHJHSPQDI7ENVVJO2WVOBHHLB4/
>>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/7M2HF3S6UHCLR7QK2AU2GZBN7DGPEHBF/
> 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RCOUHMNJH7AGIBZYKWIMISX5FTVMBDPU/


[ovirt-users] Re: Upgrade 4.0 to 4.1: Global Maintenance Mode not recognized

2018-11-25 Thread gregor
The Engine is up but the host stucks in NonResponsive.

The Webinterface stuck in "hanlding non respsonsive host". "Validating"
is green and "Executing" is spinning.

Can anybody help?
I found no errors in the logs under /var/log/ovirt-hosted-engine-ha and
journalclt

regards
gregor


Am 26.11.18 um 07:35 schrieb gregor:
> I was able to change the maintenance state in the database to finish the
> upgrade with engine-setup.
> 
> these are the lines:
> 
> select vds_id,ha_global_maintenance from vds_statistics where vds_id =
> '706599d5-2dbc-400c-b9da-5b5906de6dbd';
> update vds_statistics set ha_global_maintenance = 't' where vds_id =
> '706599d5-2dbc-400c-b9da-5b5906de6dbd';
> 
> Now it's time to wait if the host and engine can reboot and start the vm's.
> 
> regards
> gregor
> 
> Am 26.11.18 um 06:07 schrieb gregor:
>> Hello,
>>
>> I upgraded one host from 4.0 to 4.1 without problems. Now I have a
>> problem with another host, in another network, where the Global
>> Maintenance mode is not recognized by engine-setup.
>>
>> Is there a way to force the setup or set the maintenance mode inside the
>> database?
>>
>> One problem can be that an the host was accidentally upgraded to 4.1
>> before I upgraded the engine.
>>
>> kind regards
>> gregor
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct: 
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives: 
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/RQOX7YHHW3GTYEOP5YMG6NF2OD4BHUC7/
>>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/TLXT24MHJHSPQDI7ENVVJO2WVOBHHLB4/
> 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7M2HF3S6UHCLR7QK2AU2GZBN7DGPEHBF/


[ovirt-users] Re: Upgrade 4.0 to 4.1: Global Maintenance Mode not recognized

2018-11-25 Thread gregor
I was able to change the maintenance state in the database to finish the
upgrade with engine-setup.

these are the lines:

select vds_id,ha_global_maintenance from vds_statistics where vds_id =
'706599d5-2dbc-400c-b9da-5b5906de6dbd';
update vds_statistics set ha_global_maintenance = 't' where vds_id =
'706599d5-2dbc-400c-b9da-5b5906de6dbd';

Now it's time to wait if the host and engine can reboot and start the vm's.

regards
gregor

Am 26.11.18 um 06:07 schrieb gregor:
> Hello,
> 
> I upgraded one host from 4.0 to 4.1 without problems. Now I have a
> problem with another host, in another network, where the Global
> Maintenance mode is not recognized by engine-setup.
> 
> Is there a way to force the setup or set the maintenance mode inside the
> database?
> 
> One problem can be that an the host was accidentally upgraded to 4.1
> before I upgraded the engine.
> 
> kind regards
> gregor
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/RQOX7YHHW3GTYEOP5YMG6NF2OD4BHUC7/
> 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TLXT24MHJHSPQDI7ENVVJO2WVOBHHLB4/


[ovirt-users] Upgrade 4.0 to 4.1: Global Maintenance Mode not recognized

2018-11-25 Thread gregor
Hello,

I upgraded one host from 4.0 to 4.1 without problems. Now I have a
problem with another host, in another network, where the Global
Maintenance mode is not recognized by engine-setup.

Is there a way to force the setup or set the maintenance mode inside the
database?

One problem can be that an the host was accidentally upgraded to 4.1
before I upgraded the engine.

kind regards
gregor
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RQOX7YHHW3GTYEOP5YMG6NF2OD4BHUC7/


[ovirt-users] Hosted Engine increase memory

2017-07-28 Thread gregor
Hi,

is it possible to increase the memory of an hosted engine after the
installation?

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


Re: [ovirt-users] Hosted Engine: Add another host

2017-01-13 Thread gregor
Hi,

finally these are my steps to add a host to my cluster:

- Install CentOS 7 minimal
- Configure NTP (otherwise the installer stopped with an error)
- Configure Network and DNS
- Add the oVirt repo: yum -y install
http://resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm
- Now add the host form the web management

Thanks for your help and links to the resources.

greetings
gregor

On 12/01/17 09:40, Simone Tiraboschi wrote:
> 
> 
> On Wed, Jan 11, 2017 at 9:29 PM, Gianluca Cecchi
> mailto:gianluca.cec...@gmail.com>> wrote:
> 
> On Wed, Jan 11, 2017 at 5:50 PM, gregor  <mailto:gregor_fo...@catrix.at>> wrote:
> 
> Hi,
> 
> I have a hosted-engine setup on one host. Today I try to add another
> host from the UI but this gives me some errors without detail.
> 
> Is there a way to add a new host from the shell?
> 
> 
> Deploying additional hosted-engine hosts has been deprecated, deploying
> from the web ui is the recommended way.
> Could you please check host-deploy logs on the engine VM to check what
> went wrong?
>  
> 
> Not a node [1] because I plan to use docker as well on the host,
> it's a
> test environment.
> Or is it better to install the host as node?
> 
> cheers
> gregor
> 
> [1] http://www.ovirt.org/node/
> 
> 
> It would be useful to understand the errors you get in web ui,
> because they could be similar also in command line deploy
> 
> I think you can follow what happened in 3.6 as described here:
> 
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.6/html/Self-Hosted_Engine_Guide/chap-Installing_Additional_Hosts_to_a_Self-Hosted_Environment.html
> 
> <https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.6/html/Self-Hosted_Engine_Guide/chap-Installing_Additional_Hosts_to_a_Self-Hosted_Environment.html>
> 
> For oVirt and CentOS I think that these below should be the commands
> to run on your second host (see the other details explained in the
> web page above, that could be different in some way in 4.0 vs 3.6)
> 
> # yum install
> http://resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm
> <http://resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm>
> # yum install ovirt-hosted-engine-setup
> # hosted-engine --deploy
> 
> HIH,
> Gianluca
> 
> ___
> Users mailing list
> Users@ovirt.org <mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
> <http://lists.ovirt.org/mailman/listinfo/users>
> 
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] adding 3 machines as gluster nodes to ovirt 4.0.4

2017-01-11 Thread gregor
Today I had a similar problem. The time between the new host and the
engine was different because I didn't set up NTP on the new host.

cheers
gregor

On 27/10/16 07:29, Sahina Bose wrote:
> Not unless we see the host-deploy logs
> 
> On Thu, Oct 27, 2016 at 3:39 AM, Thing  <mailto:thing.th...@gmail.com>> wrote:
> 
> any idea why the ssh keys are failing?
> 
> On 27 October 2016 at 11:08, Thing  <mailto:thing.th...@gmail.com>> wrote:
> 
> oopsie  " Are the three hosts subscribed to the ovirt repos?"
> 
> no, I will try again doing so.  I didnt notice this as a
> requirement so I assumed the method was the ovirt server
> uploaded the needed packages to each host.
> 
> 
> 
> On 26 October 2016 at 17:52, Sahina Bose  <mailto:sab...@redhat.com>> wrote:
> 
> If you want these hosts to run only gluster service - create
> a cluster with "Enable gluster service" checked and "Enable
> Virt Service" unchecked (i.e disabled).
> You should then add your 3 hosts to this cluster. Are the
> three hosts subscribed to the ovirt repos? - During
> installation, the required packages are pulled in from the
> repos. So install the ovirt-release- rpm on the hosts.
> 
> After you do this, if the process still fails, please
> provide the installation logs (host-deploy logs).
> Installation failure in ovirt-engine will provide the path
> to the logs.
> 
> HTH,
> sahina
> 
> On Wed, Oct 26, 2016 at 4:06 AM, Thing
> mailto:thing.th...@gmail.com>> wrote:
> 
> Hi,
> 
> I have ovirt 4.0.4 running on a centos 7.2 machine.
> 
> I have 3 identical centos 7.2 machines I want to add as
> a gluster storage 3 way mirror array.  The admin guide
> doesnt seem to show how to do this?  I have setup ssh
> keys for root access.  I have setup a 1TB LUN on each
> ready for "glusterising".  I have tried to build and
> setup gluster before ahnd and import the ready made
> setup but this locked up in "activating" and after
> 36hours never completed (I assume they should move to "up"?)
> 
> Is there any documentation out there on how?   I want
> these as pure gluster storage only nodes no VMs to go on
> them.  The VMs will go on 2 or 3 new machines I will add
> later as a next stage.
> 
> I have tried to add them as hosts (not sure if this is
> the right method I suspect not), but I get install
> failures in the engine.log
> 
> sample,
> 
> =
> 
> 2016-10-26 11:28:13,899 ERROR
> [org.ovirt.engine.core.uutils.ssh.SSHDialog]
> (org.ovirt.thread.pool-8-thread-21) [2a413474] SSH error
> running command root@192.168.1.31:'umask 0077;
> MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t
> ovirt-XX)"; trap "chmod -R u+rwX \"${MYTMP}\" >
> /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0;
> tar --warning=no-timestamp -C "${MYTMP}" -x && 
> "${MYTMP}"/ovirt-host-deploy DIALOG/dialect=str:machine
> DIALOG/customization=bool:True': Command returned
> failure code 1 during SSH session 'root@192.168.1.31
> <mailto:root@192.168.1.31>'
> 2016-10-26 11:28:13,899 ERROR
> [org.ovirt.engine.core.uutils.ssh.SSHDialog]
> (org.ovirt.thread.pool-8-thread-21) [2a413474]
> Exception: java.io.IOException: Command returned failure
> code 1 during SSH session 'root@192.168.1.31
> <mailto:root@192.168.1.31>'
> at
> 
> org.ovirt.engine.core.uutils.ssh.SSHClient.executeCommand(SSHClient.java:526)
> [uutils.jar:]
> at
> 
> org.ovirt.engine.core.uutils.ssh.SSHDialog.executeCommand(SSHDialog.java:317)
> [uutils.jar:]
> at
> 
> org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.execute(VdsDeployBase.java:563

[ovirt-users] Hosted Engine: Add another host

2017-01-11 Thread gregor
Hi,

I have a hosted-engine setup on one host. Today I try to add another
host from the UI but this gives me some errors without detail.

Is there a way to add a new host from the shell?
Not a node [1] because I plan to use docker as well on the host, it's a
test environment.
Or is it better to install the host as node?

cheers
gregor

[1] http://www.ovirt.org/node/
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Migrate oVirtBackup to sdk v4: How to create a snapshot

2016-11-04 Thread gregor
Hi,

I'm started the migration of my backup tool [1] from sdk v3 to v4.
Whats the correct REST URI to create a snapshost from a given VM and how
can this be done with the SnapshotsService.add(...) method?

This method needs a "snapshot" object, but currently I don't know how to
obtain one from a given VM or initialize one which works with the
SnapshotsService class.

A REST way will also be interesting because the Python SDK is horrible
documented and I plan to move to basic REST. Also the Python SDK has
lots of bug's which consumes many of the migration time. For example a
obtained VmService object get by the VmsService.list(with filter) method
has no information about the ID but iterating over all objects from
list() without filter result in usable VmService objects. This will
later be documented, meanwhile I wrote a workaround.

cheers
gregor

[1] https://github.com/wefixit-AT/oVirtBackup
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Data Center jumping between online and non-responsive

2016-10-19 Thread gregor
On the host was no dns server set (/etc/resolv.conf). Is it save to edit the 
network parameter in /etc/sysconfig/network-scripts or is there another way and 
where can I check if the HostedEngine has the right dns server configured?

cheers
gregor

- Original Message -
> From: "gregor" 
> To: "Maillist ovirt-users" 
> Sent: Wednesday, 19 October, 2016 18:47:58
> Subject: Data Center jumping between online and non-responsive

> Hi,
> 
> I installed oVirt on another host machine and there the Data Center is jumping
> between 5-10 minuten from online to non-responsive.
> It's nearly impossible to work with the webinterface because of the
> non-responsive state all action I like to start are blocked.
> The installation is on a single host as hosted-engine
> 
> These lines fill the log:
> ...
> Okt 19 18:45:47 host01.domain.local ovirt-ha-agent[3048]: pending =
> getattr(dispatcher, 'pending', lambda: 0)
> Okt 19 18:45:47 host01.domain.local ovirt-ha-agent[3048]:
> /usr/lib/python2.7/site-packages/yajsonrpc/stomp.py:352: DeprecationWarning:
> Dispatcher.pending is deprecated. Use Dispatcher.socket.pending instead.
> Okt 19 18:45:47 host01.domain.local ovirt-ha-agent[3048]: pending =
> getattr(dispatcher, 'pending', lambda: 0)
> Okt 19 18:45:48 host01.domain.local ovirt-ha-agent[3048]:
> /usr/lib/python2.7/site-packages/yajsonrpc/stomp.py:352: DeprecationWarning:
> Dispatcher.pending is deprecated. Use Dispatcher.socket.pending instead.
> Okt 19 18:45:48 host01.domain.local ovirt-ha-agent[3048]: pending =
> getattr(dispatcher, 'pending', lambda: 0)
> Okt 19 18:45:49 host01.domain.local ovirt-ha-agent[3048]:
> /usr/lib/python2.7/site-packages/yajsonrpc/stomp.py:352: DeprecationWarning:
> Dispatcher.pending is deprecated. Use Dispatcher.socket.pending instead.
> Okt 19 18:45:49 host01.domain.local ovirt-ha-agent[3048]: pending =
> getattr(dispatcher, 'pending', lambda: 0)
> Okt 19 18:45:50 host01.domain.local ovirt-ha-broker[977]:
> INFO:mgmt_bridge.MgmtBridge:Found bridge ovirtmgmt with ports
> Okt 19 18:45:50 host01.domain.local ovirt-ha-broker[977]:
> INFO:cpu_load_no_engine.EngineHealth:System load total=0.1130, engine=0.0098,
> non-engine=0.1031
> Okt 19 18:45:51 host01.domain.local ovirt-ha-broker[977]:
> INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection
> established
> Okt 19 18:45:51 host01.domain.local ovirt-ha-broker[977]:
> INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection 
> closed
> Okt 19 18:45:51 host01.domain.local ovirt-ha-broker[977]:
> INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection
> established
> Okt 19 18:45:51 host01.domain.local ovirt-ha-broker[977]:
> INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection 
> closed
> Okt 19 18:45:51 host01.domain.local ovirt-ha-broker[977]:
> INFO:mem_free.MemFree:memFree: 14127
> Okt 19 18:45:51 host01.domain.local ovirt-ha-agent[3048]:
> /usr/lib/python2.7/site-packages/yajsonrpc/stomp.py:352: DeprecationWarning:
> Dispatcher.pending is deprecated. Use Dispatcher.socket.pending instead.
> Okt 19 18:45:51 host01.domain.local ovirt-ha-agent[3048]: pending =
> getattr(dispatcher, 'pending', lambda: 0)
> Okt 19 18:45:51 host01.domain.local ovirt-ha-agent[3048]:
> /usr/lib/python2.7/site-packages/yajsonrpc/stomp.py:352: DeprecationWarning:
> Dispatcher.pending is deprecated. Use Dispatcher.socket.pending instead.
> Okt 19 18:45:51 host01.domain.local ovirt-ha-agent[3048]: pending =
> getattr(dispatcher, 'pending', lambda: 0)
> Okt 19 18:45:51 host01.domain.local vdsm[3045]: vdsm vds.dispatcher ERROR SSL
> error during reading data: unexpected eof
> Okt 19 18:45:51 host01.domain.local ovirt-ha-agent[3048]:
> INFO:ovirt_hosted_engine_ha.lib.storage_server.StorageServer:Connecting 
> storage
> server
> Okt 19 18:45:51 host01.domain.local ovirt-ha-agent[3048]:
> /usr/lib/python2.7/site-packages/yajsonrpc/stomp.py:352: DeprecationWarning:
> Dispatcher.pending is deprecated. Use Dispatcher.socket.pending instead.
> Okt 19 18:45:51 host01.domain.local ovirt-ha-agent[3048]: pending =
> getattr(dispatcher, 'pending', lambda: 0)
> Okt 19 18:45:51 host01.domain.local ovirt-ha-agent[3048]:
> INFO:ovirt_hosted_engine_ha.lib.storage_server.StorageServer:Refreshing the
> storage domain
> Okt 19 18:45:51 host01.domain.local kernel: device-mapper: table: 253:3:
> multipath: error getting device
> Okt 19 18:45:51 host01.domain.local kernel: device-mapper: ioctl: error adding
> target to table
> Okt 19 18:45:51 host01.domain.local multipathd[598]: dm-3: remove map (uevent)
> Okt 19 18:45:51 host01.domain.local multipathd[598]: dm-3: remove map (uevent

[ovirt-users] Data Center jumping between online and non-responsive

2016-10-19 Thread gregor
Hi,

I installed oVirt on another host machine and there the Data Center is jumping 
between 5-10 minuten from online to non-responsive.
It's nearly impossible to work with the webinterface because of the 
non-responsive state all action I like to start are blocked.
The installation is on a single host as hosted-engine

These lines fill the log:
...
Okt 19 18:45:47 host01.domain.local ovirt-ha-agent[3048]: pending = 
getattr(dispatcher, 'pending', lambda: 0)
Okt 19 18:45:47 host01.domain.local ovirt-ha-agent[3048]: 
/usr/lib/python2.7/site-packages/yajsonrpc/stomp.py:352: DeprecationWarning: 
Dispatcher.pending is deprecated. Use Dispatcher.socket.pending instead.
Okt 19 18:45:47 host01.domain.local ovirt-ha-agent[3048]: pending = 
getattr(dispatcher, 'pending', lambda: 0)
Okt 19 18:45:48 host01.domain.local ovirt-ha-agent[3048]: 
/usr/lib/python2.7/site-packages/yajsonrpc/stomp.py:352: DeprecationWarning: 
Dispatcher.pending is deprecated. Use Dispatcher.socket.pending instead.
Okt 19 18:45:48 host01.domain.local ovirt-ha-agent[3048]: pending = 
getattr(dispatcher, 'pending', lambda: 0)
Okt 19 18:45:49 host01.domain.local ovirt-ha-agent[3048]: 
/usr/lib/python2.7/site-packages/yajsonrpc/stomp.py:352: DeprecationWarning: 
Dispatcher.pending is deprecated. Use Dispatcher.socket.pending instead.
Okt 19 18:45:49 host01.domain.local ovirt-ha-agent[3048]: pending = 
getattr(dispatcher, 'pending', lambda: 0)
Okt 19 18:45:50 host01.domain.local ovirt-ha-broker[977]: 
INFO:mgmt_bridge.MgmtBridge:Found bridge ovirtmgmt with ports
Okt 19 18:45:50 host01.domain.local ovirt-ha-broker[977]: 
INFO:cpu_load_no_engine.EngineHealth:System load total=0.1130, engine=0.0098, 
non-engine=0.1031
Okt 19 18:45:51 host01.domain.local ovirt-ha-broker[977]: 
INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection 
established
Okt 19 18:45:51 host01.domain.local ovirt-ha-broker[977]: 
INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection closed
Okt 19 18:45:51 host01.domain.local ovirt-ha-broker[977]: 
INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection 
established
Okt 19 18:45:51 host01.domain.local ovirt-ha-broker[977]: 
INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection closed
Okt 19 18:45:51 host01.domain.local ovirt-ha-broker[977]: 
INFO:mem_free.MemFree:memFree: 14127
Okt 19 18:45:51 host01.domain.local ovirt-ha-agent[3048]: 
/usr/lib/python2.7/site-packages/yajsonrpc/stomp.py:352: DeprecationWarning: 
Dispatcher.pending is deprecated. Use Dispatcher.socket.pending instead.
Okt 19 18:45:51 host01.domain.local ovirt-ha-agent[3048]: pending = 
getattr(dispatcher, 'pending', lambda: 0)
Okt 19 18:45:51 host01.domain.local ovirt-ha-agent[3048]: 
/usr/lib/python2.7/site-packages/yajsonrpc/stomp.py:352: DeprecationWarning: 
Dispatcher.pending is deprecated. Use Dispatcher.socket.pending instead.
Okt 19 18:45:51 host01.domain.local ovirt-ha-agent[3048]: pending = 
getattr(dispatcher, 'pending', lambda: 0)
Okt 19 18:45:51 host01.domain.local vdsm[3045]: vdsm vds.dispatcher ERROR SSL 
error during reading data: unexpected eof
Okt 19 18:45:51 host01.domain.local ovirt-ha-agent[3048]: 
INFO:ovirt_hosted_engine_ha.lib.storage_server.StorageServer:Connecting storage 
server
Okt 19 18:45:51 host01.domain.local ovirt-ha-agent[3048]: 
/usr/lib/python2.7/site-packages/yajsonrpc/stomp.py:352: DeprecationWarning: 
Dispatcher.pending is deprecated. Use Dispatcher.socket.pending instead.
Okt 19 18:45:51 host01.domain.local ovirt-ha-agent[3048]: pending = 
getattr(dispatcher, 'pending', lambda: 0)
Okt 19 18:45:51 host01.domain.local ovirt-ha-agent[3048]: 
INFO:ovirt_hosted_engine_ha.lib.storage_server.StorageServer:Refreshing the 
storage domain
Okt 19 18:45:51 host01.domain.local kernel: device-mapper: table: 253:3: 
multipath: error getting device
Okt 19 18:45:51 host01.domain.local kernel: device-mapper: ioctl: error adding 
target to table
Okt 19 18:45:51 host01.domain.local multipathd[598]: dm-3: remove map (uevent)
Okt 19 18:45:51 host01.domain.local multipathd[598]: dm-3: remove map (uevent)
Okt 19 18:45:51 host01.domain.local ovirt-ha-agent[3048]: 
/usr/lib/python2.7/site-packages/yajsonrpc/stomp.py:352: DeprecationWarning: 
Dispatcher.pending is deprecated. Use Dispatcher.socket.pending instead.
Okt 19 18:45:51 host01.domain.local ovirt-ha-agent[3048]: pending = 
getattr(dispatcher, 'pending', lambda: 0)
Okt 19 18:45:51 host01.domain.local vdsm[3045]: vdsm vds.dispatcher ERROR SSL 
error during reading data: unexpected eof
Okt 19 18:45:51 host01.domain.local ovirt-ha-agent[3048]: 
INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Preparing images
Okt 19 18:45:51 host01.domain.local ovirt-ha-agent[3048]: 
INFO:ovirt_hosted_engine_ha.lib.image.Image:Preparing images
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ping returns: Redirect Host(New nexthop ..

2016-10-19 Thread gregor
Problem solved: The ISP router had a problem.

cheers
gregor

On 18/10/16 13:38, gregor wrote:
> Hi,
> 
> sometimes a ping to a VM give "Redirect Host(New nexthop ...".
> Lowering the MTU inside the VM gives better results but the network
> throughput is very bad. (45kB/s during yum update)
> 
> Networkconfiguration:
> Network name: WAN, MTU 1500 (default)
> Network name: LAN, MTU 1500 (default)
> LAN and WAN assigned to the host and ipv4 set to "none"
> added WAN to eth0 to the VM
> added LAN to eth1 to the VM
> 
> PING inside the LAN network works perfect.
> PING to WAN gives sometimes a letency of 4000ms to 8.8.8.8
> PING from WAN to the VM gives the problem described above and latency
> sometimes up to 200ms and normally 0.7ms
> 
> When I set the MTU to 1400 inside the VM network configuration and also
> on the VM itself the nexthop-problem are gone. A speedtest with
> speedtest-cli[1] give me a speed of 0.35/3.45. The values differ extrem
> from the values measured from a laptop inside the WAN network with the
> same tool.
> 
> Can anybody give me a hint what the problen can be?
> 
> [1] https://github.com/sivel/speedtest-cli
> 
> cheers
> gregor
> ___
> 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] Ping returns: Redirect Host(New nexthop ..

2016-10-18 Thread gregor
Hi,

sometimes a ping to a VM give "Redirect Host(New nexthop ...".
Lowering the MTU inside the VM gives better results but the network
throughput is very bad. (45kB/s during yum update)

Networkconfiguration:
Network name: WAN, MTU 1500 (default)
Network name: LAN, MTU 1500 (default)
LAN and WAN assigned to the host and ipv4 set to "none"
added WAN to eth0 to the VM
added LAN to eth1 to the VM

PING inside the LAN network works perfect.
PING to WAN gives sometimes a letency of 4000ms to 8.8.8.8
PING from WAN to the VM gives the problem described above and latency
sometimes up to 200ms and normally 0.7ms

When I set the MTU to 1400 inside the VM network configuration and also
on the VM itself the nexthop-problem are gone. A speedtest with
speedtest-cli[1] give me a speed of 0.35/3.45. The values differ extrem
from the values measured from a laptop inside the WAN network with the
same tool.

Can anybody give me a hint what the problen can be?

[1] https://github.com/sivel/speedtest-cli

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


Re: [ovirt-users] Can't restart hosted-engine installation: vdsm did not start

2016-10-17 Thread gregor
Because the server has to be finished and shipped to my customer I
decided to reinstall the whole operating-system.
This is a very bad solution but after 20 hours of try-and-error I have
to find any solution.

Thanks for your help.

cheers
gregor

On 17/10/16 10:36, gregor wrote:
> Hi,
> 
> sadly this did not help.
> 
> cheers
> gregor
> 
> On 17/10/16 09:54, Simone Tiraboschi wrote:
>>
>>
>> On Sun, Oct 16, 2016 at 10:47 PM, gregor > <mailto:gregor_fo...@catrix.at>> wrote:
>>
>> How can I completely remove all the problematic VDSM remains to get a
>> clean system again without wiping the whole machine?
>>
>>
>> You can try following this:
>> https://www.ovirt.org/documentation/how-to/hosted-engine/#recoving-from-failed-install
>>
>>  
>>
>> chees
>> gregor
>>
>> On 16/10/16 20:58, gregor wrote:
>> > Hi,
>> >
>> > after a failed hosted-engine installation I removed all the ovirt and
>> > vdsm packages, rebooted the system and started from scratch.
>> > But when I run "hosted-engine --deploy" it stuck's during starting
>> vdsm.
>> >
>> > The logfile /var/log/vdsm/supervdsm.log gives me the following
>> >
>> > ...
>> > MainThread::DEBUG::2016-10-16
>> > 20:54:42,065::storage_log::69::blivet::(log_exception_info) IGNORED:
>> >Caught exception, continuing.
>> > MainThread::DEBUG::2016-10-16
>> > 20:54:42,065::storage_log::72::blivet::(log_exception_info) IGNORED:
>> >Problem description: failed to get initiator name from iscsi
>> firmware
>> > MainThread::DEBUG::2016-10-16
>> > 20:54:42,065::storage_log::73::blivet::(log_exception_info) IGNORED:
>> >Begin exception details.
>> > MainThread::DEBUG::2016-10-16
>> > 20:54:42,066::storage_log::76::blivet::(log_exception_info) IGNORED:
>> >Traceback (most recent call last):
>> > MainThread::DEBUG::2016-10-16
>> > 20:54:42,066::storage_log::76::blivet::(log_exception_info) IGNORED:
>> >  File "/usr/lib/python2.7/site-packages/blivet/iscsi.py", line
>> > 142, in __init__
>> > MainThread::DEBUG::2016-10-16
>> > 20:54:42,066::storage_log::76::blivet::(log_exception_info) IGNORED:
>> >initiatorname = libiscsi.get_firmware_initiator_name()
>> > MainThread::DEBUG::2016-10-16
>> > 20:54:42,066::storage_log::76::blivet::(log_exception_info) IGNORED:
>> >IOError: Unknown error
>> > MainThread::DEBUG::2016-10-16
>> > 20:54:42,066::storage_log::77::blivet::(log_exception_info) IGNORED:
>> >End exception details.
>> > ...
>> >
>> > Can anybody help? I found a old are close again like so many other bug
>> > reports with "CLOSED CURRENTRELEASE":
>> > https://bugzilla.redhat.com/show_bug.cgi?id=1238239
>> <https://bugzilla.redhat.com/show_bug.cgi?id=1238239>
>> >
>> > cheers
>> > gregor
>> > ___
>> > Users mailing list
>> > Users@ovirt.org <mailto:Users@ovirt.org>
>> > http://lists.ovirt.org/mailman/listinfo/users
>> <http://lists.ovirt.org/mailman/listinfo/users>
>> >
>> ___
>> Users mailing list
>> Users@ovirt.org <mailto:Users@ovirt.org>
>> http://lists.ovirt.org/mailman/listinfo/users
>> <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] Can't restart hosted-engine installation: vdsm did not start

2016-10-17 Thread gregor
Hi,

sadly this did not help.

cheers
gregor

On 17/10/16 09:54, Simone Tiraboschi wrote:
> 
> 
> On Sun, Oct 16, 2016 at 10:47 PM, gregor  <mailto:gregor_fo...@catrix.at>> wrote:
> 
> How can I completely remove all the problematic VDSM remains to get a
> clean system again without wiping the whole machine?
> 
> 
> You can try following this:
> https://www.ovirt.org/documentation/how-to/hosted-engine/#recoving-from-failed-install
> 
>  
> 
> chees
> gregor
> 
> On 16/10/16 20:58, gregor wrote:
> > Hi,
> >
> > after a failed hosted-engine installation I removed all the ovirt and
> > vdsm packages, rebooted the system and started from scratch.
> > But when I run "hosted-engine --deploy" it stuck's during starting
> vdsm.
> >
> > The logfile /var/log/vdsm/supervdsm.log gives me the following
> >
> > ...
> > MainThread::DEBUG::2016-10-16
> > 20:54:42,065::storage_log::69::blivet::(log_exception_info) IGNORED:
> >Caught exception, continuing.
> > MainThread::DEBUG::2016-10-16
> > 20:54:42,065::storage_log::72::blivet::(log_exception_info) IGNORED:
> >Problem description: failed to get initiator name from iscsi
> firmware
> > MainThread::DEBUG::2016-10-16
> > 20:54:42,065::storage_log::73::blivet::(log_exception_info) IGNORED:
> >Begin exception details.
> > MainThread::DEBUG::2016-10-16
> > 20:54:42,066::storage_log::76::blivet::(log_exception_info) IGNORED:
> >Traceback (most recent call last):
> > MainThread::DEBUG::2016-10-16
> > 20:54:42,066::storage_log::76::blivet::(log_exception_info) IGNORED:
> >  File "/usr/lib/python2.7/site-packages/blivet/iscsi.py", line
> > 142, in __init__
> > MainThread::DEBUG::2016-10-16
> > 20:54:42,066::storage_log::76::blivet::(log_exception_info) IGNORED:
> >initiatorname = libiscsi.get_firmware_initiator_name()
> > MainThread::DEBUG::2016-10-16
> > 20:54:42,066::storage_log::76::blivet::(log_exception_info) IGNORED:
> >IOError: Unknown error
> > MainThread::DEBUG::2016-10-16
> > 20:54:42,066::storage_log::77::blivet::(log_exception_info) IGNORED:
> >End exception details.
>     > ...
> >
> > Can anybody help? I found a old are close again like so many other bug
> > reports with "CLOSED CURRENTRELEASE":
> > https://bugzilla.redhat.com/show_bug.cgi?id=1238239
> <https://bugzilla.redhat.com/show_bug.cgi?id=1238239>
> >
> > cheers
> > gregor
> > ___
> > Users mailing list
> > Users@ovirt.org <mailto:Users@ovirt.org>
> > http://lists.ovirt.org/mailman/listinfo/users
> <http://lists.ovirt.org/mailman/listinfo/users>
> >
> ___
> Users mailing list
> Users@ovirt.org <mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
> <http://lists.ovirt.org/mailman/listinfo/users>
> 
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Can't restart hosted-engine installation: vdsm did not start

2016-10-16 Thread gregor
How can I completely remove all the problematic VDSM remains to get a
clean system again without wiping the whole machine?

chees
gregor

On 16/10/16 20:58, gregor wrote:
> Hi,
> 
> after a failed hosted-engine installation I removed all the ovirt and
> vdsm packages, rebooted the system and started from scratch.
> But when I run "hosted-engine --deploy" it stuck's during starting vdsm.
> 
> The logfile /var/log/vdsm/supervdsm.log gives me the following
> 
> ...
> MainThread::DEBUG::2016-10-16
> 20:54:42,065::storage_log::69::blivet::(log_exception_info) IGNORED:
>Caught exception, continuing.
> MainThread::DEBUG::2016-10-16
> 20:54:42,065::storage_log::72::blivet::(log_exception_info) IGNORED:
>Problem description: failed to get initiator name from iscsi firmware
> MainThread::DEBUG::2016-10-16
> 20:54:42,065::storage_log::73::blivet::(log_exception_info) IGNORED:
>Begin exception details.
> MainThread::DEBUG::2016-10-16
> 20:54:42,066::storage_log::76::blivet::(log_exception_info) IGNORED:
>Traceback (most recent call last):
> MainThread::DEBUG::2016-10-16
> 20:54:42,066::storage_log::76::blivet::(log_exception_info) IGNORED:
>  File "/usr/lib/python2.7/site-packages/blivet/iscsi.py", line
> 142, in __init__
> MainThread::DEBUG::2016-10-16
> 20:54:42,066::storage_log::76::blivet::(log_exception_info) IGNORED:
>initiatorname = libiscsi.get_firmware_initiator_name()
> MainThread::DEBUG::2016-10-16
> 20:54:42,066::storage_log::76::blivet::(log_exception_info) IGNORED:
>IOError: Unknown error
> MainThread::DEBUG::2016-10-16
> 20:54:42,066::storage_log::77::blivet::(log_exception_info) IGNORED:
>End exception details.
> ...
> 
> Can anybody help? I found a old are close again like so many other bug
> reports with "CLOSED CURRENTRELEASE":
> https://bugzilla.redhat.com/show_bug.cgi?id=1238239
> 
> cheers
> gregor
> ___
> 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] Can't restart hosted-engine installation: vdsm did not start

2016-10-16 Thread gregor
Hi,

after a failed hosted-engine installation I removed all the ovirt and
vdsm packages, rebooted the system and started from scratch.
But when I run "hosted-engine --deploy" it stuck's during starting vdsm.

The logfile /var/log/vdsm/supervdsm.log gives me the following

...
MainThread::DEBUG::2016-10-16
20:54:42,065::storage_log::69::blivet::(log_exception_info) IGNORED:
   Caught exception, continuing.
MainThread::DEBUG::2016-10-16
20:54:42,065::storage_log::72::blivet::(log_exception_info) IGNORED:
   Problem description: failed to get initiator name from iscsi firmware
MainThread::DEBUG::2016-10-16
20:54:42,065::storage_log::73::blivet::(log_exception_info) IGNORED:
   Begin exception details.
MainThread::DEBUG::2016-10-16
20:54:42,066::storage_log::76::blivet::(log_exception_info) IGNORED:
   Traceback (most recent call last):
MainThread::DEBUG::2016-10-16
20:54:42,066::storage_log::76::blivet::(log_exception_info) IGNORED:
 File "/usr/lib/python2.7/site-packages/blivet/iscsi.py", line
142, in __init__
MainThread::DEBUG::2016-10-16
20:54:42,066::storage_log::76::blivet::(log_exception_info) IGNORED:
   initiatorname = libiscsi.get_firmware_initiator_name()
MainThread::DEBUG::2016-10-16
20:54:42,066::storage_log::76::blivet::(log_exception_info) IGNORED:
   IOError: Unknown error
MainThread::DEBUG::2016-10-16
20:54:42,066::storage_log::77::blivet::(log_exception_info) IGNORED:
   End exception details.
...

Can anybody help? I found a old are close again like so many other bug
reports with "CLOSED CURRENTRELEASE":
https://bugzilla.redhat.com/show_bug.cgi?id=1238239

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


Re: [ovirt-users] ovirt-ha-agent cpu usage

2016-10-05 Thread gregor
Hi,

did you found a solution or cause for this high CPU usage?
I have installed the self hosted engine on another server and there is
no VM running but ovirt-ha-agent uses heavily the CPU.

cheers
gregor

On 08/08/16 15:09, Gianluca Cecchi wrote:
> On Mon, Aug 8, 2016 at 1:03 PM, Roy Golan  <mailto:rgo...@redhat.com>> wrote:
> 
> Does the spikes correlates with info messages on extracting the ovf?
> 
> 
> 
> 
> 
> 
> yes, it seems so and it happens every 14-15 seconds
> 
> These are the lines I see scrolling in agent.log when I notice cpu
> spikes in ovirt-ha-agent...
> 
> MainThread::INFO::2016-08-08
> 15:03:07,815::storage_server::212::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server)
> Connecting storage server
> MainThread::INFO::2016-08-08
> 15:03:08,144::storage_server::220::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server)
> Refreshing the storage domain
> MainThread::INFO::2016-08-08
> 15:03:08,705::hosted_engine::685::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images)
> Preparing images
> MainThread::INFO::2016-08-08
> 15:03:08,705::image::126::ovirt_hosted_engine_ha.lib.image.Image::(prepare_images)
> Preparing images
> MainThread::INFO::2016-08-08
> 15:03:09,653::hosted_engine::688::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images)
> Reloading vm.conf from the shared storage domain
> MainThread::INFO::2016-08-08
> 15:03:09,653::config::205::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(refresh_local_conf_file)
> Trying to get a fresher copy of vm configuration from the OVF_STORE
> MainThread::INFO::2016-08-08
> 15:03:09,843::ovf_store::100::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(scan)
> Found OVF_STORE: imgUUID:223d26c2-1668-493c-a322-8054923d135f,
> volUUID:108a362c-f5a9-440e-8817-1ed8a129afe8
> MainThread::INFO::2016-08-08
> 15:03:10,309::ovf_store::100::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(scan)
> Found OVF_STORE: imgUUID:12ca2fc6-01f7-41ab-ab22-e75c822ac9b6,
> volUUID:1a18851e-6858-401c-be6e-af14415034b5
> MainThread::INFO::2016-08-08
> 15:03:10,652::ovf_store::109::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF)
> Extracting Engine VM OVF from the OVF_STORE
> MainThread::INFO::2016-08-08
> 15:03:10,974::ovf_store::116::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF)
> OVF_STORE volume path:
> /rhev/data-center/mnt/ovirt01.lutwyn.org:_SHE__DOMAIN/31a9e9fd-8dcb-4475-aac4-09f897ee1b45/images/12ca2fc6-01f7-41ab-ab22-e75c822ac9b6/1a18851e-6858-401c-be6e-af14415034b5
>  
> MainThread::INFO::2016-08-08
> 15:03:11,494::config::225::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(refresh_local_conf_file)
> Found an OVF for HE VM, trying to convert
> MainThread::INFO::2016-08-08
> 15:03:11,497::config::230::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(refresh_local_conf_file)
> Got vm.conf from OVF_STORE
> MainThread::INFO::2016-08-08
> 15:03:11,675::hosted_engine::462::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring)
> Current state EngineUp (score: 3400)
> 
> 
> ___
> 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] Can't boot VM: "At least one numa node has to be configured when enabling memory hotplug"

2016-10-03 Thread gregor
Hi,

yesterday I exported all my VM's and reinstalled the host fresh as
hosted-engine installation. After importing one VM and starting this, it
gaves me the error message (engine.log) see below.
After researching what "numa" means I don't have a clue what this should
mean or what was configured wrong. It's only one Server followed this
[1] instruction.

...
2016-10-04 06:34:30,719 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(DefaultQuartzScheduler4) [66e4bd80] Correlation ID: null, Call Stack:
null, Custom Event ID: -1, Message: VM webserver is down with error.
Exit message: unsupported configuration: At least one numa node has to
be configured when enabling memory hotplug.
2016-10-04 06:34:30,731 ERROR
[org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring]
(DefaultQuartzScheduler4) [66e4bd80] Rerun VM
'b5947250-77d3-46d2-a8c6-cdd9072bb558'. Called from VDS 'host'
2016-10-04 06:34:30,933 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(org.ovirt.thread.pool-8-thread-49) [66e4bd80] Correlation ID: 7e9dded6,
Job ID: 63c37b21-c3f4-40da-9eb2-fe98e824827c, Call Stack: null, Custom
Event ID: -1, Message: Failed to run VM webserver (User:
admin@internal-authz).
...

cheers
gregor

[1] https://www.ovirt.org/documentation/how-to/hosted-engine/

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


[ovirt-users] Migrate to python-ovirt-engine-sdk4

2016-07-03 Thread gregor
Hi,

today I will migrate my backup tool [1] from oVirt version 3 to 4.
Is there anywhere a documentation to the new SDK? I downloaded the
source and read in the meantime through the code. It seems it will be a
lot of work :-(

cheers
gregor

[1] https://github.com/wefixit-AT/oVirtBackup
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Change admin password: new password already used

2016-07-03 Thread gregor
Thank you, for the fast response.

cheers
gregor

On 03/07/16 11:25, Martin Perina wrote:
> Hi,
> 
> Please take a look
> 
> https://www.ovirt.org/develop/release-management/features/infra/aaa-jdbc/
> 
> where you can find more info about ovirt-aaa-jdbc-tool.
> 
> By default we remember several previous passwords and check for them
> during password change. You can change that policy using
> 'ovirt-aaa-jdbc-tool settings' or you can use --force option during
> password change.
> 
> Martin Perina
> 
> 
> 
> Sunday, July 3, 2016, Yaniv Dary  <mailto:yd...@redhat.com>> wrote:
>>
>> Yaniv Dary
>> Technical Product Manager
>> Red Hat Israel Ltd.
>> 34 Jerusalem Road
>> Building A, 4th floor
>> Ra'anana, Israel 4350109
>>
>> Tel : +972 (9) 7692306
>> 8272306
>> Email: yd...@redhat.com <mailto:yd...@redhat.com>
>> IRC : ydary
>>
>> -- Forwarded message --
>> From: gregor mailto:gregor_fo...@catrix.at>>
>> Date: Sat, Jul 2, 2016 at 11:07 PM
>> Subject: [ovirt-users] Change admin password: new password already used
>> To: Maillist ovirt-users mailto:users@ovirt.org>>
>>
>>
>> Hi,
>>
>> I had to change the admin password, it returns "new password already
> used".
>>
>> That's the command I have used: "ovirt-aaa-jdbc-tool user password-reset
>> admin"
>>
>> Can somebody help?
>>
>> cheers
>> gregor
>> ___
>> Users mailing list
>> Users@ovirt.org <mailto: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-shell compatible with version 4?

2016-07-02 Thread Gregor Binder
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

UPDATE: after deleting ~/.ovirtshellrc a connection to the engine is
possible.

- -- 
GPG-Key: 67F1534F
URL: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x137FB29D67F1534
F

On 02/07/16 22:19, gregor wrote:
> Hi,
> 
> after upgrading to oVirt 4.* the ovirt-shell won't connect.
> 
> That's the installed version: 
> ovirt-engine-cli-3.6.2.0-1.el7.centos.noarch
> 
> Should this version work with the latest engine, this came from
> repo ovirt-4.0 ? Can't find ovirt-engine-cli-4.* in the repos.
> 
> cheers gregor ___ Users
> mailing list Users@ovirt.org 
> http://lists.ovirt.org/mailman/listinfo/users
> 
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQI2BAEBCAAgBQJXeCrWGRxncmVnb3IuYmluZGVyQHdlZml4aXQuYXQACgkQE3+y
nWfxU08rkhAAinb4djy4lsjBaAhvZrmTyYL8TuWieNJvG1nsVoI5dBZpf0JQl7Wm
vbQtzjDTZ8Sj9f3DM4cuiPMuAmq4WskpdvSOd1On6s90nczz5c8trPN464jTu8Mu
qobr6oQXvTCm+Ch8YjzOiuTAXU9/CPIv3vC2bDtWbXjLH6NnwjL5ALFlhQcjmYGl
PrjlH3VAlbb03A/WHZiWk+8vlmbzOeMjiF5ufXzUOddJPQtOxJ9g3bPEcswMTT+9
bMXkwpG2E5OHAeDkomhkZL8AkyYXedQ1d+AUMeI2ZIY6FvcpR9vz9vX6QZXTOriZ
haDWLm0AwRS3WsslhdnQmWbHeg13vbhzeCzH2n8kwBkET7eXALx5JsIIiEAvIW04
MyOfQ3Zny/TwDIpIXbH+qyieWczcXQaFOAV1p/qoKkN5ibrbbuSaRPY6gqe8RKrN
jY1M1kxfP1Iw7rV2/zzl/jkWwqTikHxiMooRjXG/zObbP5mefOCbkCU4c0/99W+p
Po9JY7ASE/gKWaPrfAiADPQ5gs2hjFvm062yGDnJwDOXsAFsGtvglNmjtBeuq84L
A62gZUDNSK09ngJCGYMTIorGAq8rH8tSTWKELy9pIF+Qgr3+MmLqV2C1Dd5k3f+e
3OzyRqmuWGU4WeLT1bNZ0MOFjwQBfwONDXh0h8Ub0dHmdUKhaA7NK4A=
=AHZe
-END PGP SIGNATURE-
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt-shell compatible with version 4?

2016-07-02 Thread gregor
Hi,

after upgrading to oVirt 4.* the ovirt-shell won't connect.

That's the installed version:
ovirt-engine-cli-3.6.2.0-1.el7.centos.noarch

Should this version work with the latest engine, this came from repo
ovirt-4.0 ?
Can't find ovirt-engine-cli-4.* in the repos.

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


[ovirt-users] Change admin password: new password already used

2016-07-02 Thread gregor
Hi,

I had to change the admin password, it returns "new password already used".

That's the command I have used: "ovirt-aaa-jdbc-tool user password-reset
admin"

Can somebody help?

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


Re: [ovirt-users] 3.5 to 3.6 upgrade

2016-07-02 Thread gregor
Can you please add your solution!

cheers
gregor

On 16/06/16 01:14, Fernando Fuentes wrote:
> 
> I think I fix my own issue.
> 
> TIA! :D
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Can't start VM after shutdown

2016-06-13 Thread gregor
The VM has two disks both are VirtIO. During testing its now clear that
the problem occur only with two disks. When I select only one disk for
the snapshost it works.
Is this a problem of oVirt or is it not possible to use two disks on a
VM in oVirt?

Have you also two or more disks on your VM?

Here are the Testresults:
-
What does not work:
- Export the VM: Failed with error "ImageIsNotLegalChain and code 262"
- Clone the VM: Failed with error "IRSErrorException: Image is not a
legal chain" with the ID of the second Disk.

After removing the second Disk:
- Create offline snapshot: Works
- Remove offline snapshot: After two hours I run "engine-setup
--offline" to clean the looked snapshot !!!
- Export the VM: Works
- Import the exported VM: Works
- Add Disk to the imported VM: Works
- Create offline snapshot of the imported VM: Failed
- Clone the VM: Works
- Add Disk to the cloned VM: Works
- Create offline snapshot of the cloned VM: Failed

What works:
- Make offline snapshot only with the system disk: Works
- Remove offline snapshot of the system disk: Works
- Make online snapshot only with the system disk: Works
- Remove online snapshot of the system disk: Works

cheers
gregor

On 12/06/16 19:42, gregor wrote:
> Hi,
> 
> I solved my problem, here are the steps but be carefully if you don't
> know what the commands did and how to restore from backup don't follow this:
> 
> - ssh to the host
> - systemctl stop ovirt-engine
> - backup the database with "engine-backup"
> - navigate to the image files
> - backup the images: sudo -u vdsm rsync -av  
> - check which one is the backing file: qemu-img info 
> - check for damages: qemu-img check 
> - qemu-img commit 
> - rename the  + .lease and .meta so it can't be accessed
> 
> - vmname=srv03
> - db=engine
> - sudo -u postgres psql $db -c "SELECT b.disk_alias, s.description,
> s.snapshot_id, i.creation_date, s.status, i.imagestatus, i.size,
> i.image_group_id, i.vm_snapshot_id, i.image_guid, i.parentid, i.active
> FROM images as i JOIN snapshots AS s ON (i.vm_snapshot_id =
> s.snapshot_id) LEFT JOIN vm_static AS v ON (s.vm_id = v.vm_guid) JOIN
> base_disks AS b ON (i.image_group_id = b.disk_id) WHERE v.vm_name =
> '$vmname' ORDER BY creation_date, description, disk_alias"
> 
> - note the image_guid and parent_id from the broken snapshot and the
> active snapshot, the active state is the image_guuid with the parentid
> ----
> - igid_active=
> - igid_broken=
> - the parentid of the image_guuid of the broken snapshot must be the
> same as the activ snapshots image_guuid
> - note the snapshot id
> - sid_active=
> - sid_broken=
> 
> - delete the broken snapshot
> - sudo -u postgres psql $db -c "DELETE FROM snapshots AS s WHERE
> s.snapshot_id = '$sid_broken'"
> 
> - pid_new=----
> - sudo -u postgres psql $db -c "SELECT * FROM images WHERE
> vm_snapshot_id = '$sid_active' AND image_guid = '$igid_broken'"
> - sudo -u postgres psql $db -c "DELETE FROM images WHERE vm_snapshot_id
> = '$sid_broken' AND image_guid = '$igid_active'"
> - sudo -u postgres psql $db -c "SELECT * FROM image_storage_domain_map
> WHERE image_id = '$igid_broken'"
> - sudo -u postgres psql $db -c "DELETE FROM image_storage_domain_map
> WHERE image_id = '$igid_broken'"
> - sudo -u postgres psql $db -c "UPDATE images SET image_guid =
> '$igid_active', parentid = '$pid_new' WHERE vm_snapshot_id =
> '$sid_active' AND image_guid = '$igid_broken'"
> - sudo -u postgres psql $db -c "SELECT * FROM image_storage_domain_map"
> - storid=
> - diskprofileid=
> - sudo -u postgres psql $db -c "INSERT INTO image_storage_domain_map
> (image_id, storage_domain_id, disk_profile_id) VALUES ('$igid_broken',
> '$stor_id', '$diskprofileid')"
> 
> - check values
> - sudo -u postgres psql $db -c "SELECT b.disk_alias, s.description,
> s.snapshot_id, i.creation_date, s.status, i.imagestatus, i.size,
> i.image_group_id, i.vm_snapshot_id, i.image_guid, i.parentid, i.active
> FROM images as i JOIN snapshots AS s ON (i.vm_snapshot_id =
> s.snapshot_id) LEFT JOIN vm_static AS v ON (s.vm_id = v.vm_guid) JOIN
> base_disks AS b ON (i.image_group_id = b.disk_id) WHERE v.vm_name =
> '$vmname' ORDER BY creation_date, description, disk_alias"could not
> change directory to "/root/Backups/oVirt"
> 
> - check for errors
> - engine-setup --offline
> - systemctl start ovirt-engine
> 
> Now you should have a

Re: [ovirt-users] Can't start VM after shutdown

2016-06-12 Thread gregor
Hi,

I solved my problem, here are the steps but be carefully if you don't
know what the commands did and how to restore from backup don't follow this:

- ssh to the host
- systemctl stop ovirt-engine
- backup the database with "engine-backup"
- navigate to the image files
- backup the images: sudo -u vdsm rsync -av  
- check which one is the backing file: qemu-img info 
- check for damages: qemu-img check 
- qemu-img commit 
- rename the  + .lease and .meta so it can't be accessed

- vmname=srv03
- db=engine
- sudo -u postgres psql $db -c "SELECT b.disk_alias, s.description,
s.snapshot_id, i.creation_date, s.status, i.imagestatus, i.size,
i.image_group_id, i.vm_snapshot_id, i.image_guid, i.parentid, i.active
FROM images as i JOIN snapshots AS s ON (i.vm_snapshot_id =
s.snapshot_id) LEFT JOIN vm_static AS v ON (s.vm_id = v.vm_guid) JOIN
base_disks AS b ON (i.image_group_id = b.disk_id) WHERE v.vm_name =
'$vmname' ORDER BY creation_date, description, disk_alias"

- note the image_guid and parent_id from the broken snapshot and the
active snapshot, the active state is the image_guuid with the parentid
----
- igid_active=
- igid_broken=
- the parentid of the image_guuid of the broken snapshot must be the
same as the activ snapshots image_guuid
- note the snapshot id
- sid_active=
- sid_broken=

- delete the broken snapshot
- sudo -u postgres psql $db -c "DELETE FROM snapshots AS s WHERE
s.snapshot_id = '$sid_broken'"

- pid_new=----
- sudo -u postgres psql $db -c "SELECT * FROM images WHERE
vm_snapshot_id = '$sid_active' AND image_guid = '$igid_broken'"
- sudo -u postgres psql $db -c "DELETE FROM images WHERE vm_snapshot_id
= '$sid_broken' AND image_guid = '$igid_active'"
- sudo -u postgres psql $db -c "SELECT * FROM image_storage_domain_map
WHERE image_id = '$igid_broken'"
- sudo -u postgres psql $db -c "DELETE FROM image_storage_domain_map
WHERE image_id = '$igid_broken'"
- sudo -u postgres psql $db -c "UPDATE images SET image_guid =
'$igid_active', parentid = '$pid_new' WHERE vm_snapshot_id =
'$sid_active' AND image_guid = '$igid_broken'"
- sudo -u postgres psql $db -c "SELECT * FROM image_storage_domain_map"
- storid=
- diskprofileid=
- sudo -u postgres psql $db -c "INSERT INTO image_storage_domain_map
(image_id, storage_domain_id, disk_profile_id) VALUES ('$igid_broken',
'$stor_id', '$diskprofileid')"

- check values
- sudo -u postgres psql $db -c "SELECT b.disk_alias, s.description,
s.snapshot_id, i.creation_date, s.status, i.imagestatus, i.size,
i.image_group_id, i.vm_snapshot_id, i.image_guid, i.parentid, i.active
FROM images as i JOIN snapshots AS s ON (i.vm_snapshot_id =
s.snapshot_id) LEFT JOIN vm_static AS v ON (s.vm_id = v.vm_guid) JOIN
base_disks AS b ON (i.image_group_id = b.disk_id) WHERE v.vm_name =
'$vmname' ORDER BY creation_date, description, disk_alias"could not
change directory to "/root/Backups/oVirt"

- check for errors
- engine-setup --offline
- systemctl start ovirt-engine

Now you should have a clean state and a working VM ;-)

What was tested:
- Power up and down the VM

What does not work:
- Its not possible to make offline snapshots, online was not tested
because I will not getting into such trouble again. It took many hours
after the machine is up again.

PLEASE be aware and don't destroy your Host and VM !!!

cheers
gregor

On 12/06/16 13:40, Colin Coe wrote:
> We've seen this with both Linux and Windows VMs.  I'm guessing that
> you've had failures on this VM in both snapshot create and delete
> operations.  oVirt/RHEV 3.5 seems particularly affected.  I'm told that
> oVirt 3.6.7 has the last of the fixes for these known snapshot problems.
> 
> My original email was eorded wrong.  I meant that qemu-img gives
> "backing filename too long" errors.  You may have seen this in your logs.
> 
> Note also that you may be seeing an entirely un-related problem.
> 
> You may wish to post you're VDSM logs and the qemu log from
> /var/lib/libvirt/qemu/.log
> 
> Hope this helps
> 
> CC
> 
> 
> On Sun, Jun 12, 2016 at 4:45 PM, gregor  <mailto:gregor_fo...@catrix.at>> wrote:
> 
> Sound's bad. Recreating the VM is no way because this is a productive
> VM. During testing I need to recreate it more than once. oVirt works
> perfect which Linux VM's but when it comes to Windows VM's we get lots
> of problems.
> 
> Which OS you used on the problematic VM?
> 
> cheers
> gregor
> 
> On 11/06/16 19:22, Anantha Raghava wrote:
> > Hi,
> &g

Re: [ovirt-users] java.io.IOException: Command returned failure code 1 during SSH session

2016-06-12 Thread gregor
Hi,

The host are marked as up with two "Action Items":
- A new version is available.
- Power Management is not configured for this Host

The update information seems wrong, because lately I installed updates
with engine-setup and after this I updated yum like my other host. On
the other host there is only the "Power Management" note.

I can give you later more information's, currently the VM hast no
internet connection because there is a hanging VM which did not boot
(reported in another thread).

cheers
gregor

On 12/06/16 09:22, Martin Perina wrote:
> Hi,
> 
> could you please share server.log/engine.log? And what's the status of
> the host reported in webadmin?
> 
> Thanks
> 
> Martin Perina
> 
> 
> On Sat, Jun 11, 2016 at 5:06 PM, gregor  <mailto:gregor_fo...@catrix.at>> wrote:
> 
> Hi,
> 
> during inspecting the engine.log I found this entry:
> 
> - 
> [org.ovirt.engine.core.uutils.ssh.SSHDialog]
> (DefaultQuartzScheduler_Worker-81) [] Exception: java.io.IOException:
> Command returned failure code 1 during SSH session 'root@ name remove>'
> - 
> Message: Failed to check for available updates on host host01 with
> message 'Command returned failure code 1 during SSH session
> 'root@'
> - 
> 
> Looks like a serious problem because the engine can't check for updates.
> 
> cheers
> gregor
> ___
> Users mailing list
> Users@ovirt.org <mailto: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] Can't start VM after shutdown

2016-06-12 Thread gregor
Thanks for sharing the information's, I check the file structure and
database entries. I had problems with too long names during coding a
oVirt backup tool [1]. Here is a limitations list [2]. There was the
problem that a Windows VM name can only be 15 characters long, others
can named with 64 characters.

Which OS you used on the problematic VM?

cheers
gregor

[1] https://github.com/wefixit-AT/oVirtBackup
[2]
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.2/html/Administration_Guide/Red_Hat_Enterprise_Virtualization_Manager_configuration_options_explanations_limitations_and_best_practices.html

On 12/06/16 02:16, Colin Coe wrote:
> We had the same problem. Turned out that qemu-img was complaining that
> the image file was too long. We use RHEV and Red Hat support did the
> hard work to correct the image chain.  Its quite a process...
> 
> CC
> 
> On Sat, Jun 11, 2016 at 10:39 PM, gregor  <mailto:gregor_fo...@catrix.at>> wrote:
> 
> Hi,
> 
> a VM has snapshots which are unable to remove during when the VM is up.
> Therefore I power down the Windows Server 2012 VM. The snapshots are
> still unable to remove and the VM can't boot anymore !!!
> 
> This is the message from engine.log
> 
> --
> Message: VM srv03 is down with error. Exit message: Bad volume
> specification
> --
> 
> Clone is not possible I get:
> --
> Message: VDSM command failed: Image is not a legal chain
> --
> 
> All others VM's can be powered down and start without any problem.
> What can I do?
> This is very important because now no one can work :-( !!!
> 
> cheers
> gregor
> ___
> Users mailing list
> Users@ovirt.org <mailto: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] Can't start VM after shutdown

2016-06-12 Thread gregor
Sound's bad. Recreating the VM is no way because this is a productive
VM. During testing I need to recreate it more than once. oVirt works
perfect which Linux VM's but when it comes to Windows VM's we get lots
of problems.

Which OS you used on the problematic VM?

cheers
gregor

On 11/06/16 19:22, Anantha Raghava wrote:
> Hi,
> 
> Even I observed this behaviour.
> 
> When we take the snapshot, the main VM using which the snapshot was
> taken is shutdown and a new VM with external- comes to life. We
> cannot get the original VM back to life, but a clone starts functioning.
> 
> We cannot remove the snapshot whether or not the VM is running. I had to
> remove the entire VM that came to life with snapshot and recreate the
> entire VM from scratch. Luckily the VM was still not in production,
> hence could afford it.
> 
> First I could not understand, why, when a snapshot is created, the VM
> with snapshot comes to life and starts running and not the original VM.
> 
> Is it necessary that we shutdown the VM before taking snapshots?
> Snapshot is supposed to be a backup of original VM, that unless we
> restore by cloning should not come to life as I understand.
> 
> -- 
> 
> Thanks & Regards,
> 
> Anantha Raghava
> 
> 
> On Saturday 11 June 2016 08:09 PM, gregor wrote:
>> Hi,
>>
>> a VM has snapshots which are unable to remove during when the VM is up.
>> Therefore I power down the Windows Server 2012 VM. The snapshots are
>> still unable to remove and the VM can't boot anymore !!!
>>
>> This is the message from engine.log
>>
>> --
>> Message: VM srv03 is down with error. Exit message: Bad volume specification
>> --
>>
>> Clone is not possible I get:
>> --
>> Message: VDSM command failed: Image is not a legal chain
>> --
>>
>> All others VM's can be powered down and start without any problem.
>> What can I do?
>> This is very important because now no one can work :-( !!!
>>
>> cheers
>> gregor
>> ___
>> 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] java.io.IOException: Command returned failure code 1 during SSH session

2016-06-11 Thread Gregor Binder
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi,

during inspecting the engine.log I found this entry:

- 
[org.ovirt.engine.core.uutils.ssh.SSHDialog]
(DefaultQuartzScheduler_Worker-81) [] Exception: java.io.IOException:
Command returned failure code 1 during SSH session 'root@'
- 
Message: Failed to check for available updates on host host01 with
message 'Command returned failure code 1 during SSH session
'root@'
- 

Looks like a serious problem because the engine can't check for updates.

cheers
gregor
- -- 
GPG-Key: 67F1534F
URL: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x137FB29D67F1534
F
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXXCaMAAoJEBN/sp1n8VNP1B4QAL1EZRBMe+TFYENj2WH0saTm
GBOZxKljwkno0xdGpql64ZsmPogQ9Ybtus6eEWBuzGScc0uHvsbzVKWrVNf2afAP
XbvWYvdTWECfhSTbQQ0MS/itwkuOfeEONywdo9jcCv+261oEJwQyltjDKK6NDgYl
K4L5Qyvhac0EZsjRpDtKDyHj+QT321hLI5gRps/eMPIAHWl8zaq+LJVFDI4EV3gE
9Ndcljyxjd6IyqIG4LzQobNowA8Jp+QAIrA316ekkb9BLF7o/W9VaITmS+5xS5Dl
y2lL7Ga/LYdpEkMh8ZQmLwjoTWZvKoL08xFQgnUQ4Ry/UI8ENukmIXecuQebhEHH
Bs4WnaZCDxditHymI809lwf2jpeGVjLkOPuLfev38AIfKS00acm0Yb3TIWNbzs6F
ZJ+rz9X6gtPBET2XOSDPWa/JsCcIbg/XjqEM4qzOANmKzWA4mJpVh7uM6M8mgFd+
4kZA8hVz4sckat1jbXFXgIJuMvNDwjgKUsDVBoZ1wKJvfj/btfgFaVI/osDnNQ8l
rtnuGCDNhZvJCctxIbLOpC7+raImWLOy89Od1W3KMYg6ECgAM7t5A7VRtTdzSqyt
pji7NaXsZxNqCh2QCXa8srjUQgWttpkRsH/iR3xq/s7QdS+Moail5AoF8XeCzFvB
GX+DLN8RPMcIilUXuaUs
=OnF7
-END PGP SIGNATURE-
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] java.io.IOException: Command returned failure code 1 during SSH session

2016-06-11 Thread gregor
Hi,

during inspecting the engine.log I found this entry:

- 
[org.ovirt.engine.core.uutils.ssh.SSHDialog]
(DefaultQuartzScheduler_Worker-81) [] Exception: java.io.IOException:
Command returned failure code 1 during SSH session 'root@'
- 
Message: Failed to check for available updates on host host01 with
message 'Command returned failure code 1 during SSH session
'root@'
- 

Looks like a serious problem because the engine can't check for updates.

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


[ovirt-users] Can't start VM after shutdown

2016-06-11 Thread gregor
Hi,

a VM has snapshots which are unable to remove during when the VM is up.
Therefore I power down the Windows Server 2012 VM. The snapshots are
still unable to remove and the VM can't boot anymore !!!

This is the message from engine.log

--
Message: VM srv03 is down with error. Exit message: Bad volume specification
--

Clone is not possible I get:
--
Message: VDSM command failed: Image is not a legal chain
--

All others VM's can be powered down and start without any problem.
What can I do?
This is very important because now no one can work :-( !!!

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


Re: [ovirt-users] Documentation: Helper Utilities missing references

2016-06-05 Thread gregor
Thanks for the link. I tried to clean up with taskcleaner without any
luck but "engine-setup --offline" removes the tasks and unlocks my VM.

cheers
gregor

On 05/06/16 09:08, Yedidyah Bar David wrote:
> On Sat, Jun 4, 2016 at 1:02 PM, gregor  wrote:
>> Hi,
>>
>> I found the article to some "Helper Utilities" on the ovirt page [1] but
>> I can't find the mentioned helpers fkvalidaor.sh, taskcleaner.sh and
>> unlock_entity.sh.
>>
>> Does anybody where these are? Especially I need the taskcleaner.sh
>> because a task is stuck since many days.
> 
> Should be in /usr/share/ovirt-engine/setup/dbutils/ .
> 
> taskcleaner is normally ran also by engine-setup.
> 
> You can run 'engine-setup --offline' to prevent it from upgrading
> and still do its normal stuff.
> 
> Best,
> 
>>
>> cheers
>> gregor
>>
>> [1] https://www.ovirt.org/develop/developer-guide/db-issues/helperutilities/
>> ___
>> 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] Documentation: Helper Utilities missing references

2016-06-04 Thread gregor
Hi,

I found the article to some "Helper Utilities" on the ovirt page [1] but
I can't find the mentioned helpers fkvalidaor.sh, taskcleaner.sh and
unlock_entity.sh.

Does anybody where these are? Especially I need the taskcleaner.sh
because a task is stuck since many days.

cheers
gregor

[1] https://www.ovirt.org/develop/developer-guide/db-issues/helperutilities/
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 3.6 upgrade issue

2016-04-26 Thread gregor
Hi,

today I tried to upgrade from 3.6.4 to 3.6.5, as usual with
engine-setup. This time it gives me an schema update error and after
this the database is corrupt and gives me the same error you get.

Did you create a bug entry?
I'm tired of creating bugs for oVirt. Every time I touch oVirt I hit 1-5
bugs, it's so time consuming :-(

cheers
gregor

On 22/10/15 14:24, Yaniv Dary wrote:
> History database has a issue. Can you add logs? maybe open a bug?
> 
> Yaniv Dary Technical Product Manager Red Hat Israel Ltd. 34 Jerusalem
> Road Building A, 4th floor Ra'anana, Israel 4350109 Tel : +972 (9)
> 7692306 8272306 Email: yd...@redhat.com <mailto:yd...@redhat.com> IRC :
> ydary
> 
> 
> On Tue, Sep 29, 2015 at 4:45 PM, Jon Archer  <mailto:j...@rosslug.org.uk>> wrote:
> 
> Hi all,
> 
> Wonder if anyone can shed any light on an error i'm seeing while
> running engine-setup.
> 
> If just upgraded the packages to the latest 3.6 ones today (from
> 3.5), run engine-setup, answered the questions, confirming install
> then get presented with:
> [ INFO  ] Cleaning async tasks and compensations
> [ INFO  ] Unlocking existing entities
> [ INFO  ] Checking the Engine database consistency
> [ INFO  ] Stage: Transaction setup
> [ INFO  ] Stopping engine service
> [ INFO  ] Stopping ovirt-fence-kdump-listener service
> [ INFO  ] Stopping websocket-proxy service
> [ INFO  ] Stage: Misc configuration
> [ INFO  ] Stage: Package installation
> [ INFO  ] Stage: Misc configuration
> [ ERROR ] Failed to execute stage 'Misc configuration': function
> getdwhhistorytimekeepingbyvarname(unknown) does not exist LINE 2:   
>  select * from GetDwhHistoryTimekeepingByVarName(   
>^ HINT:  No function matches the given name
> and argument types. You might need to add explicit type casts.
> [ INFO  ] Yum Performing yum transaction rollback
> [ INFO  ] Stage: Clean up
>   Log file is located at
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20150929144137-7u5rhg.log
> [ INFO  ] Generating answer file
> '/var/lib/ovirt-engine/setup/answers/20150929144215-setup.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Execution of setup failed
> 
> 
> Any ideas, where to look to fix things?
> 
> Thanks
> 
> Jon
> ___
> Users mailing list
> Users@ovirt.org <mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Fwd: Re: ***UNCHECKED*** Re: kvm vcpu0 unhandled rdmsr

2016-04-10 Thread gregor
Hi,

has anybody a last tip. Now the third installed Windows Server 2012 R2
VM is damaged and I will move tomorrow my host back to VMWare and leave
oVirt.

regards
gregor

 Forwarded Message 
Subject: Re: [ovirt-users] ***UNCHECKED*** Re:  kvm vcpu0 unhandled rdmsr
Date: Mon, 4 Apr 2016 15:06:52 +0200
From: gregor 
To: Yaniv Kaul 
CC: users 

Hi,

the host and VM are all up-to-date with latest packages for CentOS 7.*.

In /proc/cpuinfo I see "nx" in the flags list, the full list is on the
and of the mail.

Is it possible that this problem destroy the Windows Server 2012 R2 VM?
Now I start the third installation, hopefully this time it will not get
damaged. If it fails again I have to use another virtualization provider
and leave oVirt, and I was so happy to leave VMWare :°(

This is the command line for a VM (got with ps aux ...):
/usr/libexec/qemu-kvm -name srv02 -S -machine
pc-i440fx-rhel7.2.0,accel=kvm,usb=off -cpu Westmere -m
size=2097152k,slots=16,maxmem=4294967296k -realtime mlock=off -smp
1,maxcpus=16,sockets=16,cores=1,threads=1 -numa
node,nodeid=0,cpus=0,mem=2048 -uuid 6765fd03-ac0d-49ea-b8ba-cf10c60d3968
-smbios type=1,manufacturer=oVirt,product=oVirt
Node,version=7-2.1511.el7.centos.2.10,serial=39343937-3439-5A43-3135-353130324542,uuid=6765fd03-ac0d-49ea-b8ba-cf10c60d3968
-no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-srv02/monitor.sock,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=2016-04-03T21:24:06,driftfix=slew -global
kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device
virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x4 -device
virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5
-drive if=none,id=drive-ide0-1-0,readonly=on,format=raw,serial= -device
ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive
file=/rhev/data-center/0001-0001-0001-0001-033d/4443edf0-54aa-4ef5-84c2-a433813f304a/images/f596f9a8-c6c4-41b8-b547-7f83829807fe/5028abbd-35c8-4dcd-95a0-3d0c61dfc2b7,if=none,id=drive-virtio-disk0,format=raw,serial=f596f9a8-c6c4-41b8-b547-7f83829807fe,cache=none,werror=stop,rerror=stop,aio=threads
-device
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
-netdev tap,fd=30,id=hostnet0,vhost=on,vhostfd=31 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:16:01:57,bus=pci.0,addr=0x3
-chardev
socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/6765fd03-ac0d-49ea-b8ba-cf10c60d3968.com.redhat.rhevm.vdsm,server,nowait
-device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm
-chardev
socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/6765fd03-ac0d-49ea-b8ba-cf10c60d3968.org.qemu.guest_agent.0,server,nowait
-device
virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0
-chardev spicevmc,id=charchannel2,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=com.redhat.spice.0
-spice
port=5904,tls-port=5905,addr=0,x509-dir=/etc/pki/vdsm/libvirt-spice,seamless-migration=on
-device
qxl-vga,id=video0,ram_size=67108864,vram_size=33554432,vgamem_mb=16,bus=pci.0,addr=0x2
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on

Here are the full flags list:
fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb
rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx
smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe
popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm arat epb
pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust
bmi1 avx2 smep bmi2 erms invpcid cqm xsaveopt cqm_llc cqm_occup_llc

On 04/04/16 08:52, Yaniv Kaul wrote:
> 
> 
> On Sun, Apr 3, 2016 at 10:07 PM, gregor  <mailto:gregor_fo...@catrix.at>> wrote:
> 
> Update: The problem occur when a VM reboots.
> When I change the CPU Type from default "Intel Haswell-noTSX" to
> "Westmere" the error is gone.
> 
> 
> The error ""kvm ... vcpu0 unhandled rdmsr ..." is quite harmless. 
> I assume you are running the latest qemu/kvm packages.
> Can you ensure NX is enabled on your host?
> In any case, this is most likely a qemu/kvm issue - the command line of
> the VM and information regarding the qemu packages and host versions
> will be needed.
> Y.
>  
> 
> 
> But which CPU type is now the best so I don't lose performance.
> 
> Host CPU: Intel(R) Xeon(R) CPU E5-2603 v3 @ 1.60GHz
> 
> regards
> gregor
> 
> On 03/04/16 20:36, gregor wrote:
&

Re: [ovirt-users] ***UNCHECKED*** Re: kvm vcpu0 unhandled rdmsr

2016-04-04 Thread gregor
Hi,

the host and VM are all up-to-date with latest packages for CentOS 7.*.

In /proc/cpuinfo I see "nx" in the flags list, the full list is on the
and of the mail.

Is it possible that this problem destroy the Windows Server 2012 R2 VM?
Now I start the third installation, hopefully this time it will not get
damaged. If it fails again I have to use another virtualization provider
and leave oVirt, and I was so happy to leave VMWare :°(

This is the command line for a VM (got with ps aux ...):
/usr/libexec/qemu-kvm -name srv02 -S -machine
pc-i440fx-rhel7.2.0,accel=kvm,usb=off -cpu Westmere -m
size=2097152k,slots=16,maxmem=4294967296k -realtime mlock=off -smp
1,maxcpus=16,sockets=16,cores=1,threads=1 -numa
node,nodeid=0,cpus=0,mem=2048 -uuid 6765fd03-ac0d-49ea-b8ba-cf10c60d3968
-smbios type=1,manufacturer=oVirt,product=oVirt
Node,version=7-2.1511.el7.centos.2.10,serial=39343937-3439-5A43-3135-353130324542,uuid=6765fd03-ac0d-49ea-b8ba-cf10c60d3968
-no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-srv02/monitor.sock,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=2016-04-03T21:24:06,driftfix=slew -global
kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device
virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x4 -device
virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5
-drive if=none,id=drive-ide0-1-0,readonly=on,format=raw,serial= -device
ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive
file=/rhev/data-center/0001-0001-0001-0001-033d/4443edf0-54aa-4ef5-84c2-a433813f304a/images/f596f9a8-c6c4-41b8-b547-7f83829807fe/5028abbd-35c8-4dcd-95a0-3d0c61dfc2b7,if=none,id=drive-virtio-disk0,format=raw,serial=f596f9a8-c6c4-41b8-b547-7f83829807fe,cache=none,werror=stop,rerror=stop,aio=threads
-device
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
-netdev tap,fd=30,id=hostnet0,vhost=on,vhostfd=31 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:16:01:57,bus=pci.0,addr=0x3
-chardev
socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/6765fd03-ac0d-49ea-b8ba-cf10c60d3968.com.redhat.rhevm.vdsm,server,nowait
-device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm
-chardev
socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/6765fd03-ac0d-49ea-b8ba-cf10c60d3968.org.qemu.guest_agent.0,server,nowait
-device
virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0
-chardev spicevmc,id=charchannel2,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=com.redhat.spice.0
-spice
port=5904,tls-port=5905,addr=0,x509-dir=/etc/pki/vdsm/libvirt-spice,seamless-migration=on
-device
qxl-vga,id=video0,ram_size=67108864,vram_size=33554432,vgamem_mb=16,bus=pci.0,addr=0x2
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on

Here are the full flags list:
fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb
rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx
smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe
popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm arat epb
pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust
bmi1 avx2 smep bmi2 erms invpcid cqm xsaveopt cqm_llc cqm_occup_llc

On 04/04/16 08:52, Yaniv Kaul wrote:
> 
> 
> On Sun, Apr 3, 2016 at 10:07 PM, gregor  <mailto:gregor_fo...@catrix.at>> wrote:
> 
> Update: The problem occur when a VM reboots.
> When I change the CPU Type from default "Intel Haswell-noTSX" to
> "Westmere" the error is gone.
> 
> 
> The error ""kvm ... vcpu0 unhandled rdmsr ..." is quite harmless. 
> I assume you are running the latest qemu/kvm packages.
> Can you ensure NX is enabled on your host?
> In any case, this is most likely a qemu/kvm issue - the command line of
> the VM and information regarding the qemu packages and host versions
> will be needed.
> Y.
>  
> 
> 
> But which CPU type is now the best so I don't lose performance.
> 
> Host CPU: Intel(R) Xeon(R) CPU E5-2603 v3 @ 1.60GHz
> 
> regards
> gregor
> 
> On 03/04/16 20:36, gregor wrote:
> > Hi,
> >
> > on one Host I get very often the message
> >
> > "kvm ... vcpu0 unhandled rdmsr ..."
> >
> > When this occurs some VM's are stuck. Really bad is this for an
> Windows
> > Server 2012 R2 VM which stucks so heavy that the VM is getting corrupt
&

Re: [ovirt-users] kvm vcpu0 unhandled rdmsr

2016-04-03 Thread gregor
Update: The problem occur when a VM reboots.
When I change the CPU Type from default "Intel Haswell-noTSX" to
"Westmere" the error is gone.

But which CPU type is now the best so I don't lose performance.

Host CPU: Intel(R) Xeon(R) CPU E5-2603 v3 @ 1.60GHz

regards
gregor

On 03/04/16 20:36, gregor wrote:
> Hi,
> 
> on one Host I get very often the message
> 
> "kvm ... vcpu0 unhandled rdmsr ..."
> 
> When this occurs some VM's are stuck. Really bad is this for an Windows
> Server 2012 R2 VM which stucks so heavy that the VM is getting corrupt
> and the VM is unable to boot anymore and a Windows Recovery in any way
> didn't help. Therefor I had to reinstall the VM, this works for some
> day's but now the VM is still damaged. So I can't use Windows Server
> 2012 R2 on this machine but the customer needs it and I have some days
> to ship it to my customer. So I have to decide to stay on oVirt or use
> another product. Besides, oVirt run on my others hosts (without Windows
> VM) very well since a long time.
> On a CentOS 7 VM I have similar problems where the NIC is getting
> offline sometime + the XFS filesystems get some errors and I have to fix
> this in recovery mode.
> 
> oVirt: 3.6.4.1-1.el7.centos
> machine: HP ProLiant ML110 Gen9
> VM's: 3 CentOS 7 and one Windows Server 2012 R2
> 
> I hope somebody can help.
> 
> regards
> gregor
> ___
> 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] kvm vcpu0 unhandled rdmsr

2016-04-03 Thread gregor
Hi,

on one Host I get very often the message

"kvm ... vcpu0 unhandled rdmsr ..."

When this occurs some VM's are stuck. Really bad is this for an Windows
Server 2012 R2 VM which stucks so heavy that the VM is getting corrupt
and the VM is unable to boot anymore and a Windows Recovery in any way
didn't help. Therefor I had to reinstall the VM, this works for some
day's but now the VM is still damaged. So I can't use Windows Server
2012 R2 on this machine but the customer needs it and I have some days
to ship it to my customer. So I have to decide to stay on oVirt or use
another product. Besides, oVirt run on my others hosts (without Windows
VM) very well since a long time.
On a CentOS 7 VM I have similar problems where the NIC is getting
offline sometime + the XFS filesystems get some errors and I have to fix
this in recovery mode.

oVirt: 3.6.4.1-1.el7.centos
machine: HP ProLiant ML110 Gen9
VM's: 3 CentOS 7 and one Windows Server 2012 R2

I hope somebody can help.

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


Re: [ovirt-users] virt-viewer shows no bootoption

2016-04-02 Thread gregor
At last I found it ;-)

Run Once -> Set boot options and select "start paused"

regards
gregor

On 03/04/16 08:46, gregor wrote:
> Hi,
> 
> did you find a solution? I have here a similar problem, the boot
> menu isn't shown because the VM boots to fast or the console
> connection fire up to slow to I step into the screen after the boot
> menu appears.
> 
> Is it possible to add a delay to the boot menu? (10 seconds, ...)
> 
> I have a broken Windows VM where I try the last 30 minutes to boot
> from the DVD but the console connections connects so slow that it
> is always in the boot phase and skips to boot from the Windows iso.
> It boots also from the harddisk but it it is not set in the boot
> options.
> 
> regards gregor
> 
> On 11/12/15 17:50, Taste-Of-IT wrote:
>> Am 2015-12-11 16:37, schrieb Simone Tiraboschi:
>>> On Fri, Dec 11, 2015 at 11:10 AM, Taste-Of-IT
>>>  wrote:
>>> 
>>>> Hello,
>>>> 
>>>> i will install my first vm with centos and setup vnc and
>>>> spice with bootoption and centos as iso in dvd drive. i
>>>> downloaded virt-viewer 3.1 for my windows10. if i start the
>>>> vnc console which opened console.vv and than opened the
>>>> virt-viewer i see only message of bios version and no boot
>>>> medium as information. if i reboot the screen doesnt changed
>>>> and i also have no option from the activated bootmenue? Can
>>>> anyone help?
>>> 
>>> Edit virtual machine -> Show Advanced Options -> Boot Options 
>>> -> Enable boot menu -> reboot
>>> 
>>> 
>>> 
>>>> ___ Users mailing
>>>> list Users@ovirt.org 
>>>> http://lists.ovirt.org/mailman/listinfo/users [1]
>>> 
>>> 
>>> 
>>> Links: -- [1]
>>> http://lists.ovirt.org/mailman/listinfo/users
>> 
>> Hi, thats what i have done. And i also choose the dvd-boot-iso on
>> first position for boot, but i cant see the menu in viewer. 
>> ___ 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] virt-viewer shows no bootoption

2016-04-02 Thread gregor
Hi,

did you find a solution?
I have here a similar problem, the boot menu isn't shown because the VM
boots to fast or the console connection fire up to slow to I step into
the screen after the boot menu appears.

Is it possible to add a delay to the boot menu? (10 seconds, ...)

I have a broken Windows VM where I try the last 30 minutes to boot from
the DVD but the console connections connects so slow that it is always
in the boot phase and skips to boot from the Windows iso. It boots also
from the harddisk but it it is not set in the boot options.

regards
gregor

On 11/12/15 17:50, Taste-Of-IT wrote:
> Am 2015-12-11 16:37, schrieb Simone Tiraboschi:
>> On Fri, Dec 11, 2015 at 11:10 AM, Taste-Of-IT 
>> wrote:
>>
>>> Hello,
>>>
>>> i will install my first vm with centos and setup vnc and spice with
>>> bootoption and centos as iso in dvd drive. i downloaded virt-viewer
>>> 3.1 for my windows10. if i start the vnc console which opened
>>> console.vv and than opened the virt-viewer i see only message of
>>> bios version and no boot medium as information. if i reboot the
>>> screen doesnt changed and i also have no option from the activated
>>> bootmenue? Can anyone help?
>>
>> Edit virtual machine -> Show Advanced Options -> Boot Options
>> -> Enable boot menu -> reboot
>>
>>  
>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users [1]
>>
>>
>>
>> Links:
>> --
>> [1] http://lists.ovirt.org/mailman/listinfo/users
> 
> Hi,
> thats what i have done. And i also choose the dvd-boot-iso on first
> position for boot, but i cant see the menu in viewer.
> ___
> 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] Cannot delete snapshot or export VM after adding disk

2016-02-28 Thread gregor
I hope not. Now I realized that this is a serious problem on other VM's
where it isn't possible anymore to delete snapshots, create snapshots.
These affects 3 very important VM's which costs a lot of work-hours :-(

regards
gregor

On 28/02/16 15:48, Nir Soffer wrote:
> On Sun, Feb 28, 2016 at 4:33 PM, gregor  <mailto:gregor_fo...@catrix.at>> wrote:
> 
> Hi,
> 
> after the following workflow I can't remove or create a snapshot neither
> export the VM.
> 
> - Create a VM
> - Add a disk with 1GB
> - Make a snapshot
> - Add another disk with 1GB
> - Export the VM
> 
> Now you I get the following error in the events list:
> 
> VDSM host01 command failed: Error during destination image manipulation
> 
> 
> Did I understand something wrong or is there a bug?
> 
> 
> Smells like a bug.
> 
> Please file a bug and attach full vdsm and engine logs.
> 
> Nir
>  
> 
> 
> Besides: The web-interface is extremely slow and copy&paste the error
> messages are painful.
> 
> regards
> gregor
> ___
> Users mailing list
> Users@ovirt.org <mailto: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] Cannot delete snapshot or export VM after adding disk

2016-02-28 Thread gregor
Hi,

after the following workflow I can't remove or create a snapshot neither
export the VM.

- Create a VM
- Add a disk with 1GB
- Make a snapshot
- Add another disk with 1GB
- Export the VM

Now you I get the following error in the events list:

VDSM host01 command failed: Error during destination image manipulation


Did I understand something wrong or is there a bug?

Besides: The web-interface is extremely slow and copy&paste the error
messages are painful.

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


Re: [ovirt-users] HP ProLiant ML10 v2 or ML110 Gen9 with Windows Server Essentials 2012 R2 guest

2016-02-14 Thread gregor
Update: With the HP Proliant ML110 Gen9 and the Cpu "Intel(R) Xeon(R)
CPU E5-2603 v3 @ 1.60GHz" Windows Server Essentials 2012 R2 works.

regards
gregor

On 17/01/16 17:21, gregor wrote:
> Thank you, I realized the same hours ago and play currently with qemu on
> my machine to see if this works.
> The host CPU on my workstation is: Intel(R) Core(TM)2 Quad CPUQ9650
> Here the Westmere cpu setting worked.
> 
> On the server I configured for my customer I choose an Intel Xeon E5-2603V3
> 
> Link to the specification:
> http://ark.intel.com/products/83349/Intel-Xeon-Processor-E5-2603-v3-15M-Cache-1_60-GHz
> 
> regards
> gregor
> 
> On 17/01/16 16:22, Chris Adams wrote:
>> Once upon a time, gregor  said:
>>> And will Windows Server 2012 run in oVirt,
>>> because on my test machine (HP ProLiant ML350 G5) it didn't (maybe the
>>> CPU is to old).
>>
>> I just went through trying to get Windows Server 2012 Essentials (both
>> "original" and R2) running on a cluster with Nehalem CPUs, and it would
>> blue-screen during install.  I replicated the problem on my Fedora
>> desktop with plain KVM set up to emulate a Nehalem CPU.  When I switched
>> to Westmere or newer, Windows worked.
>>
>> This appears to be some difference between Essentials and Standard
>> edition (I am running Windows Server 2012 Standard VMs on my cluster
>> just fine).  A co-worker searching around on the Internet also found
>> some VirtualBox users having similar issues with Essentials.
>>
>> So, with Westmere or newer CPU, I think Essentials should be okay, but
>> don't try it with Nehalem.
>>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2016-02-14 Thread gregor
Hi,

Thanks to the tip. I solved it with the ovirt-shell.

Examples see:
http://www.ovirt.org/CLI#Scripting


regards
gregor

On 07/02/16 08:55, Joop van de Wege wrote:
> On February 6, 2016 11:00:41 PM CET, gregor  wrote:
>> Hi,
>>
>> I use oVirt all-in-one 3.6, is there a setting to automatically start
>> selected VM's when the host has rebooted? This can happen on power
>> failure when the UPS is running to low.
> No there isn't but you can script it using ovirt-shell or a python script.
> 
> Joop
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2016-02-14 Thread gregor
Hi,

I installed oVirt 3.6 with the host CPU "Intel(R) Xeon(R) CPU E5-2603 v3
@ 1.60GHz".

Installation and running of Windows Server Essentials 2012 R2 is possible.

These settings have to change to use the VM.
- Disk: Interface IDE
- Network: Type e1000

Here I have no problem with the CPU type, the cluster is set by default
to "Intel Haswell-noTSX Family".

regards
gregor

On 08/02/16 17:20, Alan Murrell wrote:
> Hi Gregor,
> 
> Thank you for the response.
> 
> On 06/02/2016 2:05 PM, gregor wrote:
>> On my test machine I had run qemu with the cpu "Westmere"
> 
> I changed the CPU for the Windows Server 2012 R2 VM from the default
> (Sandybridge) to "Westmere", but the same issue occurs :-(
> 
> Regards,
> 
> ALan
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2016-02-06 Thread gregor
Hi,

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

Maybe this will help.

regards
gregor

On 06/02/16 09:34, Alan Murrell wrote:
> Hello,
> 
> oVirt: 3.6.1
> qemu: 2.3.0
> 
> I installed a Windows Server 2012R2 guest.  The install is good, but
> when the guest boots into Windows, the Server 2012 version of the BSOD
> comes up,then goes to a "DOS" screen that has an error code '0xc001'
> 
> I have tried using a VirtIO HDD and IDE; both result in the same error.
> 
> Any ideas what the issue might be?  CPU is Sandybridge, if that makes a
> difference.
> 
> Regards,
> 
> Alan
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Startup VM after host reboot

2016-02-06 Thread gregor
Hi,

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

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


Re: [ovirt-users] Ovirt python API clone VM to other data domain

2016-01-22 Thread gregor
Hi,

if you have issues or improvements please post this on github to improve
the backup tool.

https://github.com/wefixit-AT/oVirtBackup/issues

regards
gregor

On 20/01/16 10:20, Algirdas Žemaitis wrote:
> Thank you, this was the solution, 
> Modified version of original script available here: 
> http://pastebin.com/GEtSJMCN
> Original : https://github.com/wefixit-AT/oVirtBackup
> 
> Diff: moded version is doing backup for all running VMS in cluster, trying to 
> clone VM into different storage domain (avoiding load on main domain)
> Please remove "iterration" if statement, I was using it to stop script from 
> doing backup for all VMs (testing)
> 
> -Original Message-
> From: Juan Hernández [mailto:jhern...@redhat.com] 
> Sent: Monday, January 18, 2016 5:37 PM
> To: Algirdas Žemaitis ; users@ovirt.org
> Subject: Re: [ovirt-users] Ovirt python API clone VM to other data domain
> 
> On 01/18/2016 03:39 PM, Algirdas Žemaitis wrote:
>> Hello,
>>
>>  
>>
>> It seems ovirt API lacks of possibility to define storage domain, in 
>> which cloned vm (from snapshot) will be created, is it done on 
>> purpose, or it is just missing/under development ?
>>
>>  
>>
>> Scenario using WEB GUI :
>>
>> Create snapshot of any running VM, right-click on snapshot, select “clone”
>>
>> In pop-up window you can enter new VM name etc, under “resource 
>> allocation” section **you can select where it will be created**
>>
>>  
>>
>>  
>>
>> Scenario using python-sdk/ovirt-api
>>
>>  
>>
>> I was trying to create vm for example like this:
>>
>> ##
>>
>> vm_params = params.VM(name=vm_from_list + '__bak', 
>> cluster=api.clusters.get("Default"),
>> storage_domain=api.storagedomains.get("temp"), memory=vm.get_memory(),
>> snapshots=snapshots_param)
>>
>> api.vms.add(vm_params)
>>
>> ##
>>
>> # temp is „other“ storage domain, NFS v3
>>
>> VM will be still created on same storage as original VM, no matter 
>> what domain I will define in params...
>>
>> Also tried other variations, using templates, disk profiles and so on, 
>> but nothing has changed where new VM is created.
>>
>>  
>>
>> I know cloning is not intended for backup purpose, but it is 
>> workaround probably half of Ovirt users use.
>>
>> In my case, it is not very smart to do snapshot and create VM 
>> (allocate disk space, etc) on same storage domain where there is 
>> already running a lot of VMs, environment is already busy.
>>
>>  
>>
>> Thanks !
>>
> 
> See here:
> 
> http://lists.ovirt.org/pipermail/users/2016-January/037321.html
> 
> --
> Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 
> 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. 
> B82657941 - Red Hat S.L.
> ___
> 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] SDK: Direct export of a snapshot into a storage domain?

2016-01-22 Thread gregor
Hi,

is it possible to export a snapshot directly into a storage domain?

This will improve the speed and space overhead of my backup, tool.

https://github.com/wefixit-AT/oVirtBackup/issues/7

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


Re: [ovirt-users] HP ProLiant ML10 v2 or ML110 Gen9 with Windows Server Essentials 2012 R2 guest

2016-01-17 Thread gregor
Thank you, I realized the same hours ago and play currently with qemu on
my machine to see if this works.
The host CPU on my workstation is: Intel(R) Core(TM)2 Quad CPUQ9650
Here the Westmere cpu setting worked.

On the server I configured for my customer I choose an Intel Xeon E5-2603V3

Link to the specification:
http://ark.intel.com/products/83349/Intel-Xeon-Processor-E5-2603-v3-15M-Cache-1_60-GHz

regards
gregor

On 17/01/16 16:22, Chris Adams wrote:
> Once upon a time, gregor  said:
>> And will Windows Server 2012 run in oVirt,
>> because on my test machine (HP ProLiant ML350 G5) it didn't (maybe the
>> CPU is to old).
> 
> I just went through trying to get Windows Server 2012 Essentials (both
> "original" and R2) running on a cluster with Nehalem CPUs, and it would
> blue-screen during install.  I replicated the problem on my Fedora
> desktop with plain KVM set up to emulate a Nehalem CPU.  When I switched
> to Westmere or newer, Windows worked.
> 
> This appears to be some difference between Essentials and Standard
> edition (I am running Windows Server 2012 Standard VMs on my cluster
> just fine).  A co-worker searching around on the Internet also found
> some VirtualBox users having similar issues with Essentials.
> 
> So, with Westmere or newer CPU, I think Essentials should be okay, but
> don't try it with Nehalem.
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] HP ProLiant ML10 v2 or ML110 Gen9 with Windows Server Essentials 2012 R2 guest

2016-01-17 Thread gregor
The price is nearly double ML10 v2 about 900€ and ML110 Gen9 about 1800€
but the ML10 has only 2 cores and the ML110 6 cores.

Thanks for the hints I will compare different vendors too.

The use case is very simple:
- 6 clients
- 1 windows server to manage the clients
- 1 linux server for nagios, controller for wifi and other stuff
- 1 linux server for the firewall

regards
gregor

On 17/01/16 14:23, Yaniv Kaul wrote:
> 
> 
> On Sun, Jan 17, 2016 at 2:56 PM, gregor  <mailto:gregor_fo...@catrix.at>> wrote:
> 
> Hi,
> 
> I planned for a new customer to use oVirt instead of competitor
> virtualization.
> 
> Here are the environment:
> 
> Server choices:
> 1. HP ProLiant ML10 v2: 1x Dual Core 3,1GHz with 12GB RAM
> 2. HP ProLiant ML110 Gen9: 1x Xeon 1,6GHz with 12GB RAM
> 
> 
> What you really need to compare first of all are the processors, where
> more cores is (usually) preferred, then memory speed and lastly,
> expandability.
> But of course, it really depends on budget and use case (for example, if
> IO is critical, I'd spend more on higher performing drives / more drives
> / caching).
> There's no clear cut winner here, especially without knowing the price
> difference and use case.
> Y.
> 
> 
> 
> Harddisk:
> - Raid1 on two SATA 2TB drives
> 
> Guests:
> - 1x Windows Server Essentials 2012 R2
> - 2x CentOS 7
> 
> Clients:
> - 6 Windows Clients
> 
> Will the ML10 v2 server serve the needed performance? Because its a way
> cheaper than the ML110. And will Windows Server 2012 run in oVirt,
> because on my test machine (HP ProLiant ML350 G5) it didn't (maybe the
> CPU is to old).
> 
> regards
> gregor
> ___
> Users mailing list
> Users@ovirt.org <mailto: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] HP ProLiant ML10 v2 or ML110 Gen9 with Windows Server Essentials 2012 R2 guest

2016-01-17 Thread gregor
Hi,

I planned for a new customer to use oVirt instead of competitor
virtualization.

Here are the environment:

Server choices:
1. HP ProLiant ML10 v2: 1x Dual Core 3,1GHz with 12GB RAM
2. HP ProLiant ML110 Gen9: 1x Xeon 1,6GHz with 12GB RAM

Harddisk:
- Raid1 on two SATA 2TB drives

Guests:
- 1x Windows Server Essentials 2012 R2
- 2x CentOS 7

Clients:
- 6 Windows Clients

Will the ML10 v2 server serve the needed performance? Because its a way
cheaper than the ML110. And will Windows Server 2012 run in oVirt,
because on my test machine (HP ProLiant ML350 G5) it didn't (maybe the
CPU is to old).

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


Re: [ovirt-users] ISO Domain: How to delete an ISO

2016-01-14 Thread gregor
Thank you, this worked.
I though it should be handled with care because there are such a fancy
tool like the ovirt-iso-uploader. Why creating a tool to upload images
when this can be done by hand like removing the image?

regards
gregor

On 14/01/16 16:16, Douglas Schilling Landgraf wrote:
> Hi,
> 
> On 01/14/2016 10:06 AM, gregor wrote:
>> Hi,
>>
>> how can I delete an ISO from the ISO Domain?
>> There are no hints in the documentation. I found only a restricted page
>> for RedHat Customers only, but it isn't sure if there is really a
>> solution.
>>
>> Hopefully somebody can help, this can't be such a secret.
> It's not secret, it's open source software.
> 
> You can remove the iso manually:
> 
> Just mount the NFS server which provide the export for ISOs. As soon you
> mount it, look for the
> dir images, under images you will see other dir
> '----' that
> holds the ISOs.
> 
> Example:
> e3dfa5bf-a5fc-408e-8fa4-acafbaa92e3c/images/----/ovirt-node-iso-3.6-0.999.201512132115.el7.centos.iso
> 
> 
> After removing, go to Admin portal -> Storage -> ISO -> Images and the
> image should be gone.
> 
> 
>>
>> regards
>> gregor
>> ___
>> 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] ISO Domain: How to delete an ISO

2016-01-14 Thread gregor
Hi,

how can I delete an ISO from the ISO Domain?
There are no hints in the documentation. I found only a restricted page
for RedHat Customers only, but it isn't sure if there is really a solution.

Hopefully somebody can help, this can't be such a secret.

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


Re: [ovirt-users] Add node to engine 3.6: "no unique id"

2015-12-27 Thread gregor
Thanks this solved the problem on the node.

Regards
gregor

On 27/12/15 15:19, Alon Bar-Lev wrote:
> Hi,
> 
> This usually happens when bios does not report unique id.
> 
> At node, exit to shell using F2 then:
> # uuidgen > /etc/vdsm/vdsm.id
> And retry registration.
> 
> Alternatively, configure root password and add the node via engine.
> 
> Regards,
> Alon Bar-Lev.
> 
> - Original Message -
>> From: "gregor" 
>> To: "users" 
>> Sent: Sunday, December 27, 2015 3:37:00 PM
>> Subject: [ovirt-users] Add node to engine 3.6: "no unique id"
>>
>> Hi,
>>
>> I added a oVirt node (3.6) to my engine (3.6) and get the following
>> message when I try to activate it:
>>
>> ---
>> Cannot activate Host. Host has no unique id.
>> ---
>>
>> Image: ovirt-node-iso-3.6-0.999.201512132115.el7.centos.iso
>>
>> regards
>> gregor
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] VM CPU stuck after upgrade to 3.6

2015-12-27 Thread gregor
Hi,

I recently upgraded from 3.5 to 3.6. The way I did is maybe for others
complicated but it worked: Export the VM's, remove 3.5, install 3.6
fresh and import the VM's. The normal upgrade way did not work in my
case and after many tries I did it the described way.

Now I have sometimes the problem that my Centos VM's throw a kernel
error like this:

--
kernel:BUG: soft lockup - CPU#0 stuck for 22s! [python:730]
--

Whats wrong here? I see no resource-problem the host usage is: memory
85%, CPU 62%

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


[ovirt-users] Add node to engine 3.6: "no unique id"

2015-12-27 Thread gregor
Hi,

I added a oVirt node (3.6) to my engine (3.6) and get the following
message when I try to activate it:

---
Cannot activate Host. Host has no unique id.
---

Image: ovirt-node-iso-3.6-0.999.201512132115.el7.centos.iso

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


Re: [ovirt-users] Which browser should I use?

2015-12-27 Thread gregor
Thanks you :-)

Regards
gregor

On 27/12/15 09:29, Yaniv Dary wrote:
> We will be changing this message soon. All modern browsers should work.
> 
> On Dec 26, 2015 15:26, "noc"  <mailto:n...@nieuwland.nl>> wrote:
> 
> On 26-12-2015 12:28, gregor wrote:
> > Hi,
> >
> > after a painful upgrade from 3.5 to 3.6 (AIO) I try to figure out
> the deeper meaning of the message which is display on the webinterface.
> >
> > "This Browser version isn't optimal for displaying the application
> graphics (refer to Documentation for details)"
> >
> > Can anybody please point me where in the Documentation this is
> explained?
> >
> > I tried the latest Firefox and Google-Chrome from arch linux but
> still get these message? (I hope it doesn't mean to use the Internet
> Explorer or now known as Edge)
> >
> All modern browsers work fine. It has todo with the fact that compiling
> ovirt-engine for all browser versions is taking to much resources. It
> has to do with how ovirt uses GWT if I'm correct.
> Searching the mailinglist for this message + GWT will probably reveal a
> message from a developer with a bit more info than I can remember.
> 
> Regards,
> 
> Joop
> 
> ___
> Users mailing list
> Users@ovirt.org <mailto: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] Which browser should I use?

2015-12-26 Thread gregor
Hi,

after a painful upgrade from 3.5 to 3.6 (AIO) I try to figure out the deeper 
meaning of the message which is display on the webinterface.

"This Browser version isn't optimal for displaying the application graphics 
(refer to Documentation for details)"

Can anybody please point me where in the Documentation this is explained?

I tried the latest Firefox and Google-Chrome from arch linux but still get 
these message? (I hope it doesn't mean to use the Internet Explorer or now 
known as Edge)

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


Re: [ovirt-users] Python: Clone snapshot into VM

2015-09-19 Thread gregor
Hi,

a new version is available on github which supports a list of VM's in
the config.

https://github.com/wefixit-AT/oVirtBackup

cheers
gregor

On 2015-09-18 07:50, Karli Sjöberg wrote:
> tor 2015-09-17 klockan 21:24 +0200 skrev gregor:
>> Hi,
>>
>> thanks, the tool is ready and online on github.
> 
> Looks really cool. Good job! What do you think of making the backing up
> into a loop and fetching VMs from a list? My thinking is that you
> usually have more than one VM you´d want to back up, so something like
> this maybe:
> 
> def getVMsFromList(VMS_LIST):
> try:
> print 'Getting list of VMs from file \"%s\".' % (VMS_LIST)
> fo = open(VMS_LIST)
> output = []
> for line in fo:
> strippedline = line.strip('\r\n')
> output.append(strippedline)
> fo.close()
> return output
> except Exception as e:
> print 'Exception in getting list of VMs:\n%s' % str(e)
> exit(1)
> 
> And then you can loop:
> for LIST_VM_NAME in getVMsFromList('VMs.list'):
> 
> 
> Or to have the list of VMs in the config and then:
> config = Config(config_file, debug)
> VMS_LIST = vms_list
> for LIST_VM_NAME in getVMsFromList(VMS_LIST):
> 
> 
> /K
> 
>>
>> https://github.com/wefixit-AT/oVirtBackup
>>
>> cheers
>> gregor
>>
>> On 2015-09-16 15:11, Amador Pahim wrote:
>>> On 09/15/2015 11:57 AM, gregor wrote:
>>>> Hi,
>>>>
>>>> I write currently a little backup tool in Python which use the following
>>>> workflow:
>>>> - create a snapshot -> works
>>>> - clone snapshot into VM -> help needed
>>>
>>> snapshot =
>>> params.Snapshot(id=api.vms.get('my_vm01').snapshots.list(description='my_vm_snap_01')[0].id)
>>>
>>>
>>> snapshots = params.Snapshots(snapshot=[snapshot])
>>>
>>> api.vms.add(params.VM(name='new_vm', memory=2524971008,
>>> cluster=api.clusters.get("Default"), snapshots=snapshots))
>>>
>>>> - delete the snapshot -> works
>>>> - export VM to NFS share -> works
>>>> - delete cloned VM -> TODO
>>>>
>>>> Is it possible to clone a snapshot into a VM like from the web-interface?
>>>>
>>>> The above workflow is a little bit resource expensive but it will when
>>>> it is finished make Online-Full-backups of VM's.
>>>>
>>>> cheers
>>>> gregor
>>>> ___
>>>> 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] Python: Clone snapshot into VM

2015-09-17 Thread gregor
Hi,

this was also an idea but with the single backup script you have the
advantage of backing up more than one VM at a time to speed up the
overall backup time and therefore to backup to different clusters and
different export domains.

But I will change the tool to set a list of VM's in the configuration to
cover both ways.

greetings
gregor

On 2015-09-18 07:50, Karli Sjöberg wrote:
> tor 2015-09-17 klockan 21:24 +0200 skrev gregor:
>> Hi,
>>
>> thanks, the tool is ready and online on github.
> 
> Looks really cool. Good job! What do you think of making the backing up
> into a loop and fetching VMs from a list? My thinking is that you
> usually have more than one VM you´d want to back up, so something like
> this maybe:
> 
> def getVMsFromList(VMS_LIST):
> try:
> print 'Getting list of VMs from file \"%s\".' % (VMS_LIST)
> fo = open(VMS_LIST)
> output = []
> for line in fo:
> strippedline = line.strip('\r\n')
> output.append(strippedline)
> fo.close()
> return output
> except Exception as e:
> print 'Exception in getting list of VMs:\n%s' % str(e)
> exit(1)
> 
> And then you can loop:
> for LIST_VM_NAME in getVMsFromList('VMs.list'):
> 
> 
> Or to have the list of VMs in the config and then:
> config = Config(config_file, debug)
> VMS_LIST = vms_list
> for LIST_VM_NAME in getVMsFromList(VMS_LIST):
> 
> 
> /K
> 
>>
>> https://github.com/wefixit-AT/oVirtBackup
>>
>> cheers
>> gregor
>>
>> On 2015-09-16 15:11, Amador Pahim wrote:
>>> On 09/15/2015 11:57 AM, gregor wrote:
>>>> Hi,
>>>>
>>>> I write currently a little backup tool in Python which use the following
>>>> workflow:
>>>> - create a snapshot -> works
>>>> - clone snapshot into VM -> help needed
>>>
>>> snapshot =
>>> params.Snapshot(id=api.vms.get('my_vm01').snapshots.list(description='my_vm_snap_01')[0].id)
>>>
>>>
>>> snapshots = params.Snapshots(snapshot=[snapshot])
>>>
>>> api.vms.add(params.VM(name='new_vm', memory=2524971008,
>>> cluster=api.clusters.get("Default"), snapshots=snapshots))
>>>
>>>> - delete the snapshot -> works
>>>> - export VM to NFS share -> works
>>>> - delete cloned VM -> TODO
>>>>
>>>> Is it possible to clone a snapshot into a VM like from the web-interface?
>>>>
>>>> The above workflow is a little bit resource expensive but it will when
>>>> it is finished make Online-Full-backups of VM's.
>>>>
>>>> cheers
>>>> gregor
>>>> ___
>>>> 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] Daily online VM backups

2015-09-17 Thread gregor
Hi, no this was not my intention. I was searching what is currently
available and possible. After this I wrote a little
online-fullbackup-tool and published it on github.

https://github.com/wefixit-AT/oVirtBackup

cheers
gregor

ps: sorry for double sending, I forget to cc it to the list

On 2015-08-31 12:26, Jiri Belka wrote:
>> From: "gregor" 
>> To: Users@ovirt.org
>> Sent: Sunday, August 30, 2015 11:01:49 AM
>> Subject: [ovirt-users] Daily online VM backups
>>
>> Hi,
>>
>> what is the best way to make daily backups of my VM's without shutting
>> them down?
>>
>> I found the Backup-Restore API and other stuff but no running
>> tool/script which I can use. I plan to integrate it into backuppc. Or is
>> there any "Best practice guide for backup"? ;-)
>>
>> In the meantime I integrated engine-backup into backuppc as a pre-script.
> 
> IIUC you know the technical part of the topic but you want
> somebody will write for you backup scripts?
> 
> j.
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Python: Clone snapshot into VM

2015-09-17 Thread gregor
Hi,

thanks, the tool is ready and online on github.

https://github.com/wefixit-AT/oVirtBackup

cheers
gregor

On 2015-09-16 15:11, Amador Pahim wrote:
> On 09/15/2015 11:57 AM, gregor wrote:
>> Hi,
>>
>> I write currently a little backup tool in Python which use the following
>> workflow:
>> - create a snapshot -> works
>> - clone snapshot into VM -> help needed
> 
> snapshot =
> params.Snapshot(id=api.vms.get('my_vm01').snapshots.list(description='my_vm_snap_01')[0].id)
> 
> 
> snapshots = params.Snapshots(snapshot=[snapshot])
> 
> api.vms.add(params.VM(name='new_vm', memory=2524971008,
> cluster=api.clusters.get("Default"), snapshots=snapshots))
> 
>> - delete the snapshot -> works
>> - export VM to NFS share -> works
>> - delete cloned VM -> TODO
>>
>> Is it possible to clone a snapshot into a VM like from the web-interface?
>>
>> The above workflow is a little bit resource expensive but it will when
>> it is finished make Online-Full-backups of VM's.
>>
>> cheers
>> gregor
>> ___
>> 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] VLAN with one NIC

2015-09-15 Thread gregor
Thanks for the information's. I attached a second NIC to solve this,
then it was easy to configure ovirt to use the tagged and untagged network.

Regards
gregor

On 2015-09-06 08:31, Genadi Chereshnya wrote:
> Hi,
> Indeed at this stage it is not supported to have VM and VLAN networks on the 
> same physical interface.
> I know it is supposed to be changed in the future (if I understand correctly 
> it is already supported on the VDSM side).
> 
> For now you can have 2 VLAN networks on the same interface ( so if it works 
> for your specific scenario you can tag the management network)
> Or you can configure the Management network to be non-VM as was proposed 
> earlier and then you can add VLAN networks to the same interface (for such 
> scenario you can't have management network to be configured on your VMs)
> Of course if you can have or add additional NICs to you host device, and then 
> you can configure Management network on one of the interfaces and VLAN on 
> another.
> 
> Regards,
>Genadi
> 
> - Original Message -
> From: "Chris Liebman" 
> To: "gregor" 
> Cc: "users" 
> Sent: Friday, September 4, 2015 7:58:43 PM
> Subject: Re: [ovirt-users] VLAN with one NIC
> 
> 
> 
> If your sharing a physical interface with both tagged and untagged traffic 
> they don't allow VM's on the untagged link. I believe this is because some 
> earlier versions of the bridging code in the kernel would allow pass the 
> tagged traffic to VM's located on the untagged interface. That being a 
> security issue. 
> 
> 
> On Fri, Sep 4, 2015 at 9:47 AM, gregor < gregor_fo...@catrix.at > wrote: 
> 
> 
> Thanks, now I can use the eth0 to connect to the web-interface and the 
> logical vlan network to use in a VM but I can't use the untagged VLAN1 
> in the VM. When I add a new logical network without VLAN tagging the 
> web-interface returns "Cannot have more than one non-VLAN network on one 
> interface." 
> 
> When I create a logical network with taggged ID 1 I can't connect from a 
> VM to my VLAN1. 
> 
> So I have to find a way to created the following networks: 
> - ovirtmgmt: without tagged vlan for managing -> works 
> - vlan1: without tagged vlan for the VM's to connect to my default 
> network -> currently no solution 
> - vlan10: tagged vlan with id 10 -> works 
> 
> cheers 
> gregor 
> 
> On 2015-09-04 18:05, Chris Liebman wrote: 
>> You have to edit the ovirtgmt network and un-check the "VM Network" box: 
>>
>> Inline image 1 
>>
>> On Fri, Sep 4, 2015 at 8:47 AM, gregor < gregor_fo...@catrix.at 
>> > wrote: 
>>
>> Hi, 
>>
>> is it possible to use different VLAN with one NIC in ovirt? 
>>
>> I can not add a logical network configured as VLAN to my ovirtmgmt 
>> interface, I get "Cannot have a non-VLAN VM network and VLAN-tagged 
>> networks on one interface." 
>>
>> The setup for the Port is a trunk of different tagged VLAN's and the 
>> default VLAN1 is untagged. Normally this work under centos where I give 
>> the nic eth0 an IP and create a nic eth0.10 for the VLAN with ID 10 and 
>> set an IP for it. 
>>
>> cheers 
>> gregor 
>>
>> ___ 
>> Users mailing list 
>> Users@ovirt.org  
>> http://lists.ovirt.org/mailman/listinfo/users 
>>
>>
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Python: Clone snapshot into VM

2015-09-15 Thread gregor
Hi,

I write currently a little backup tool in Python which use the following
workflow:
- create a snapshot -> works
- clone snapshot into VM -> help needed
- delete the snapshot -> works
- export VM to NFS share -> works
- delete cloned VM -> TODO

Is it possible to clone a snapshot into a VM like from the web-interface?

The above workflow is a little bit resource expensive but it will when
it is finished make Online-Full-backups of VM's.

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


Re: [ovirt-users] VLAN with one NIC

2015-09-04 Thread gregor
Thanks, now I can use the eth0 to connect to the web-interface and the
logical vlan network to use in a VM but I can't use the untagged VLAN1
in the VM. When I add a new logical network without VLAN tagging the
web-interface returns "Cannot have more than one non-VLAN network on one
interface."

When I create a logical network with taggged ID 1 I can't connect from a
VM to my VLAN1.

So I have to find a way to created the following networks:
- ovirtmgmt: without tagged vlan for managing -> works
- vlan1: without tagged vlan for the VM's to connect to my default
network -> currently no solution
- vlan10: tagged vlan with id 10 -> works

cheers
gregor

On 2015-09-04 18:05, Chris Liebman wrote:
> You have to edit the ovirtgmt network and un-check the "VM Network" box:
> 
> Inline image 1
> 
> On Fri, Sep 4, 2015 at 8:47 AM, gregor  <mailto:gregor_fo...@catrix.at>> wrote:
> 
> Hi,
> 
> is it possible to use different VLAN with one NIC in ovirt?
> 
> I can not add a logical network configured as VLAN to my ovirtmgmt
> interface, I get "Cannot have a non-VLAN VM network and VLAN-tagged
> networks on one interface."
> 
> The setup for the Port is a trunk of different tagged VLAN's and the
> default VLAN1 is untagged. Normally this work under centos where I give
> the nic eth0 an IP and create a nic eth0.10 for the VLAN with ID 10 and
> set an IP for it.
> 
> cheers
> gregor
> 
> ___
> Users mailing list
> Users@ovirt.org <mailto: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] VLAN with one NIC

2015-09-04 Thread gregor
Hi,

is it possible to use different VLAN with one NIC in ovirt?

I can not add a logical network configured as VLAN to my ovirtmgmt
interface, I get "Cannot have a non-VLAN VM network and VLAN-tagged
networks on one interface."

The setup for the Port is a trunk of different tagged VLAN's and the
default VLAN1 is untagged. Normally this work under centos where I give
the nic eth0 an IP and create a nic eth0.10 for the VLAN with ID 10 and
set an IP for it.

cheers
gregor

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


[ovirt-users] Automatically start VM after host reboot

2015-08-30 Thread gregor
Hi,

I installed oVirt allinone, is there a way to automatically start
certain VM's after the host reboots?

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


[ovirt-users] Daily online VM backups

2015-08-30 Thread gregor
Hi,

what is the best way to make daily backups of my VM's without shutting
them down?

I found the Backup-Restore API and other stuff but no running
tool/script which I can use. I plan to integrate it into backuppc. Or is
there any "Best practice guide for backup"? ;-)

In the meantime I integrated engine-backup into backuppc as a pre-script.

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


Re: [ovirt-users] New storage domain on nfs share

2015-08-30 Thread gregor
No, but only in the allinone installation. When I install only the
engine, where I have to create a the cluster by my self, I can create a
NFS Data.
Another solution/workaround is to mount the NFS share in the underlying
operating system and use this "local" folder.

cheers
gregor

On 2015-08-30 09:49, Aharon Canan wrote:
> don't you have an option to create data NFS domain?
> 
> 
> 
> Regards,
> __
> Aharon Canan
> 
> ----
> 
> *From: *"gregor" 
> *To: *users@ovirt.org
> *Sent: *Friday, August 28, 2015 8:37:59 PM
> *Subject: *[ovirt-users] New storage domain on nfs share
> 
> Hi,
> 
> what is the right way to create a storage on an NFS share to use as data
> storage for virtual machines?
> 
> It is only possible to create a storage "ISO/NFS" or "Export/NFS" where
> I can not create disks for a virtual machine.
> 
> cheers
> gregor
> ___
> 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] New storage domain on nfs share

2015-08-28 Thread gregor
Hi,

what is the right way to create a storage on an NFS share to use as data
storage for virtual machines?

It is only possible to create a storage "ISO/NFS" or "Export/NFS" where
I can not create disks for a virtual machine.

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


[ovirt-users] Problem with setup local storage

2015-04-24 Thread Gregor Burck

Hi,

I try a testsetup on a CentOS 6.6.
I want to setup all on a single host so far.

When I try to create a local storage on the host i got always the
message "Error while executing action Add Storage Connection: General
Exception"

I trie the video howto in combination with the Quick Start Guide and
http://www.ovirt.org/Feature/AllInOne

I understand, that I've to generate a answer-file in cause of a bug for VDSM?
My file looks like this:
OVESETUP_DIALOG/confirmSettings=bool:True
OVESETUP_CONFIG/applicationMode=none:None
OVESETUP_CONFIG/remoteEngineSetupStyle=none:None
OVESETUP_CONFIG/adminPassword=none:None
OVESETUP_CONFIG/storageIsLocal=bool:False
OVESETUP_CONFIG/firewallManager=str:iptables
OVESETUP_CONFIG/remoteEngineHostRootPassword=none:None
OVESETUP_CONFIG/updateFirewall=bool:True
OVESETUP_CONFIG/remoteEngineHostSshPort=none:None
OVESETUP_CONFIG/fqdn=str:edovirt01.mvz.ffm
OVESETUP_CONFIG/storageType=none:None
OSETUP_RPMDISTRO/requireRollback=none:None
OSETUP_RPMDISTRO/enableUpgrade=none:None
OVESETUP_DB/database=str:engine
OVESETUP_DB/fixDbViolations=none:None
OVESETUP_DB/secured=bool:False
OVESETUP_DB/host=str:localhost
OVESETUP_DB/user=str:engine
OVESETUP_DB/securedHostValidation=bool:False
OVESETUP_DB/password=str:vU1qRWyDxXvevhgiQedVSj
OVESETUP_DB/port=str:5432
OVESETUP_ENGINE_CORE/enable=bool:True
OVESETUP_CORE/engineStop=bool:True
OVESETUP_SYSTEM/memCheckEnabled=bool:True
OVESETUP_SYSTEM/nfsConfigEnabled=bool:False
OVESETUP_PKI/organization=none:None
OVESETUP_CONFIG/isoDomainMountPoint=str:/var/lib/exports/iso
OVESETUP_CONFIG/isoDomainName=str:ISO_DOMAIN
OVESETUP_CONFIG/isoDomainACL=none:None
OVESETUP_AIO/configure=bool:True
OVESETUP_AIO/storageDomainName=none:None
OVESETUP_AIO/storageDomainDir=str:/vmdata
OVESETUP_PROVISIONING/postgresProvisioningEnabled=none:None
OVESETUP_APACHE/configureRootRedirection=none:None
OVESETUP_APACHE/configureSsl=none:None
OVESETUP_CONFIG/websocketProxyConfig=bool:True
OVESETUP_ENGINE_CONFIG/fqdn=str:edovirt01.mvz.ffm

Here I insert the settings for AIO.

But still got Problems to add a local storage like the video-turorial
describe,...

Bye

Gregor


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