Re: [ovirt-users] Confused by logical networks

2018-02-24 Thread Paul-Erik Törrönen

On 2018-02-23 08:41, Yaniv Kaul wrote:

There's no reason really to assign IPs to hosts on the logical network.


Ah yes, you're correct.

I was using the physical host as a GW so that the VMs on the logical 
network would have an access point to outside (like the CentOS 
repositories).


Anyways, I found the cause of my confusion in the end. The switch was 
not properly set up (*ahemm* forgot to save configuration).


3 thumbs up for oVirt showing the LLDP-info of the switch :-)

And the fact that despite having to reinstall essentially everything 
oVirt from scratch (due to failed upgrade), the VMs were just a matter 
if import. Splendid work!


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


Re: [ovirt-users] oVirt 4.2 WebUI Plugin API Docs?

2018-02-24 Thread Zip
Hi Alexander,

If I try the following:





var api = parent.pluginApi('HelloWorld');
api.register({
UiInit: function () {
api.addMainTab('FooTab','xtab123','http://foo.com/');
}
});
api.ready();





I get the error in my browser console:

Sun Feb 25 00:03:56 GMT-600 2018
org.ovirt.engine.ui.webadmin.plugin.PluginManager SEVERE: Exception caught
while invoking event handler function [UiInit] for plugin [HelloWorld]:
Error: java.lang.IndexOutOfBoundsException webadmin:1:13517
 

Sun Feb 25 00:03:56 GMT-600 2018
org.ovirt.engine.ui.webadmin.plugin.PluginManager WARNING: Plugin
[HelloWorld] removed from service due to failure


However if I remove the line:

 api.addMainTab('FooTab','xtab123','http://foo.com/Œ);

And replace it with something simple like:

alert(ŒTest 123¹);

There are no errors and the alert fires as it should.


Any ideas of what I might be missing?

I am running oVirt 4.2.1 on CentOS ­ Hosted Engine setup with 1 host for
testing.

Thanks

Zip

> 
> From:  Alexander Wels 
> Date:  Monday, February 19, 2018 at 7:54 AM
> To:  "users@ovirt.org" 
> Cc:  Preston 
> Subject:  Re: [ovirt-users] oVirt 4.2 WebUI Plugin API Docs?
> 
> On Friday, February 16, 2018 6:31:10 PM EST Zip wrote:
>>  Are there any updated docs for the WebUI Plugins API?
>>  
> 
> Unfortunately no, I haven't had a chance to create updated documentation.
> However the first two links are mostly still accurate as we haven't done any
> major changes to the API.
> 
> Some things to note that are different from the API documentation in https://
> www.ovirt.org/develop/release-management/features/ux/uiplugins/ for 4.2:
> 
> - alignRight no longer has any effect, as the UI in 4.2 no longer respects it.
> - none of the systemTreeNode selection code does anything (since there is no
> more system tree)
> - As noted in the documentation itself the RestApiSessionAcquired is no longer
> available as we have a proper SSO mechanism that you can utilize at this
> point.
> - Main Tabs are now called Main Views (but the api still calls them main tabs,
> so use the apis described). And sub tabs are now called detail tabs, but the
> same thing the API hasn't changed the naming convention so use subTabs.
> - mainTabActionButton location property no longer has any meaning and is
> ignored.
> 
> That is it I think, we tried to make it so existing plugins would remain
> working even if some options no longer mean anything.
> 
>>  I have found the following which all appear to be old and no longer working?
>>  
>>  https://www.ovirt.org/documentation/admin-guide/appe-oVirt_User_Interface_Pl
>>  ugins/
>>  https://www.ovirt.org/develop/release-management/features/ux/uiplugins/
>>  http://resources.ovirt.org/old-site-files/UI_Plugins_at_oVirt_Workshop_Sunny
>>  vale_2013.pdf
>>  
>>  Thanks
>>  
>>  Zip
> 
> 
> 


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


Re: [ovirt-users] After upgrade to 4.2 some VM won't start

2018-02-24 Thread Mahdi Adnan
So if you create new VM and attach the same disk to it, it will run without 
issues ?


--

Respectfully
Mahdi A. Mahdi


From: users-boun...@ovirt.org  on behalf of Arsène 
Gschwind 
Sent: Saturday, February 24, 2018 11:03 AM
To: users@ovirt.org
Subject: Re: [ovirt-users] After upgrade to 4.2 some VM won't start


When creating an identical VM and attaching the one disk it will start and run 
perfectly. It seems that during the Cluster Compatibility Update something 
doesn't work right on running VM, this only happens on running VMs and I could 
reproduce it.

Is there a way to do some kind of diff between the new and the old VM settings 
to find out what may be different?

Thanks,
Arsene

On 02/23/2018 08:14 PM, Arsène Gschwind wrote:

Hi,

After upgrading cluster compatibility to 4.2 some VM won't start and I'm unable 
to figured out why, it throws a java exception.

I've attached the engine log.

Thanks for any help/hint.

rgds,
Arsene

--

Arsène Gschwind
Fa. Sapify AG im Auftrag der Universität Basel
IT Services
Klingelbergstr. 70 |  CH-4056 Basel  |  Switzerland
Tel. +41 79 449 25 63  |  http://its.unibas.ch 
ITS-ServiceDesk: support-...@unibas.ch | +41 61 
267 14 11



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


--

Arsène Gschwind
Fa. Sapify AG im Auftrag der Universität Basel
IT Services
Klingelbergstr. 70 |  CH-4056 Basel  |  Switzerland
Tel. +41 79 449 25 63  |  http://its.unibas.ch 
ITS-ServiceDesk: support-...@unibas.ch | +41 61 
267 14 11
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] API endpoint for a VM to fetch metadata about itself

2018-02-24 Thread Geoff Sweet
Is there an API endpoint that VM's can query to discover it's oVirt
metadata? Something similar to AWS's http://169.254.169.254/latest/
meta-data/ query in EC2? I'm trying to stitch a lot of automation workflow
together and so far I have had great luck with oVirt. But the next small
hurdle is to figure out how all the post-install setup stuff can figure out
who the VM is so it can the appropriate configurations.

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


Re: [ovirt-users] After upgrade to 4.2 some VM won't start

2018-02-24 Thread Arsène Gschwind

Yes exactly


On 02/24/2018 11:58 AM, Mahdi Adnan wrote:
So if you create new VM and attach the same disk to it, it will run 
without issues ?



--

Respectfully*
**Mahdi A. Mahdi*


*From:* users-boun...@ovirt.org  on behalf of 
Arsène Gschwind 

*Sent:* Saturday, February 24, 2018 11:03 AM
*To:* users@ovirt.org
*Subject:* Re: [ovirt-users] After upgrade to 4.2 some VM won't start

When creating an identical VM and attaching the one disk it will start 
and run perfectly. It seems that during the Cluster Compatibility 
Update something doesn't work right on running VM, this only happens 
on running VMs and I could reproduce it.


Is there a way to do some kind of diff between the new and the old VM 
settings to find out what may be different?


Thanks,
Arsene


On 02/23/2018 08:14 PM, Arsène Gschwind wrote:


Hi,

After upgrading cluster compatibility to 4.2 some VM won't start and 
I'm unable to figured out why, it throws a java exception.


I've attached the engine log.

Thanks for any help/hint.

rgds,
Arsene

--

*Arsène Gschwind*
Fa. Sapify AG im Auftrag der Universität Basel
IT Services
Klingelbergstr. 70 |  CH-4056 Basel  | Switzerland
Tel. +41 79 449 25 63  | http://its.unibas.ch 
ITS-ServiceDesk: support-...@unibas.ch  
| +41 61 267 14 11




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


--

*Arsène Gschwind*
Fa. Sapify AG im Auftrag der Universität Basel
IT Services
Klingelbergstr. 70 |  CH-4056 Basel  |  Switzerland
Tel. +41 79 449 25 63  | http://its.unibas.ch 
ITS-ServiceDesk: support-...@unibas.ch  
| +41 61 267 14 11




--

*Arsène Gschwind*
Fa. Sapify AG im Auftrag der Universität Basel
IT Services
Klingelbergstr. 70 |  CH-4056 Basel  |  Switzerland
Tel. +41 79 449 25 63  | http://its.unibas.ch 
ITS-ServiceDesk: support-...@unibas.ch | +41 61 267 14 11

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


Re: [ovirt-users] rebooting hypervisors from time to time

2018-02-24 Thread Mahdi Adnan
Hi,

The log does't indicate HV reboot, and i see lots of errors in the logs.
During the reboot, what happened to the VM inside of the HV ? migrated ? paused 
? what about the system's logs ? does it indicate a graceful shutdown ?


--

Respectfully
Mahdi A. Mahdi


From: Erekle Magradze 
Sent: Friday, February 23, 2018 2:48 PM
To: Mahdi Adnan; users@ovirt.org
Subject: Re: [ovirt-users] rebooting hypervisors from time to time


Thanks for the reply,

I've attached all the logs from yesterday, reboot has happened during the day 
but this is not the first time and this is not the only one hypervisor.

Kind Regards

Erekle

On 02/23/2018 09:00 AM, Mahdi Adnan wrote:
Hi,

Can you post the VDSM and Engine logs ?


--

Respectfully
Mahdi A. Mahdi


From: users-boun...@ovirt.org 
 on behalf of Erekle 
Magradze 
Sent: Thursday, February 22, 2018 11:48 PM
To: users@ovirt.org
Subject: Re: [ovirt-users] rebooting hypervisors from time to time

Dear all,

It would be great if someone will share any experience regarding the
similar case, would be great to have a hint where to start investigation.

Thanks again

Cheers

Erekle


On 02/22/2018 05:05 PM, Erekle Magradze wrote:
> Hello there,
>
> I am facing the following problem from time to time one of the
> hypervisor (there are 3 of them)s is rebooting, I am using
> ovirt-release42-4.2.1-1.el7.centos.noarch and glsuter as a storage
> backend (glusterfs-3.12.5-2.el7.x86_64).
>
> I am suspecting gluster because of the e.g. message bellow from one of
> the volumes,
>
> Could you please help and suggest to which direction should
> investigation go?
>
> Thanks in advance
>
> Cheers
>
> Erekle
>
>
> [2018-02-22 15:36:10.011687] and [2018-02-22 15:37:10.955013]
> [2018-02-22 15:41:10.198701] I [MSGID: 109063]
> [dht-layout.c:716:dht_layout_normalize] 0-virtimages-dht: Found
> anomalies in (null) (gfid = ----).
> Holes=1 overlaps=0
> [2018-02-22 15:41:10.198704] I [MSGID: 109063]
> [dht-layout.c:716:dht_layout_normalize] 0-virtimages-dht: Found
> anomalies in (null) (gfid = ----).
> Holes=1 overlaps=0
> [2018-02-22 15:42:11.293608] I [MSGID: 109063]
> [dht-layout.c:716:dht_layout_normalize] 0-virtimages-dht: Found
> anomalies in (null) (gfid = ----).
> Holes=1 overlaps=0
> [2018-02-22 15:53:16.245720] I [MSGID: 100030]
> [glusterfsd.c:2524:main] 0-/usr/sbin/glusterfs: Started running
> /usr/sbin/glusterfs version 3.12.5 (args: /usr/sbin/glusterfs
> --volfile-server=10.0.0.21 --volfi
> le-server=10.0.0.22 --volfile-server=10.0.0.23
> --volfile-id=/virtimages
> /rhev/data-center/mnt/glusterSD/10.0.0.21:_virtimages)
> [2018-02-22 15:53:16.263712] W [MSGID: 101002]
> [options.c:995:xl_opt_validate] 0-glusterfs: option 'address-family'
> is deprecated, preferred is 'transport.address-family', continuing
> with correction
> [2018-02-22 15:53:16.269595] I [MSGID: 101190]
> [event-epoll.c:613:event_dispatch_epoll_worker] 0-epoll: Started
> thread with index 1
> [2018-02-22 15:53:16.273483] I [MSGID: 101190]
> [event-epoll.c:613:event_dispatch_epoll_worker] 0-epoll: Started
> thread with index 2
> [2018-02-22 15:53:16.273594] W [MSGID: 101174]
> [graph.c:363:_log_if_unknown_option] 0-virtimages-readdir-ahead:
> option 'parallel-readdir' is not recognized
> [2018-02-22 15:53:16.273703] I [MSGID: 114020] [client.c:2360:notify]
> 0-virtimages-client-0: parent translators are ready, attempting
> connect on transport
> [2018-02-22 15:53:16.276455] I [MSGID: 114020] [client.c:2360:notify]
> 0-virtimages-client-1: parent translators are ready, attempting
> connect on transport
> [2018-02-22 15:53:16.276683] I [rpc-clnt.c:1986:rpc_clnt_reconfig]
> 0-virtimages-client-0: changing port to 49152 (from 0)
> [2018-02-22 15:53:16.279191] I [MSGID: 114020] [client.c:2360:notify]
> 0-virtimages-client-2: parent translators are ready, attempting
> connect on transport
> [2018-02-22 15:53:16.282126] I [MSGID: 114057]
> [client-handshake.c:1478:select_server_supported_programs]
> 0-virtimages-client-0: Using Program GlusterFS 3.3, Num (1298437),
> Version (330)
> [2018-02-22 15:53:16.282573] I [MSGID: 114046]
> [client-handshake.c:1231:client_setvolume_cbk] 0-virtimages-client-0:
> Connected to virtimages-client-0, attached to remote volume
> '/mnt/virtimages/virtimgs'.
> [2018-02-22 15:53:16.282584] I [MSGID: 114047]
> [client-handshake.c:1242:client_setvolume_cbk] 0-virtimages-client-0:
> Server and Client lk-version numbers are not same, reopening the fds
> [2018-02-22 15:53:16.282665] I [MSGID: 108005]
> [afr-common.c:4929:__afr_handle_child_up_event]
> 0-virtimages-replicate-0: Subvolume 'virtimages-client-0' came back
> up; going 

[ovirt-users] Hosted Engine VM not imported

2018-02-24 Thread Alessandro De Salvo

Hi,

I have just migrated my dev cluster to the latest master, reinstalling 
the engine VM and reimporting from a previous backup. I'm trying with 
4.3.0-0.0.master.20180222192611.git01e6ace.el7.centos


I had a few problems:

- the documentation seems to be outdated, and I just find by searching 
the archives that it's needed to add the two (undocumented) options 
--he-remove-storage-vm --he-remove-hosts


- despite the fact I selected "No" to running the engine-setup command 
in the VM (the ovirt appliance), the engine-setup is executed when 
running hosted-engine --deploy, and as a result the procedure does not 
stop allowing to reload the db backup. The only way I found was to put 
the hosted-engine in global maintenance mode, stop the ovirt-engine, do 
an engine-cleanup and reload the db, then it's possible to add the first 
host in the GUI, but must be done manually


- after it's all done, I can see the hosted_storage is imported, but the 
HostedEngine is not imported, and in the Events I see messages like this:


VDSM atlas-svc-18 command GetVolumeInfoVDS failed: Image path does not 
exist or cannot be accessed/created: 
(u'/rhev/data-center/mnt/glusterSD/atlas-fsserv-07.roma1.infn.it:_atlas-engine-02/f02d7d5d-1459-48b8-bf27-4225cdfdce23/images/c815ec3f-6e31-4b08-81be-e515e803edce',)


   the path here is clearly wrong, it should be 
/rhev/data-center/mnt/glusterSD/atlas-fsserv-07.roma1.infn.it:_atlas-engine-02/f02d7d5d-1459-48b8-bf27-4225cdfdce23/images/b7bc6468-438c-47e7-b7a4-7ed06b786da0/c815ec3f-6e31-4b08-81be-e515e803edce, 
and I see the hosted_engine.conf in the shared storage has it correctly 
set as vm_disk_id=b7bc6468-438c-47e7-b7a4-7ed06b786da0.



Any hint on what is not allowing the HostedEngine to be imported? I 
didn't find a way to add other hosted engine nodes if the HE VM is not 
imported in the cluster, like we were used in the past with the CLI 
using hosted-engine --deploy on multiple hosts.


Thanks for any help,


    Alessandro

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


Re: [ovirt-users] After upgrade to 4.2 some VM won't start

2018-02-24 Thread Arsène Gschwind
When creating an identical VM and attaching the one disk it will start 
and run perfectly. It seems that during the Cluster Compatibility Update 
something doesn't work right on running VM, this only happens on running 
VMs and I could reproduce it.


Is there a way to do some kind of diff between the new and the old VM 
settings to find out what may be different?


Thanks,
Arsene


On 02/23/2018 08:14 PM, Arsène Gschwind wrote:


Hi,

After upgrading cluster compatibility to 4.2 some VM won't start and 
I'm unable to figured out why, it throws a java exception.


I've attached the engine log.

Thanks for any help/hint.

rgds,
Arsene

--

*Arsène Gschwind*
Fa. Sapify AG im Auftrag der Universität Basel
IT Services
Klingelbergstr. 70 |  CH-4056 Basel  |  Switzerland
Tel. +41 79 449 25 63  | http://its.unibas.ch 
ITS-ServiceDesk: support-...@unibas.ch | +41 61 267 14 11



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


--

*Arsène Gschwind*
Fa. Sapify AG im Auftrag der Universität Basel
IT Services
Klingelbergstr. 70 |  CH-4056 Basel  |  Switzerland
Tel. +41 79 449 25 63  | http://its.unibas.ch 
ITS-ServiceDesk: support-...@unibas.ch | +41 61 267 14 11

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