Project

Profile

Help

Issue #3036

Updated by Ichimonji10 over 6 years ago

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: 

 <pre>$ 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) 
 </pre> 

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

 <pre>[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!) 
 </pre> 

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

 <pre>[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'. 
 </pre>

Back