[Users] Wondering about updating ovirt from 3.0 to 3.1

Ofer Schreiber oschreib at redhat.com
Tue Jul 24 11:13:32 UTC 2012



----- Original Message -----
> On 07/12/2012 06:08 PM, Robert Middleswarth wrote:
> > On 07/12/2012 03:01 PM, Dominic Kaiser wrote:
> >> So does Fedora 16 have an Ovirt 3.1 repo?  It seems best way to do
> >> this correct me if I am wrong:
> > No.  There are no Fedora 16 Repo's
> >>
> >> 1. Uninstall 3.0
> >> 2. engine-cleanup do not drop database
> >> 3. Reinstall
> >>
> >> Good to go right?  Will this mess with vm's already running etc.
> > Pretty certain this will break things badly.
> >
> > The un-test but the way that should work is.
> >
> > Uninstall oVirt 3.0 do not engine-clean
> > Upgrade from Fedora 16 to Fedora 17.
> > Add the beta repo's
> > yum clean all
> > Yum install ovirt-engine
> > Run enginue-upgrade and follow it instructions

I'm afraid this won't work, we changed so many things in the packaging/setup between 3.0 and 3.1

> 
> 
> Has anyone else tested this? I just tried it on a test rig of F16
> running 3.0, upgrading to 3.1 beta on F17. All the steps completed
> fine,
> except that I had to remove ovirt-engine-jbossas, which conflicted
> with
> the new, from Fedora, jboss-as, before installing ovirt-engine 3.1.
> 
> After engine-upgrade completed, I wasn't able to access the engine.
> Jboss-as was stopped, as was httpd. Starting them up didn't make the
> engine accessible, though. I just got the default fedora pages for
> JBoss
> and for Apache.
> 
> On my own oVirt setup, I moved from 3.0 to 3.1 by moving my VMs and
> templates to my export domain, detaching my export and iso domains,
> and
> installing 3.1 from scratch, before importing my iso and export
> domains
> and ferrying my VMs and templates over to my new data domain.
> 
> What's the most sane upgrade advice we can offer to oVirt 3.0 users?
> 
> Jason

the "sane" upgrade path (nothing is sane in Fedora 16 to Fedora 17 upgrade):
1. run engine-cleanup, do not drop DB
2. remove all ovirt-engine rpms (including the JBoss one)
  - please not that this will remove the PKI, so you'll have to re-install your hosts
3. Do the fedora upgrade
4. install ovirt-engine rpms
5. run engine-setup
  - Give same passwords to the DB/admin user

in this case, engine-setup should upgrade the db, and not install it.
we didn't tried this approach yet, so I'll appreciate any input.



> 
> 
> >
> > Since I was stuck at the DMV all day I haven't had a change to test
> > these instructions at all before doing these steps I would do a
> > full
> > backup of the DB and a snapshot of the system.  If you can clone
> > the
> > system and do these steps on a clone even better.
> >
> > Thanks
> > Robert
> >
> >>
> >> dk
> >>
> >> On Thu, Jul 12, 2012 at 11:26 AM, Robert Middleswarth
> >> <robert at middleswarth.net <mailto:robert at middleswarth.net>> wrote:
> >>
> >>     On 07/12/2012 11:23 AM, Dominic Kaiser wrote:
> >>>     What is the proper process for this in ovirt?  Or has someone
> >>>     done it already?
> >>     Testing is just getting started.  We have an idea of the steps
> >>     but
> >>     no one has actually done them to see if the upgrade works or
> >>     not.
> >>
> >>     Thanks
> >>     Robert
> >>>
> >>>     Thanks,
> >>>
> >>>     --
> >>>     Dominic Kaiser
> >>>     Greater Boston Vineyard
> >>>     Director of Operations
> >>>
> >>>     cell: 617-230-1412 <tel:617-230-1412>
> >>>     fax: 617-252-0238 <tel:617-252-0238>
> >>>     email: dominic at bostonvineyard.org
> >>>     <mailto:dominic at bostonvineyard.org>
> >>>
> >>>
> >>>
> >>>
> >>>     _______________________________________________
> >>>     Users mailing list
> >>>     Users at ovirt.org  <mailto:Users at ovirt.org>
> >>>     http://lists.ovirt.org/mailman/listinfo/users
> >>
> >>
> >>
> >>
> >>
> >> --
> >> Dominic Kaiser
> >> Greater Boston Vineyard
> >> Director of Operations
> >>
> >> cell: 617-230-1412
> >> fax: 617-252-0238
> >> email: dominic at bostonvineyard.org
> >> <mailto:dominic at bostonvineyard.org>
> >>
> >>
> >
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
> 
> 
> --
> Jason Brooks
> Media & Communications
> Open Source and Standards @ Red Hat
> 
> identi.ca/jasonbrooks
> twitter.com/jasonbrooks
> 
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 



More information about the Users mailing list