NdutaRed | Hello everyone, my name is Abby. I'm currently working on Horizon as an Outreachy intern. I have some questions about the deactivate feature on glance. Deactivated is one of the statuses. The docs state that 'deactivated' uses POST instead of PATCH. My Horizon implementation is to attempt to create a radio button within the 'update or edit image' form, which uses PATCH, making it difficult to use POST. Does the POST /images/{image_id}/actions/dea | 02:45 |
---|---|---|
NdutaRed | ctivate endpoint expect the deactivate feature to be implemented as a page by itself? Will the approach I am taking work? | 02:45 |
frickler | NdutaRed: seems you have left, but in case you read the log: what I usually do in such a case is run OSC with debugging enabled, which will output all the API requests that it does | 06:04 |
frickler | for example: "openstack --debug image set test --activate" shows that it will do "POST /v2/images/dcd05499-e181-40d3-87a9-65d495900d14/actions/reactivate" | 06:04 |
frickler | so it is a POST for some specific action, no idea how though how to implement that in horizon. maybe check how it is getting handled for nova instances, which also uses this concept of actions being available on objects | 06:06 |
opendevreview | Tobias Urdin proposed openstack/glance master: Remove LegacyEngineFacade https://review.opendev.org/c/openstack/glance/+/926560 | 06:56 |
opendevreview | Stephen Finucane proposed openstack/glance master: Use class, not function, for image import plugins https://review.opendev.org/c/openstack/glance/+/922113 | 11:29 |
opendevreview | Stephen Finucane proposed openstack/glance master: Add image plugins status https://review.opendev.org/c/openstack/glance/+/922114 | 11:29 |
opendevreview | Stephen Finucane proposed openstack/glance master: api: Expose plugin status https://review.opendev.org/c/openstack/glance/+/922115 | 11:29 |
opendevreview | shisen.zhang proposed openstack/glance master: Delete image in stage when using the image conversion plugin https://review.opendev.org/c/openstack/glance/+/925436 | 12:31 |
opendevreview | Markus Hentsch proposed openstack/glance master: Standardization of encrypted images https://review.opendev.org/c/openstack/glance/+/926295 | 12:44 |
fungi | dansmith: not sure if you've seen it yet, but i think https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/message/A3QCZKL2HWOSGH4X5Q4EZOSUFGCNATVB/ is asking questions that may be answered by your future plans for the image inspector | 15:50 |
dansmith | ah yep, thanks | 15:51 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!