Wednesday, 2024-08-21

NdutaRedHello 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/dea02:45
NdutaRedctivate endpoint expect the deactivate feature to be implemented as a page by itself? Will the approach I am taking work?02:45
fricklerNdutaRed: 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 does06:04
fricklerfor example: "openstack --debug image set test --activate" shows that it will do "POST /v2/images/dcd05499-e181-40d3-87a9-65d495900d14/actions/reactivate"06:04
fricklerso 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 objects06:06
opendevreviewTobias Urdin proposed openstack/glance master: Remove LegacyEngineFacade  https://review.opendev.org/c/openstack/glance/+/92656006:56
opendevreviewStephen Finucane proposed openstack/glance master: Use class, not function, for image import plugins  https://review.opendev.org/c/openstack/glance/+/92211311:29
opendevreviewStephen Finucane proposed openstack/glance master: Add image plugins status  https://review.opendev.org/c/openstack/glance/+/92211411:29
opendevreviewStephen Finucane proposed openstack/glance master: api: Expose plugin status  https://review.opendev.org/c/openstack/glance/+/92211511:29
opendevreviewshisen.zhang proposed openstack/glance master: Delete image in stage when using the image conversion plugin  https://review.opendev.org/c/openstack/glance/+/92543612:31
opendevreviewMarkus Hentsch proposed openstack/glance master: Standardization of encrypted images  https://review.opendev.org/c/openstack/glance/+/92629512:44
fungidansmith: 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 inspector15:50
dansmithah yep, thanks15:51

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