Bug 970741

Summary: need standard place to put error message on report
Product: [Retired] Pulp Reporter: Michael Hrivnak <mhrivnak>
Component: z_otherAssignee: Jay Dobies <jason.dobies>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: jason.dobies
Target Milestone: ---   
Target Release: 2.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-10 15:44:47 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 Michael Hrivnak 2013-06-04 18:26:37 UTC
We need an error message field on the download report. The current "error_report" field is an arbitrary dictionary of details, but that isn't helpful for displaying an error message to users. As discussed with jconnor via IRC, it would be great to have a string field on the DownloadReport where downloaders can stick an error message. Something like "error_msg" would be just fine.

Once this is done, the new yum importer needs to be modified to look for that message.

Comment 1 Jay Dobies 2013-06-05 13:57:47 UTC
https://github.com/pulp/nectar/pull/4

Comment 2 Jeff Ortel 2013-06-06 16:20:10 UTC
build: 2.2.0-0.2.beta.

Some of these were likely included in an earlier build but found them this time with a better BZ query.

Comment 3 Preethi Thomas 2013-06-21 15:06:50 UTC
verified
[root@ibm-x3550m3-13 ~]# rpm -q pulp-server
pulp-server-2.2.0-0.5.beta.fc18.noarch
[root@ibm-x3550m3-13 ~]# 


[root@ibm-x3550m3-13 ~]# pulp-admin rpm repo update --repo-id fake-url  --feed http://test
Repository [fake-url] successfully updated

[root@ibm-x3550m3-13 ~]# pulp-admin rpm repo sync run --repo-id fake-url+----------------------------------------------------------------------+
                  Synchronizing Repository [fake-url]
+----------------------------------------------------------------------+

This command may be exited by pressing ctrl+c without affecting the actual
operation on the server.

Downloading metadata...
[\]
... failed

[Errno 1] _ssl.c:504: error:14090086:SSL
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

[root@ibm-x3550m3-13 ~]# pulp-admin rpm repo update --repo-id fake-url  --feed http://repos.fedorapeople.org/nourl
Repository [fake-url] successfully updated

[root@ibm-x3550m3-13 ~]# pulp-admin rpm repo sync run --repo-id fake-url+----------------------------------------------------------------------+
                  Synchronizing Repository [fake-url]
+----------------------------------------------------------------------+

This command may be exited by pressing ctrl+c without affecting the actual
operation on the server.

Downloading metadata...
[\]
... failed

Not Found


[root@ibm-x3550m3-13 ~]# pulp-admin rpm repo create --repo-id fake-url --feed nourl
Successfully created repository [fake-url]

[root@ibm-x3550m3-13 ~]# pulp-admin rpm repo sync run --repo-id fake-url
+----------------------------------------------------------------------+
                  Synchronizing Repository [fake-url]
+----------------------------------------------------------------------+

This command may be exited by pressing ctrl+c without affecting the actual
operation on the server.

Downloading metadata...
[-]
... failed

Unsupported scheme:

Comment 4 Preethi Thomas 2013-09-10 15:44:47 UTC
2.2 released
http://repos.fedorapeople.org/repos/pulp/pulp/stable/2.2/