Bug 891910 - The 'cmdline-instrepo' repo was rejected by yum as invalid.
Summary: The 'cmdline-instrepo' repo was rejected by yum as invalid.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: fedup
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Will Woods
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-04 12:31 UTC by Kamil Páral
Modified: 2013-01-04 17:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-04 17:02:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kamil Páral 2013-01-04 12:31:55 UTC
Description of problem:
> # fedup-cli --network 18 --debuglog fedup.log --instrepo http://dl.fedoraproject.org/pub/alt/stage/18-TC4/Fedora/x86_64/os
> setting up repos...
> fedora/18/x86_64/metalink                                                                                                      |  24 kB     00:00     
> fedora/18/x86_64                                                                                                               | 4.2 kB     00:00     
> fedora/primary_db                                                                                                              |  17 MB     00:10     
> updates/18/x86_64/metalink                                                                                                     |  30 kB     00:00     
> updates/18/x86_64                                                                                                              | 2.6 kB     00:00     
> updates/primary_db                                                                                                             | 1.2 kB     00:00     
> Error: can't get boot images.
> The 'cmdline-instrepo' repo was rejected by yum as invalid.

But this works:

> # fedup-cli --network 18 --debuglog fedup.log --instrepo http://dl.fedoraproject.org/pub/fedora/linux/development/18/x86_64/os

I think fedup now doesn't work with repositories that doesn't contain a package repository. It used to work before, it's even mentioned in the test case:
https://fedoraproject.org/wiki/QA:Testcase_upgrade_fedup_cli_previous_desktop
" The URL needs to point to the initrd.img and vmlinuz, but not necessarily all rpm packages. "

Is that an intentional change or a bug?

Version-Release number of selected component (if applicable):
fedup-0.7.2-1.fc17.noarch

Comment 1 Tim Flink 2013-01-04 16:24:24 UTC
(In reply to comment #0)
> Description of problem:
> > # fedup-cli --network 18 --debuglog fedup.log --instrepo http://dl.fedoraproject.org/pub/alt/stage/18-TC4/Fedora/x86_64/os

I'll check with rel-eng but I'm pretty sure this is NOTABUG. IIRC, the TC/RC dirs on secondary01 (dl.fedoraproject/pub/alt/) are not made into repos which is required for fedup.

> But this works:
> 
> > # fedup-cli --network 18 --debuglog fedup.log --instrepo http://dl.fedoraproject.org/pub/fedora/linux/development/18/x86_64/os

This is expected and is updated with every TC/RC - this is repo-ized and will work with fedup.

> I think fedup now doesn't work with repositories that doesn't contain a
> package repository. It used to work before, it's even mentioned in the test
> case:
> https://fedoraproject.org/wiki/QA:Testcase_upgrade_fedup_cli_previous_desktop
> " The URL needs to point to the initrd.img and vmlinuz, but not necessarily
> all rpm packages. "

Some of that change was made yesterday due to a misunderstanding but it was never very clear, I'll fix it today.

Comment 2 Tim Flink 2013-01-04 16:58:24 UTC
(In reply to comment #0)
> But this works:
> 
> > # fedup-cli --network 18 --debuglog fedup.log --instrepo http://dl.fedoraproject.org/pub/fedora/linux/development/18/x86_64/os

This is updated with whatever is in stable when a push is done - it's generated by pungi. So it should generally have close to an up-to-date upgrade.img in it (at the moment fedup-dracut-0.7.1-1 is stable, so it's not quite up to date, though)

Comment 3 Tim Flink 2013-01-04 17:02:53 UTC
I confirmed with rel-eng that the TC/RC dirs are not supposed to be valid repos. That makes this expected behavior for now and I'm closing as NOTABUG. If we want to test fedup-dracut builds that aren't yet in stable, we'll have to figure out another method of building/distributing them (fedorapeople, smoke builds etc.)


Note You need to log in before you can comment on or make changes to this bug.