Unable to upload images from external networks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
New
|
Undecided
|
Unassigned |
Bug Description
Hi All,
We have a rocky OSA 18.1.2 branch setup. Image uploads to glance from remote networks are failing.
When we try try to upload from within the openstack networks, it is working fine, but from external networks, it is timing out and this is the error we observe in the glance-api logs:
-----------------
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi [req-48abaf55-
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi Traceback (most recent call last):
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi File "/openstack/
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi request, **action_args)
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi File "/openstack/
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi return method(*args, **kwargs)
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi File "/openstack/
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi return func(self, req, *args, **kwargs)
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi File "/openstack/
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi self._restore(
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi File "/openstack/
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi self.force_
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi File "/openstack/
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi six.reraise(
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi File "/openstack/
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi image.set_
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi File "/openstack/
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi self.base.
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi File "/openstack/
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi _send_notificat
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi File "/openstack/
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi self.force_
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi File "/openstack/
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi six.reraise(
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi File "/openstack/
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi self.repo.
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi File "/openstack/
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi return self.image.
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi File "/openstack/
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi self.image.
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi File "/openstack/
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi verifier=verifier)
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi File "/openstack/
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi image_id, data, size, hashing_algo, store, context, verifier)
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi File "/openstack/
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi image_id, data, size, hashing_algo, context=context, verifier=verifier)
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi File "/openstack/
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi metadata_dict) = store_add_
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi File "/openstack/
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi return store_op_fun(store, *args, **kwargs)
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi File "/openstack/
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi raise errors.get(e.errno, e)
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi IOError: unable to receive chunked part
2019-09-17 11:50:52.482 6821 ERROR glance.common.wsgi
2019-09-17 11:50:52.488 6821 CRITICAL glance [req-48abaf55-
2019-09-17 11:50:52.488 6821 ERROR glance IOError: write error
2019-09-17 11:50:52.488 6821 ERROR glance
-------
All other api commands r working fine remotely, but only these uploads are failing. Ideally we suppose, openstack should allow remote uploads.
Thanks
Kumar
We dont have any firewall in between. ....... ....... .