Re: [Users] Custom columns in VM list (engine admin) ?

2013-04-05 Thread Vojtech Szocs
Hi Ernest,

as suggested by Oved, I definitely recommend to check out oVirt UI Plugins 
feature first.

From API perspective, here's what you can currently do with UI Plugins:
- add custom {main|sub} tab, modify its content URL, set its accessibility
- add custom {button|contextMenuItem|both} to existing data grid
- show custom dialog, modify its content URL, close the dialog

Custom columns in existing WebAdmin data grids is an interesting requirement 
for UI Plugins, we should consider implementing it.

Plugin API proposal:

api.addMainTabTextColumn(

// entityTypeName
'VirtualMachine',

// headerText
'My Column',

// columnInterface
{
getValue: function(entity) {
// In this case, entity is VM.
// Return value should be string.
return 'test-' + entity.id;
},

width: '200px'
}

);

(Similar thing could be done for other kinds of columns, e.g. percentage 
column.)

For custom columns whose values are computed asynchronously, we could support 
API such as:

api.redrawMainTabTable('VirtualMachine');

Regards,
Vojtech


- Original Message -
From: "Oved Ourfalli" 
To: "Ernest Beinrohr" 
Cc: users@ovirt.org
Sent: Thursday, March 28, 2013 4:10:43 PM
Subject: Re: [Users] Custom columns in VM list (engine admin) ?

Hi Ernest.
It is not possible to do so at the moment.
What you can do is add sub-tabs that will be opened when you stand on a VM on 
the VM list.
In that sub-tab you can point to some URL, and show the data you need over 
there, according to the selected VM.

More information of the UI plugins feature (which allows you to do the above) 
is in:
http://www.ovirt.org/Features/UIPlugins
It also includes some examples.

Hope it helps,
Oved


- Original Message -
> From: "Ernest Beinrohr" 
> To: users@ovirt.org
> Sent: Thursday, March 28, 2013 5:06:48 PM
> Subject: [Users] Custom columns in VM list (engine admin) ?
> 
> 
> Hi, is it possible to add columns to the VM list view in
> ovirt-engine administrator? I'd like to add a memory
> columns (max, current) and also some IO stats and.
> 
> 
> In RHEL 5 virt-manager show something like this:
> http://i.imgur.com/e18DJtf.png
> 
> 
> --
> 
> Ernest Beinrohr, AXON PRO
> Ing , RHCE , RHCVA , LPIC , +421-2--6241-0360 , +421-903--482-603
> icq:28153343, skype:oernii-work , jabber:oer...@jabber.org
> 
> “The bureaucracy is expanding to meet the needs of the expanding
> bureaucracy.” ― Oscar Wilde
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] DNS reverse configuration

2013-04-05 Thread Chris Noffsinger
I wish that I had documented it, because I have now reinstalled that
management server.

But I do believe that I had to put my realms manually into /etc/krb5.conf
to get it to work.

On Fri, Apr 5, 2013 at 8:21 AM, Juan Jose  wrote:

>
> Hello everybody,
>
> Is there some howto or some procedure to connect Samba4 to oVirt 3.1 and
> what components are necessary to install and configure?,  René, can you
> post all steps to configure it to have oVirt working with Sanba 4, please?
>
> Many thanks in avanced,
>
> Juanjo.
>
>
> On Fri, Apr 5, 2013 at 1:28 PM, Eduardo Ramos <
> edua...@freedominterface.org> wrote:
>
>> Even though ovirt-engine did not tried connect to samba4, I used another
>> user. The issue is that engine-manage-domains said not found PTR entry,
>> although host/nslookup/dig command say the opposite. Is there any detail?
>>
>>
>> On 04/04/2013 05:36 PM, Gianluca Cecchi wrote:
>>
>>> On Thu, Apr 4, 2013 at 8:48 PM, Chris Noffsinger wrote:
>>>
 I have successfully gotten samba4 to work with ovirt but I could not
 use the Administrator user.

 I had to create another admin user to. Get it to work.
 Chris Noffsinger

>>> It is intended to be so and I think it is the right thing to separate
>>> respective roles.
>>> I had to do the same with FreeIPA.
>>>
>>> Gianluca
>>>
>>
>> __**_
>> 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
>
>


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


Re: [Users] DNS reverse configuration

2013-04-05 Thread Koch (ovido)

On Fri, 2013-04-05 at 14:21 +0200, Juan Jose wrote:
> 
> Hello everybody,
> 
> 
> Is there some howto or some procedure to connect Samba4 to oVirt 3.1
> and what components are necessary to install and configure?,  René,
> can you post all steps to configure it to have oVirt working with
> Sanba 4, please?

Sorry, can't give you detailed information on how to create a Samba 4
directory (use UCS appliance) - there is plenty of documentation in the
internet on how to do that.

To connect oVirt to your existing Samba domain, use the DNS server from
your samba server on your ovirt-engine host (don't do replication to
external bind servers, as this causes some issues). You have to make
sure, that you have valid forward (A) and reverse (PTR) DNS entries for
your ovirt-engine host and SRV records for LDAP, Kerberos,... (but these
should be created by default and are required for your Windows clients,
too).

You can join your Samba4 domain with "engine-manage-domains
-provider=ActiveDirectory ..."


I hope this helps you a bit.

> 
> 
> Many thanks in avanced,
> 
> 
> Juanjo.
> 
> 
> On Fri, Apr 5, 2013 at 1:28 PM, Eduardo Ramos
>  wrote:
> Even though ovirt-engine did not tried connect to samba4, I
> used another user. The issue is that engine-manage-domains
> said not found PTR entry, although host/nslookup/dig command
> say the opposite. Is there any detail?
> 
> 
> On 04/04/2013 05:36 PM, Gianluca Cecchi wrote:
> On Thu, Apr 4, 2013 at 8:48 PM, Chris Noffsinger
> wrote:
> I have successfully gotten samba4 to work with
> ovirt but I could not use the Administrator
> user.
> 
> I had to create another admin user to. Get it
> to work.
> Chris Noffsinger
> It is intended to be so and I think it is the right
> thing to separate
> respective roles.
> I had to do the same with FreeIPA.
> 
> Gianluca
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] Fast way to see all snapshots on my infra?

2013-04-05 Thread Koch (ovido)

On Sat, 2013-03-23 at 11:41 +0100, Gianluca Cecchi wrote:
> On Fri, Mar 22, 2013 at 3:07 PM, René Koch (ovido) wrote:

> Two questions:
> 
> 1) On my all-in-one system with f18 + oVirt stable 3.2.1 I have
> ovirt-engine-3.2.1-1.fc18.noarch
> ovirt-engine-cli-3.2.0.11-1.fc18.noarch
> 
> when I run ovirt-shell I get
> 
> >>> connected to oVirt manager 3.2.0.0 <<<
> 
> so this banner refers to ovirt-shell itself and not the engine itself,
> I presume... correct?


It seems that this banner does reflect the oVirt/RHEV major version.
Connecting to RHEV 3.1 with ovirt-shell (from oVirt 3.2 package) gives
me the following banner:

 ==
 >>> connected to oVirt manager 3.1.0.0 <<<
 ==

oVirt 3.2.1 says "connected to oVirt manager 3.2.0.0"


> 
> 2) If I have one VM with one snapshot the beginning of the output is:
> 
> ==
>  >>> connected to oVirt manager 3.2.0.0 <<<
>  ==
> 
> 
> id : f916e1a3-13bc-43e8-8187-65a1ab9163c8
> description: Active VM
> date   : 2013-03-01T00:31:20.898+01:00
> snapshot_status: ok
> type   : active
> 
> id   : 5a623a18-11eb-455b-9791-680795a23f8e
> description  : test
> date : 2013-03-22T01:08:50.038+01:00
> ...
> 
> Then I create another snapshot and I get:
> 
> ==
>  >>> connected to oVirt manager 3.2.0.0 <<<
>  ==
> 
> 
> id : c714182a-46e2-4a85-b7db-1b74542b202c
> description: Active VM
> date   : 2013-03-01T00:31:20.898+01:00
> snapshot_status: ok
> type   : active
> 
> id   : 5a623a18-11eb-455b-9791-680795a23f8e
> description  : test
> date : 2013-03-22T01:08:50.038+01:00
> 
> ...
> 
> id   : f916e1a3-13bc-43e8-8187-65a1ab9163c8
> description  : test2
> date : 2013-03-23T11:27:21.931+01:00
> snapshot_status  : ok
> ...
> 
> If the first "id" value in first 5 lines refers to VM itself, why does
> it change between first run with one snapshot
> (value  f916e1a3-13bc-43e8-8187-65a1ab9163c8)
> and the second run
> (value c714182a-46e2-4a85-b7db-1b74542b202c)
> 
> btw the id of first run matches the id "assigned" to the second
> snapshot in second run (test2)?


Sorry, I've no idea :(

> 
> Thanks,
> Gianluca

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


[Users] DNS for IPA in oVirt

2013-04-05 Thread Koch (ovido)
Hi list,

I don't want to ask my question in the mail thread of Eduardo to avoid
mixing topics.

Can you give me more detailed information on how oVirt is using DNS
internally and how IPA users can work in the following scenario:

# engine-manage-domains -action=list
Domain: ovido.at
User name: ad...@ovido.at
Manage Domains completed successfully

# cat /etc/hosts | grep engine
10.0.100.195 ovirt-engine.lab.ovido.at

# ip a
2: eth0:  mtu 1500 qdisc pfifo_fast
state UP qlen 1000
link/ether 00:1a:4a:00:64:14 brd ff:ff:ff:ff:ff:ff
inet 10.0.100.195/24 brd 10.0.100.255 scope global eth0

# host ovirt-engine.lab.ovido.at
ovirt-engine.lab.ovido.at has address 10.0.100.24

# host 10.0.100.24
24.100.0.10.in-addr.arpa domain name pointer ovirt-engine.lab.ovido.at.

So in my case I have correct DNS settings (forward and reverse), but my
ovirt-engine host has a totally different IP address.

I didn't test SSO with Kerberos in user portal (maybe this want work),
but authentication with IPA user in user portal and admin portal is
working fine even with these totally wrong DNS configuration.


Regards,
René


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


Re: [Users] DNS reverse configuration

2013-04-05 Thread Juan Jose
Hello everybody,

Is there some howto or some procedure to connect Samba4 to oVirt 3.1 and
what components are necessary to install and configure?,  René, can you
post all steps to configure it to have oVirt working with Sanba 4, please?

Many thanks in avanced,

Juanjo.


On Fri, Apr 5, 2013 at 1:28 PM, Eduardo Ramos
wrote:

> Even though ovirt-engine did not tried connect to samba4, I used another
> user. The issue is that engine-manage-domains said not found PTR entry,
> although host/nslookup/dig command say the opposite. Is there any detail?
>
>
> On 04/04/2013 05:36 PM, Gianluca Cecchi wrote:
>
>> On Thu, Apr 4, 2013 at 8:48 PM, Chris Noffsinger wrote:
>>
>>> I have successfully gotten samba4 to work with ovirt but I could not use
>>> the Administrator user.
>>>
>>> I had to create another admin user to. Get it to work.
>>> Chris Noffsinger
>>>
>> It is intended to be so and I think it is the right thing to separate
>> respective roles.
>> I had to do the same with FreeIPA.
>>
>> Gianluca
>>
>
> __**_
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/**mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] User Portal

2013-04-05 Thread Koch (ovido)
On Tue, 2013-04-02 at 01:27 +0300, Itamar Heim wrote:
> On 03/22/2013 04:55 PM, René Koch (ovido) wrote:
> > Hi,
> >
> > If you login with PowerUser permission you have 2 tabs (Basic and
> > Extended) where Basic is the UserPortal and Extended the
> > PowerUserPortal.
> > So you can switch between these 2 views.
> >
> >
> > Btw, in RHEV (3.0 and 3.1) I see a (for me) strange behaviour and
> > haven't tested if this is the same in oVirt.
> > When installing RHEV a "Default" datacenter is created and everyone has
> > permission on template "blank". As long as I don't remove permissions on
> > "blank" template user with role "UserRole" start in PowerUserPortal
> > (Extended view) instead of UserPortal (Basic view) - without permission
> > on template "blank" they can't switch between these 2 views/portals
> > (which is the expected situation - users with UserPortal permission
> > shouldn't be aware of the PowerUserPortal).
> > Is this bug or intended?
> >
> >
> > Regards,
> > René
> >
> >
> >
> > On Fri, 2013-03-22 at 15:40 +0100, Gianluca Cecchi wrote:
> >> On Fri, Mar 22, 2013 at 3:31 PM, Itamar Heim  wrote:
> >>> On 03/20/2013 03:26 PM, Gianluca Cecchi wrote:
> 
>  BTW: RHEVM 3.1 portals (User Portal and Power User Portal) have been
>  consolidated in the unique oVirt 3.2.x User Portal?
>  Are they going to be consolidated in RHEVM 3.2 too?
> >>>
> >>>
> >>> what do you mean by "consolidated"?
> >>> (in any case, there is no difference between ovirt and rhev on this)
> >>>
> >>
> >>
> >> Sorry I misunderstood.
> >> Both normal and power users access the User Portal at
> >>
> >> https://server.example.com/UserPortal
> >>
> >> but if a user has RHEVMPowerUser role (in RHEVM 3.1) or  probably the
> >> system related role named "PowerUserRole" (in oVirt) what he/she gets
> >> is the Power User Portal and not the "normal" User Portal, correct?
> >>
> >> Gianluca
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >
> 
> i believe a bug, would appreciate if you can test on latest 3.3 nightly.


I'll try it with 3.3 nightly and will let you know.
Can I virtualize an oVirt 3.3 hypervisor on an oVirt 3.2 host based on
CentOS 6.4 (does RHEL 6.4/CentOS 6.4 support nested KVM or do I have to
use Fedora 18?) as I'm short with hardware at the moment?


Regards,
René




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


Re: [Users] DNS reverse configuration

2013-04-05 Thread Eduardo Ramos
Even though ovirt-engine did not tried connect to samba4, I used another 
user. The issue is that engine-manage-domains said not found PTR entry, 
although host/nslookup/dig command say the opposite. Is there any detail?


On 04/04/2013 05:36 PM, Gianluca Cecchi wrote:

On Thu, Apr 4, 2013 at 8:48 PM, Chris Noffsinger wrote:

I have successfully gotten samba4 to work with ovirt but I could not use the 
Administrator user.

I had to create another admin user to. Get it to work.
Chris Noffsinger

It is intended to be so and I think it is the right thing to separate
respective roles.
I had to do the same with FreeIPA.

Gianluca


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


Re: [Users] DNS reverse configuration

2013-04-05 Thread Koch (ovido)

On Thu, 2013-04-04 at 18:48 +, Chris Noffsinger wrote:
> I have successfully gotten samba4 to work with ovirt but I could not use the 
> Administrator user.
> 
> I had to create another admin user to. Get it to work.

I can confirm that it's possible to use oVirt/RHEV with Samba 4 - tested
RHEV 3.0/3.1 with Univention Corporate Server which is a SBS server on
Linux base with Samba 4.

For RHEV it's  not recommended to use Administrator for Active Directory
even if it works mostly. Did it several times where it worked fine with
Microsoft Active Directory - not sure if I faced isses with
Administrator user.
But in general it's better to have an other user with admin permissions,
as this will always work (if you set up DNS correctly).


Regards,
René



> Chris Noffsinger
> 
> -Original Message-
> From: Eduardo Ramos 
> Sender: users-boun...@ovirt.org
> Date: Thu, 04 Apr 2013 15:45:36 
> To: 
> Subject: [Users] DNS reverse configuration
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


[Users] SPM is always contending

2013-04-05 Thread Andy Singleton
After the node acting as spm was (accidentally) put into maintenance 
mode, the spm role is always contending. The original node doesnt take 
the role back either.
About 10 instances were still running on the node when it was put into 
maintenance.


I have ovirt 3.1.0-4 with a targetcli iscsi store.

Here are the contents of the engine.log.

Andy

2013-04-04 15:25:23,979 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand] 
(QuartzScheduler_Worker-96) [5449512a] spmStart polling ended. spm status:

Free
2013-04-04 15:25:23,993 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMClearTaskVDSCommand] 
(QuartzScheduler_Worker-96) [5449512a] START, HSMClearTaskVDSCommand(vd
sId = d265245e-3cc5-11e2-bce7-001018fc3b14, 
taskId=7c1cf7c6-21d4-4504-882d-3d465742b6ef), log id: d2da8ba
2013-04-04 15:25:24,011 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMClearTaskVDSCommand] 
(QuartzScheduler_Worker-96) [5449512a] FINISH, HSMClearTaskVDSCommand,

log id: d2da8ba
2013-04-04 15:25:24,012 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand] 
(QuartzScheduler_Worker-96) [5449512a] FINISH, SpmStartVDSCommand, return:
org.ovirt.engine.core.common.businessentities.SpmStatusResult@30a05218, 
log id: 5980d6f4
2013-04-04 15:25:24,014 INFO 
[org.ovirt.engine.core.bll.storage.SetStoragePoolStatusCommand] 
(QuartzScheduler_Worker-96) [6d6dbe98] Running command: SetStoragePoolStat
usCommand internal: true. Entities affected :  ID: 
0ba15357-9b3b-4a76-8dac-b2b66b922174 Type: StoragePool
2013-04-04 15:25:24,843 ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-96) [6d6dbe98] 
IrsBroker::Failed::GetStoragePoolInfoV
DS due to: IrsSpmStartFailedException: IRSGenericException: 
IRSErrorException: SpmStart failed
2013-04-04 15:25:24,900 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-96) [6d6dbe98] Irs placed on server null failed. 
Proc

eed Failover
2013-04-04 15:25:34,977 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-96) [6d6dbe98] hostFromVds::selectedVds - 
moon-palace

, spmStatus Free, storage pool Primary
2013-04-04 15:25:35,806 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-96) [6d6dbe98] starting spm on vds moon-palace, 
stora

ge pool Primary, prevId -1, LVER 2520
2013-04-04 15:25:35,851 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand] 
(QuartzScheduler_Worker-96) [6d6dbe98] START, SpmStartVDSCommand(vdsId = 3d
88c8b0-84bc-11e2-96b1-001018fc3b14, storagePoolId = 
0ba15357-9b3b-4a76-8dac-b2b66b922174, prevId=-1, prevLVER=2520, 
storagePoolFormatType=V2, recoveryMode=Manual, SCSIF

encing=false), log id: 30f4f64e
2013-04-04 15:25:45,901 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand] 
(QuartzScheduler_Worker-96) [6d6dbe98] spmStart polling started: taskId = 6

8002cff-478d-4c2c-8839-b935d8a858b1
2013-04-04 15:26:11,903 INFO [org.ovirt.engine.core.bll.VdsLoadBalancer] 
(QuartzScheduler_Worker-81) [45db3aaa] VdsLoadBalancer: Starting load 
balance for cluster: BP_

Primary, algorithm: EvenlyDistribute.
2013-04-04 15:26:12,807 INFO [org.ovirt.engine.core.bll.VdsLoadBalancer] 
(QuartzScheduler_Worker-81) [45db3aaa] VdsLoadBalancer: high util: 51, 
low util: 0, duration:

2, threashold: 80
2013-04-04 15:26:12,845 INFO 
[org.ovirt.engine.core.bll.VdsLoadBalancingAlgorithm] 
(QuartzScheduler_Worker-81) [45db3aaa] VdsLoadBalancer: number of 
relevant vdss (no

migration, no pending): 3.
2013-04-04 15:26:12,846 INFO 
[org.ovirt.engine.core.bll.VdsCpuVdsLoadBalancingAlgorithm] 
(QuartzScheduler_Worker-81) [45db3aaa] VdsLoadBalancer: number of over 
utilize

d vdss found: 0.
2013-04-04 15:26:12,846 INFO 
[org.ovirt.engine.core.bll.VdsCpuVdsLoadBalancingAlgorithm] 
(QuartzScheduler_Worker-81) [45db3aaa] VdsLoadBalancer: max cpu limit: 
40, num

ber of ready to migration vdss: 3
2013-04-04 15:26:19,024 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand] 
(QuartzScheduler_Worker-96) [6d6dbe98] spmStart polling ended: taskId = 680

02cff-478d-4c2c-8839-b935d8a858b1 task status = finished
2013-04-04 15:26:19,024 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand] 
(QuartzScheduler_Worker-96) [6d6dbe98] Start SPM Task failed - result: clea
nSuccess, message: VDSGenericException: VDSErrorException: Failed in 
vdscommand to HSMGetTaskStatusVDS, error = BlockSD master file system 
FSCK error


This log sequence repeats indefinitely

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


Re: [Users] Fedora upgrading from 3.1 to 3.2

2013-04-05 Thread Sandro Bonazzola
Hi Karli,
we're still working on it


Il 02/04/2013 12:22, Karli Sjöberg ha scritto:
> Hi,
>
> has there been any progress regarding this matter?
>
> Best Regards
> Karli Sjöberg
>
> fre 2013-03-15 klockan 14:12 + skrev Karli Sjöberg:
>> fre 2013-03-15 klockan 14:59 +0100 skrev Sandro Bonazzola:
>>> Il 13/03/2013 12:24, Karli Sjöberg ha scritto:
>>>
 ons 2013-03-13 klockan 12:00 +0100 skrev Dave Neary:
> Hi Karli,
>
> On 03/11/2013 12:16 PM, Karli Sjöberg wrote:
> > Hi,
> >
> > in the absence of any official path,  we have started working out our 
> > own
> > procedure for going from oVirt-3.1/Fedora 17 to oVirt-3.2/Fedora 18.
>
> Indeed, I have not seen any documentation in the wiki yet on upgrading 
> oVirt - would you be interested in writing up your experiences there as 
> a guide to others?
>
> Thanks!
> Dave.
>
 That was my intention to share a working procedure once it was
 complete but I unfortunately hit a wall at "engine-upgrade". I
 would be very glad, and able to continue, if that obstacle could be
 lifted.
>>>
>>> My experience in upgrading from oVirt-3.1/Fedora 17 to
>>> oVirt-3.2/Fedora 18:
>>>
>>> On Fedora 17:
>>> Be sure to have the latest updates running: yum distro-sync
>>> Set exclude=ovirt* in /etc/yum.conf
>>> Execute: fedup --disablerepo=ovirt* --network 18
>>>
>>> When you have a running Fedora 18:
>>> # systemctl list-units --failed
>>> UNIT   LOAD   ACTIVE SUBDESCRIPTION
>>> httpd.service  loaded failed failed The Apache HTTP Server
>>> postgresql.service loaded failed failed PostgreSQL database server
>>>
>>> # systemctl stop postgresql.service
>>> # tar cJvf pgsql-backup.tar.xz /var/lib/pgsql/data/
>>> # yum install postgresql-upgrade
>>>
>>> # cp /var/lib/pgsql/data/pg_hba.conf /root/pg_hba.conf.ovirt
>>>
>>> edit /var/lib/pgsql/data/pg_hba.conf changing md5 to trust on the local 
>>> line.
>>>
>>> # diff -u pg_hba.conf.ovirt pg_hba.conf
>>> --- pg_hba.conf.ovirt   2013-01-30 20:58:49.40400 +0100
>>> +++ pg_hba.conf 2013-01-30 20:59:06.70900 +0100
>>> @@ -77,7 +77,7 @@
>>>  # TYPE  DATABASEUSERADDRESS METHOD
>>>  
>>>  # "local" is for Unix domain socket connections only
>>> -local   all all md5
>>> +local   all all trust
>>>  # IPv4 local connections:
>>>  hostall all 127.0.0.1/32md5
>>>  # IPv6 local connections:
>>>
>>>
>>>
>>> # postgresql-setup upgrade
>>> Redirecting to /bin/systemctl stop  postgresql.service
>>> Upgrading database: OK
>>>
>>> See /var/lib/pgsql/pgupgrade.log for details.
>>>
>>> # cp /root/pg_hba.conf.ovirt /var/lib/pgsql/data/pg_hba.conf
>>> # systemctl postgrsql.service restart
>>>
>>>
>>> edit /etc/httpd/conf.d/ssl.conf:
>>> # diff -u ssl.conf.ovirt ssl.conf
>>> --- ssl.conf.ovirt  2013-01-30 21:21:06.90600 +0100
>>> +++ ssl.conf2013-01-30 21:22:02.75700 +0100
>>> @@ -9,7 +9,7 @@
>>>  # consult the online docs. You have been warned.  
>>>  #
>>>  
>>> -LoadModule ssl_module modules/mod_ssl.so
>>> +#LoadModule ssl_module modules/mod_ssl.so
>>>  
>>>  #
>>>  # When we also provide SSL we have to listen to the 
>>> @@ -40,7 +40,7 @@
>>>  #   Semaphore:
>>>  #   Configure the path to the mutual exclusion semaphore the
>>>  #   SSL engine uses internally for inter-process synchronization. 
>>> -SSLMutex default
>>> +#SSLMutex default
>>>  
>>>  #   Pseudo Random Number Generator (PRNG):
>>>  #   Configure one or more sources to seed the PRNG of the
>>>
>>>
>>> # /bin/systemctl restart  httpd.service
>>>
>>> Remove the line exclude=ovirt* from /etc/yum.conf
>>>
>>> # yum update ovirt-engine-setup
>>> # engine-upgrade
>>>
>>> However, during the upgrade I've stepped into
>>> https://bugzilla.redhat.com/show_bug.cgi?id=906270
>>> 
>>> We are still working on the upgrade actions.
>> Our procedures looks almost exactly the same, and we have gotten just
>> as far as you have. Good to know.
>>
>> /Karli
>>>
>>


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com

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