Project

Profile

Help

Issue #7872

Patching CollectionRemote raises 500

Added by fao89 7 months ago. Updated 7 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]: Traceback (most recent call last):                                                                               
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner  
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:     response = get_response(request)                                                                             
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/django/core/handlers/base.py", line 115, in _get_respon
se                                                                                                                                                                                            
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:     response = self.process_exception_by_middleware(e, request)                                                  
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/django/core/handlers/base.py", line 113, in _get_respon
se                                                                                                                                                                                            
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:     response = wrapped_callback(request, *callback_args, **callback_kwargs)                                      
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_v
iew                                                                                                                                                                                           
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:     return view_func(*args, **kwargs)                                                                            
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/rest_framework/viewsets.py", line 125, in view         
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:     return self.dispatch(request, *args, **kwargs)                                                               
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/rest_framework/views.py", line 509, in dispatch        
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:     response = self.handle_exception(exc)                                                                        
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/rest_framework/views.py", line 469, in handle_exception
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:     self.raise_uncaught_exception(exc)                                                                           
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/rest_framework/views.py", line 480, in raise_uncaught_e
xception                                                                                                                                                                                      
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:     raise exc                                                                                                    
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/rest_framework/views.py", line 506, in dispatch        
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:     response = handler(request, *args, **kwargs)                                                                 
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:   File "/home/vagrant/devel/pulpcore/pulpcore/app/viewsets/base.py", line 467, in partial_update                 
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:     return self.update(request, *args, **kwargs)                                                                 
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:   File "/home/vagrant/devel/pulpcore/pulpcore/app/viewsets/base.py", line 451, in update                         
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:     serializer.is_valid(raise_exception=True)                                                                    
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/rest_framework/serializers.py", line 220, in is_valid  
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:     self._validated_data = self.run_validation(self.initial_data)                                                
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/rest_framework/serializers.py", line 422, in run_valida
tion                                                                                                                                                                                          
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:     value = self.validate(value)                                                                                 
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:   File "/home/vagrant/devel/pulp_ansible/pulp_ansible/app/serializers.py", line 146, in validate                 
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]:     _validate_url(data["url"])                                                                                   
Nov 19 13:42:16 pulp3-source-fedora31.localhost.example.com gunicorn[33517]: KeyError: 'url'                                                                                     

Associated revisions

Revision cef6aa0d View on GitHub
Added by Fabricio Aguiar 7 months ago

Makes ``url```optional when patching a collection remote

https://pulp.plan.io/issues/7872 closes #7872

Revision db0f7326 View on GitHub
Added by Fabricio Aguiar 7 months ago

Makes ``url```optional when patching a collection remote

https://pulp.plan.io/issues/7872 closes #7872

History

#1 Updated by fao89 7 months ago

  • Sprint/Milestone set to 0.5.2

#2 Updated by Anonymous 7 months ago

  • Status changed from NEW to MODIFIED

#4 Updated by pulpbot 7 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF