Bug 873083

Summary: "fedup --network 18" error message
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: fedupAssignee: Will Woods <wwoods>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: tflink, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-05 15:23:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jens Petersen 2012-11-05 05:28:44 UTC
Description of problem:
This is probably because the infrastructure for upgrades is not in
place yet but current the error message from "fedup --network 18"
is not too friendly...

Version-Release number of selected component (if applicable):
0.7-1.fc17

Steps to Reproduce:
1. Run "fedup --network 18"
  
Actual results:
Traceback (most recent call last):
  File "/bin/fedup-cli", line 253, in <module>
    args = parse_args()
  File "/bin/fedup-cli", line 179, in parse_args
    if '://' in args.instrepo:
TypeError: argument of type 'NoneType' is not iterable

Expected results:
Error message explaining no available repo?

Comment 1 Tim Flink 2012-11-05 15:22:17 UTC
Yeah, the error message isn't incredibly friendly but it's saying that the command isn't properly formed.

At the moment, --instrepo is required for fedup to run and it needs to point to a repo with a kernel and upgrade.img in the .treeinfo.

I have a side repo like that set up for testing:
http://tflink.fedorapeople.org/fedup/f18-upgrade/<arch>

Make sure that you replace <arch> with the arch you're using (i386, x86_64)

Comment 2 Tim Flink 2012-11-05 15:23:53 UTC

*** This bug has been marked as a duplicate of bug 872899 ***