Project

Profile

Help

Issue #3036

closed

Pulp streamer dumps core on F26

Added by Ichimonji10 about 6 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Platform Release:
2.14.2
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 26
Quarter:

Description

One can install Pulp 2.14 on F26 and successfully use most features. Unfortunately, the pulp_streamer service is broken. One way to reproduce this issue is to run any of the test cases that make use of the streamer. For example:

$ python -m unittest pulp_smash.tests.rpm.api_v2.test_download_policies.BackgroundTestCase
E
======================================================================                                                                                                                                                                         
ERROR: setUpClass (pulp_smash.tests.rpm.api_v2.test_download_policies.BackgroundTestCase)                                                                                                                                                      
----------------------------------------------------------------------                                                                                                                                                                         
Traceback (most recent call last):                                                                                     
  File "/home/ichimonji10/code/pulp-smash/pulp_smash/tests/rpm/api_v2/test_download_policies.py", line 101, in setUpClass                                                                                                                      
    cls.rpm = get_unit(cls.cfg, cls.repo['distributors'][0], RPM)                                                                                                                                                                              
  File "/home/ichimonji10/code/pulp-smash/pulp_smash/tests/rpm/api_v2/utils.py", line 377, in get_unit                                                                                                                                         
    return api.Client(cfg).get(path)                                                                                                                                                                                                           
  File "/home/ichimonji10/code/pulp-smash/pulp_smash/api.py", line 285, in get                                                                                                                                                                 
    return self.request('GET', url, **kwargs)                                                                                                                                                                                                  
  File "/home/ichimonji10/code/pulp-smash/pulp_smash/api.py", line 342, in request                                                                                                                                                             
    requests.request(method, **request_kwargs),                                                                                                                                                                                                
  File "/home/ichimonji10/code/pulp-smash/pulp_smash/api.py", line 119, in safe_handler                                                                                                                                                        
    response.raise_for_status()                                                                                                                                                                                                                
  File "/home/ichimonji10/.venvs/pulp-smash/lib/python3.6/site-packages/requests/models.py", line 935, in raise_for_status                                                                                                                     
    raise HTTPError(http_error_msg, response=self)                                                                                                                                                                                             
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://fedora-26-pulp-2-14:443/streamer/var/lib/pulp/content/units/rpm/c6/c0929d9f5fdb7afb53adb48ebf8b3efd69b5c76f7728b430419e9b62f49544/bear-4.1-1.noarch.rpm
?policy=eyJleHRlbnNpb25zIjogeyJyZW1vdGVfaXAiOiAiMTkyLjE2OC4xMDAuMSJ9LCAicmVzb3VyY2UiOiAiL3N0cmVhbWVyL3Zhci9saWIvcHVscC9jb250ZW50L3VuaXRzL3JwbS9jNi9jMDkyOWQ5ZjVmZGI3YWZiNTNhZGI0OGViZjhiM2VmZDY5YjVjNzZmNzcyOGI0MzA0MTllOWI2MmY0OTU0NC9iZWFyLTQ
uMS0xLm5vYXJjaC5ycG0iLCAiZXhwaXJhdGlvbiI6IDE1MDY0NTk3MDJ9;signature=Ww3pSRqvX-0Z4j40ZgYACFojkB8wgn_X09u5aMWiSjHeSQaKHh8sq7P3u9B88zZft18Yl2AQQ4SpnNcnvasgcBYWV7ZJK-2Nzf1hXYaPf89IXREXYWOwPUBBcTLDqgE6WQmV3iOCb32Ski4hnslGuRCD60Qk8Jr8m33Ouq7Gf64
gWHpVab9LNs84MhH_1acq2n-HkT2uEXIr70PifaMu2F0ftgKIqZ32WkrhuFGwufYysZNXK242kTve33a-VvJBQKyrbAOFkkDOx6HxyriKNyk28ysz_VOzVJszSmNKlRz2aLrtLmCrp-uleDTUTecwM8lGQ2MNlCmaqtAwF_y8lA%3D%3D                                                              

----------------------------------------------------------------------                                                                                                                                                                         
Ran 0 tests in 48.936s                                                                                                                                                                                                                         

FAILED (errors=1)

That looks nasty. Let's take a look at logs:

[root@fedora-26-pulp-2-14 ~]# journalctl -p err..crit
(snip!)
Sep 26 17:00:05 fedora-26-pulp-2-14 systemd-coredump[1580]: Process 30421 (pulp_streamer) of user 48 dumped core.
(snip!)

That's no fun. I've attached the full output of this journalctl command. It's 518 lines long. Take a look. The end effect is that pulp_streamer.service is dead:

[root@fedora-26-pulp-2-14 ~]# systemctl --state failed
  UNIT                  LOAD   ACTIVE SUB    DESCRIPTION                           
‚óŹ pulp_streamer.service loaded failed failed The Pulp lazy content loading streamer

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

1 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

Files

journalctl.txt (63.6 KB) journalctl.txt Ichimonji10, 09/26/2017 11:17 PM

Also available in: Atom PDF