[Users] upgrade from 3.3 to 3.4 on fedora 19 failed

Alastair Neil ajneil.tech at gmail.com
Tue Apr 1 15:02:48 UTC 2014


Thanks Alon, that did the trick and my upgrade completed successfully.



On 31 March 2014 23:18, Alastair Neil <ajneil.tech at gmail.com> wrote:

> Thanks Alon
>
>
> On 31 March 2014 19:22, Alon Bar-Lev <alonbl at redhat.com> wrote:
>
>>
>>
>> ----- Original Message -----
>> > From: "Alastair Neil" <ajneil.tech at gmail.com>
>> > To: "Alon Bar-Lev" <alonbl at redhat.com>
>> > Sent: Tuesday, April 1, 2014 2:10:03 AM
>> > Subject: Re: [Users] upgrade from 3.3 to 3.4 on fedora 19 failed
>> >
>> > So are there any specific actions I need to do or just try tomorrow?
>>
>> You can edit:
>> /usr/share/ovirt-engine/setup/ovirt_engine_setup/constants.py
>>
>> Replace:
>> UPGRADE_YUM_GROUP = 'ovirt-engine-3.4'
>> With:
>> UPGRADE_YUM_GROUP = 'ovirt-engine-XXX'
>>
>> This will make setup ignore the bad group and upgrade based on package
>> name.
>>
>> >
>> > -Alastair
>> >
>> >
>> >
>> > On 31 March 2014 19:07, Alon Bar-Lev <alonbl at redhat.com> wrote:
>> >
>> > >
>> > > The group within repository[1] is invalid.
>> > >
>> > > Sandro, kiril, please modify ovirt->ovirt-enigne and check that all
>> > > packages are OK.
>> > >
>> > > I also do not know what this file[2] is at that location.
>> > >
>> > > Alastair, all the issues are caused by this, as product is not
>> upgraded to
>> > > 3.4, so setup package of 3.4 is trying to setup 3.3 product.
>> > >
>> > > Thank you for the report!
>> > >
>> > > Alon
>> > >
>> > > [1]
>> > >
>> http://resources.ovirt.org/pub/ovirt-3.4/rpm/fc19/repodata/6cf75ccf11a0c2452b3d734092f20f2d52fcf5dd3933a80420384c990506fd25-ovirt34.xml
>> > > [2] http://resources.ovirt.org/pub/ovirt-3.4/ovirt34.xml
>> > >
>> > > ----- Original Message -----
>> > > > From: "Alastair Neil" <ajneil.tech at gmail.com>
>> > > > To: "Alon Bar-Lev" <alonbl at redhat.com>
>> > > > Cc: users at ovirt.org
>> > > > Sent: Tuesday, April 1, 2014 1:59:16 AM
>> > > > Subject: Re: [Users] upgrade from 3.3 to 3.4 on fedora 19 failed
>> > > >
>> > > > I tried manually copying the directory /etc/ovirt-engine/sysprep to
>> > > > /usr/share/ovirt-engine/conf, and then running engine-setup
>> > > >
>> > > > I now get a different failure:
>> > > >
>> > > > [ ERROR ] Failed to execute stage 'Misc configuration': function
>> > > > inst_add_glance_provider(unknown, unknown, unknown, unknown,
>> unknown)
>> > > does
>> > > > not exist LINE 2:                 select inst_add_glance_provider(
>> > > >                        ^ HINT:  No function matches the given name
>> and
>> > > > argument types. You might need to add explicit type casts.
>> > > >
>> > > > I am attaching the logs from both in case this was a bogus thing to
>> try
>> > > >
>> > > > -20140331175537.log has the original failure and the second  in in
>> the
>> > > > other file.
>> > > >
>> > > > Thanks
>> > > >
>> > > > -Alastair
>> > > >
>> > > >
>> > > >
>> > > > On 31 March 2014 18:24, Alon Bar-Lev <alonbl at redhat.com> wrote:
>> > > >
>> > > > >
>> > > > >
>> > > > > ----- Original Message -----
>> > > > > > From: "Alastair Neil" <ajneil.tech at gmail.com>
>> > > > > > To: users at ovirt.org
>> > > > > > Sent: Tuesday, April 1, 2014 1:18:37 AM
>> > > > > > Subject: [Users] upgrade from 3.3 to 3.4 on fedora 19 failed
>> > > > > >
>> > > > > > Any suggestions what to look for?
>> > > > >
>> > > > > Please attach:
>> > > > > /var/log/ovirt-engine/setup/ovirt-engine-setup-20140331175537.log
>> > > > >
>> > > > > > Thanks
>> > > > > > Alastair
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > > > [root at ovirt-admin ~]# engine-setup
>> > > > > > [ INFO ] Stage: Initializing
>> > > > > > [ INFO ] Stage: Environment setup
>> > > > > > Configuration files:
>> > > ['/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
>> > > > > > '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
>> > > > > > Log file:
>> > > > > /var/log/ovirt-engine/setup/ovirt-engine-setup-20140331175537.log
>> > > > > > Version: otopi-1.2.0 (otopi-1.2.0-1.fc19)
>> > > > > > [ INFO ] Stage: Environment packages setup
>> > > > > > [ INFO ] Stage: Programs detection
>> > > > > > [ INFO ] Stage: Environment setup
>> > > > > > [ INFO ] Stage: Environment customization
>> > > > > >
>> > > > > > --== PRODUCT OPTIONS ==--
>> > > > > >
>> > > > > >
>> > > > > > --== PACKAGES ==--
>> > > > > >
>> > > > > > [ INFO ] Checking for product updates...
>> > > > > > [ INFO ] No product updates found
>> > > > > >
>> > > > > > --== NETWORK CONFIGURATION ==--
>> > > > > >
>> > > > > > Setup can automatically configure the firewall on this system.
>> > > > > > Note: automatic configuration of the firewall may overwrite
>> current
>> > > > > settings.
>> > > > > > Do you want Setup to configure the firewall? (Yes, No) [Yes]:
>> > > > > > [ INFO ] firewalld will be configured as firewall manager.
>> > > > > >
>> > > > > > --== DATABASE CONFIGURATION ==--
>> > > > > >
>> > > > > > --== OVIRT ENGINE CONFIGURATION ==--
>> > > > > >
>> > > > > > Skipping storing options as database already prepared
>> > > > > >
>> > > > > > --== PKI CONFIGURATION ==--
>> > > > > >
>> > > > > > PKI is already configured
>> > > > > > --== APACHE CONFIGURATION ==--
>> > > > > >
>> > > > > > --== SYSTEM CONFIGURATION ==--
>> > > > > >
>> > > > > > --== MISC CONFIGURATION ==--
>> > > > > >
>> > > > > > --== END OF CONFIGURATION ==--
>> > > > > >
>> > > > > > [ INFO ] Stage: Setup validation
>> > > > > > [WARNING] Less than 16384MB of memory is available
>> > > > > > [ INFO ] Cleaning stale zombie tasks
>> > > > > >
>> > > > > > --== CONFIGURATION PREVIEW ==--
>> > > > > >
>> > > > > > Engine database name : engine
>> > > > > > Engine database secured connection : False
>> > > > > > Engine database host : localhost
>> > > > > > Engine database user name : engine
>> > > > > > Engine database host name validation : False
>> > > > > > Engine database port : 5432
>> > > > > > NFS setup : True
>> > > > > > Firewall manager : firewalld
>> > > > > > Update Firewall : True
>> > > > > > Configure WebSocket Proxy : True
>> > > > > > Host FQDN : ovirt-admin.xxxxx.xxx.xxx
>> > > > > > NFS mount point : /var/lib/exports/iso
>> > > > > > Set application as default page : True
>> > > > > > Configure Apache SSL : True
>> > > > > >
>> > > > > > Please confirm installation settings (OK, Cancel) [OK]:
>> > > > > > [ INFO ] Cleaning async tasks and compensations
>> > > > > > [ INFO ] Checking the Engine database consistency
>> > > > > > [ INFO ] Stage: Transaction setup
>> > > > > > [ INFO ] Stopping engine service
>> > > > > > [ INFO ] Stage: Misc configuration
>> > > > > > [ INFO ] Stage: Package installation
>> > > > > > [ INFO ] Stage: Misc configuration
>> > > > > > [ INFO ] Backing up database localhost:engine to
>> > > > > >
>> '/var/lib/ovirt-engine/backups/engine-20140331175747.lV9QoZ.sql'.
>> > > > > > [ INFO ] Updating Engine database schema
>> > > > > > [ ERROR ] Failed to execute stage 'Misc configuration': [Errno
>> 2] No
>> > > such
>> > > > > > file or directory:
>> '/usr/share/ovirt-engine/conf/sysprep/sysprep.2k3'
>> > > > > > [ INFO ] Yum Performing yum transaction rollback
>> > > > > > [ INFO ] Rolling back database schema
>> > > > > > [ INFO ] Clearing Engine database engine
>> > > > > > [ INFO ] Restoring Engine database engine
>> > > > > > [ INFO ] Stage: Clean up
>> > > > > > Log file is located at
>> > > > > >
>> /var/log/ovirt-engine/setup/ovirt-engine-setup-20140331175537.log
>> > > > > > [ INFO ] Stage: Pre-termination
>> > > > > > [ INFO ] Stage: Termination
>> > > > > > [ ERROR ] Execution of setup failed
>> > > > > >
>> > > > > >
>> > > > > > _______________________________________________
>> > > > > > Users mailing list
>> > > > > > Users at ovirt.org
>> > > > > > http://lists.ovirt.org/mailman/listinfo/users
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140401/ffad37d4/attachment-0001.html>


More information about the Users mailing list