Bug 1943744

Summary: release short name validated failed
Product: [Fedora] Fedora Reporter: Tao Feng <t.feng94>
Component: python-productmdAssignee: Lubomír Sedlář <lsedlar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: dennis, dmach, lsedlar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-productmd-1.32-1.fc33 python-productmd-1.32-1.fc32 python-productmd-1.32-1.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-24 18:05:25 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 Tao Feng 2021-03-27 01:33:34 UTC
Description of problem:
I was making Linux distributions based on Fedora(lorax for build, anaconda for installer). But it is failed during anaconda install.
After simply debuging for that, I found it is failed in parsering .treeinfo which is a hidden file in ISO.


Version-Release number of selected component (if applicable):



How reproducible:


Steps to Reproduce:
1.use lorax for building an new linux distribution based on fedora
2.install os
3.

Actual results:
installing failed


Expected results:
installing success


Additional info:

Comment 1 Tao Feng 2021-03-27 01:38:29 UTC
Because, release-short-name in my treeinfo is not startwith Fedora, CentOS or RHEL.
So, Type-Check failed...
def _validate_short(self): 
    self._assert_type("short", list(six.string_types))
If deserialize_0_0 return "" other then None, It would be better ;)

I have pushed a patch to the upstream
https://github.com/release-engineering/productmd/pull/154

Comment 2 Fedora Update System 2021-04-16 10:52:12 UTC
FEDORA-2021-d546addb68 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-d546addb68

Comment 3 Lubomír Sedlář 2021-04-16 10:53:01 UTC
The upstream patch is merged now and included in a build. The update is linked above.

Comment 4 Fedora Update System 2021-04-16 14:38:30 UTC
FEDORA-2021-a2e1fc2cc3 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-a2e1fc2cc3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a2e1fc2cc3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-04-16 15:04:09 UTC
FEDORA-2021-d546addb68 has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-d546addb68`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-d546addb68

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-04-16 16:25:16 UTC
FEDORA-2021-65b194b75c has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-65b194b75c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-65b194b75c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2021-04-24 18:05:25 UTC
FEDORA-2021-a2e1fc2cc3 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2021-04-24 18:23:18 UTC
FEDORA-2021-d546addb68 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2021-04-24 20:13:19 UTC
FEDORA-2021-65b194b75c has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.