Wednesday, 2022-09-07

rajivHi, is mod_wsgi/uwsgi enabled by default in glance ?08:56
rajivare there any issues enabling any of them ?08:57
stephenfinjokke_: Are tasks still a fully supported thing in glance or have they been replaced? I have it in my head that they've been effectively replaced by something else11:52
stephenfinAs in this feature https://docs.openstack.org/glance/latest/admin/tasks.html11:52
rosmaitastephenfin: the "tasks API" is still admin-only by default, but tasks are used to handle image import, and they are exposed to users so users can get an idea of what's going on during import:12:36
rosmaitahttps://docs.openstack.org/api-ref/image/v2/index.html?expanded=show-tasks-associated-with-image-detail#show-tasks-associated-with-image12:36
opendevreviewCyril Roelandt proposed openstack/python-glanceclient master: md-property-create: add a mandatory "--type" option  https://review.opendev.org/c/openstack/python-glanceclient/+/85630317:12
stephenfinrosmaita: Great, thanks. Do we expect people to ever create a task manually or is that an internal-only API?17:39
dansmithstephenfin: no, never, it's only internal17:39
dansmithwe've made the task api admin-only, and have also discussed removing it17:39
stephenfinSo we shouldn't expose it in OSC or SDK. Good to know. I'll leave a note somewhere hinting at that17:40
dansmithstephenfin: https://github.com/openstack/glance/blob/master/glance/api/v2/tasks.py#L6817:40
dansmithAFAIK, technically all of those are deprecated17:40
stephenfinOkay, that's why I thought they'd been effectively replaced. Must have looked at that code before17:41
stephenfinContext was https://review.opendev.org/c/openstack/openstacksdk/+/856272/3/openstack/tests/functional/image/v2/test_task.py#20 and trying to figure out if we should implement that feature. We should not.17:41
dansmithwithout even clicking, I agree.17:42

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!