http://bugzilla.suse.com/show_bug.cgi?id=1088310
http://bugzilla.suse.com/show_bug.cgi?id=1088310#c10
Robert Schweikert changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tchvatal@suse.com
--- Comment #10 from Robert Schweikert ---
The root cause is the following commit:
Thu May 10 09:05:58 UTC 2018 - tchvatal@suse.com
- Create symlinks from system packages for the vendored stuff as some
3rd party apps require it and it leads to explosions
While I agree that using the "special" shipped requests implementation is not
what we want to do, it is obviously not acceptable to simply rip it out and not
care about whether the package itself works or not.
The traceback generated with the "special" AWS version of requests removed is
as follows:
File "/usr/bin/ec2uploadimg", line 610, in <module>
ami = uploader.create_image(args.source)
File "/usr/lib/python3.6/site-packages/ec2utils/ec2uploadimg.py", line 887,
in create_image
snapshot = self.create_snapshot(source)
File "/usr/lib/python3.6/site-packages/ec2utils/ec2uploadimg.py", line 1010,
in create_snapshot
root_volume = self._create_image_root_volume(source)
File "/usr/lib/python3.6/site-packages/ec2utils/ec2uploadimg.py", line 296,
in _create_image_root_volume
self._check_image_exists()
File "/usr/lib/python3.6/site-packages/ec2utils/ec2uploadimg.py", line 153,
in _check_image_exists
my_images = self._get_owned_images()
File "/usr/lib/python3.6/site-packages/ec2utils/ec2utils.py", line 68, in
_get_owned_images
return self._connect().describe_images(Owners=['self'])['Images']
File "/usr/lib/python3.6/site-packages/botocore/client.py", line 314, in
_api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/lib/python3.6/site-packages/botocore/client.py", line 599, in
_make_api_call
operation_model, request_dict)
File "/usr/lib/python3.6/site-packages/botocore/endpoint.py", line 148, in
make_request
return self._send_request(request_dict, operation_model)
File "/usr/lib/python3.6/site-packages/botocore/endpoint.py", line 177, in
_send_request
success_response, exception):
File "/usr/lib/python3.6/site-packages/botocore/endpoint.py", line 273, in
_needs_retry
caught_exception=caught_exception, request_dict=request_dict)
File "/usr/lib/python3.6/site-packages/botocore/hooks.py", line 227, in emit
return self._emit(event_name, kwargs)
File "/usr/lib/python3.6/site-packages/botocore/hooks.py", line 210, in _emit
response = handler(**kwargs)
File "/usr/lib/python3.6/site-packages/botocore/retryhandler.py", line 183,
in __call__
if self._checker(attempts, response, caught_exception):
File "/usr/lib/python3.6/site-packages/botocore/retryhandler.py", line 251,
in __call__
caught_exception)
File "/usr/lib/python3.6/site-packages/botocore/retryhandler.py", line 269,
in _should_retry
return self._checker(attempt_number, response, caught_exception)
File "/usr/lib/python3.6/site-packages/botocore/retryhandler.py", line 317,
in __call__
caught_exception)
File "/usr/lib/python3.6/site-packages/botocore/retryhandler.py", line 223,
in __call__
attempt_number, caught_exception)
File "/usr/lib/python3.6/site-packages/botocore/retryhandler.py", line 359,
in _check_caught_exception
raise caught_exception
File "/usr/lib/python3.6/site-packages/botocore/endpoint.py", line 222, in
_get_response
proxies=self.proxies, timeout=self.timeout)
File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 622, in
send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 445, in
send
timeout=timeout
File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600,
in urlopen
chunked=chunked)
File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 343,
in _make_request
self._validate_conn(conn)
File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 849,
in _validate_conn
conn.connect()
File "/usr/lib/python3.6/site-packages/urllib3/connection.py", line 341, in
connect
if self.ssl_context is None:
'AWSHTTPSConnection' object has no attribute 'ssl_context'
I do not yet know why the "ssl_context" attribute disappears when we use the
system provided python modules
--
You are receiving this mail because:
You are on the CC list for the bug.