Bug 784439
Summary: | There is no version named '17' in the 'Fedora' product. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Flóki Pálsson <flokip> |
Component: | anaconda | Assignee: | Martin Sivák <msivak> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | 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
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. please $ cat /etc/fedora-release (In reply to comment #3) > please $ cat /etc/fedora-release Fedora release 17 (Rawhide) This shouldn't be a problem in python-meh. We only read the content of /etc/system-release and forward it to libreport. 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. 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). *** Bug 786712 has been marked as a duplicate of this bug. *** I get the same error in abrt when trying to report bugs in TC2. reproduced with F17 Alpha RC2 This is fixed with F17 Alpha RC4 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. |