Bug 784439 - There is no version named '17' in the 'Fedora' product.
Summary: There is no version named '17' in the 'Fedora' product.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Sivák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 786712 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-24 22:58 UTC by Flóki Pálsson
Modified: 2012-03-07 07:58 UTC (History)
20 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-07 07:58:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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