Bug 1472517 - Can not use paste.openstack.org
Can not use paste.openstack.org
Status: NEW
Product: Fedora
Classification: Fedora
Component: pastebinit (Show other bugs)
27
All Linux
unspecified Severity medium
: ---
: ---
Assigned To: Lameire Alexis
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-18 20:27 EDT by Tony Breeds
Modified: 2017-08-15 05:48 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Tony Breeds 2017-07-18 20:27:16 EDT
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 05:48:12 EDT
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

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