rajiv | Hi, is mod_wsgi/uwsgi enabled by default in glance ? | 08:56 |
---|---|---|
rajiv | are there any issues enabling any of them ? | 08:57 |
stephenfin | jokke_: 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 else | 11:52 |
stephenfin | As in this feature https://docs.openstack.org/glance/latest/admin/tasks.html | 11:52 |
rosmaita | stephenfin: 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 |
rosmaita | https://docs.openstack.org/api-ref/image/v2/index.html?expanded=show-tasks-associated-with-image-detail#show-tasks-associated-with-image | 12:36 |
opendevreview | Cyril Roelandt proposed openstack/python-glanceclient master: md-property-create: add a mandatory "--type" option https://review.opendev.org/c/openstack/python-glanceclient/+/856303 | 17:12 |
stephenfin | rosmaita: Great, thanks. Do we expect people to ever create a task manually or is that an internal-only API? | 17:39 |
dansmith | stephenfin: no, never, it's only internal | 17:39 |
dansmith | we've made the task api admin-only, and have also discussed removing it | 17:39 |
stephenfin | So we shouldn't expose it in OSC or SDK. Good to know. I'll leave a note somewhere hinting at that | 17:40 |
dansmith | stephenfin: https://github.com/openstack/glance/blob/master/glance/api/v2/tasks.py#L68 | 17:40 |
dansmith | AFAIK, technically all of those are deprecated | 17:40 |
stephenfin | Okay, that's why I thought they'd been effectively replaced. Must have looked at that code before | 17:41 |
stephenfin | Context 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 |
dansmith | without even clicking, I agree. | 17:42 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!