Thursday, 2024-05-23

Adri2000hello, is there a supported way to change a the compute flavor associated with an octavia flavorprofile / flavor?08:41
opendevreviewMerged openstack/octavia stable/2023.1: Remove publish-openstack-octavia-amphora-image jobs  https://review.opendev.org/c/openstack/octavia/+/91808610:51
johnsomAdri2000 Yes, run $ openstack loadbalancer provider capability list amphora15:43
johnsomAdri2000 | flavor            | compute_flavor        | The compute driver flavor ID. 15:44
atmarkhello, does the Octavia RBAC policy support callback system similar to neutron https://docs.openstack.org/neutron-lib/latest/contributor/callbacks.html ?   I have this neutron policy: "create_security_group_rule": "rule:admin_or_owner and https://mywebserver.com/api/neutron/verify_rule" which has this condition: allows admin or owner and do callback to20:05
atmarkhttps://mywebserver.com/api/neutron/verify_rule if the port a user trying to add is in the db and if it's allow but if not, deny. 20:05
atmarkI like to do same when a user creates a listener e.g. "os_load-balancer_api:listener:post": "rule:load-balancer:write and https://mywebserver.com/api/octavia/verify_port" 20:07
atmarkis this possible?20:07
johnsomI am not sure. If it is a part of oslo policy then yes it probably will work.20:33
atmarkIt seems the callback system is specific to neutron-lib of neutron. Also, it's mentioned in the release notes `* The rbac-policy callback resource now available as neutron_lib.callbacks.resources.RBAC_POLICY.` and by looking at the code I can confirm  https://github.com/openstack/neutron-lib/tree/master/neutron_lib/callbacks.   Digging octavia-lib code, I couldn't find20:42
atmarkkeyword that starts with "callback" 20:42
johnsomThen no, Octavia does not have it20:43
atmarkgot it21:12

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