[ovirt-users] Re: Upload ISO with ovirt-imageio-proxy

2019-10-15 Thread Fabrice SOLER

Hello Markus,

Thanks for your answer.

I have no password in the private key file 
/etc/pki/ovirt-engine/keys/apache.key.nopass. So, I have tried to 
specify the imageio-proxy certificate (without the password).


This certificate have the same date as the others files : 
imageio-proxy.cer , engine.cer and ca.pem.


/ssl_key_file = /etc/pki/ovirt-engine/keys/imageio-proxy.key.nopass//
//ssl_cert_file = /etc/pki/ovirt-engine/certs/imageio-proxy.cer//
//engine_cert_file = /etc/pki/ovirt-engine/certs/engine.cer//
//engine_ca_cert_file = /etc/pki/ovirt-engine/ca.pem/

Now there is no certificate error in the logs, but others are presents :

/2019-10-15 08:02:14,460-04 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetImageTicketVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-3) 
[b0cfc1c4-2cd4-49ba-96f3-de7983eae70e] START, 
GetImageTicketVDSCommand(HostName = lp-ducharmoy, 
GetImageTicketVDSCommandParameters:{hostId='44ce60fc-e4ff-45c2-8b70-3c4cb176f845', 
ticketId='149988fd-e67b-4e1d-9c50-edccda82a5f9', timeout='null'}), log 
id: 3ddc0edd//
//2019-10-15 08:02:14,472-04 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetImageTicketVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-3) 
[b0cfc1c4-2cd4-49ba-96f3-de7983eae70e] FINISH, GetImageTicketVDSCommand, 
return: 
org.ovirt.engine.core.common.businessentities.storage.ImageTicketInformation@83515f85, 
log id: 3ddc0edd//
//2019-10-15 08:02:17,300-04 INFO 
[org.ovirt.engine.core.bll.storage.disk.image.TransferImageStatusCommand] 
(default task-4) [186d1211-3e68-4e4c-8e61-9543957d01fe] *Running 
command: TransferImageStatusCommand internal: false*. Entities affected 
:  ID: aaa0----123456789aaa Type: *SystemAction group 
CREATE_DISK with role type USER*//
//2019-10-15 08:02:21,302-04 INFO 
[org.ovirt.engine.core.bll.storage.disk.image.TransferImageStatusCommand] 
(default task-4) [7ef3ae94-34a2-4854-bf96-7bdae2d390a4] *Running 
command: TransferImageStatusCommand internal: false*. Entities affected 
:  ID: aaa0----123456789aaa Type: SystemAction group 
CREATE_DISK with role type USER//
//2019-10-15 08:02:22,522-04 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetImageTicketVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-1) 
[b0cfc1c4-2cd4-49ba-96f3-de7983eae70e] START, 
GetImageTicketVDSCommand(HostName = lp-ducharmoy, 
GetImageTicketVDSCommandParameters:{hostId='44ce60fc-e4ff-45c2-8b70-3c4cb176f845', 
ticketId='149988fd-e67b-4e1d-9c50-edccda82a5f9', timeout='null'}), log 
id: 1592e796//
//2019-10-15 08:02:22,534-04 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetImageTicketVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-1) 
[b0cfc1c4-2cd4-49ba-96f3-de7983eae70e] FINISH, GetImageTicketVDSCommand, 
return: 
org.ovirt.engine.core.common.businessentities.storage.ImageTicketInformation@83515f8d, 
log id: 1592e796//
//2019-10-15 08:02:25,316-04 INFO 
[org.ovirt.engine.core.bll.storage.disk.image.TransferImageStatusCommand] 
(default task-4) [2fcccd92-1472-4e5e-87f8-e78ce4752270] *Running 
command: TransferImageStatusCommand internal*:*false*. Entities affected 
:  ID: aaa0----123456789aaa Type: SystemAction group 
CREATE_DISK with role type USER/


and it finish with the "Paused by system" :-( :

2019-10-15 08:03:12,898-04 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engineScheduled-Thread-83) 
[b0cfc1c4-2cd4-49ba-96f3-de7983eae70e] EVENT_ID: 
UPLOAD_IMAGE_PAUSED_BY_SYSTEM_TIMEOUT(1,071), Upload was paused by 
system. Reason: timeout due to transfer inactivity.


It seems the engine try to create a disk with the role type USER while I 
am using the admin USER.


Sincerely,

Fabrice

Le 15/10/2019 à 02:52, Markus Schaufler a écrit :

Had the same problem  - was my fault: had to remove password from private key (hence the 
name "apache.key.NOPASS")
Maybe you'll double check that.
___
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/SII64AEDKSK7HSBBHJZFXBVBKJLZBA2L/



___
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/GJ32EKPS2KVM2MI7H6NM7R4FCUDYN7E3/


[ovirt-users] Re: Upload ISO with ovirt-imageio-proxy

2019-10-15 Thread Fabrice SOLER

Hello Markus,

Thanks for your answer.

I have no password in the private key file 
/etc/pki/ovirt-engine/keys/apache.key.nopass. So, I have tried to 
specify the imageio-proxy certificate (without the password).


This certificate have the same date as the others files : 
imageio-proxy.cer , engine.cer and ca.pem.


/ssl_key_file = /etc/pki/ovirt-engine/keys/imageio-proxy.key.nopass//
//ssl_cert_file = /etc/pki/ovirt-engine/certs/imageio-proxy.cer//
//engine_cert_file = /etc/pki/ovirt-engine/certs/engine.cer//
//engine_ca_cert_file = /etc/pki/ovirt-engine/ca.pem/

Now there is no certificate error in the logs, but others are presents :

/2019-10-15 08:02:14,460-04 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetImageTicketVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-3) 
[b0cfc1c4-2cd4-49ba-96f3-de7983eae70e] START, 
GetImageTicketVDSCommand(HostName = lp-ducharmoy, 
GetImageTicketVDSCommandParameters:{hostId='44ce60fc-e4ff-45c2-8b70-3c4cb176f845', 
ticketId='149988fd-e67b-4e1d-9c50-edccda82a5f9', timeout='null'}), log 
id: 3ddc0edd//
//2019-10-15 08:02:14,472-04 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetImageTicketVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-3) 
[b0cfc1c4-2cd4-49ba-96f3-de7983eae70e] FINISH, GetImageTicketVDSCommand, 
return: 
org.ovirt.engine.core.common.businessentities.storage.ImageTicketInformation@83515f85, 
log id: 3ddc0edd//
//2019-10-15 08:02:17,300-04 INFO 
[org.ovirt.engine.core.bll.storage.disk.image.TransferImageStatusCommand] 
(default task-4) [186d1211-3e68-4e4c-8e61-9543957d01fe] *Running 
command: TransferImageStatusCommand internal: false*. Entities affected 
:  ID: aaa0----123456789aaa Type: *SystemAction group 
CREATE_DISK with role type USER*//
//2019-10-15 08:02:21,302-04 INFO 
[org.ovirt.engine.core.bll.storage.disk.image.TransferImageStatusCommand] 
(default task-4) [7ef3ae94-34a2-4854-bf96-7bdae2d390a4] *Running 
command: TransferImageStatusCommand internal: false*. Entities affected 
:  ID: aaa0----123456789aaa Type: SystemAction group 
CREATE_DISK with role type USER//
//2019-10-15 08:02:22,522-04 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetImageTicketVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-1) 
[b0cfc1c4-2cd4-49ba-96f3-de7983eae70e] START, 
GetImageTicketVDSCommand(HostName = lp-ducharmoy, 
GetImageTicketVDSCommandParameters:{hostId='44ce60fc-e4ff-45c2-8b70-3c4cb176f845', 
ticketId='149988fd-e67b-4e1d-9c50-edccda82a5f9', timeout='null'}), log 
id: 1592e796//
//2019-10-15 08:02:22,534-04 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetImageTicketVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-1) 
[b0cfc1c4-2cd4-49ba-96f3-de7983eae70e] FINISH, GetImageTicketVDSCommand, 
return: 
org.ovirt.engine.core.common.businessentities.storage.ImageTicketInformation@83515f8d, 
log id: 1592e796//
//2019-10-15 08:02:25,316-04 INFO 
[org.ovirt.engine.core.bll.storage.disk.image.TransferImageStatusCommand] 
(default task-4) [2fcccd92-1472-4e5e-87f8-e78ce4752270] *Running 
command: TransferImageStatusCommand internal*:*false*. Entities affected 
:  ID: aaa0----123456789aaa Type: SystemAction group 
CREATE_DISK with role type USER/


and it finish with the "Paused by system" :-( :

2019-10-15 08:03:12,898-04 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engineScheduled-Thread-83) 
[b0cfc1c4-2cd4-49ba-96f3-de7983eae70e] EVENT_ID: 
UPLOAD_IMAGE_PAUSED_BY_SYSTEM_TIMEOUT(1,071), Upload was paused by 
system. Reason: timeout due to transfer inactivity.


It seems the engine try to create a disk with the role type USER while I 
am using the admin USER.


Sincerely,

Fabrice

Le 15/10/2019 à 02:52, Markus Schaufler a écrit :

Had the same problem  - was my fault: had to remove password from private key (hence the 
name "apache.key.NOPASS")
Maybe you'll double check that.
___
Users mailing list --users@ovirt.org
To unsubscribe send an email tousers-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/SII64AEDKSK7HSBBHJZFXBVBKJLZBA2L/



--
___
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/A355KD5FDC4SL4PBT64XL7A3SCJVMZ5P/


[ovirt-users] Upload ISO with ovirt-imageio-proxy

2019-10-14 Thread Fabrice SOLER
image.ImageTransferUpdater] 
(default task-23) [bd47f950-d4f9-42d7-980a-7e99465079dd] Updating image 
transfer 11a1fb8b-22b7-4182-ac7f-b897830fffc3 (image 
def85ea0-5eb4-463f-83fb-afd788e77379) phase to Paused by System 
(message: 'Sent 0MB')
2019-10-14 14:41:16,495-04 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(default task-23) [bd47f950-d4f9-42d7-980a-7e99465079dd] EVENT_ID: 
UPLOAD_IMAGE_NETWORK_ERROR(1,062), Unable to upload image to disk 
def85ea0-5eb4-463f-83fb-afd788e77379 due to a network error. Ensure that 
ovirt-imageio-proxy service is installed and configured and that 
ovirt-engine's CA certificate is registered as a trusted CA in the 
browser. The certificate can be fetched from 
https://infra-eple.ac-guadeloupe.fr/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA

|/

/|
|/

*|The certificate seems to be correctely configured :|*

|//etc/pki/ovirt-engine/keys/apache.key.nopass : key of our certificate/|

|||//etc/pki/ovirt-engine/certs/apache.cer : our certifcate validated by 
Digicert/|


|||//etc/pki/ovirt-engine/ca.pem : the CA from /|/|fetched from 
https://infra-eple.ac-guadeloupe.fr/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA|/

||/||/
||//etc/pki/ovirt-engine/certs/engine.cer : the original file producted 
bye the ovirt engine/||


||/There is no network paquet going out of the engine when the upload 
begins, the ovirt engine seems to block before.

/||

||/
/||

*||/Where do you think I make a mistake ?/||*

*||/
/||*

*||/Sincerely,/||*

||*/Fabrice SOLER/*/
/||

--
___
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/KETDA3H2RM2MMFYIV3GIS2UHYIDSPEXO/


[ovirt-users] engine-iso-uploader error

2019-09-29 Thread Fabrice SOLER

Hello,

We use engine-iso-uploader with ssh (and not NFS). It was working but 
now we have an error.


We tried two commands :

engine-iso-uploader -v --iso-domain=lp-ducharmoy-iso upload 
eole-2.6.2.1-alternate-amd64.iso

and
engine-iso-uploader --iso-domain=lp-ducharmoy-iso list

*and the error is :*
ERROR: Fault reason is "Operation Failed". Fault detail is "Can't find 
storage server connection for id 
'7779c519-9f79-4339-81e0-f89f5e9f08b2'.". HTTP response code is 500.

INFO: Use the -h option to see usage.

Do you know where it could come from ?


With verbose :

[root@infra-eple iso]# engine-iso-uploader -v 
--iso-domain=lp-ducharmoy-iso list
Please provide the REST API password for the admin@internal oVirt Engine 
user (CTRL+D to abort):

DEBUG: API Vendor(None) API Version(4.2.0)
ERROR: Fault reason is "Operation Failed". Fault detail is "Can't find 
storage server connection for id 
'7779c519-9f79-4339-81e0-f89f5e9f08b2'.". HTTP response code is 500.

INFO: Use the -h option to see usage.
DEBUG: Configuration:
DEBUG: command: list
DEBUG: Traceback (most recent call last):
DEBUG:   File "/usr/bin/engine-iso-uploader", line 1521, in 
DEBUG: isoup = ISOUploader(conf)
DEBUG:   File "/usr/bin/engine-iso-uploader", line 448, in __init__
DEBUG: self.list_all_ISO_storage_domains()
DEBUG:   File "/usr/bin/engine-iso-uploader", line 559, in 
list_all_ISO_storage_domains

DEBUG: domainAry = svc.storage_domains_service().list()
DEBUG:   File 
"/usr/lib64/python2.7/site-packages/ovirtsdk4/services.py", line 21936, 
in list

DEBUG: return self._internal_get(headers, query, wait)
DEBUG:   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", 
line 211, in _internal_get

DEBUG: return future.wait() if wait else future
DEBUG:   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", 
line 55, in wait

DEBUG: return self._code(response)
DEBUG:   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", 
line 208, in callback

DEBUG: self._check_fault(response)
DEBUG:   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", 
line 132, in _check_fault

DEBUG: self._raise_error(response, body)
DEBUG:   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", 
line 118, in _raise_error

DEBUG: raise error
DEBUG: Error: Fault reason is "Operation Failed". Fault detail is "Can't 
find storage server connection for id 
'7779c519-9f79-4339-81e0-f89f5e9f08b2'.". HTTP response code is 500.



Sincerely,

Fabrice SOLER

___
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/YNOT77H6NJLEJKKCSJDB5FTV36TIMY35/


[ovirt-users] engine-iso-uploader error

2019-09-27 Thread Fabrice SOLER

Hello,

I use engine-iso-uploader with ssh (and not NFS). It was working but now 
we have an error.


I have tried two commands :

engine-iso-uploader -v --iso-domain=lp-ducharmoy-iso upload 
eole-2.6.2.1-alternate-amd64.iso

and
engine-iso-uploader --iso-domain=lp-ducharmoy-iso list

*and the error is :*
ERROR: Fault reason is "Operation Failed". Fault detail is "Can't find 
storage server connection for id 
'7779c519-9f79-4339-81e0-f89f5e9f08b2'.". HTTP response code is 500.

INFO: Use the -h option to see usage.

I have read the /var/log/httpd/ssl_access_log , so we can read that API 
is not accessible :


192.168.83.83 - - [27/Sep/2019:12:01:06 -0400] "POST 
/ovirt-engine/sso/oauth/token HTTP/1.1" 200 310
192.168.83.83 - - [27/Sep/2019:12:01:07 -0400] "POST 
/ovirt-engine/sso/oauth/token-info HTTP/1.1" 200 323
192.168.83.83 - - [27/Sep/2019:12:01:07 -0400] "GET /ovirt-engine/api 
HTTP/1.1" 200 975
192.168.83.83 - - [27/Sep/2019:12:01:07 -0400] "GET 
/ovirt-engine/api/storagedomains HTTP/1.1" *500* 188


I have changed the admin password, do you think it could be come from this ?

With verbose :

[root@infra-eple iso]# engine-iso-uploader -v 
--iso-domain=lp-ducharmoy-iso list
Please provide the REST API password for the admin@internal oVirt Engine 
user (CTRL+D to abort):

DEBUG: API Vendor(None) API Version(4.2.0)
ERROR: Fault reason is "Operation Failed". Fault detail is "Can't find 
storage server connection for id 
'7779c519-9f79-4339-81e0-f89f5e9f08b2'.". HTTP response code is 500.

INFO: Use the -h option to see usage.
DEBUG: Configuration:
DEBUG: command: list
DEBUG: Traceback (most recent call last):
DEBUG:   File "/usr/bin/engine-iso-uploader", line 1521, in 
DEBUG: isoup = ISOUploader(conf)
DEBUG:   File "/usr/bin/engine-iso-uploader", line 448, in __init__
DEBUG: self.list_all_ISO_storage_domains()
DEBUG:   File "/usr/bin/engine-iso-uploader", line 559, in 
list_all_ISO_storage_domains

DEBUG: domainAry = svc.storage_domains_service().list()
DEBUG:   File 
"/usr/lib64/python2.7/site-packages/ovirtsdk4/services.py", line 21936, 
in list

DEBUG: return self._internal_get(headers, query, wait)
DEBUG:   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", 
line 211, in _internal_get

DEBUG: return future.wait() if wait else future
DEBUG:   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", 
line 55, in wait

DEBUG: return self._code(response)
DEBUG:   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", 
line 208, in callback

DEBUG: self._check_fault(response)
DEBUG:   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", 
line 132, in _check_fault

DEBUG: self._raise_error(response, body)
DEBUG:   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", 
line 118, in _raise_error

DEBUG: raise error
DEBUG: Error: Fault reason is "Operation Failed". Fault detail is "Can't 
find storage server connection for id 
'7779c519-9f79-4339-81e0-f89f5e9f08b2'.". HTTP response code is 500.



Sincerely,

Fabrice SOLER

--
___
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/GGKBKUCSXN3VERW6XTONOHHAQ2YMAEY2/


[ovirt-users] Fwd: Re: Change cluster cpu type with hosted engine

2019-03-20 Thread Fabrice SOLER

Hi,

As you can read on the screenshot below, my servers have got Nehalem CPU 
type, so the hosted engine detect the correct CPU type.




You can read on this link 
https://www.intel.com/content/www/us/en/support/articles/06105/processors.html 
that Windows 10 x64 does not support Nehalem CPU type. Bill is cutting 
the fonctionnality for the old CPU, I will be able to comment but i will 
not.


But I need to use Windows 10 x64 with this servers for my students !!!
I am in a dead-end.

Sincerely,
Fabrice SOLER


 Message transféré 
Sujet : Re: [ovirt-users] Change cluster cpu type with hosted engine
Date :  Tue, 12 Mar 2019 15:49:14 -0400
De :Fabrice SOLER 
Pour :  Simone Tiraboschi 



Le 12/03/2019 à 11:21, Simone Tiraboschi a écrit :



On Tue, Mar 12, 2019 at 1:03 PM Fabrice SOLER 
<mailto:fabrice.so...@ac-guadeloupe.fr>> wrote:


Hello,

I need to create a windows 10 virtual machine but I have an error :

I have a fresh ovirt installation (version 4.2.8) with an hosted
engine. At the hosted engine installation there was no question
about the cluster cpu type, it should be great if in the future
version it could be.


It's by design: we simply let the engine choose the best CPU according 
to the characteristics of the first host.
Can you please detail which CPU are you using on the first host and 
how the engine detected it adding the first host to the first cluster?

Hello,
The first host is a DELL R610 (an old server). At the installation, the 
cluster was created with  an CPU Architecture x86_64 and CPU type Intel 
Nehalem Family.


To change an host to another cluster this host need to be in
maintenance mode, and the hosted engine will be power off.

I have created another Cluster with an SandyBridge Family CPU
type, but to move the hosted engine to this new cluster the hosted
should be power off.

Is there someone who can help ?

Sincerely,

-- 
___

Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-le...@ovirt.org
<mailto: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/KFH3ZLPA7KZSSJG3DGOGW2F4OMXE4KZK/



--
___
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/E5YJQRR3WJIPK3C7ZM2WLQY7JE23EGA4/


[ovirt-users] Re: Change cluster cpu type with hosted engine

2019-03-19 Thread Fabrice SOLER

Le 12/03/2019 à 09:08, Juhani Rautiainen a écrit :


On Tue, Mar 12, 2019 at 2:02 PM Fabrice SOLER 
<mailto:fabrice.so...@ac-guadeloupe.fr>> wrote:


Hello,

I need to create a windows 10 virtual machine but I have an error :

I have a fresh ovirt installation (version 4.2.8) with an hosted
engine. At the hosted engine installation there was no question
about the cluster cpu type, it should be great if in the future
version it could be.

To change an host to another cluster this host need to be in
maintenance mode, and the hosted engine will be power off.

I have created another Cluster with an SandyBridge Family CPU
type, but to move the hosted engine to this new cluster the hosted
should be power off.

Is there someone who can help ?


Hi!

This is modified from original but could work:
- create new cluster with new CPU type
- set HE global maintenance mode
- set one of the hosted-engine hosts into maintenance mode

Hi,
Thank you for your answer.
At this point the hosted-engine hosts could not come into the 
maintenance mode.
Do you know if it is possible to change cluster with CLI. Thus, I could 
stop the hosted engine and move the hosts to the new cluser.

Sincerely,
Fabrice

- move it to a different cluster
- shutdown the engine VM
- manually restart the engine VM on the host on the custom cluster 
directly executing on that host: hosted-engine --vm-start

- connect again to the engine
- set all the hosts of the initial cluster into maintenance mode
- change CPU type in original cluster
- shut down again the engine VM
- manually restart the engine VM on one of the hosts of the initial 
cluster
- move back the host that got into a temporary cluster to its initial 
cluster


Sincerely,

-- 
___

Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-le...@ovirt.org
<mailto: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/KFH3ZLPA7KZSSJG3DGOGW2F4OMXE4KZK/


-Juhani
--
Juhani Rautiainen jra...@iki.fi <mailto:jra...@iki.fi>



--
___
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/QZCARTDLTKXJ5YTFQ7EX4T3BB4RFGD64/


[ovirt-users] Change the cluster with hosted engine

2019-03-12 Thread Fabrice SOLER

Hello,

I need to create a windows 10 virtual machine, but an error message 
appears :


The ovirt installation is fresh in 4.2.8 version with an hosted engine. 
At the hosted engine installation, there was no question where we can 
specify the cluster cpu. It should be great if in a future version it 
could be.


I have created a new cluster with an SandBridge Family CPU type but now 
I need to move the hosted engine into this new cluster.


To move a vm to another cluster the VM should be stopped. But if i power 
off the hosted engine, I will not be able to move the VM.


Maybe there is a solution without create another cluster ...

Is there someone who have an idea to do this ?

Sincerely,

Fabrice SOLER

___
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/53BTK2QV4OLLSK6375IG24CY5YBXTO27/


[ovirt-users] Change cluster cpu type with hosted engine

2019-03-12 Thread Fabrice SOLER

Hello,

I need to create a windows 10 virtual machine but I have an error :

I have a fresh ovirt installation (version 4.2.8) with an hosted engine. 
At the hosted engine installation there was no question about the 
cluster cpu type, it should be great if in the future version it could be.


To change an host to another cluster this host need to be in maintenance 
mode, and the hosted engine will be power off.


I have created another Cluster with an SandyBridge Family CPU type, but 
to move the hosted engine to this new cluster the hosted should be power 
off.


Is there someone who can help ?

Sincerely,

--
___
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/KFH3ZLPA7KZSSJG3DGOGW2F4OMXE4KZK/


[ovirt-users] Move infrastructure ,how to change FQDN

2019-02-26 Thread Fabrice SOLER

Hello,

I need to move all the physical infrastructure  oVirt to another site 
(for student education).


The node's FQDN and the hosted engine's FQDN must change.

The version is ovirt 4.2.8 for the hosted engine and nodes.

Is there sommone who know how to do ?

Fabrice SOLER

___
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/4TKCQGRIYIBW4O3Z6GCQ6QKWYUR2HNAU/


[ovirt-users] Move infrastructure ,how to change FQDN

2019-02-24 Thread Fabrice SOLER

Hello,

I need to move all the physical infrastructure  oVirt to another site 
(for student education).


The node's FQDN and the hosted engine's FQDN must change.

The version is ovirt 4.2.8 for the hosted engine and nodes.

Is there sommone who know how to do ?

Fabrice SOLER

___
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/I4KC7PNPDATLBAGDR7JFNNH4QUHSFVVS/


[ovirt-users] Hosted engine installation

2019-02-11 Thread Fabrice SOLER

Hello,

I have installed an hosted engine, and I have seen that this 
installation needs to access to a repository from internet.


Do you know that is possible to download an ISO to install an hosted 
engine and install it from this ISO ?


Sincerely,

--
___
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/AJOQABTQS5JPCN6UN5TCK3MDVTJ3TKJV/


Re: [ovirt-users] After the export, the import OVA failed

2018-03-12 Thread Fabrice SOLER

Hi,

I have deleted the VM amon and tried to import the OVA. It does not work.
I think there is a problem in the ovf file (XML format) like I posted in 
the precedente mail :


*/I constated that the ovf format is not the same when I made the export 
ova with vmware and ovirt./**/

/**//**/
/**/Export ova with vmware :/**/
/**//**/
/**/[root@eple-rectorat-proto AntiVirus]# file AntiVirus.ovf/**/
/**/AntiVirus.ovf: XML 1.0 document, ASCII text, with very long lines, 
with CRLF line terminators/**/

/**//**/
/**/Export ova with ovirt :/**/
/**/[root@ovirt-eple amon]# file vm.ovf/**/
/**/vm.ovf: XML 1.0 document, ASCII text, with very long lines, with no 
line terminators/**/

/**//**/
/**/With Ovirt there is no line terminators./**/
/**//**/
/**/Is that normal ? Is that why the OVA import does not work ?/*/
/






Le 06/03/2018 à 12:11, Oliver Riesener a écrit :

Hi Fabrice,
try to rename the already existing old VM to another name like amon-old.
The import the OVA machine again.

On 06.03.2018 15:33, Fabrice SOLER wrote:

Hello,

I have upgraded the engine and the node, so the version is : 
4.2.1.1.1-1.el7

To import, I made a "tar xvf file.ova".
Then from the portal, I import the VM


I saw that :



After that the amon was removed as we can see in the events  :



It seems it does not work. Maybe the VM is hide somewhere ?

Sincerely,




___
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] After the export, the import OVA failed

2018-03-12 Thread Fabrice SOLER

Hello,

I found this KB : https://bugzilla.redhat.com/show_bug.cgi?id=1529607
and put a description to the VM disk and the OVA export works ! :-)

Now, the import does not work :-(

The error is : */Failed to load VM configuration from OVA file: 
/data/ova/amon


/*I have tried two ways.
In first, I let the file ova.
Secondely I did  : tar xvf file.ova and specifiy the directory where the 
ovf file is.


In the engine log, I have found this :

2018-03-05 16:15:58,319-04 INFO 
[org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor] (default 
task-6) [e2a953ca-1460-4899-a958-7dbe37e40a21] Ansible playbook command 
has exited with value: 2
2018-03-05 16:15:58,319-04 ERROR 
[org.ovirt.engine.core.bll.GetVmFromOvaQuery] (default task-6) 
[e2a953ca-1460-4899-a958-7dbe37e40a21] Failed to query OVA info
2018-03-05 16:15:58,319-04 ERROR 
[org.ovirt.engine.core.bll.GetVmFromOvaQuery] (default task-6) 
[e2a953ca-1460-4899-a958-7dbe37e40a21] Query 'GetVmFromOvaQuery' failed: 
EngineException: Failed to query OVA info (Failed with error 
GeneralException and code 100)


I have found this KB : https://bugzilla.redhat.com/show_bug.cgi?id=1529965
The unique solution is a update ?

Sincerely
Fabrice
*//*

Le 05/03/2018 à 13:13, Fabrice SOLER a écrit :

Hello,

Thank for your answer, I have put all permissions for the directory 
and I always have errors.


Here are the ERROR in logs on the engine :

2018-03-05 13:03:18,525-04 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVolumeInfoVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] FINISH, 
GetVolumeInfoVDSCommand, return: 
org.ovirt.engine.core.common.businessentities.storage.DiskImage@90e3c610, 
log id: 84f89c3
2018-03-05 13:03:18,529-04 ERROR 
[org.ovirt.engine.core.bll.CreateOvaCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] Command 
'org.ovirt.engine.core.bll.CreateOvaCommand' failed: null
2018-03-05 13:03:18,529-04 ERROR 
[org.ovirt.engine.core.bll.CreateOvaCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] 
Exception: java.lang.NullPointerException

...
2018-03-05 13:03:18,533-04 ERROR 
[org.ovirt.engine.core.bll.exportimport.ExportOvaCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] Failed 
to create OVA file
2018-03-05 13:03:18,533-04 INFO 
[org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] Command 
'ExportOva' id: 'c484392e-3540-4a11-97bf-3fecbc13e080' failed when 
attempting to perform the next operation, marking as FAILED 
'[d5d4381b-ec82-4927-91a4-74597cd2511d]'
2018-03-05 13:03:18,533-04 INFO 
[org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] Command 
'ExportOva' id: 'c484392e-3540-4a11-97bf-3fecbc13e080' child commands 
'[d5d4381b-ec82-4927-91a4-74597cd2511d]' executions were completed, 
status 'FAILED'
2018-03-05 13:03:19,542-04 ERROR 
[org.ovirt.engine.core.bll.exportimport.ExportOvaCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-98) 
[c99e94b0-a9dd-486f-9274-9aa17c9590a0] Ending command 
'org.ovirt.engine.core.bll.exportimport.ExportOvaCommand' with failure.
2018-03-05 13:03:19,543-04 INFO 
[org.ovirt.engine.core.bll.exportimport.ExportOvaCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-98) 
[c99e94b0-a9dd-486f-9274-9aa17c9590a0] Lock freed to object 
'EngineLock:{exclusiveLocks='[3ae307cb-53d6-4d70-87b6-4e073c6f5eb6=VM]', 
sharedLocks=''}'
2018-03-05 13:03:19,550-04 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engineScheduled-Thread-98) 
[c99e94b0-a9dd-486f-9274-9aa17c9590a0] EVENT_ID: 
IMPORTEXPORT_EXPORT_VM_TO_OVA_FAILED(1,225), Failed to export Vm 
pfSense as a Virtual Appliance to path /ova/pfSense.ova on Host 
eple-rectorat-proto

...

Sincerely,
Fabrice

Le 05/03/2018 à 12:50, Arik Hadas a écrit :



On Mon, Mar 5, 2018 at 6:48 PM, Arik Hadas <aha...@redhat.com 
<mailto:aha...@redhat.com>> wrote:




On Mon, Mar 5, 2018 at 6:29 PM, Fabrice SOLER
<fabrice.so...@ac-guadeloupe.fr
<mailto:fabrice.so...@ac-guadeloupe.fr>> wrote:

Hello,

I need to export my VM to OVA format from the administration
portail Ovirt. It fails with this message :

/Failed to export Vm CentOS as a Virtual Appliance to path
/data/CentOS.ova on Host eple-rectorat-proto/

My storage is local (not NFS or iSCSI), is there some
particulars permissions to put to the destination directory ?

No, the script that packs the OVA is executed with root permissions.

The path is the path to an export domain ?

Not necessarily.


Oh, and please share the (engine, ansible) logs if you want more eyes 
looking at that failure.


Sincerely,

Fabrice SOLER

-- 


___
  

Re: [ovirt-users] After the export, the import OVA failed

2018-03-12 Thread Fabrice SOLER

Hello,

I constated that the ovf format is not the same when I made the export 
ova with vmware and ovirt.


Export ova with vmware :

[root@eple-rectorat-proto AntiVirus]# file AntiVirus.ovf
AntiVirus.ovf: XML 1.0 document, ASCII text, with very long lines, with 
CRLF line terminators


Export ova with ovirt :
[root@ovirt-eple amon]# file vm.ovf
vm.ovf: XML 1.0 document, ASCII text, with very long lines, with no line 
terminators


With Ovirt there is no line terminators.

Is that normal ? Is that why the OVA import does not work ?

Sincerely,

Fabrice SOLER


Le 06/03/2018 à 10:33, Fabrice SOLER a écrit :

Hello,

I have upgraded the engine and the node, so the version is : 
4.2.1.1.1-1.el7

To import, I made a "tar xvf file.ova".
Then from the portal, I import the VM


I saw that :



After that the amon was removed as we can see in the events  :



It seems it does not work. Maybe the VM is hide somewhere ?

Sincerely,




___
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] firewall node

2018-03-09 Thread Fabrice SOLER

Hello,

I am trying to open a port on the node.

For that, in the cluster configuration I have choosed firewalld, I have 
created the 
|*/etc/ovirt-engine/ansible/ovirt-host-deploy-post-tasks.yml* file.|


|
- name: Enable additional port on firewalld
  firewalld:
    port: "12345/tcp"
    permanent: yes
    immediate: yes
    state: enabled
|

|then I have rebooted the node like it is noticed on this link :
|

|https://www.ovirt.org/blog/2017/12/host-deploy-customization/
|

|On the node, after the reboot, I read the iptables (iptables -L) and 
the port is not open.

|

|I have just updated the engine and the node is 4.2.1.1.|

|Is there some change about the firewalld in this version ? (in 4.2.0 it 
worked)

|

|Sincerery
|

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


Re: [ovirt-users] After the export, the import OVA failed

2018-03-06 Thread Fabrice SOLER

Hello,

I have imported a VM with OVA created with VMware and it works !
So, the problem is in the export ! The vm.ovf has no line terminators, 
that why it does not work !

*/
/**/[root@ovirt-eple amon]# file vm.ovf/**/
/**/vm.ovf: XML 1.0 document, ASCII text, with very long lines, with no 
line terminators/**/

/*
Is there somebody would know a solution ?

Sincerely,
Fabrice SOLER


Le 06/03/2018 à 14:25, Fabrice SOLER a écrit :

Hi,

I have deleted the VM amon and tried to import the OVA. It does not work.
I think there is a problem in the ovf file (XML format) like I posted 
in the precedente mail :


*/I constated that the ovf format is not the same when I made the 
export ova with vmware and ovirt./**/

/**//**/
/**/Export ova with vmware :/**/
/**//**/
/**/[root@eple-rectorat-proto AntiVirus]# file AntiVirus.ovf/**/
/**/AntiVirus.ovf: XML 1.0 document, ASCII text, with very long lines, 
with CRLF line terminators/**/

/**//**/
/**/Export ova with ovirt :/**/
/**/[root@ovirt-eple amon]# file vm.ovf/**/
/**/vm.ovf: XML 1.0 document, ASCII text, with very long lines, with 
no line terminators/**/

/**//**/
/**/With Ovirt there is no line terminators./**/
/**//**/
/**/Is that normal ? Is that why the OVA import does not work ?/*/
/






Le 06/03/2018 à 12:11, Oliver Riesener a écrit :

Hi Fabrice,
try to rename the already existing old VM to another name like amon-old.
The import the OVA machine again.

On 06.03.2018 15:33, Fabrice SOLER wrote:

Hello,

I have upgraded the engine and the node, so the version is : 
4.2.1.1.1-1.el7

To import, I made a "tar xvf file.ova".
Then from the portal, I import the VM


I saw that :



After that the amon was removed as we can see in the events :



It seems it does not work. Maybe the VM is hide somewhere ?

Sincerely,




___
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



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


Re: [ovirt-users] After the export, the import OVA failed

2018-03-06 Thread Fabrice SOLER

Hi,

I have deleted the VM amon and tried to import the OVA. It does not work.
I think there is a problem in the ovf file (XML format) like I posted in 
the precedente mail :


*/I constated that the ovf format is not the same when I made the export 
ova with vmware and ovirt./**/

/**//**/
/**/Export ova with vmware :/**/
/**//**/
/**/[root@eple-rectorat-proto AntiVirus]# file AntiVirus.ovf/**/
/**/AntiVirus.ovf: XML 1.0 document, ASCII text, with very long lines, 
with CRLF line terminators/**/

/**//**/
/**/Export ova with ovirt :/**/
/**/[root@ovirt-eple amon]# file vm.ovf/**/
/**/vm.ovf: XML 1.0 document, ASCII text, with very long lines, with no 
line terminators/**/

/**//**/
/**/With Ovirt there is no line terminators./**/
/**//**/
/**/Is that normal ? Is that why the OVA import does not work ?/*/
/






Le 06/03/2018 à 12:11, Oliver Riesener a écrit :

Hi Fabrice,
try to rename the already existing old VM to another name like amon-old.
The import the OVA machine again.

On 06.03.2018 15:33, Fabrice SOLER wrote:

Hello,

I have upgraded the engine and the node, so the version is : 
4.2.1.1.1-1.el7

To import, I made a "tar xvf file.ova".
Then from the portal, I import the VM


I saw that :



After that the amon was removed as we can see in the events  :



It seems it does not work. Maybe the VM is hide somewhere ?

Sincerely,




___
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] After the export, the import OVA failed

2018-03-06 Thread Fabrice SOLER

Hello,

I constated that the ovf format is not the same when I made the export 
ova with vmware and ovirt.


Export ova with vmware :

[root@eple-rectorat-proto AntiVirus]# file AntiVirus.ovf
AntiVirus.ovf: XML 1.0 document, ASCII text, with very long lines, with 
CRLF line terminators


Export ova with ovirt :
[root@ovirt-eple amon]# file vm.ovf
vm.ovf: XML 1.0 document, ASCII text, with very long lines, with no line 
terminators


With Ovirt there is no line terminators.

Is that normal ? Is that why the OVA import does not work ?

Sincerely,

Fabrice SOLER


Le 06/03/2018 à 10:33, Fabrice SOLER a écrit :

Hello,

I have upgraded the engine and the node, so the version is : 
4.2.1.1.1-1.el7

To import, I made a "tar xvf file.ova".
Then from the portal, I import the VM


I saw that :



After that the amon was removed as we can see in the events  :



It seems it does not work. Maybe the VM is hide somewhere ?

Sincerely,




___
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] After the export, the import OVA failed

2018-03-06 Thread Fabrice SOLER

Hello,

I have upgraded the engine and the node, so the version is : 4.2.1.1.1-1.el7
To import, I made a "tar xvf file.ova".
Then from the portal, I import the VM


I saw that :



After that the amon was removed as we can see in the events  :



It seems it does not work. Maybe the VM is hide somewhere ?

Sincerely,


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


[ovirt-users] After the export, the import OVA failed

2018-03-05 Thread Fabrice SOLER

Hello,

I found this KB : https://bugzilla.redhat.com/show_bug.cgi?id=1529607
and put a description to the VM disk and the OVA export works ! :-)

Now, the import does not work :-(

The error is : */Failed to load VM configuration from OVA file: 
/data/ova/amon


/*I have tried two ways.
In first, I let the file ova.
Secondely I did  : tar xvf file.ova and specifiy the directory where the 
ovf file is.


In the engine log, I have found this :

2018-03-05 16:15:58,319-04 INFO 
[org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor] (default 
task-6) [e2a953ca-1460-4899-a958-7dbe37e40a21] Ansible playbook command 
has exited with value: 2
2018-03-05 16:15:58,319-04 ERROR 
[org.ovirt.engine.core.bll.GetVmFromOvaQuery] (default task-6) 
[e2a953ca-1460-4899-a958-7dbe37e40a21] Failed to query OVA info
2018-03-05 16:15:58,319-04 ERROR 
[org.ovirt.engine.core.bll.GetVmFromOvaQuery] (default task-6) 
[e2a953ca-1460-4899-a958-7dbe37e40a21] Query 'GetVmFromOvaQuery' failed: 
EngineException: Failed to query OVA info (Failed with error 
GeneralException and code 100)


I have found this KB : https://bugzilla.redhat.com/show_bug.cgi?id=1529965
The unique solution is a update ?

Sincerely
Fabrice


Le 05/03/2018 à 13:13, Fabrice SOLER a écrit :

Hello,

Thank for your answer, I have put all permissions for the directory 
and I always have errors.


Here are the ERROR in logs on the engine :

2018-03-05 13:03:18,525-04 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVolumeInfoVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] FINISH, 
GetVolumeInfoVDSCommand, return: 
org.ovirt.engine.core.common.businessentities.storage.DiskImage@90e3c610, 
log id: 84f89c3
2018-03-05 13:03:18,529-04 ERROR 
[org.ovirt.engine.core.bll.CreateOvaCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] Command 
'org.ovirt.engine.core.bll.CreateOvaCommand' failed: null
2018-03-05 13:03:18,529-04 ERROR 
[org.ovirt.engine.core.bll.CreateOvaCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] 
Exception: java.lang.NullPointerException

...
2018-03-05 13:03:18,533-04 ERROR 
[org.ovirt.engine.core.bll.exportimport.ExportOvaCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] Failed 
to create OVA file
2018-03-05 13:03:18,533-04 INFO 
[org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] Command 
'ExportOva' id: 'c484392e-3540-4a11-97bf-3fecbc13e080' failed when 
attempting to perform the next operation, marking as FAILED 
'[d5d4381b-ec82-4927-91a4-74597cd2511d]'
2018-03-05 13:03:18,533-04 INFO 
[org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] Command 
'ExportOva' id: 'c484392e-3540-4a11-97bf-3fecbc13e080' child commands 
'[d5d4381b-ec82-4927-91a4-74597cd2511d]' executions were completed, 
status 'FAILED'
2018-03-05 13:03:19,542-04 ERROR 
[org.ovirt.engine.core.bll.exportimport.ExportOvaCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-98) 
[c99e94b0-a9dd-486f-9274-9aa17c9590a0] Ending command 
'org.ovirt.engine.core.bll.exportimport.ExportOvaCommand' with failure.
2018-03-05 13:03:19,543-04 INFO 
[org.ovirt.engine.core.bll.exportimport.ExportOvaCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-98) 
[c99e94b0-a9dd-486f-9274-9aa17c9590a0] Lock freed to object 
'EngineLock:{exclusiveLocks='[3ae307cb-53d6-4d70-87b6-4e073c6f5eb6=VM]', 
sharedLocks=''}'
2018-03-05 13:03:19,550-04 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engineScheduled-Thread-98) 
[c99e94b0-a9dd-486f-9274-9aa17c9590a0] EVENT_ID: 
IMPORTEXPORT_EXPORT_VM_TO_OVA_FAILED(1,225), Failed to export Vm 
pfSense as a Virtual Appliance to path /ova/pfSense.ova on Host 
eple-rectorat-proto

...

Sincerely,
Fabrice

Le 05/03/2018 à 12:50, Arik Hadas a écrit :



On Mon, Mar 5, 2018 at 6:48 PM, Arik Hadas <aha...@redhat.com 
<mailto:aha...@redhat.com>> wrote:




On Mon, Mar 5, 2018 at 6:29 PM, Fabrice SOLER
<fabrice.so...@ac-guadeloupe.fr
<mailto:fabrice.so...@ac-guadeloupe.fr>> wrote:

Hello,

I need to export my VM to OVA format from the administration
portail Ovirt. It fails with this message :

/Failed to export Vm CentOS as a Virtual Appliance to path
/data/CentOS.ova on Host eple-rectorat-proto/

My storage is local (not NFS or iSCSI), is there some
particulars permissions to put to the destination directory ?

No, the script that packs the OVA is executed with root permissions.

The path is the path to an export domain ?

Not necessarily.


Oh, and please share the (engine, ansible) logs if you want more eyes 
looking at that failure.


Sincerely,

Fabrice SOLER

-- 


___
Users ma

Re: [ovirt-users] Export VM to OVA failed

2018-03-05 Thread Fabrice SOLER

Hello,

Thank for your answer, I have put all permissions for the directory and 
I always have errors.


Here are the ERROR in logs on the engine :

2018-03-05 13:03:18,525-04 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVolumeInfoVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] FINISH, 
GetVolumeInfoVDSCommand, return: 
org.ovirt.engine.core.common.businessentities.storage.DiskImage@90e3c610, 
log id: 84f89c3
2018-03-05 13:03:18,529-04 ERROR 
[org.ovirt.engine.core.bll.CreateOvaCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] Command 
'org.ovirt.engine.core.bll.CreateOvaCommand' failed: null
2018-03-05 13:03:18,529-04 ERROR 
[org.ovirt.engine.core.bll.CreateOvaCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] 
Exception: java.lang.NullPointerException

...
2018-03-05 13:03:18,533-04 ERROR 
[org.ovirt.engine.core.bll.exportimport.ExportOvaCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] Failed to 
create OVA file
2018-03-05 13:03:18,533-04 INFO 
[org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] Command 
'ExportOva' id: 'c484392e-3540-4a11-97bf-3fecbc13e080' failed when 
attempting to perform the next operation, marking as FAILED 
'[d5d4381b-ec82-4927-91a4-74597cd2511d]'
2018-03-05 13:03:18,533-04 INFO 
[org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] Command 
'ExportOva' id: 'c484392e-3540-4a11-97bf-3fecbc13e080' child commands 
'[d5d4381b-ec82-4927-91a4-74597cd2511d]' executions were completed, 
status 'FAILED'
2018-03-05 13:03:19,542-04 ERROR 
[org.ovirt.engine.core.bll.exportimport.ExportOvaCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-98) 
[c99e94b0-a9dd-486f-9274-9aa17c9590a0] Ending command 
'org.ovirt.engine.core.bll.exportimport.ExportOvaCommand' with failure.
2018-03-05 13:03:19,543-04 INFO 
[org.ovirt.engine.core.bll.exportimport.ExportOvaCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-98) 
[c99e94b0-a9dd-486f-9274-9aa17c9590a0] Lock freed to object 
'EngineLock:{exclusiveLocks='[3ae307cb-53d6-4d70-87b6-4e073c6f5eb6=VM]', 
sharedLocks=''}'
2018-03-05 13:03:19,550-04 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engineScheduled-Thread-98) 
[c99e94b0-a9dd-486f-9274-9aa17c9590a0] EVENT_ID: 
IMPORTEXPORT_EXPORT_VM_TO_OVA_FAILED(1,225), Failed to export Vm pfSense 
as a Virtual Appliance to path /ova/pfSense.ova on Host eple-rectorat-proto

...

Sincerely,
Fabrice

Le 05/03/2018 à 12:50, Arik Hadas a écrit :



On Mon, Mar 5, 2018 at 6:48 PM, Arik Hadas <aha...@redhat.com 
<mailto:aha...@redhat.com>> wrote:




On Mon, Mar 5, 2018 at 6:29 PM, Fabrice SOLER
<fabrice.so...@ac-guadeloupe.fr
<mailto:fabrice.so...@ac-guadeloupe.fr>> wrote:

Hello,

I need to export my VM to OVA format from the administration
portail Ovirt. It fails with this message :

/Failed to export Vm CentOS as a Virtual Appliance to path
/data/CentOS.ova on Host eple-rectorat-proto/

My storage is local (not NFS or iSCSI), is there some
particulars permissions to put to the destination directory ?

No, the script that packs the OVA is executed with root permissions.

The path is the path to an export domain ?

Not necessarily.


Oh, and please share the (engine, ansible) logs if you want more eyes 
looking at that failure.


Sincerely,

Fabrice SOLER

-- 


___
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


[ovirt-users] Export VM to OVA failed

2018-03-05 Thread Fabrice SOLER

Hello,

I need to export my VM to OVA format from the administration portail 
Ovirt. It fails with this message :


/Failed to export Vm CentOS as a Virtual Appliance to path 
/data/CentOS.ova on Host eple-rectorat-proto/


My storage is local (not NFS or iSCSI), is there some particulars 
permissions to put to the destination directory ?


The path is the path to an export domain ?

Sincerely,

Fabrice SOLER

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


Re: [ovirt-users] Start VM automatically

2018-02-27 Thread Fabrice SOLER

Hi,

We want to install ovirt for every school in Guadeloupe (~70 schools)

Each school has an internet connexion with a basic physical router (no vpn).

We have bought one physical server for each school.

We have installed an ovirt engine on our central site where we want to 
manage all the node which are in the school.


In first, for the tests in laboratory, I have installed a node behind a 
routeur. The routeur forwarded all the traffic from the ovirt engine to 
the ovirmgmt ip address (NAT).


It works but I cannot have access to the VM consoles : my Spice client 
try to access directly to the node private IP address. Is there a 
solution to resolv this ? In ovirt documentation, I read "Spice Proxy" 
and  "Websocket Proxy".  Could these features answer to this problematic ?


In the ovirt engine, is it possible to provide a NAT address to the node 
? then the VM consoles coud work.


So, I give up the above architecture and move my ovirtmgmt ip address 
behind a VM routeur which has a tunneling IPSec to our central site. The 
access to the VM consoles is resolved but I discover that the VM does 
not start automaticaly whithout the engine (like vmware does).


I hope you understand my problematic.

Sincerely,

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


Re: [ovirt-users] Start VM automatically

2018-02-26 Thread Fabrice SOLER

Hi Hanson,

Thank you for your answer, but the routeur is a VM.

So I need that this VM start without the engine. It has to start when 
the node start (after a power failure).


Only when the routeur will be up, I will be able to manage the node and 
the VMs.


Do you think there a solution ?

Sincerely,

Fabrice


Le 26/02/2018 à 18:18, Hanson Turner a écrit :


Hi Fabrice,

If there's an issue with the hypervisor, the VM should pause. In the 
highly available section, (edit the advanced options on the vm) you 
can set the resume options restart/resume/stay off


The engine needs to be able to see + manage the node. You'll have to 
take care of the networking/port forwarding/vpn/vlan etc to make sure 
the engine can control the node.


Once the node's in control, the engine can restore the VM when it 
knows the node is good.


Thanks,

Hanson


On 02/26/2018 04:09 PM, Fabrice SOLER wrote:


Hello,

My node (IP ovirtmgmt) is behind a routeur that is running on the 
hypervisor (the node itself).


So, I need that the VM (routeur) start automatically after the node 
start.


The ovirt engine is running on another infrastructure and the version 
is 4.2.0. The node is also in this version.


Is there a solution ?

Sincerely,

--


___
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] Start VM automatically

2018-02-26 Thread Fabrice SOLER

Hello,

My node (IP ovirtmgmt) is behind a routeur that is running on the 
hypervisor (the node itself).


So, I need that the VM (routeur) start automatically after the node start.

The ovirt engine is running on another infrastructure and the version is 
4.2.0. The node is also in this version.


Is there a solution ?

Sincerely,

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