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

Sandro Bonazzola sbonazzo at redhat.com
Tue Apr 1 02:10:36 EDT 2014


Il 01/04/2014 01:07, Alon Bar-Lev ha scritto:
> 
> The group within repository[1] is invalid.

I agree, the package list is broken:

      <packagereq type="mandatory">otopi</packagereq>
      <packagereq type="mandatory">ovirt-host-deploy</packagereq>
      <packagereq type="mandatory">ovirt</packagereq>

^^ ovirt-engine

      <packagereq type="mandatory">ovirt-cli</packagereq>
^^ ovirt-engine-cli

      <packagereq type="mandatory">ovirt-dbscripts</packagereq>

^^ ovirt-engine-dbscripts

      <packagereq type="mandatory">ovirt-doc</packagereq>
^^ this doesn't exist

      <packagereq type="mandatory">ovirt-image-uploader</packagereq>
      <packagereq type="mandatory">ovirt-iso-uploader</packagereq>
      <packagereq type="mandatory">ovirt-log-collector</packagereq>

The group file was added yesterday as per https://fedorahosted.org/ovirt/ticket/130

> 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.

Probably a leftover from the script that generates the repo, David please remove it as last step of the script you're using for generating the repo.


> 
> 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
>>>>
>>>
>>


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


More information about the Users mailing list