Re: Import VM from ovirt-exported ova
by Strahil
When adding the iscsi domain - it complains about the name.
Do you have a local (to the cluster) domain that could have the same name with the name of the iscsi storage domain ?
If tar fails to extract the archive - then the oVirt will also fail.
Can you export a new OVA and test it before trying to import ?
Best Regards,
Strahil NikolovOn Jun 22, 2019 23:26, David Paning <david.paning(a)gmx.ch> wrote:
>
> Ammending my post:
> i tried to extract the ova file, but this fails like this:
>
> # tar xvf VM0001.ova
> vm.ovf
> 3223a5b9-275f-4ecc-a221-795f675e667e
> tar: Unexpected EOF in archive
> tar: rmtlseek not stopped at a record boundary
> tar: Error is not recoverable: exiting now
>
> The result still is:
> # ls -al
> total 20064272
> drwxr-xr-x. 2 vdsm kvm 4096 Jun 22 20:52 .
> dr-xr-xr-x. 21 root root 4096 Jun 22 20:45 ..
> -rw-------. 1 root root 10272886272 Jun 22 20:52 3223a5b9-275f-4ecc-a221-795f675e667e
> -rw-r--r--. 1 vdsm kvm 10272899072 Jun 21 21:13 VM0001.ova
> -rw-r--r--. 1 root root 11469 May 30 19:07 vm.ovf
>
> Disk space is sufficient, with double the capacity of the uncompressed VM size...
>
> It starts to turn into a bit of a nightmare:
> 1) Importing the VM from OVA fails like described above
> 2) Attempting to import the "Export"-storage domain of the previous oVirt 4.3.3.1 installation where i had exportet the VM to failed, as tthere is no storage domain recognized
> 3) Attempting to import the iSCSI-based "Data"-domain of that same previous cluster fails, due to the folloing error:
> "Error while executing action: Cannot add Storage. The Storage Domain name is already in use."
>
> The iSCSI-LUN is not connected to any other initiator.
> The hosts which belonged to the former oVirt cluster are erased or offline...
>
> As i still have all the sSCSI-LUNs, is there any option left to get hold of that VirtualMachine?
>
> It's not just this machine, but also wondering how to prepare for the next time i have to migrate the cluster...
>
> Any suggestion on how to proceed best is highly welcome ;-)
> _______________________________________________
> Users mailing list -- users(a)ovirt.org
> To unsubscribe send an email to users-leave(a)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/SGG3K3RH6GN...
5 years, 5 months
Unable to log into Administration Portal
by zachary.winter@witsconsult.com
I suppose I just keep striking out on recent oVirt updates. Today (22 June 2019, all previous updates have been installed successfully) I saw that an update was available for my Enterprise Linux Host (main oVirt engine, CentOS 7 x64), and I attempted to update it. The update failed, which had never happened before. I logged in via SSH and saw that the updates had been halted due to "yum versionlock." I cleared versionlock and proceeded with the update, which appeared to work successfully. I rebooted the system, which came up a-ok. However, I can no longer reach the Administration Portal page. The browser only hangs. I see the following:
- type in the IP address to the server and get the https://<ip address>/ovirt-engine/sso/oauth/authorize page, which tells me:
"The FQDN used to access the system is not a valid engine FQDN. You must access the system using the engine FQDN or one of the engine alternate FQDNs.
Click here to continue."
When I click the provided link, I get the same hanging behavior and it never loads the login page.
- I was able to connect via Cockpit to https://<IP Address>:9090 and log in successfully as root after SSH'ing in and restarting the engine. There are no major issues displayed, and I was able to create a Diagnostic Report. Under Hostname > oVirt Machines, it will actually redirect me to the login page at https://fqdn/ovirt-engine/sso/login.html. The page will actually load after the redirect, but when I enter my admin@internal credentials it just hangs and spins.
When I return to "Virtual Machines" in Cockpit, I have Host/Cluster/Templates/VDSM options, I see "oVirt login in progress" with a continually spinning circle, never actually able to authenticate.
In /var/log/ovirt-engine/ui.log, I see:
2019-06-22 19:08:02,533-04 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-4) [] Permutation name: C92E6928986552EDD0E1C99CDC0CC8AB
2019-06-22 19:08:02,533-04 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-4) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'kh' of null
at org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.$lambda$4(AsyncDataProvider.java:387)
at org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider$lambda$4$Type.executed(AsyncDataProvider.java:387)
at org.ovirt.engine.ui.frontend.Frontend$2.$onFailure(Frontend.java:329) [frontend.jar:]
at org.ovirt.engine.ui.frontend.Frontend$2.onFailure(Frontend.java:329) [frontend.jar:]
at org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.$onFailure(OperationProcessor.java:184) [frontend.jar:]
at org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.onFailure(OperationProcessor.java:184) [frontend.jar:]
at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider.$handleMultipleQueriesFailure(GWTRPCCommunicationProvider.java:305) [frontend.jar:]
at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.onFailure(GWTRPCCommunicationProvider.java:263) [frontend.jar:]
at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:198) [gwt-servlet.jar:]
at com.google.gwt.http.client.Request.$fireOnResponseReceived(Request.java:233) [gwt-servlet.jar:]
at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:409) [gwt-servlet.jar:]
at Unknown.eval(webadmin-0.js)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java:236) [gwt-servlet.jar:]
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275) [gwt-servlet.jar:]
at Unknown.eval(webadmin-0.js)
In engine.log, I see some update related errors:
2019-06-22 18:46:54,053-04 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engineScheduled-Thread-22) [] EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), VDSM ovirt2. command HSMGetAllTasksStatusesVDS failed: Not SPM
2019-06-22 18:46:54,054-04 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-22) [] Command 'HSMGetAllTasksStatusesVDSCommand(HostName = ovirt2., VdsIdVDSCommandParametersBase:{hostId='2f1da67f-66f7-40d6-81c4-dde82d6a6dd6'})' execution failed: IRSGenericException: IRSErrorException: IRSNonOperationalException: Not SPM
2019-06-22 19:01:18,875-04 ERROR [org.ovirt.engine.core.bll.host.HostUpgradeManager] (EE-ManagedThreadFactory-hostUpdatesChecker-Thread-2) [] Failed to run check-update of host 'ovirt1.'. Error: fatal: [ovirt1.]: FAILED! => {"changed": false, "msg": "yum lockfile is held by another process"}
2019-06-22 19:01:18,875-04 ERROR [org.ovirt.engine.core.bll.hostdeploy.HostUpdatesChecker] (EE-ManagedThreadFactory-hostUpdatesChecker-Thread-2) [] Failed to check if updates are available for host 'ovirt1.' with error message 'Failed to run check-update of host 'ovirt1.'. Error: fatal: [ovirt1.]: FAILED! => {"changed": false, "msg": "yum lockfile is held by another process"}
2019-06-22 19:01:18,881-04 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-hostUpdatesChecker-Thread-2) [] EVENT_ID: HOST_AVAILABLE_UPDATES_FAILED(839), Failed to check for available updates on host ovirt1. with message 'Failed to run check-update of host 'ovirt1.'. Error: fatal: [ovirt1.]: FAILED! => {"changed": false, "msg": "yum lockfile is held by another process"}
2019-06-22 19:08:04,848-04 ERROR [org.ovirt.engine.core.bll.SshHostRebootCommand] (EE-ManagedThreadFactory-commandCoordinator-Thread-2) [6a9c283] Command 'org.ovirt.engine.core.bll.SshHostRebootCommand' failed: ManagedThreadFactory is stopped
2019-06-22 19:08:04,848-04 ERROR [org.ovirt.engine.core.bll.SshHostRebootCommand] (EE-ManagedThreadFactory-commandCoordinator-Thread-2) [6a9c283] Exception: java.lang.IllegalStateException: ManagedThreadFactory is stopped
2019-06-22 19:08:04,857-04 ERROR [org.ovirt.engine.core.bll.SshHostRebootCommand] (EE-ManagedThreadFactory-commandCoordinator-Thread-2) [6a9c283] Error during log command: org.ovirt.engine.core.bll.SshHostRebootCommand. Exception PreparedStatementCallback; uncategorized SQLException for SQL [select * from getclusterbyclusterid(?, ?, ?)]; SQL state [null]; error code [0]; IJ031013: Interrupted attempting lock: org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@7b3be2cd; nested exception is java.sql.SQLException: IJ031013: Interrupted attempting lock: org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@7b3be2cd
2019-06-22 19:08:04,858-04 ERROR [org.ovirt.engine.core.bll.job.ExecutionHandler] (EE-ManagedThreadFactory-commandCoordinator-Thread-2) [6a9c283] Exception: org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL [select * from checkifjobhastasks(?)]; SQL state [null]; error code [0]; IJ031013: Interrupted attempting lock: org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@7b3be2cd; nested exception is java.sql.SQLException: IJ031013: Interrupted attempting lock: org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@7b3be2cd
2019-06-22 19:08:04,869-04 ERROR [org.ovirt.engine.core.bll.job.ExecutionHandler] (EE-ManagedThreadFactory-commandCoordinator-Thread-2) [6a9c283] Failed to end Job '376636f1-29cb-4bb7-adc4-1c8470ec1070', 'SshHostReboot': Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: javax.resource.ResourceException: IJ000457: Unchecked throwable in managedConnectionReconnected() cl=org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@4a38ab13[state=NORMAL managed connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@7b3be2cd connection handles=0 lastReturned=1561244884865 lastValidated=1561244613838 lastCheckedOut=1561244884865 trackByTx=false pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@250efd73 mcp=SemaphoreConcurrentLinkedQueueManagedConnectionPool@440e7f35[pool=ENGINEDataSource] xaResource=LocalXAResourceImpl@41bc50e8[connectionListener=4a38ab13 connectionManager=49ec2180 warned=false currentXid=null productName=Postgre
SQL productVersion=10.6 jndiName=java:/ENGINEDataSource] txSync=null]
2019-06-22 19:08:05,220-04 ERROR [org.ovirt.engine.core.bll.hostdeploy.UpgradeHostInternalCommand] (EE-ManagedThreadFactory-commandCoordinator-Thread-2) [6a9c283] Engine failed to restart via ssh host 'ovirt1.' ('33138c5f-9e48-4426-b9e7-ae148ae16387') after upgrade
2019-06-22 19:08:06,245-04 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-commandCoordinator-Thread-2) [49770eb6-43f1-4048-af2c-a7ebadf282bb] EVENT_ID: HOST_UPGRADE_FAILED(841), Failed to upgrade Host ovirt1. (User: admin@internal-authz).
2019-06-22 19:10:58,333-04 ERROR [org.ovirt.engine.core.bll.Backend] (ServerService Thread Pool -- 52) [] Error during initialization: javax.ejb.EJBException: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
2019-06-22 19:24:36,687-04 ERROR [org.ovirt.engine.core.bll.Backend] (ServerService Thread Pool -- 42) [] Error during initialization: javax.ejb.EJBException: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
2019-06-22 21:14:46,279-04 ERROR [org.ovirt.engine.core.bll.Backend] (ServerService Thread Pool -- 55) [] Error during initialization: javax.ejb.EJBException: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
It appears that a lot of the system is still running, but I just can't reach the admin page. Is there any way to roll this back or troubleshoot?
5 years, 5 months
Re: ovirt-vmconsole: Pemission denied (publickey) when I select VM id
by Jonathan Greg
Here is the log I get from the engine node when I do "ssh -t -p 2222 ovirt-vmconsole(a)ovirt-engine01.int.cloche.ca<mailto:ovirt-vmconsole@ovirt-engine01.int.cloche.ca>-i .ssh/serialconsolekey connect and I enter a console id":
[root@ovirt-engine01 ~]# tail -f /var/log/messages
Jun 20 09:22:13 ovirt-engine01 sshd[8836]: rexec line 24: Deprecated option RSAAuthentication
Jun 20 09:22:13 ovirt-engine01 sshd[8836]: reprocess config line 24: Deprecated option RSAAuthentication
Jun 20 09:22:14 ovirt-engine01 sshd[8836]: Accepted publickey for ovirt-vmconsole from 192.168.30.217 port 55849 ssh2: RSA SHA256:rYFIGj3UaNY28ocnmWqK3UZpznU0bzo6tPR+NpnR6Hw
Jun 20 09:22:14 ovirt-engine01 sshd[8836]: Attempt to write login records by non-root user (aborting)
Jun 20 09:22:20 ovirt-engine01 ovirt-vmconsole-proxy-shell[8849]: INFO Opening console '7e2c5638-f97c-45c4-8487-153764db2fc7.sock(a)c200m2-1.int.cloche.ca' on behalf of 'admin_internal-authz'[4907b7e8-dbda-11e8-9a2e-00163e1b3a71]
Jun 20 09:22:20 ovirt-engine01 sshd[8836]: Attempt to write login records by non-root user (aborting)
Jun 20 09:22:21 ovirt-engine01 sshd[8848]: Received disconnect from 192.168.30.217 port 55849:11: disconnected by user
Jun 20 09:22:21 ovirt-engine01 sshd[8848]: Disconnected from 192.168.30.217 port 55849
5 years, 5 months
Cleaning up after failed task
by Alan G
Hi,
Yesterday I had an AddDisk operation fail. The task is no longer running on the SPM but it's stuck in the engine DB and the failed disk is now locked. I've tried to clean it out using taskcleaner.sh, but either I'm using it incorrectly or it doesn't handle my specific scenario.
There were no running tasks (-T returned empty set). There were two commands (-o) which I then removed (-r) but the Engine UI is still reporting the tasks. Possibly because step table still reports non finished steps.
engine=# select step_id,start_time,end_time,status from step order by start_time;
step_id | start_time | end_time | status
--------------------------------------+----------------------------+----------------------------+----------
5c60afc8-102f-49a5-84aa-a299c21e23dd | 2019-06-20 15:23:04.689+00 | 2019-06-20 15:23:04.953+00 | FINISHED
562211a7-9d12-4e1c-9b3f-16edd751904f | 2019-06-20 15:23:04.985+00 | 2019-06-20 15:23:56.105+00 | FINISHED
5f49dde9-50d9-46a2-bfb4-7cb243a14515 | 2019-06-20 15:23:05.648+00 | 2019-06-20 15:23:17.35+00 | FAILED
5095bc73-e1a2-4ea5-9c20-37ee0ecc7ac0 | 2019-06-20 15:23:20.767+00 | | STARTED
a960ee64-8ef4-45de-b06c-5ddba4d71178 | 2019-06-20 15:23:23.201+00 | | STARTED
238ef349-d3dc-4923-8cc0-aa26b2d136d0 | 2019-06-20 15:23:27.67+00 | | STARTED
7f4ffe9a-6da5-485c-9732-9fc4cf93633b | 2019-06-20 15:23:35.806+00 | | STARTED
ecaaa983-057e-45bd-8f6e-20675fa14999 | 2019-06-20 15:23:45.93+00 | | STARTED
67f8247b-2b99-4fec-afa4-9f7a77fa71ea | 2019-06-20 15:23:56.105+00 | | STARTED
e8853408-d57c-4151-884a-691e70b0aff0 | 2019-06-21 12:01:09.636+00 | 2019-06-21 12:01:09.756+00 | FINISHED
4f03e90e-1c37-4bb7-9226-4c9ecc6425ea | 2019-06-21 12:01:09.762+00 | 2019-06-21 12:02:20.985+00 | FINISHED
(11 rows)
I don't want to manually delete those rows but don't know how else to resolve.
ovirt-engine-4.2.8.2
Thanks,
Alan
5 years, 5 months
hosted-engine restore bug?
by ada per
Hello everyone,
im running on ovirt 4.3.5
For some strange reason the httpd service couldn't start on my hosted engine so i could not access the Web interface.After various unsuccessful attempts to fix it, I decided to restore the hosted engine.
Following the steps:
1.engine-cleanup
2.db had to delete it manually using rm -rf /var/lib/pgsql/data
3.engine-backup --mode=restore --file=backup_file --log=log_file_name --provision-db --no-restore-permissions
4.engine-setup
On step 3 it keeps coming with error messages "FATAL: Can't connect to database 'ovirt_engine_history'. Please see '/usr/bin/engine-backup --help'.
i need to get this hosted-engine up and running so please advice
5 years, 5 months
Re: Ovirt Hyperconverged Cluster
by Slobodan Stevanovic
I had issues with installation too, but I end up separating the interfaces.
My current setup has one interface dedicated to storage and the other one is connected to a trunk port with a couple of VLANs
On Thursday, June 20, 2019, 10:53:15 AM PDT, Raffaele Stefanile <raffaele(a)stefanile.com> wrote:
Yes is two interface in bound configuration with 2 vlan
On Thu, Jun 20, 2019, 19:32 Slobodan Stevanovic <slobastev(a)yahoo.com> wrote:
Are you using the same interface for gluster and the ovirt engine?
On Thursday, June 20, 2019, 08:53:57 AM PDT, raffaele(a)stefanile.com <raffaele(a)stefanile.com> wrote:
Many thanks for your help
https://drive.google.com/drive/folders/1HmKccGRAI0ggyuyZrQ2OA42G24-26bsx?...
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)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/B2VRA7FUZCX...
5 years, 5 months
Download Ovirt Repository
by siovelrm@gmail.com
Hi, I've been using Ovirt and I'm doing fine. It happens that where I live connectivity to the internet is very slow. I wanted to know if it was possible to download the Ovirt repository in order to have it locally on my network. Greetings and thank you in advance for your answers.
5 years, 5 months
ovirt_vm ansible cloud-init ipv6 related
by Vrgotic, Marko
Dear oVirt
Would you be so kind to help out clarifying if and how is IPv6 supported with
-ansible / ovirt_vm / cloud-init boot protocol.
I have created a VM template which by default uses cloud-init with following:
[cid:image001.png@01D5251F.E55FEAA0]
When I boot the VM from UI, each VM gets IPv4 DHCP and IPv6 DHCP6 address, default cloud-init setup and we have infrastructure for both IPv4 and IPv6.
However, when calling same template via Ansible ovirt_vm, using following:
cloud_init_nics: |~
- nic_name: eth0 |~
nic_boot_protocol: dhcp |~
nic_on_boot: true
each VM receives only IPv4 DHCP and only IPv6 RA, but not DHCP IPv6.
Looking at booted VM, following options are not set:
* /etc/sysconfig/network => NETWORKING_IPV6=yes
* Or /etc/sysconfig/network-scripts/ifcfg-eth0 => DHCPV6C=yes and IPV6INIT=yes
We need IPv6 DHCP6 address , especially for registering it host with DNS AAAA record.
Is this supported? Am I doing it wrong way?
If its supported please let me know, how can I make sure that VMs created using Ansible also initialize DHCPV6.
Please assist.
Marko Vrgotic
ActiveVideo
5 years, 5 months
ansible tower/awx integration in ovirt
by Nathanaël Blanchet
Hello, I wrote a playbook for workflow that automates a vm creation from
a template/cloud-init and then add it to our supervision engine and
finally to our backup system. All currently works fine with awx.
I'd like to use one UI, and I wondered if integrating awx/tower in ovirt
could be a good way to complete a basic current vm creation.
--
Nathanaël Blanchet
Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
blanchet(a)abes.fr
5 years, 5 months