Bug 1375186

Summary: Typo in subscription-manager output
Product: Red Hat Enterprise Linux 7 Reporter: Marc Muehlfeld <mmuehlfe>
Component: subscription-managerAssignee: William Poteat <wpoteat>
Status: CLOSED CURRENTRELEASE QA Contact: John Sefler <jsefler>
Severity: low Docs Contact:
Priority: medium    
Version: 7.2CC: csnyder, eng-l10n-bugs, khowell, lmiksik, qe-i18n-bugs, redakkan, skallesh, smaitra, tbowling, vrjain
Target Milestone: rcKeywords: EasyFix, Translation, Triaged
Target Release: 7.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: subscription-manager-1.17-10-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-28 19:39:37 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:
Bug Depends On:    
Bug Blocks: 1473148    

Description Marc Muehlfeld 2016-09-12 12:32:16 UTC
Description of problem:
There is a typo if in the subscription-manager output the repository, if a repository name is not found.



Version-Release number of selected component (if applicable):
subscription-manager-1.15.9-15.el7.x86_64



How reproducible:
Always.



Steps to Reproduce:
1. Run on a system set up using german language:
# subscription-manager repos --enable=demo



Actual results:
# subscription-manager repos --enable=demo
Fehler: demo ist kine gültige Repository-ID. Verwenden Sie die --list Option, um gültige Repositorys anzuzeigen.



Expected results:
# subscription-manager repos --enable=demo
Fehler: demo ist _keine_ gültige Repository-ID. Verwenden Sie die --list Option, um gültige Repositorys anzuzeigen.

Comment 2 John Sefler 2016-09-26 16:48:36 UTC
Re-testing with version...
[root@jsefler-rhel7 ~]# rpm -q subscription-manager
subscription-manager-1.17.15-1.el7.x86_64

[root@jsefler-rhel7 ~]# subscription-manager repos --enable=demo
Error: 'demo' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.

[root@jsefler-rhel7 ~]# LANG=de_DE.utf-8 subscription-manager repos --enable=demo
Fehler: »demo« stimmt nicht mit einer gültigen Repository-ID überein. Verwenden Sie »subscription-manager repos --list«, um gültige Repositorys anzuzeigen.


Notice above that the translated string has changed since subscription-manager-1.15.9-15.el7.   The German word "keine" is no longer used.  The translation was changed to fix Bug 1351009 and appears in subscription-manager-1.17.10-1.

Comment 3 Shwetha Kallesh 2017-11-07 10:38:51 UTC
Fixed in following version, so moving bug to verified:

[root@hp-ms-01-c02 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.2.0-1
subscription management rules: 5.26
subscription-manager: 1.20.5-1.el7
python-rhsm: 0.0.0-1


[root@hp-ms-01-c02 ~]# subscription-manager repos --enable=demo
Error: 'demo' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.


[root@hp-ms-01-c02 ~]# LANG=de_DE.utf-8 subscription-manager repos --enable=demo
Fehler: »demo« stimmt nicht mit einer gültigen Repository-ID überein. Verwenden Sie »subscription-manager repos --list«, um gültige Repositorys anzuzeigen.

Comment 4 Kevin Howell 2017-11-28 19:39:37 UTC
Since this was fixed in the past, moving to CLOSED CURRENTRELEASE.