Bug 715308

Summary: Aborting during upload repo selection throws an error
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: Jay Dobies <jason.dobies>
Component: ToolsAssignee: Jay Dobies <jason.dobies>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.0CC: kbidarka, sghai, tsanders
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-05-31 12:51: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:

Description Jay Dobies 2011-06-22 14:15:01 UTC
It's a simple check in the code that's probably just missing in this case, but I wanted it captured as a bug and verified when it's fixed.


------------------------------------------------------------------------------
rhui (repo) => u

Select the repositories to upload the package into:
  -  1 : upload-test
Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: b



An unexpected error has occurred during the last operation.
More information can be found in /home/jdob/.rhui/rhui.log.

Comment 1 Jay Dobies 2011-06-22 14:16:56 UTC
commit 14df1ccc03063de1601a8342a4c7c42771e60cea
Author: Jay Dobies <jason.dobies>
Date:   Wed Jun 22 10:16:21 2011 -0400

    715308 - Properly catch abort when cancelling package upload.

rhui-2.0/tools/src/rhui/tools/screens/repo.py

Comment 2 Jay Dobies 2011-06-23 13:23:40 UTC
Fixed in RHUI: 2.0.33

Comment 3 Kedar Bidarkar 2011-06-27 13:55:16 UTC
------------------------------------------------------------------------------
             -= Red Hat Update Infrastructure Management Tool =-


-= Repository Management =-

   l   list repositories currently managed by the RHUI
   i   display detailed information on a repository
   a   add a new Red Hat content repository
   c   create a new custom repository
   d   delete a repository from the RHUI
   u   upload content to a custom repository
   p   list packages in a repository

                         Connected: ip-10-170-226-4.us-west-1.compute.internal
------------------------------------------------------------------------------
rhui (repo) => c

Unique ID for the custom repository (alphanumerics, _, and - only):
repoid-1

Display name for the custom repository [repoid-1]:
Qpid

Path at which the repository will be served [repoid-1]:
/baseos/x86_64/qpid/os

Should the repository require an entitlement certificate to access? (y/n)
y

Based on the repository's relative path, the suggested entitlement path is:
  /baseos/$basearch/qpid/os

Path that should be used when granting an entitlement for this repository. This
may use yum variable substitutions (e.g. $basearch) to group this together with
other repositories that share the entitlement [/baseos/$basearch/qpid/os]:
/baseos/$basearch/qpid/os

The following repository will be created:
  ID:          repoid-1
  Name:        Qpid
  Path:        /baseos/x86_64/qpid/os
  Entitlement: /baseos/$basearch/qpid/os
Proceed? (y/n) y

Successfully created repository Qpid

------------------------------------------------------------------------------
rhui (repo) => u

Select the repositories to upload the package into:
  -  1 : Qpid
Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: b



------------------------------------------------------------------------------
rhui (repo) =>

Comment 4 wes hayutin 2011-08-01 21:38:30 UTC
moving to release pending

Comment 5 wes hayutin 2012-05-31 12:51:25 UTC
closing out, product released