[Users] VM-List gone after upgrade to 3.4

2014-04-01 Thread Stefan Wendler
Hi,

today I upgraded from 3.3.4 to 3.4 aus discribed in the release notes. Then 
executed "engine-setup" which finished without error.

Though I can see the running VMs in the according tab on each node (Hosts -> 
Node -> Tab: Virtual Machines) I don't see anything in the "Virtual Machines" 
tab (System-> Virtual Machines). It just keeps loading forever. So currently I 
cannot view any VM that just has been created or is stopped.

Is this a bug or did I miss something?

Cheers,
Stefan


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


Re: [Users] VM-List gone after upgrade to 3.4

2014-04-01 Thread Stefan Wendler
Yup. It is just showing the three "loading dots" forever. But there should be 
around 60 vms listed there. 

On Tuesday 01 April 2014 08:26:32 Alexander Wels wrote:
> Have you tried pressing the 'refresh' icon at the top of the grid next to
> the < and > buttons?
> 
> On Tuesday, April 01, 2014 01:59:55 PM Stefan Wendler wrote:
> > Hi,
> > 
> > today I upgraded from 3.3.4 to 3.4 aus discribed in the release notes.
> > Then
> > executed "engine-setup" which finished without error.
> > 
> > Though I can see the running VMs in the according tab on each node (Hosts
> > -> Node -> Tab: Virtual Machines) I don't see anything in the "Virtual
> > Machines" tab (System-> Virtual Machines). It just keeps loading forever.
> > So currently I cannot view any VM that just has been created or is
> > stopped.
> > 
> > Is this a bug or did I miss something?
> > 
> > Cheers,
> > Stefan
> > 
> > 
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
-- 
Stefan Wendler
stefan.wend...@tngtech.com
+49 (0) 176 -  2438 3835
Senior Consultant

TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring
Geschäftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock
Amtsgericht München, HRB 135082
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VM-List gone after upgrade to 3.4

2014-04-01 Thread Stefan Wendler
e/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html:17734:19213)
at Object.JHd [as Be] 
(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html:17671:5945)
at lR 
(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html:15059:137)
at Object.ER 
(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html:17668:21883)
at XMLHttpRequest. 
(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html:12328:65)
at qr 
(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html:8701:29)
at tr 
(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html:15691:57)
at XMLHttpRequest. 
(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html:12949:45):
 Cannot 
call method 'Fk' of null
at 
Unknown.tek(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@58)
at 
Unknown.Qom(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@28600)
at 
Unknown.uvk(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@166)
at 
Unknown.Zzk(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@328)
at 
Unknown.Zuk(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@146)
at 
Unknown.$uk(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@29)
at 
Unknown.tMk(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@19)
at 
Unknown.cNk(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@20496)
at 
Unknown.jyk(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@17915)
at 
Unknown.t3j(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@85)
at 
Unknown.w3j(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@514)
at 
Unknown.I5j(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@40)
at 
Unknown.L5j(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@20006)
at 
Unknown.R4j(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@25)
at 
Unknown.U4j(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@19213)
at 
Unknown.JHd(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@5945)
at 
Unknown.lR(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@137)
at 
Unknown.ER(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@21883)
at 
Unknown.(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@65)
at 
Unknown.qr(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@29)
at 
Unknown.tr(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@57)
at 
Unknown.(https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF.cache.html@45)
 


- end -

On Tuesday 01 April 2014 08:42:29 Einav Cohen wrote:
> sounds like a javascript exception... is there anything showing
> in the browser's javascript error console?
> 
> - Original Message -
> 
> > From: "Stefan Wendler" 
> > To: users@ovirt.org
> > Sent: Tuesday, April 1, 2014 8:35:08 AM
> > Subject: Re: [Users] VM-List gone after upgrade to 3.4
> > 
> > Yup. It is just showing the three "loading dots" forever. But there should
> > be around 60 vms listed there.
> > 
> > On Tuesday 01 April 2014 08:26:32 Alexander Wels wrote:
> > > Have you tried pressing the 'refresh' icon at the top of the grid next
> > > to
> > > the < and > buttons?
> > > 
> > > On Tuesday, April 01, 2014 01:59:55 PM Stefan Wendler wrote:
> > > > Hi,
> > > > 
> > > > today I upgraded from 3.3.4 to 3.4 aus discribed in the release notes.
> > > > Then
> > > > executed "engine-setup" which finished without error.
> > > > 
> > > > Though I can see the running VMs in the according tab on each node
> > > > (Hosts
> > > > -> Node -> Tab: Virtual Machines) I don't see anything in the "Virtual
> > > > Machines" tab (System-> Virtual Machines). It just keeps loading
> > > > forever.
> > > > So currently I cannot view any VM that just has been created or is
> > > > stopped.
> > > > 
> > > > Is this a bug or did I m

Re: [Users] VM-List gone after upgrade to 3.4

2014-04-01 Thread Stefan Wendler
Thanks for pushing it Einav. Would be nice to have a workaround until there is 
a real fix or we figured out where I f*cked up ;) 

Even a patch file for the javascript would be nice. Because we are really 
relying on the gui.

Cheers

On Tuesday 01 April 2014 09:42:33 Einav Cohen wrote:
> Thanks, Stefan.
> Tomas/UI maintainers: I recall several similar issues in the past -
> does anyone have any helpful information / recommendations how to
> proceed?
> 
> - Original Message -----
> 
> > From: "Stefan Wendler" 
> > To: "Einav Cohen" 
> > Cc: users@ovirt.org
> > Sent: Tuesday, April 1, 2014 9:37:00 AM
> > Subject: Re: [Users] VM-List gone after upgrade to 3.4
> > 
> > You are right. Here is the message:
> > 
> > I tried deleting the browser cache but the error stays the same
> > 
> > 
> > 
> > -- begin --
> > 
> > Tue Apr 01 14:46:42 GMT+200 2014
> > com.google.gwt.logging.client.LogConfiguration
> > SEVERE: (TypeError)
> > 
> >  stack: TypeError: Cannot call method 'Fk' of null
> >  
> > at tek
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:12049:58) at Object.Qom [as z1]
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:17764:28600) at uvk
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:15782:166) at Object.Zzk
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:16763:328) at Zuk
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:15976:146) at $uk
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:15870:29) at tMk
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:7346:19) at Object.cNk [as nV]
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:17740:20496) at Object.jyk [as tX]
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:17737:17915) at t3j
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:16478:85) at Object.w3j [as tX]
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:17734:514) at I5j
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:12300:40) at Object.L5j [as tX]
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:17734:20006) at a5j
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:16058:172) at Object.d5j [as fi]
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:17734:19431) at Object.JHd [as Be]
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:17671:5945) at lR
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:15059:137) at Object.ER
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:17668:21883) at XMLHttpRequest.
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:12328:65) at qr
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:8701:29) at tr
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:15691:57) at XMLHttpRequest.
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:12949:45): Cannot
> > 
> > call method 'Fk' of null
> > com.google.gwt.core.client.JavaScriptException: (TypeError)
> > 
> >  stack: TypeError: Cannot call method 'Fk' of null
> >  
> > at tek
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:12049:58) at Object.Qom [as z1]
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:17764:28600) at uvk
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:15782:166) at Object.Zzk
> > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F9FEF
> > .cache.html:16763:328) at Zuk
> > (https://e

Re: [Users] VM-List gone after upgrade to 3.4

2014-04-01 Thread Stefan Wendler
Read the links and checked the osinfo properties file. even downloaded the 
latest one. 
But it didn't work. I have one FreeBSD vm which has type Other (6 in database) 
but in the ostype props bundled with version 3.4 (and even the on in git) has 
backwardCompatibility.Other = 0. The same as unassigned. I changed Other to 6 
but it didn't help. The error stays the same. unfortunately.

Cheers,
Stefan

On Tuesday 01 April 2014 12:21:47 Einav Cohen wrote:
> found some references to the similar issues:
> 
> one in 3.3.1 that seems to be related to os-info [1].
> 
> another issue from latest ovirt (back in January...) which
> I am not exactly sure how it ended up (os-info? db? maybe
> Adam remembers?) [2].
> 
> not sure if any of them is related, but maybe.
> HTH.
> 
> 
> Thanks,
> Einav
> 
> [1] http://lists.ovirt.org/pipermail/users/2013-December/thread.html
> look for a thread titled: 'Strange UI bug: tab "VM" unusable / oVirt 3.3.1+'
> 
> [2] http://lists.ovirt.org/pipermail/engine-devel/2014-January/thread.html
> look for a thread titled: 'UI: VM list not populating'
> 
> > - Original Message -
> > From: "Stefan Wendler" 
> > Sent: Tuesday, April 1, 2014 11:57:48 AM
> > 
> > Thanks for pushing it Einav. Would be nice to have a workaround until
> > there
> > is
> > a real fix or we figured out where I f*cked up ;)
> > 
> > Even a patch file for the javascript would be nice. Because we are really
> > relying on the gui.
> > 
> > Cheers
> > 
> > On Tuesday 01 April 2014 09:42:33 Einav Cohen wrote:
> > > Thanks, Stefan.
> > > Tomas/UI maintainers: I recall several similar issues in the past -
> > > does anyone have any helpful information / recommendations how to
> > > proceed?
> > > 
> > > - Original Message -
> > > 
> > > > From: "Stefan Wendler" 
> > > > To: "Einav Cohen" 
> > > > Cc: users@ovirt.org
> > > > Sent: Tuesday, April 1, 2014 9:37:00 AM
> > > > Subject: Re: [Users] VM-List gone after upgrade to 3.4
> > > > 
> > > > You are right. Here is the message:
> > > > 
> > > > I tried deleting the browser cache but the error stays the same
> > > > 
> > > > 
> > > > 
> > > > -- begin --
> > > > 
> > > > Tue Apr 01 14:46:42 GMT+200 2014
> > > > com.google.gwt.logging.client.LogConfiguration
> > > > SEVERE: (TypeError)
> > > > 
> > > >  stack: TypeError: Cannot call method 'Fk' of null
> > > >  
> > > > at tek
> > > > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F
> > > > 9FEF
> > > > .cache.html:12049:58) at Object.Qom [as z1]
> > > > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F
> > > > 9FEF
> > > > .cache.html:17764:28600) at uvk
> > > > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F
> > > > 9FEF
> > > > .cache.html:15782:166) at Object.Zzk
> > > > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F
> > > > 9FEF
> > > > .cache.html:16763:328) at Zuk
> > > > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F
> > > > 9FEF
> > > > .cache.html:15976:146) at $uk
> > > > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F
> > > > 9FEF
> > > > .cache.html:15870:29) at tMk
> > > > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F
> > > > 9FEF
> > > > .cache.html:7346:19) at Object.cNk [as nV]
> > > > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F
> > > > 9FEF
> > > > .cache.html:17740:20496) at Object.jyk [as tX]
> > > > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F
> > > > 9FEF
> > > > .cache.html:17737:17915) at t3j
> > > > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F
> > > > 9FEF
> > > > .cache.html:16478:85) at Object.w3j [as tX]
> > > > (https://engine/ovirt-engine/webadmin/4A8A784A2E5C61BA5B8132B19B6F
> > > > 9FEF
> > > > .cache.html:17734:514) at I5j
> > > > (https://engine/ovirt-engine/webadmin/4A8A784A2E5

Re: [Users] VM-List gone after upgrade to 3.4 - Found the error

2014-04-02 Thread Stefan Wendler
I think I found the error. At least it is working again.

When I read the threads Einav provided I recognized that the Problem had been 
somewhat related to os type "Other"
And I have seen some changes regarding FreeBSD. FreeBSD is not the problem 
here but that got me thinking that we have a FreeBSD VM with vm os type 
"Other" which was curretly down. Which is the only vm with that type, too. 

That also explained why I could view all bookmarks for "all running vms" but 
not the bookmarks for "all vms in cluster" or "all stopped vms".

So I started the FreeBSD vm via ovirt-shell and I was able to view "all 
stopped vms" but not "all running vms". Stopped the vm again and it was vice 
versa again. So I deleted the vm (but not the disk image) and voila, 
everything is working again. Recreated the vm with the now available os type 
FreeBSD and it is still working.

So I guess there is a problem with vm os type 6 (Other).

Cheers,
Stefan

On Wednesday 02 April 2014 01:53:09 Omer Frenkel wrote:
> - Original Message -
> 
> > From: "Itamar Heim" 
> > To: "Stefan Wendler" , "Einav Cohen"
> >  Cc: users@ovirt.org
> > Sent: Wednesday, April 2, 2014 8:16:04 AM
> > Subject: Re: [Users] VM-List gone after upgrade to 3.4
> > 
> > On 04/01/2014 11:16 PM, Stefan Wendler wrote:
> > > Read the links and checked the osinfo properties file. even downloaded
> > > the
> > > latest one.
> > > But it didn't work. I have one FreeBSD vm which has type Other (6 in
> > > database)
> > > but in the ostype props bundled with version 3.4 (and even the on in
> > > git)
> > > has
> > > backwardCompatibility.Other = 0. The same as unassigned. I changed Other
> > > to
> > > 6
> > > but it didn't help. The error stays the same. unfortunately.
> 
> just to be sure,
> do you see any error in the engine.log?
> 
> > Stefan - maybe if you can provide the db backup to one of the
> > developers, they can reproduce this.
> > 
> > > Cheers,
> > > Stefan
> > > 
> > > On Tuesday 01 April 2014 12:21:47 Einav Cohen wrote:
> > >> found some references to the similar issues:
> > >> 
> > >> one in 3.3.1 that seems to be related to os-info [1].
> > >> 
> > >> another issue from latest ovirt (back in January...) which
> > >> I am not exactly sure how it ended up (os-info? db? maybe
> > >> Adam remembers?) [2].
> > >> 
> > >> not sure if any of them is related, but maybe.
> > >> HTH.
> > >> 
> > >> 
> > >> Thanks,
> > >> Einav
> > >> 
> > >> [1] http://lists.ovirt.org/pipermail/users/2013-December/thread.html
> > >> look for a thread titled: 'Strange UI bug: tab "VM" unusable / oVirt
> > >> 3.3.1+'
> > >> 
> > >> [2]
> > >> http://lists.ovirt.org/pipermail/engine-devel/2014-January/thread.html
> > >> look for a thread titled: 'UI: VM list not populating'
> > >> 
> > >>> - Original Message -
> > >>> From: "Stefan Wendler" 
> > >>> Sent: Tuesday, April 1, 2014 11:57:48 AM
> > >>> 
> > >>> Thanks for pushing it Einav. Would be nice to have a workaround until
> > >>> there
> > >>> is
> > >>> a real fix or we figured out where I f*cked up ;)
> > >>> 
> > >>> Even a patch file for the javascript would be nice. Because we are
> > >>> really
> > >>> relying on the gui.
> > >>> 
> > >>> Cheers
> > >>> 
> > >>> On Tuesday 01 April 2014 09:42:33 Einav Cohen wrote:
> > >>>> Thanks, Stefan.
> > >>>> Tomas/UI maintainers: I recall several similar issues in the past -
> > >>>> does anyone have any helpful information / recommendations how to
> > >>>> proceed?
> > >>>> 
> > >>>> - Original Message -
> > >>>> 
> > >>>>> From: "Stefan Wendler" 
> > >>>>> To: "Einav Cohen" 
> > >>>>> Cc: users@ovirt.org
> > >>>>> Sent: Tuesday, April 1, 2014 9:37:00 AM
> > >>>>> Subject: Re: [Users] VM-List gone after upgrade to 3.4
> > >>>>> 
> > >>>>> You are right. Here is the message:
> >

Re: [Users] VM-List gone after upgrade to 3.4 - Found the error

2014-04-02 Thread Stefan Wendler
On Wednesday 02 April 2014 16:16:34 Roy Golan wrote:
> 
> an upgrade to 3.3 should have run an upgrade script [1] and update all
> vms with 6 to 0 (the new internal id of other)
> 
> can you run this sql [2] to see if it did ran?
> 
> [1]  03_03_0660_alter_os_type_unassigned_to_other.sql
> [2] psql engine engine -c "select * from schema_version where script
> ilike '%unassigned%';"

The query [2] returns "0 rows"

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


Re: [Users] VM-List gone after upgrade to 3.4 - Found the error

2014-04-02 Thread Stefan Wendler
On Wednesday 02 April 2014 09:56:30 Yedidyah Bar David wrote:
> 
> Can you please post the upgrade log from 3.3? Something like
> /var/log/ovirt-engine/setup/ovirt-engine-setup-DATE.log
> 
> Thanks!

Sent the log to Yedidyah Bar David and Roy Golan only since the file is too 
long to be pasted anywhere. If somebody else needs it, write me.

cheers

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


Re: [Users] VM-List gone after upgrade to 3.4 - Found the error

2014-04-03 Thread Stefan Wendler
On Thursday 03 April 2014 13:05:36 Roy Golan wrote:
> On Wed 02 Apr 2014 04:48:12 PM IDT, Stefan Wendler wrote:
> > On Wednesday 02 April 2014 16:16:34 Roy Golan wrote:
> >> an upgrade to 3.3 should have run an upgrade script [1] and update all
> >> vms with 6 to 0 (the new internal id of other)
> >> 
> >> can you run this sql [2] to see if it did ran?
> >> 
> >> [1]  03_03_0660_alter_os_type_unassigned_to_other.sql
> >> [2] psql engine engine -c "select * from schema_version where script
> >> ilike '%unassigned%';"
> > 
> > The query [2] returns "0 rows"
> 
> this upgrade is from 3.3.4 to 3.4 i think. did you ever upgraded from
> 3.2 to 3.3? if yes then we need that upgrade log.
AFAIR we started with 3.3 on our production environment. Yes this is from 
3.3.4 to 3.4. We had 3.3.0 before and I upgraded to 3.3.4 before going to 3.4
> 
> more directions - did you anytime override the osinfo files or added
> some custom ones? please paste the content of
> /etc/ovirt-engine/osinfo.conf.d and
> /usr/share/ovirt-engine/conf/osinfo-defaults.properties
/usr/share/ovirt-engine/conf/osinfo-defaults.properties of the centos rpm with 
the  one from the current sources. But it didn't work before that. I just 
replaced them to check if this would fix it. Until then I never heard of this 
osinfo file so I never changed/replaced it before.
> 
> if non of this has relevant results than its totally safe to run the
> script above mentioned [1]
This is the distribution of "os-types" in our database:

engine=# select count(*), os from vm_static group by os order by os;
 count |  os  
---+--
 5 |0
 3 |1
 1 |4
46 |5
 1 |   11
 1 |   12
 1 |   16
 1 | 1501
(8 rows)

So it wouldn't make much sense to execute the 
"03_03_0660_alter_os_type_unassigned_to_other.sql" ?

Regarding the config I send you a link to the tgz with all files. I don't want 
to put the link public because it is my private server with not so much 
bandwith ;)

Cheers,
Stefan 


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


[Users] File or directory /usr/share/ovirt-host-deploy/interface-3 not found though it's there

2013-10-24 Thread Stefan Wendler
Hi,

I have a problem installing ovirt nodes the ovirt version is 3.3
Whenever I try to install a node I get the following error (more log output at 
the end of the mail):

Cannot create tarball '/var/cache/ovirt-engine/ovirt-ho
st-deploy.tar': java.io.FileNotFoundException: File or directory 
/usr/share/ovirt-host-deploy/interface-3 not found

The "missing" directory ist available on the node 

ls -la /usr/share/ovirt-host-deploy/interface-3
total 16
drwxr-xr-x 4 root root 4096 Oct 24 15:14 .
drwxr-xr-x 4 root root 4096 Oct 24 15:14 ..
-rw-r--r-- 1 root root0 Sep  7 22:47 .bundled
lrwxrwxrwx 1 root root   19 Oct 24 15:14 otopi -> ../../../sbin/otopi
drwxr-xr-x 2 root root 4096 Oct 24 15:14 otopi-plugins
lrwxrwxrwx 1 root root   31 Oct 24 15:14 ovirt-host-deploy -> 
../../../sbin/ovirt-host-deploy
drwxr-xr-x 2 root root 4096 Oct 24 15:14 pythonlib
lrwxrwxrwx 1 root root   17 Oct 24 15:14 setup -> ovirt-host-deploy

Do you guys have any idea? I only found one earlier posting regarding this 
problem but that didn't help. I have tar and javatar and the engine-host-
deploy packages on both engine and node (I don't think I need the deploy 
package on the engine)

Thank you so much.

Cheers,
Stefan

-- engine.log ---
2013-10-24 15:52:20,689 INFO  [org.ovirt.engine.core.bll.VdsDeploy] (pool-6-
thread-16) [56a478e5] Installation of 10.2.2.100. Executing command via SSH 
umask 
0077; MYTMP="$(mktemp -t ovirt-XX)"; trap "chmod -R u+rwX \"${MYTMP}\" 
> /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; rm -fr "${MYTMP}" 
&&
 mkdir "${MYTMP}" && tar --warning=no-timestamp -C "${MYTMP}" -x &&  
"${MYTMP}"/setup DIALOG/dialect=str:machine DIALOG/customization=bool:True < 
/var/cache/o
virt-engine/ovirt-host-deploy.tar
2013-10-24 15:52:20,690 INFO  
[org.ovirt.engine.core.utils.archivers.tar.CachedTar] (pool-6-thread-16) 
Tarball '/var/cache/ovirt-engine/ovirt-host-deploy.tar'
 is missing, creating
2013-10-24 15:52:20,691 ERROR 
[org.ovirt.engine.core.utils.archivers.tar.CachedTar] (pool-6-thread-16) 
Cannot create tarball '/var/cache/ovirt-engine/ovirt-ho
st-deploy.tar': java.io.FileNotFoundException: File or directory 
/usr/share/ovirt-host-deploy/interface-3 not found
at org.ovirt.engine.core.utils.archivers.tar.Tar.doTar(Tar.java:97) 
[utils.jar:]
at 
org.ovirt.engine.core.utils.archivers.tar.CachedTar.create(CachedTar.java:41) 
[utils.jar:]
at 
org.ovirt.engine.core.utils.archivers.tar.CachedTar.ensure(CachedTar.java:105) 
[utils.jar:]
at 
org.ovirt.engine.core.utils.archivers.tar.CachedTar.getFile(CachedTar.java:151) 
[utils.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.execute(VdsDeploy.java:1037) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.InstallVdsCommand.installHost(InstallVdsCommand.java:192)
 
[bll.jar:]
at 
org.ovirt.engine.core.bll.InstallVdsCommand.executeCommand(InstallVdsCommand.java:105)
 
[bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1128)
 
[bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1213)
 
[bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1871) 
[bll.jar:]
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:174)
 
[utils.jar:]
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:116)
 
[utils.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1231) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:365) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidatedCommand(MultipleActionsRunner.java:175)
 
[bll.jar:]
at 
org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleActionsRunner.java:156)
 
[bll.jar:]
at 
org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleActionsRunner.java:94)
 
[bll.jar:]
at 
org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:71)
 
[utils.jar:]
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
[rt.jar:1.7.0_45]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) 
[rt.jar:1.7.0_45]
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
[rt.jar:1.7.0_45]
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
[rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]

2013-10-24 15:52:20,695 ERROR [org.ovirt.engine.core.bll.VdsDeploy] (pool-6-
thread-16) [56a478e5] Error during host 10.2.2.100 install: 
java.io.IOException: Cannot create tarball '/var/cache/ovirt-engine/ovirt-
host-deploy.tar'
at 
org.ovirt.engine.core.utils.archivers.tar.CachedTar.create(Cached

Re: [Users] File or directory /usr/share/ovirt-host-deploy/interface-3 not found though it's there

2013-10-24 Thread Stefan Wendler
On Thursday 24 October 2013 10:11:59 Yedidyah Bar David wrote:
> Hi,
> 
> - Original Message -
> 
> > From: "Stefan Wendler" 
> > To: users@ovirt.org
> > Sent: Thursday, October 24, 2013 5:04:45 PM
> > Subject: [Users] File or directory
> > /usr/share/ovirt-host-deploy/interface-3not found though it's there
> > 
> > Hi,
> > 
> > I have a problem installing ovirt nodes the ovirt version is 3.3
> > Whenever I try to install a node I get the following error (more log
> > output
> > at
> > the end of the mail):
> > 
> > Cannot create tarball '/var/cache/ovirt-engine/ovirt-ho
> > st-deploy.tar': java.io.FileNotFoundException: File or directory
> > /usr/share/ovirt-host-deploy/interface-3 not found
> > 
> > The "missing" directory ist available on the node
> > 
> > ls -la /usr/share/ovirt-host-deploy/interface-3
> > total 16
> > drwxr-xr-x 4 root root 4096 Oct 24 15:14 .
> > drwxr-xr-x 4 root root 4096 Oct 24 15:14 ..
> > -rw-r--r-- 1 root root0 Sep  7 22:47 .bundled
> > lrwxrwxrwx 1 root root   19 Oct 24 15:14 otopi -> ../../../sbin/otopi
> > drwxr-xr-x 2 root root 4096 Oct 24 15:14 otopi-plugins
> > lrwxrwxrwx 1 root root   31 Oct 24 15:14 ovirt-host-deploy ->
> > ../../../sbin/ovirt-host-deploy
> > drwxr-xr-x 2 root root 4096 Oct 24 15:14 pythonlib
> > lrwxrwxrwx 1 root root   17 Oct 24 15:14 setup -> ovirt-host-deploy
> > 
> > Do you guys have any idea? I only found one earlier posting regarding this
> > problem but that didn't help. I have tar and javatar and the engine-host-
> > deploy packages on both engine and node (I don't think I need the deploy
> > package on the engine)
> 
> Actually I think you do. Can you please try installing it? Thanks.

Well, it is working now. I had the ovirt-host-deploy packages installed but I 
found some ovirt packages on the engine in a wrong version. After upgrading 
and reinstalling the ovirt-host-deploy-* packages this works now.
Thx for the quick hint ;)

Cheers,
Stefan


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


[Users] qemu: too many ide bus during v2v migration

2013-12-03 Thread Stefan Wendler
Hi,

we're currently migrating over from esxi to ovirt. V2v is pretty smooth, up 
until I try to migrate a vm with more than 3 SCSI disks.
The disks are exported from esxi as IDE and after the disks have been copied 
over, the process fails with "qemu: Too many IDE bus"
Is there a practical way to fix this?

Thanks for your help,
Stefan

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


[ovirt-users] hosted engine setup on second host fails

2014-09-19 Thread Stefan Wendler
Hi there.

I'm trying to install a hosted-engine on our second node (fist engine
runs on node1).

But I always get the message:

[ ERROR ] Cannot automatically add the host to the Default cluster:
Cannot add Host. Host with the same address already exists.

I'm not entirely sure what I have to do when this message comes, so I
just press ENTER:

###
To continue make a selection from the options below:
  (1) Continue setup - engine installation is complete
  (2) Power off and restart the VM
  (3) Abort setup

  (1, 2, 3)[1]:


Is there any other interaction required prior to selecting "1"?

In the Web Gui I get the following message:

X Adding new Host hosted_engine_2 to Cluster Default

Here is the console output:

# hosted-engine --deploy
[ INFO  ] Stage: Initializing
  Continuing will configure this host for serving as hypervisor
and create a VM where you have to install oVirt Engine afterwards.
  Are you sure you want to continue? (Yes, No)[Yes]:
[ INFO  ] Generating a temporary VNC password.
[ INFO  ] Stage: Environment setup
  Configuration files: []
  Log file:
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20140919141012-k2lag6.log
  Version: otopi-1.2.3 (otopi-1.2.3-1.el6)
[ INFO  ] Hardware supports virtualization
[ INFO  ] Bridge ovirtmgmt already created
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization

  --== STORAGE CONFIGURATION ==--

  During customization use CTRL-D to abort.
  Please specify the storage you would like to use (nfs3,
nfs4)[nfs3]:
  Please specify the full shared storage connection path to use
(example: host:/path): :/volume1
  The specified storage location already contains a data domain.
Is this an additional host setup (Yes, No)[Yes]?
[ INFO  ] Installing on additional host
  Please specify the Host ID [Must be integer, default: 2]:
  The Host ID is already known. Is this a re-deployment on an
additional host that was previously set up (Yes, No)[Yes]?

  --== SYSTEM CONFIGURATION ==--

[WARNING] A configuration file must be supplied to deploy Hosted Engine
on an additional host.
  The answer file may be fetched from the first host using scp.
  If you do not want to download it automatically you can abort
the setup answering no to the following question.
  Do you want to scp the answer file from the first host? (Yes,
No)[Yes]:
  Please provide the FQDN or IP of the first host: 
  Enter 'root' user password for host :
[ INFO  ] Answer file successfully downloaded

  --== NETWORK CONFIGURATION ==--

  The following CPU types are supported by this host:
 - model_Westmere: Intel Westmere Family
 - model_Nehalem: Intel Nehalem Family
 - model_Penryn: Intel Penryn Family
 - model_Conroe: Intel Conroe Family

  --== HOSTED ENGINE CONFIGURATION ==--

  Enter the name which will be used to identify this host inside
the Administrator Portal [hosted_engine_2]:
  Enter 'admin@internal' user password that will be used for
accessing the Administrator Portal:
  Confirm 'admin@internal' user password:
 [ INFO  ] Stage: Setup validation

  --== CONFIGURATION PREVIEW ==--

  Engine FQDN: engine.domain
  Bridge name: ovirtmgmt
  SSH daemon port: 22
  Gateway address: 
  Host name for web application  : hosted_engine_2
  Host ID: 2
  Image size GB  : 25
  Storage connection : :/volume1
  Console type   : vnc
  Memory size MB : 8192
  MAC address: 00:16:3e:3b:8d:66
  Boot type  : disk
  Number of CPUs : 2
  CPU Type   : model_Westmere

  Please confirm installation settings (Yes, No)[No]: yes
[ ERROR ] Invalid value

  Please confirm installation settings (Yes, No)[No]: Yes
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stage: Misc configuration
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Configuring libvirt
[ INFO  ] Configuring VDSM
[ INFO  ] Starting vdsmd
[ INFO  ] Waiting for VDSM hardware info
[ INFO  ] Waiting for VDSM hardware info
[ INFO  ] Connecting Storage Domain
[ INFO  ] Configuring VM
[ INFO  ] Updating hosted-engine configuration
[ INFO  ] Stage: Transaction commit
[ INFO  ] Stage: Closing up
  To continue make a selection from the options below:
  (1) Continue setup - engine installation is comp

Re: [ovirt-users] hosted engine setup on second host fails

2014-09-22 Thread Stefan Wendler
On 09/19/2014 15:58, Itamar Heim wrote:
> On 09/19/2014 03:32 PM, Stefan Wendler wrote:
>> Hi there.
>>
>> I'm trying to install a hosted-engine on our second node (fist engine
>> runs on node1).
>>
>> But I always get the message:
>>
>> [ ERROR ] Cannot automatically add the host to the Default cluster:
>> Cannot add Host. Host with the same address already exists.
>>
>> I'm not entirely sure what I have to do when this message comes, so I
>> just press ENTER:
>>
>> ###
>> To continue make a selection from the options below:
>>(1) Continue setup - engine installation is complete
>>(2) Power off and restart the VM
>>(3) Abort setup
>>
>>(1, 2, 3)[1]:
>> 
>>
>> Is there any other interaction required prior to selecting "1"?
>>
>> In the Web Gui I get the following message:
>>
>> X Adding new Host hosted_engine_2 to Cluster Default
>>
>> Here is the console output:
>>
>> # hosted-engine --deploy
>> [ INFO  ] Stage: Initializing
>>Continuing will configure this host for serving as hypervisor
>> and create a VM where you have to install oVirt Engine afterwards.
>>Are you sure you want to continue? (Yes, No)[Yes]:
>> [ INFO  ] Generating a temporary VNC password.
>> [ INFO  ] Stage: Environment setup
>>Configuration files: []
>>Log file:
>> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20140919141012-k2lag6.log
>>
>>Version: otopi-1.2.3 (otopi-1.2.3-1.el6)
>> [ INFO  ] Hardware supports virtualization
>> [ INFO  ] Bridge ovirtmgmt already created
>> [ INFO  ] Stage: Environment packages setup
>> [ INFO  ] Stage: Programs detection
>> [ INFO  ] Stage: Environment setup
>> [ INFO  ] Stage: Environment customization
>>
>>--== STORAGE CONFIGURATION ==--
>>
>>During customization use CTRL-D to abort.
>>Please specify the storage you would like to use (nfs3,
>> nfs4)[nfs3]:
>>Please specify the full shared storage connection path to use
>> (example: host:/path): :/volume1
>>The specified storage location already contains a data domain.
>> Is this an additional host setup (Yes, No)[Yes]?
>> [ INFO  ] Installing on additional host
>>Please specify the Host ID [Must be integer, default: 2]:
>>The Host ID is already known. Is this a re-deployment on an
>> additional host that was previously set up (Yes, No)[Yes]?
>>
>>--== SYSTEM CONFIGURATION ==--
>>
>> [WARNING] A configuration file must be supplied to deploy Hosted Engine
>> on an additional host.
>>The answer file may be fetched from the first host using scp.
>>If you do not want to download it automatically you can abort
>> the setup answering no to the following question.
>>Do you want to scp the answer file from the first host? (Yes,
>> No)[Yes]:
>>Please provide the FQDN or IP of the first host:
>> 
>>Enter 'root' user password for host :
>> [ INFO  ] Answer file successfully downloaded
>>
>>--== NETWORK CONFIGURATION ==--
>>
>>The following CPU types are supported by this host:
>>   - model_Westmere: Intel Westmere Family
>>   - model_Nehalem: Intel Nehalem Family
>>   - model_Penryn: Intel Penryn Family
>>   - model_Conroe: Intel Conroe Family
>>
>>--== HOSTED ENGINE CONFIGURATION ==--
>>
>>Enter the name which will be used to identify this host inside
>> the Administrator Portal [hosted_engine_2]:
>>Enter 'admin@internal' user password that will be used for
>> accessing the Administrator Portal:
>>Confirm 'admin@internal' user password:
>>   [ INFO  ] Stage: Setup validation
>>
>>--== CONFIGURATION PREVIEW ==--
>>
>>Engine FQDN: engine.domain
>>Bridge name: ovirtmgmt
>>SSH daemon port: 22
>>Gateway address: 
>>Host name for web application  : hosted_engine_2
>>Host ID: 2
>>Image size GB  : 25
>>Storage connection

[ovirt-users] changing uid:gid of vdsm:kvm

2014-09-22 Thread Stefan Wendler
Hi,

this might be documented somewhere but I cannot find it.

In what way does ovirt rely on vdsm:kvm being 36:36? Or can I just
change the uid:gid everywhere and be golden?

I need to change the uid:gid of vdsm:kvm to a value >1024. It has
something to do with the setup of the diskstore I am supposed to use for
this setup. The diskstore is a Synology which has all kinds of strange
implications on the setup.

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


Re: [ovirt-users] changing uid:gid of vdsm:kvm

2014-09-23 Thread Stefan Wendler
On 09/23/2014 09:29, noc wrote:
> Should have send it the the ML:
> 
> On 22-9-2014 16:27, Stefan Wendler wrote:
> 
>> Hi,
>>
>> this might be documented somewhere but I cannot find it.
>>
>> In what way does ovirt rely on vdsm:kvm being 36:36? Or can I just
>> change the uid:gid everywhere and be golden?
>>
>> I need to change the uid:gid of vdsm:kvm to a value >1024. It has
>> something to do with the setup of the diskstore I am supposed to use for
>> this setup. The diskstore is a Synology which has all kinds of strange
>> implications on the setup.
>>
>>
> I use a Synology (DS211j and now DS214play) at home and have my storage
> for oVirt on it and no problems with 36:36.
> I think I modified /etc/exports after creating it so that it keeps the
> 36:36 permissions.
> /volume1/nfs/data  
> 192.168.x.x/24(rw,async,no_wdelay,root_squash,insecure_locks,sec=sys,anonuid=36,anongid=36)
> 
> Joop
> 

Hey,

thanks for the answer. This definitely helped knowing somebody uses a
Syno box with ovirt.

After fiddling around for some hours I think I have this working now.
But especially the nfs and the permission parts are really really
fragile. One wrong click and everything goes to hell. And as I have
figured out this wont always happen instantaneously. But sometimes only
after a reboot. I personally cannot recommend |ynology as a Diskstore
for ovirt and don't feel too comfortable with this solution. I
personally favour a FreeBSD box with decent zfs support.

Cheers,
Stefan



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] hosted engine setup on second host fails

2014-09-23 Thread Stefan Wendler
On 09/22/2014 10:52, Stefan Wendler wrote:
> On 09/19/2014 15:58, Itamar Heim wrote:
>> On 09/19/2014 03:32 PM, Stefan Wendler wrote:
>>> Hi there.
>>>
>>> I'm trying to install a hosted-engine on our second node (fist engine
>>> runs on node1).
>>>
>>> But I always get the message:
>>>
>>> [ ERROR ] Cannot automatically add the host to the Default cluster:
>>> Cannot add Host. Host with the same address already exists.
>>>
>>> I'm not entirely sure what I have to do when this message comes, so I
>>> just press ENTER:
>>>
>>> ###
>>> To continue make a selection from the options below:
>>>(1) Continue setup - engine installation is complete
>>>(2) Power off and restart the VM
>>>(3) Abort setup
>>>
>>>(1, 2, 3)[1]:
>>> 
>>>
>>> Is there any other interaction required prior to selecting "1"?
>>>
>>> In the Web Gui I get the following message:
>>>
>>> X Adding new Host hosted_engine_2 to Cluster Default
>>>
>>> Here is the console output:
>>>
>>> # hosted-engine --deploy
>>> [ INFO  ] Stage: Initializing
>>>Continuing will configure this host for serving as hypervisor
>>> and create a VM where you have to install oVirt Engine afterwards.
>>>Are you sure you want to continue? (Yes, No)[Yes]:
>>> [ INFO  ] Generating a temporary VNC password.
>>> [ INFO  ] Stage: Environment setup
>>>Configuration files: []
>>>Log file:
>>> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20140919141012-k2lag6.log
>>>
>>>Version: otopi-1.2.3 (otopi-1.2.3-1.el6)
>>> [ INFO  ] Hardware supports virtualization
>>> [ INFO  ] Bridge ovirtmgmt already created
>>> [ INFO  ] Stage: Environment packages setup
>>> [ INFO  ] Stage: Programs detection
>>> [ INFO  ] Stage: Environment setup
>>> [ INFO  ] Stage: Environment customization
>>>
>>>--== STORAGE CONFIGURATION ==--
>>>
>>>During customization use CTRL-D to abort.
>>>Please specify the storage you would like to use (nfs3,
>>> nfs4)[nfs3]:
>>>Please specify the full shared storage connection path to use
>>> (example: host:/path): :/volume1
>>>The specified storage location already contains a data domain.
>>> Is this an additional host setup (Yes, No)[Yes]?
>>> [ INFO  ] Installing on additional host
>>>Please specify the Host ID [Must be integer, default: 2]:
>>>The Host ID is already known. Is this a re-deployment on an
>>> additional host that was previously set up (Yes, No)[Yes]?
>>>
>>>--== SYSTEM CONFIGURATION ==--
>>>
>>> [WARNING] A configuration file must be supplied to deploy Hosted Engine
>>> on an additional host.
>>>The answer file may be fetched from the first host using scp.
>>>If you do not want to download it automatically you can abort
>>> the setup answering no to the following question.
>>>Do you want to scp the answer file from the first host? (Yes,
>>> No)[Yes]:
>>>Please provide the FQDN or IP of the first host:
>>> 
>>>Enter 'root' user password for host :
>>> [ INFO  ] Answer file successfully downloaded
>>>
>>>--== NETWORK CONFIGURATION ==--
>>>
>>>The following CPU types are supported by this host:
>>>   - model_Westmere: Intel Westmere Family
>>>   - model_Nehalem: Intel Nehalem Family
>>>   - model_Penryn: Intel Penryn Family
>>>   - model_Conroe: Intel Conroe Family
>>>
>>>--== HOSTED ENGINE CONFIGURATION ==--
>>>
>>>Enter the name which will be used to identify this host inside
>>> the Administrator Portal [hosted_engine_2]:
>>>Enter 'admin@internal' user password that will be used for
>>> accessing the Administrator Portal:
>>>Confirm 'admin@internal' user password:
>>>   [ INFO  ] Stage: Setup validation
>>>
>>>--== CONFIGURATION PREVIEW ==--
>>>
>>>Engine FQDN: engine.dom

Re: [ovirt-users] hosted engine setup on second host fails

2014-09-23 Thread Stefan Wendler
On 09/23/2014 17:01, Itamar Heim wrote:
> On 09/23/2014 05:17 PM, Stefan Wendler wrote:
>> On 09/22/2014 10:52, Stefan Wendler wrote:
>>> On 09/19/2014 15:58, Itamar Heim wrote:
>>>> On 09/19/2014 03:32 PM, Stefan Wendler wrote:
>>>>> Hi there.
>>>>>
>>>>> I'm trying to install a hosted-engine on our second node (fist engine
>>>>> runs on node1).
>>>>>
>>>>> But I always get the message:
>>>>>
>>>>> [ ERROR ] Cannot automatically add the host to the Default cluster:
>>>>> Cannot add Host. Host with the same address already exists.
>>>>>
>>>>> I'm not entirely sure what I have to do when this message comes, so I
>>>>> just press ENTER:
>>>>>
>>>>> ###
>>>>> To continue make a selection from the options below:
>>>>> (1) Continue setup - engine installation is complete
>>>>> (2) Power off and restart the VM
>>>>> (3) Abort setup
>>>>>
>>>>> (1, 2, 3)[1]:
>>>>> 
>>>>>
>>>>> Is there any other interaction required prior to selecting "1"?
>>>>>
>>>>> In the Web Gui I get the following message:
>>>>>
>>>>> X Adding new Host hosted_engine_2 to Cluster Default
>>>>>
>>>>> Here is the console output:
>>>>>
>>>>> # hosted-engine --deploy
>>>>> [ INFO  ] Stage: Initializing
>>>>> Continuing will configure this host for serving as
>>>>> hypervisor
>>>>> and create a VM where you have to install oVirt Engine afterwards.
>>>>> Are you sure you want to continue? (Yes, No)[Yes]:
>>>>> [ INFO  ] Generating a temporary VNC password.
>>>>> [ INFO  ] Stage: Environment setup
>>>>> Configuration files: []
>>>>> Log file:
>>>>> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20140919141012-k2lag6.log
>>>>>
>>>>>
>>>>> Version: otopi-1.2.3 (otopi-1.2.3-1.el6)
>>>>> [ INFO  ] Hardware supports virtualization
>>>>> [ INFO  ] Bridge ovirtmgmt already created
>>>>> [ INFO  ] Stage: Environment packages setup
>>>>> [ INFO  ] Stage: Programs detection
>>>>> [ INFO  ] Stage: Environment setup
>>>>> [ INFO  ] Stage: Environment customization
>>>>>
>>>>> --== STORAGE CONFIGURATION ==--
>>>>>
>>>>> During customization use CTRL-D to abort.
>>>>> Please specify the storage you would like to use (nfs3,
>>>>> nfs4)[nfs3]:
>>>>> Please specify the full shared storage connection path
>>>>> to use
>>>>> (example: host:/path): :/volume1
>>>>> The specified storage location already contains a data
>>>>> domain.
>>>>> Is this an additional host setup (Yes, No)[Yes]?
>>>>> [ INFO  ] Installing on additional host
>>>>> Please specify the Host ID [Must be integer, default: 2]:
>>>>> The Host ID is already known. Is this a re-deployment
>>>>> on an
>>>>> additional host that was previously set up (Yes, No)[Yes]?
>>>>>
>>>>> --== SYSTEM CONFIGURATION ==--
>>>>>
>>>>> [WARNING] A configuration file must be supplied to deploy Hosted
>>>>> Engine
>>>>> on an additional host.
>>>>> The answer file may be fetched from the first host
>>>>> using scp.
>>>>> If you do not want to download it automatically you can
>>>>> abort
>>>>> the setup answering no to the following question.
>>>>> Do you want to scp the answer file from the first host?
>>>>> (Yes,
>>>>> No)[Yes]:
>>>>> Please provide the FQDN or IP of the first host:
>>>>> 
>>>>> Enter 'root' user password for host :
>>>>> [ INFO  ] Answer file successfully downloaded
>>>>>
>>>>> --== NETWORK CONFIGURATION ==--
>>>>>
>>>>>  

Re: [ovirt-users] hosted engine setup on second host fails

2014-09-24 Thread Stefan Wendler
Okay, I'm truncating the previous mails here

Davids hint was the solution. I had the ovirt hosts already added to the
cluster and tried to do the hosted-engine-ha setup on them.

After removing the hosts from the cluster and putting the data domain to
maintenance mode I was able to deploy an all other nodes. I now have a
HA'd hosted engine. Which can also be migrated \o/

Maybe that is something that could be stated in the documentation more
clearly?

Unfortunately now I have a new problem. The agents crash rapidly after
startup. The error is the following:
(/var/log/ovirt-hosted-engine-ha/agent.log)

AttributeError: 'NoneType' object has no attribute 'iteritems'

And the whole output here - The agents have been started and I tried a
migration of the hosted engine from ovirt host 1 to host 2 which
succeeded. But the agents crashed afterwards:

MainThread::INFO::2014-09-24
15:09:24,839::agent::52::ovirt_hosted_engine_ha.agent.agent.Agent::(run)
ovirt-hosted-engine-ha agent 1.1.5 started
MainThread::INFO::2014-09-24
15:09:24,871::hosted_engine::223::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_get_hostname)
Found certificate common name: 10.8.2.101
MainThread::INFO::2014-09-24
15:09:25,081::hosted_engine::367::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker)
Initializing ha-broker connection
MainThread::INFO::2014-09-24
15:09:25,082::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
Starting monitor ping, options {'addr': '10.8.2.1'}
MainThread::INFO::2014-09-24
15:09:25,083::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
Success, id 25293072
MainThread::INFO::2014-09-24
15:09:25,083::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
Starting monitor mgmt-bridge, options {'use_ssl': 'true', 'bridge_name':
'ovirtmgmt', 'address': '0'}
MainThread::INFO::2014-09-24
15:09:25,086::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
Success, id 25294160
MainThread::INFO::2014-09-24
15:09:25,086::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
Starting monitor mem-free, options {'use_ssl': 'true', 'address': '0'}
MainThread::INFO::2014-09-24
15:09:25,088::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
Success, id 25293968
MainThread::INFO::2014-09-24
15:09:25,088::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
Starting monitor cpu-load-no-engine, options {'use_ssl': 'true',
'vm_uuid': 'e1ca293f-09e0-4d2e-8915-221839af1489', 'address': '0'}
MainThread::INFO::2014-09-24
15:09:25,089::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
Success, id 25360400
MainThread::INFO::2014-09-24
15:09:25,089::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
Starting monitor engine-health, options {'use_ssl': 'true', 'vm_uuid':
'e1ca293f-09e0-4d2e-8915-221839af1489', 'address': '0'}
MainThread::INFO::2014-09-24
15:09:25,091::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
Success, id 25509776
MainThread::INFO::2014-09-24
15:09:25,091::hosted_engine::391::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker)
Broker initialized, all submonitors started
MainThread::INFO::2014-09-24
15:09:25,125::hosted_engine::476::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_sanlock)
Ensuring lease for lockspace hosted-engine, host id 2 is acquired (file:
/rhev/data-center/mnt/10.8.2.12:_volume1_engine-store/e313da39-594c-46b5-95c9-c445889c745c/ha_agent/hosted-engine.lockspace)
MainThread::INFO::2014-09-24
15:09:25,134::state_machine::153::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh)
Global metadata: {'maintenance': False}
MainThread::INFO::2014-09-24
15:09:25,134::state_machine::158::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh)
Host 10.8.2.100 (id 1): {'live-data': True, 'extra':
'metadata_parse_version=1\nmetadata_feature_version=1\ntimestamp=1411564164
(Wed Sep 24 15:09:24
2014)\nhost-id=1\nscore=2400\nmaintenance=False\nstate=EngineUp\n',
'hostname': '10.8.2.100', 'host-id': 1, 'engine-status': {'health':
'good', 'vm': 'up', 'detail': 'up'}, 'score': 2400, 'maintenance':
False, 'host-ts': 1411564164}
MainThread::INFO::2014-09-24
15:09:25,134::state_machine::158::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh)
Host 10.8.2.102 (id 3): {'live-data': False, 'extra':
'metadata_parse_version=1\nmetadata_feature_version=1\ntimestamp=1411562496
(Wed Sep 24 14:41:36
2014)\nhost-id=3\nscore=0\nmaintenance=False\nstate=EngineUnexpectedlyDown\ntimeout=Wed
Sep 24 14:50:24 2014\n', 'hostname': '10.8.2.102', 'host-id': 3,
'engine-status': {'reason': 'vm not running on this host', 'health':
'bad', 'vm': 'down', 'detail': 'unknown'}, 'score': 0, 'maintenance':
False, 'ho

Re: [ovirt-users] hosted engine setup on second host fails

2014-09-24 Thread Stefan Wendler
Oh well. I think this is fixed. I upgraded to 3.4.4 and the message
seems to be gone. the agents are running :)

Thank you very much !!! :)


On 09/24/2014 15:23, Stefan Wendler wrote:
> Okay, I'm truncating the previous mails here
> 
> Davids hint was the solution. I had the ovirt hosts already added to the
> cluster and tried to do the hosted-engine-ha setup on them.
> 
> After removing the hosts from the cluster and putting the data domain to
> maintenance mode I was able to deploy an all other nodes. I now have a
> HA'd hosted engine. Which can also be migrated \o/
> 
> Maybe that is something that could be stated in the documentation more
> clearly?
> 
> Unfortunately now I have a new problem. The agents crash rapidly after
> startup. The error is the following:
> (/var/log/ovirt-hosted-engine-ha/agent.log)
> 
> AttributeError: 'NoneType' object has no attribute 'iteritems'
> 
> And the whole output here - The agents have been started and I tried a
> migration of the hosted engine from ovirt host 1 to host 2 which
> succeeded. But the agents crashed afterwards:
> 
> MainThread::INFO::2014-09-24
> 15:09:24,839::agent::52::ovirt_hosted_engine_ha.agent.agent.Agent::(run)
> ovirt-hosted-engine-ha agent 1.1.5 started
> MainThread::INFO::2014-09-24
> 15:09:24,871::hosted_engine::223::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_get_hostname)
> Found certificate common name: 10.8.2.101
> MainThread::INFO::2014-09-24
> 15:09:25,081::hosted_engine::367::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker)
> Initializing ha-broker connection
> MainThread::INFO::2014-09-24
> 15:09:25,082::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
> Starting monitor ping, options {'addr': '10.8.2.1'}
> MainThread::INFO::2014-09-24
> 15:09:25,083::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
> Success, id 25293072
> MainThread::INFO::2014-09-24
> 15:09:25,083::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
> Starting monitor mgmt-bridge, options {'use_ssl': 'true', 'bridge_name':
> 'ovirtmgmt', 'address': '0'}
> MainThread::INFO::2014-09-24
> 15:09:25,086::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
> Success, id 25294160
> MainThread::INFO::2014-09-24
> 15:09:25,086::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
> Starting monitor mem-free, options {'use_ssl': 'true', 'address': '0'}
> MainThread::INFO::2014-09-24
> 15:09:25,088::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
> Success, id 25293968
> MainThread::INFO::2014-09-24
> 15:09:25,088::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
> Starting monitor cpu-load-no-engine, options {'use_ssl': 'true',
> 'vm_uuid': 'e1ca293f-09e0-4d2e-8915-221839af1489', 'address': '0'}
> MainThread::INFO::2014-09-24
> 15:09:25,089::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
> Success, id 25360400
> MainThread::INFO::2014-09-24
> 15:09:25,089::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
> Starting monitor engine-health, options {'use_ssl': 'true', 'vm_uuid':
> 'e1ca293f-09e0-4d2e-8915-221839af1489', 'address': '0'}
> MainThread::INFO::2014-09-24
> 15:09:25,091::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
> Success, id 25509776
> MainThread::INFO::2014-09-24
> 15:09:25,091::hosted_engine::391::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker)
> Broker initialized, all submonitors started
> MainThread::INFO::2014-09-24
> 15:09:25,125::hosted_engine::476::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_sanlock)
> Ensuring lease for lockspace hosted-engine, host id 2 is acquired (file:
> /rhev/data-center/mnt/10.8.2.12:_volume1_engine-store/e313da39-594c-46b5-95c9-c445889c745c/ha_agent/hosted-engine.lockspace)
> MainThread::INFO::2014-09-24
> 15:09:25,134::state_machine::153::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh)
> Global metadata: {'maintenance': False}
> MainThread::INFO::2014-09-24
> 15:09:25,134::state_machine::158::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh)
> Host 10.8.2.100 (id 1): {'live-data': True, 'extra':
> 'metadata_parse_ve

[ovirt-users] Deleting large snapshots blocks the whole cluster

2014-10-27 Thread Stefan Wendler
Hi,

we have some really large snapshots left from a migration. Since our
store is almost full now we have to delete them now.

Some snapshots are around 1TB already.

The last time we tried to delete a ~500GB snapshot the delete task
blocked the whole diskstore's IO and the whole cluster and all hosts
became unavailable.

Is there a way to delete large snapshots in a "humane" way that will not
block everything?

Cheers,
Stefan



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Deleting large snapshots blocks the whole cluster

2014-10-27 Thread Stefan Wendler
Hi,

do you mean during snapshot deletion or in general?

In general we do not have any swap usage at all. On none of the 4 hosts.

We had some swap I/O on the host that is SPM most of the time. But not
during that period where we tried to delete the snapshot.

Cheers,
Stefan

On 10/27/14 11:08, Markus Stockhausen wrote:
> Do you see swapping on the SPM? If yes a regular echo 3 > drop_caches could 
> help.
> 
> Markus
> 
> Am 27.10.2014 10:57 schrieb Stefan Wendler :
> Hi,
> 
> we have some really large snapshots left from a migration. Since our
> store is almost full now we have to delete them now.
> 
> Some snapshots are around 1TB already.
> 
> The last time we tried to delete a ~500GB snapshot the delete task
> blocked the whole diskstore's IO and the whole cluster and all hosts
> became unavailable.
> 
> Is there a way to delete large snapshots in a "humane" way that will not
> block everything?
> 
> Cheers,
> Stefan
> 
> 



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Deleting large snapshots blocks the whole cluster

2014-10-27 Thread Stefan Wendler
I see. Then I will keep an eye on this tonight where we have a huge "all
ovirt downtime" just to delete those snapshots ^^


Thanks and Cheers,
Stefan


On 10/27/14 13:07, Markus Stockhausen wrote:
>> Von: Stefan Wendler [stefan.wend...@tngtech.com]
>> Gesendet: Montag, 27. Oktober 2014 11:39
>> An: Markus Stockhausen
>> Cc: users@ovirt.org
>> Betreff: Re: [ovirt-users] Deleting large snapshots blocks the whole cluster
>>
>> Hi,
>>
>> do you mean during snapshot deletion or in general?
>>
>> In general we do not have any swap usage at all. On none of the 4 hosts.
>>
>> We had some swap I/O on the host that is SPM most of the time. But not
>> during that period where we tried to delete the snapshot.
>>
> 
> I thought of the bug described in RH bugzilla 1138690 "[SCALE] snapshot 
> deletion -> 
> heavy swapping on SPM". In case you have no access to it (as it is RHEV 
> tagged): 
> 
> qemu-img reads through pagecache during snapshot deletion. A new flag has 
> been 
> intrduced in August this year that allows to avoid page cache. This flag must 
> be
> provided by OVirt/RHEV. Target release is 3.6. 
> 
> Until then the only bugfix is to drop pagecache manually on regular intervals 
> on the 
> hypversior and especially the SPM node.
> 
> Markus
> 
>>
>> Cheers,
>> Stefan
>>
>> On 10/27/14 11:08, Markus Stockhausen wrote:
>>> Do you see swapping on the SPM? If yes a regular echo 3 > drop_caches could 
>>> help.
>>>
>>> Markus
>>>
>>> Am 27.10.2014 10:57 schrieb Stefan Wendler :
>>> Hi,
>>>
>>> we have some really large snapshots left from a migration. Since our
>>> store is almost full now we have to delete them now.
>>>
>>> Some snapshots are around 1TB already.
>>>
>>> The last time we tried to delete a ~500GB snapshot the delete task
>> blocked the whole diskstore's IO and the whole cluster and all hosts
>> became unavailable.
>>
>> Is there a way to delete large snapshots in a "humane" way that will not
>> block everything?
>>
>> Cheers,
>> Stefan
>>
>>
> 



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Snapshot deletion gone horribly wrong - Urgent

2014-11-01 Thread Stefan Wendler
Hi,

I'm trying to delete a 1TB snapshot on a store with 1.5TB free space.
should be more than enough and the engine didn't complain.
The snapshot to delete is the only snapshot for this VM.

I started snapshot deletion a couple of hours ago. ovirt then started
filling up the store. I'm sure it happened because of the snapshot
deletion. I have seen this many times when deleting snapshots.
Now I have a couple of KBytes left on the store and the snapshot is
marked as broken. And I cannot delete the snapshot because of not enough
free space. Is there a way to alter the database and then delete the
snapshot files by hand?

I know the files that are the snapshots and could delete them but then
the vm wouldn't start because it is missing the files.

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


Re: [ovirt-users] Snapshot deletion gone horribly wrong - Urgent

2014-11-01 Thread Stefan Wendler
After exporting some unused VMs and deleting other snapshots afterwards
I'm back to 500GB. But the partially deleted 1TB Snapshot is still there
and needs to be cleaned up.

Is there a clean way to "cleanup" partially deleted/migrated snapshots
without loosing more disk space? What I don't understand is what is
there to migrate, if it is the last snapshot anyway? Shouldn't the
"Actual VM"-disks be in a consistent state with or without the
snapshots? Or asked another way ... are there documents with an in-depth
description on how snapshots work in oVirt?

Cheers,
Stefan

On 11/01/14 17:56, Stefan Wendler wrote:
> Hi,
> 
> I'm trying to delete a 1TB snapshot on a store with 1.5TB free space.
> should be more than enough and the engine didn't complain.
> The snapshot to delete is the only snapshot for this VM.
> 
> I started snapshot deletion a couple of hours ago. ovirt then started
> filling up the store. I'm sure it happened because of the snapshot
> deletion. I have seen this many times when deleting snapshots.
> Now I have a couple of KBytes left on the store and the snapshot is
> marked as broken. And I cannot delete the snapshot because of not enough
> free space. Is there a way to alter the database and then delete the
> snapshot files by hand?
> 
> I know the files that are the snapshots and could delete them but then
> the vm wouldn't start because it is missing the files.
> 
> Cheers,
> Stefan
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] External Provider https (unknown error)

2018-04-04 Thread Stefan Wendler
Hi,

I am currently trying to attach Glance (OpenStack Image) and Cinder
(OpenStack Volume) as external provider and am facing a problem when
trying to use https in the Provider-URL on an ovirt 3.6 and 4.1 cluster.

The Provider-URL I am using is in the form:
https://:9292 (or port 8776 for Cinder -  is either a fqdn
or an IP-Address)

Whenever I press the "Test" button in the "Add Provider" dialog I get
the message "Test Failed (unknown error)." There is no entry in any
logfile whatsoever (at least not in any logs that are associated with
ovirt). I would expect an ssl cert dialog here. I can telnet to the
destination ports from the engine and the nodes so Clance and Cinder are
reachable

I have also read that this might happen, if there is a corrupted
/var/lib/ovirt-engine/external_truststore
But this file is not even existing and when i create it by hand, it is
not touched.

How can I get this to work or even get an error message that gives me a
hint where to look?

Thanks for your support,
Stefan





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


Re: [ovirt-users] External Provider https (unknown error)

2018-04-05 Thread Stefan Wendler
Bump

Does nobody have any idea?

On 04/04/2018 13:29, Stefan Wendler wrote:
> Hi,
> 
> I am currently trying to attach Glance (OpenStack Image) and Cinder
> (OpenStack Volume) as external provider and am facing a problem when
> trying to use https in the Provider-URL on an ovirt 3.6 and 4.1 cluster.
> 
> The Provider-URL I am using is in the form:
> https://:9292 (or port 8776 for Cinder -  is either a fqdn
> or an IP-Address)
> 
> Whenever I press the "Test" button in the "Add Provider" dialog I get
> the message "Test Failed (unknown error)." There is no entry in any
> logfile whatsoever (at least not in any logs that are associated with
> ovirt). I would expect an ssl cert dialog here. I can telnet to the
> destination ports from the engine and the nodes so Clance and Cinder are
> reachable
> 
> I have also read that this might happen, if there is a corrupted
> /var/lib/ovirt-engine/external_truststore
> But this file is not even existing and when i create it by hand, it is
> not touched.
> 
> How can I get this to work or even get an error message that gives me a
> hint where to look?
> 
> Thanks for your support,
> Stefan
> 
> 
> 
> 
> 
> ___
> 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] External Provider https (unknown error)

2018-04-10 Thread Stefan Wendler
On 04/06/2018 19:43, Dominik Holler wrote:
> On Wed, 4 Apr 2018 13:29:56 +0200
> Stefan Wendler  wrote:
> 
>> Hi,
>>
>> I am currently trying to attach Glance (OpenStack Image) and Cinder
>> (OpenStack Volume) as external provider and am facing a problem when
>> trying to use https in the Provider-URL on an ovirt 3.6 and 4.1
>> cluster.
>>
>> The Provider-URL I am using is in the form:
>> https://:9292 (or port 8776 for Cinder -  is either a fqdn
>> or an IP-Address)
>>
>> Whenever I press the "Test" button in the "Add Provider" dialog I get
>> the message "Test Failed (unknown error)." There is no entry in any
>> logfile whatsoever (at least not in any logs that are associated with
>> ovirt). I would expect an ssl cert dialog here. I can telnet to the
>> destination ports from the engine and the nodes so Clance and Cinder
>> are reachable
>>
>> I have also read that this might happen, if there is a corrupted
>> /var/lib/ovirt-engine/external_truststore
>> But this file is not even existing and when i create it by hand, it is
>> not touched.
>>
>> How can I get this to work or even get an error message that gives me
>> a hint where to look?
>>
> 
> If there is something logged, it would be in engine.log.
> Can you please re-check if there is something related logged in
> engine.log?
> 
> Are you using authentication?
> 
> Do you use HTTPS for Glance/Cinder and authentication?

Thanks for the reply. The log file states nothing whatsoever.
Theresponse is so insanely fast that it feels as if something fails an
early validation. It does not matter, if I use authentication or not. If
I use http instead of https it logs the following error:

 engine.log 
2018-04-09 15:39:39,298+02 INFO
[org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand]
(default task-77) [b91f14f3-d8f6-43a1-a377-2d1523ee58dd] Running
command: TestProviderConnectivityCommand internal: false. Entities
affected :  ID: aaa0----123456789aaa Type: SystemAction
group CREATE_STORAGE_POOL with role type ADMIN
2018-04-09 15:39:39,403+02 ERROR
[org.ovirt.engine.core.bll.provider.storage.AbstractOpenStackStorageProviderProxy]
(default task-77) [b91f14f3-d8f6-43a1-a377-2d1523ee58dd] Not Found
(OpenStack response error code: 404)
2018-04-09 15:39:39,404+02 ERROR
[org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand]
(default task-77) [b91f14f3-d8f6-43a1-a377-2d1523ee58dd] Command
'org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand'
failed: EngineException: (Failed with error PROVIDER_FAILURE and code 5050)
 EOM 

So http goes thru and responds with the expected error (connection via
http is reset immediately). But for https it does not even get this far.
I can access the Provider-URL and Auth-URL via browser and from the
engine's command line and get a valid json response.

It also does not matter, if I use authentication or not. Error end
response rate stays the same. I checked with our hosting provider that
the urls are correct.

I have attached a screenshot of the "Edit Provider"-Window with the
message. It's the only place something is logged. Setting log level to
debug shows nothing either.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users