Bug 1472517 - Can not use paste.openstack.org
Summary: Can not use paste.openstack.org
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pastebinit
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Lameire Alexis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-19 00:27 UTC by Tony Breeds
Modified: 2018-07-26 15:04 UTC (History)
2 users (show)

Fixed In Version: pastebinit-1.5-1.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-26 15:04:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tony Breeds 2017-07-19 00:27:16 UTC
Description of problem:  When trying to use pastebinit with paste.openstack.org it fails with a python trace.



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


How reproducible:


Steps to Reproduce:
1. echo test-pastebinit  |pastebinit -a tonyb -b http://paste.openstack.org -f text

Actual results:

[tony@thor ~]$ echo test-pastebinit  |pastebinit -a tonyb -b http://paste.openstack.org -f text
Traceback (most recent call last):
  File "/usr/bin/pastebinit", line 328, in <module>
    page = url_opener.open(website, params) #Send the informations and be redirected to the final page
  File "/usr/lib64/python2.7/urllib.py", line 215, in open
    return getattr(self, name)(url, data)
  File "/usr/lib64/python2.7/urllib.py", line 349, in open_http
    for args in self.addheaders: h.putheader(*args)
  File "/usr/lib64/python2.7/httplib.py", line 1015, in putheader
    raise ValueError('Invalid header name %r' % (header,))
ValueError: Invalid header name 'Content-type: text/json'



Expected results:

Url of paste on server

Additional info:

Updating to 1.5 fixes the problem I am running it locally and I've done sctarch builds for rawhide and f26 at
https://koji.fedoraproject.org/koji/taskinfo?taskID=20603554
https://koji.fedoraproject.org/koji/taskinfo?taskID=20603541

Related to bug: https://bugzilla.redhat.com/show_bug.cgi?id=1055288

Comment 1 Jan Kurik 2017-08-15 09:48:12 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Releases/27/HouseKeeping#Rawhide_Rebase

Comment 2 Tony Breeds 2018-07-04 04:37:32 UTC
Still affects F27, F28 and rawhide.

I'm running F28 locally so I have scratch-builds:
* rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=28011421
* f28: https://koji.fedoraproject.org/koji/taskinfo?taskID=28011496

I'm using the results of the f28 scratch build and can talk to paste.openstack.org

Comment 3 Fedora Update System 2018-07-09 05:19:46 UTC
pastebinit-1.5-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-5290681174

Comment 4 Fedora Update System 2018-07-11 23:40:40 UTC
pastebinit-1.5-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-5290681174

Comment 5 Fedora Update System 2018-07-26 15:04:05 UTC
pastebinit-1.5-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.