Ask Your Question
0

Connection reset by peer Errno 104

asked 2015-04-16 09:45:53 -0500

phrreakk gravatar image

Initial request for images on Glance server runs fine for an unauthenticated user. I then try and download/GET said image and it blows up with the error "Errno 104 Connection reset by peer". This happens almost instantaneously. I'm using an Ovirt server to connect to this instance to just grab 1 file off of it. Any ideas would be greatly appreciated.

Thanks

Current packages installed: Centos 7

rpm -qa | grep openstack openstack-selinux-0.6.25-1.el7.noarch openstack-keystone-2014.2.2-1.el7.noarch openstack-utils-2014.2-1.el7.centos.noarch openstack-glance-2014.2.2-1.el7.noarch

rpm -qa | grep glance python-glance-2014.2.2-1.el7.noarch openstack-glance-2014.2.2-1.el7.noarch python-glance-store-0.1.10-2.el7.centos.noarch python-glanceclient-0.15.0-1.el7.centos.noarch

 2015-04-16 06:36:44.761 4277 DEBUG glance.api.middleware.version_negotiation [-] Determining version of request: GET /v1//images/detail Accept: application/json process_request /usr/lib/python2.7/site-packages/glance/api/middleware/version_negotiation.py:44
2015-04-16 06:36:44.762 4277 DEBUG glance.api.middleware.version_negotiation [-] Using url versioning process_request /usr/lib/python2.7/site-packages/glance/api/middleware/version_negotiation.py:57
2015-04-16 06:36:44.762 4277 DEBUG glance.api.middleware.version_negotiation [-] Matched version: v1 process_request /usr/lib/python2.7/site-packages/glance/api/middleware/version_negotiation.py:69
2015-04-16 06:36:44.763 4277 DEBUG glance.api.middleware.version_negotiation [-] new path /v1//images/detail process_request /usr/lib/python2.7/site-packages/glance/api/middleware/version_negotiation.py:70
2015-04-16 06:36:44.764 4277 DEBUG glance.api.policy [-] Loading policy from /etc/glance/policy.json _read_policy_file /usr/lib/python2.7/site-packages/glance/api/policy.py:106
2015-04-16 06:36:44.766 4277 DEBUG glance.api.policy [-] Loaded policy rules: {u'get_task': '@', u'get_metadef_property': '@', u'add_metadef_resource_type_association': '@', u'modify_metadef_namespace': '@', u'get_metadef_properties': '@', u'get_metadef_object': '@', u'get_image_location': '@', u'list_metadef_resource_types': '@', u'add_image': '@', u'get_metadef_namespace': '@', u'manage_image_cache': 'role:admin', u'delete_member': '@', u'add_metadef_property': '@', u'get_images': '@', u'get_metadef_resource_type': '@', u'delete_image': '@', u'get_metadef_namespaces': '@', u'get_metadef_objects': '@', u'modify_metadef_property': '@', u'publicize_image': 'role:admin', u'add_metadef_namespace': '@', u'get_member': '@', u'add_member': '@', u'set_image_location': '@', u'add_task': '@', u'modify_member': '@', u'context_is_admin': 'role:admin', u'upload_image': '@', u'add_metadef_object': '@', u'modify_task': '@', u'get_members': '@', u'get_tasks': '@', u'get_image': '@', u'default': '@', u'modify_image': '@', u'delete_image_location': '@', u'copy_from': '@', u'download_image': '@', u'modify_metadef_object': '@'} load_rules /usr/lib/python2.7/site-packages/glance/api/policy.py:85
2015-04-16 06:36:44.779 4277 DEBUG routes.middleware [0c1a5d7e-4349-48d3-a188-a5109624b1e1 - - - - -] Matched GET /images/detail __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:100
2015-04-16 06:36:44.780 4277 DEBUG routes.middleware [0c1a5d7e-4349-48d3-a188-a5109624b1e1 - - - - -] Route path: '/images/detail', defaults: {'action': u'detail', 'controller': <glance.common.wsgi.Resource object at 0x4289750>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:102
2015-04-16 06:36:44.780 4277 DEBUG routes.middleware [0c1a5d7e-4349-48d3-a188-a5109624b1e1 - - - - -] Match dict: {'action': u'detail', 'controller': <glance.common.wsgi.Resource object at 0x4289750>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:103
2015-04-16 06:36:44.783 4277 DEBUG glance.common.client [0c1a5d7e-4349-48d3-a188-a5109624b1e1 - - - - -] Constructed URL: http://0.0.0.0:9191/images/detail?sort_key=name&sort_dir=asc&limit=20 _construct_url /usr/lib/python2.7/site-packages/glance/common/client.py:398 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-04-16 10:14:46 -0500

phrreakk gravatar image

Tried anonymous curl requests and they work. Apparently Ovirt is sending a bad request of some kind to Glance. I guess I just need to look there. Thanks

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-04-16 09:45:53 -0500

Seen: 963 times

Last updated: Apr 16 '15