Bug 784439

Summary: There is no version named '17' in the 'Fedora' product.
Product: [Fedora] Fedora Reporter: Flóki Pálsson <flokip>
Component: anacondaAssignee: Martin Sivák <msivak>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: abrt-devel-list, anaconda-maint-list, dvlasenk, g.kaviyarasu, greenrd, hoyang, jmoskovc, jonathan, kklic, mlichvar, mmilata, mnowak, mtoman, npajkovs, robatino, spacewar, tcallawa, tehfoo+bugs, vanmeeuwen+fedora, vpodzime
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-03-07 07:58:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Flóki Pálsson 2012-01-24 22:58:26 UTC
Description of problem:
When trying to install from Fedora-17-Nightly-20120124.08-x86_64-Live-desktop.iso there is error after selecting partition to install to.
It is not possible to submit this error to bugzilla.



Version-Release number of selected component (if applicable):
Fedora-17-Nightly-20120124.08-x86_64-Live-desktop.iso

How reproducible:
always

Steps to Reproduce:
1.  dd to usb
2.  boot form usb, select innstall to hard drive
3.  select partition /sdc11 
4.  error
5.  config bugzilla and summit 
  
Actual results:
--- Running report_Bugzilla ---
Logging into Bugzilla at https://bugzilla.redhat.com
Checking for duplicates
Creating a new bug
fatal: XML-RPC(51): RPC failed at server.  There is no version named '17' in the 'Fedora' product.
(exited with 1)


Expected results:
Bug submitted to bugzilla 

Additional info:

Comment 2 Tom "spot" Callaway 2012-01-25 16:33:26 UTC
So, rather than adding a 17 to bugzilla prematurely, python-meh just needs to handle this case a little better. Specifically, something like:

If /etc/fedora-release says "Rawhide", don't try to use the version number, assign "Rawhide" as the version for bugzilla needs.

Reassigning to python-meh.

Comment 3 Nikola Pajkovsky 2012-01-26 11:58:39 UTC
please $ cat /etc/fedora-release

Comment 4 Vratislav Podzimek 2012-01-26 12:09:30 UTC
(In reply to comment #3)
> please $ cat /etc/fedora-release

Fedora release 17 (Rawhide)

Comment 5 Vratislav Podzimek 2012-01-26 12:35:32 UTC
This shouldn't be a problem in python-meh. We only read the content of /etc/system-release and forward it to libreport.

Comment 6 Nikola Pajkovsky 2012-01-26 12:53:30 UTC
Tom, we are doing exactly what you said. See

static void parse_release(const char *release, char** product, char** version,
                          bool append_rhel_version)
{
    if (strstr(release, "Rawhide"))
    {
        *product = xstrdup("Fedora");
        *version = xstrdup("rawhide");
        return;
    }
...
}

Also we have unit test in libreport for string: Fedora release 17 (Rawhide). I have to dig more, because it doesn't make sense to me right now.

Comment 7 Vratislav Podzimek 2012-01-26 14:55:29 UTC
So the problem is in part of anacoda -- liveinst. It sets up environment variables for anaconda and these variables contain only "Fedora" and "17" without "Rawhide" (it is cut off).

Comment 8 Chris Lumens 2012-02-02 15:05:18 UTC
*** Bug 786712 has been marked as a duplicate of this bug. ***

Comment 9 Erik Boettcher 2012-02-12 21:51:51 UTC
I get the same error in abrt when trying to report bugs in TC2.

Comment 10 Hongqing Yang 2012-02-16 07:44:10 UTC
reproduced with F17 Alpha RC2

Comment 11 Hongqing Yang 2012-02-22 10:32:00 UTC
This is fixed with F17 Alpha RC4

Comment 12 Tom "spot" Callaway 2012-02-22 14:57:48 UTC
Please confirm that this has actually been fixed in the anaconda code, as opposed to not triggering anymore because Bugzilla now has a "17" component.