Thursday, 2025-05-29

opendevreviewGhanshyam proposed openstack/nova-specs master: Propose API policy manager role spec  https://review.opendev.org/c/openstack/nova-specs/+/93765000:15
opendevreviewGhanshyam proposed openstack/nova-specs master: Propose API policy service role spec  https://review.opendev.org/c/openstack/nova-specs/+/95121800:23
opendevreviewGhanshyam proposed openstack/nova-specs master: Re-propose API policy service role spec  https://review.opendev.org/c/openstack/nova-specs/+/95121800:23
opendevreviewGhanshyam proposed openstack/nova-specs master: Propose API policy manager role spec  https://review.opendev.org/c/openstack/nova-specs/+/93765000:27
gmaansean-k-mooney: ^^ proposed the manager role spec (fixing the review comment from code/last cycle review) and also re-proposing the service role spec, please review. proposed both spec separately 00:34
gmaanI added the new policies proposal also to filter out the host-thing from manager permission 00:37
opendevreviewCallum Dickinson proposed openstack/nova master: Add image meta to libvirt XML metadata  https://review.opendev.org/c/openstack/nova/+/94276602:43
opendevreviewsean mooney proposed openstack/nova-specs master: Add cpu-teiring with cpu_shares spec  https://review.opendev.org/c/openstack/nova-specs/+/95122203:51
opendevreviewTakashi Kajinami proposed openstack/nova master: Replace license classifier  https://review.opendev.org/c/openstack/nova/+/95122605:05
opendevreviewCallum Dickinson proposed openstack/nova master: Add image meta to libvirt XML metadata  https://review.opendev.org/c/openstack/nova/+/94276605:20
opendevreviewKamil Sambor proposed openstack/nova master: Replace eventlet.event.Event with threading.Event  https://review.opendev.org/c/openstack/nova/+/94975406:47
roger_wangI wonder if anyone could review this patch of Improve Error Handling for Placement API Responses (https://review.opendev.org/c/openstack/nova/+/943530). much appreciated.  09:09
opendevreviewTakashi Kajinami proposed openstack/nova master: Replace license classifier  https://review.opendev.org/c/openstack/nova/+/95122613:09
opendevreviewMerged openstack/nova-specs master: Re-propose vTPM live migration  https://review.opendev.org/c/openstack/nova-specs/+/94754216:11
gmaansean-k-mooney: thanks for reviews on RBAC specs, I would like to highlight this and if you feel strong to change it? https://review.opendev.org/c/openstack/nova-specs/+/951218/2/specs/2025.2/approved/policy-service-role-default.rst#4916:42
sean-k-mooney gmaan: so orgianlly i ithink i suggested starting with service or admin for upgrade reaons16:48
gmaanyeah16:48
sean-k-mooneyif we think we can miniums the upgred impact such that we can directly go to service16:48
sean-k-mooneythen im ok to try that16:48
sean-k-mooneythe real concern is it required cinder, neutron and cyborg16:49
sean-k-mooneyto be deploywed with teh service role for there own user16:49
sean-k-mooneywhich they should have but that is the main upgrade impact in my view16:49
gmaanok, having old defaults still supported and there is a way to keep admin perform these operation, my first preference is to go with 'service' only16:50
sean-k-mooneyi expect most deployment tools shoudl have made that chane already but i have not checked16:50
gmaanyeah but honestly saying that is what we want to restrict, no user should use these APIs16:50
sean-k-mooneyright16:50
sean-k-mooneyso if other are also ok with this proposal then lets try going directly to the desired state16:51
gmaanI am working on job to enable it 'service' only token from cinder, neutron so let's see how that testing goes16:51
sean-k-mooneywe jsut need to coridate the changes in devstack ectra to make this work16:51
gmaanack16:51
gmaanyeah16:51
melwittsean-k-mooney: thanks from me also for the spec review16:52
sean-k-mooneyour new downstream installer deployws all service user with both admin an service so it is prepared for the change but not prepared to drop the admin role any tiem soon16:52
sean-k-mooneymelwitt: it was on my todo list all week but im glad i got to it before firday at like 6 pm :)16:53
melwittthat is a win :)16:54
sean-k-mooneymy spec review brian is more or less spent for today which is why im makign the terible desion to update a jira thick isntead.16:55
sean-k-mooneygmaan: stephenfin has two small spec related to the api that you may have interest in https://review.opendev.org/c/openstack/nova-specs/+/940440 and https://review.opendev.org/c/openstack/nova-specs/+/94721016:58
sean-k-mooneythe latter came form a code review as part of the openapi schema work16:58
gmaansure, will check today17:00
gmaansean-k-mooney: replied for the evacuate policy change, that is something we should discuss more. especially if that can be used to know infra/service info.18:03
gmaangibi: when you have time, can you provide your opinion on evacuate policy default change (specially on Does it leak information about infra/services? part) https://review.opendev.org/c/openstack/nova-specs/+/937650/7/specs/2025.2/approved/policy-manager-role-default.rst#12718:03
gmaanwe do return 400 if evacuate is tried and compute is up but host info are returned in error message 18:04
sean-k-mooneygmaan: i dont think we would return a 40018:11
sean-k-mooneyfor a normal user they will get a 403 or 401 but an admin i would expect to get a 40918:12
gmaan409?18:12
sean-k-mooneyif the host was up ya18:12
sean-k-mooneyit might be a 40018:12
gmaanyeah, that is something I was thikning why we did not return 409 in this case18:12
sean-k-mooneyi.e. it may be one of the api we missed when we treid to use 409 better18:12
gmaanyeah18:13
sean-k-mooneygmaan: is the concern that tehy will knwo the mangment of the host is still up?18:14
sean-k-mooneylike if they try to evacuate and the nova-compute is up18:15
gmaansean-k-mooney: that one + current code return instance' host in the error message which we can change 18:15
sean-k-mooneythen they could just cold/live migratiate instead right?18:15
sean-k-mooneygmaan: oh right i didnt look at the respocne 18:15
gmaanthey can migrate other way  but it is that they will have a way to know compute service is up 18:16
gmaanwhich they know indirectly because instance is up :) that is why I am not 100% sure if this is infra info leak or not18:17
sean-k-mooneywell they can infer but doint instnace actions on the instnace18:17
sean-k-mooneylike server diagnostics18:17
gmaanthat is admin only18:17
sean-k-mooneyis it?18:17
sean-k-mooneyok but its valid18:17
gmaanI do not think manager will know host/info from any API18:17
sean-k-mooneywe need too decide how mcuh awareness of this info is ok for the manager role to have18:18
gmaanyeah18:18
sean-k-mooneyright i dont think they should eitehr18:18
gmaanthat is evacuate is little tricky because it depends on service availability  checks18:18
sean-k-mooneyyep18:19
gmaannow, I do not have any strong opinion to open it for manager at least until someone have use case and ask us to do18:19
sean-k-mooneyby the way even if diagnostics was admin only console log show or hardreboot 18:19
sean-k-mooneycan all indreictlly be used to prob if the instance is still managable18:20
gmaanreboot is member-or-admin https://github.com/openstack/nova/blob/221a3e89e8988bc664298106ee691a4e41ca71f9/nova/policies/servers.py#L37618:21
gmaanconsole log too https://github.com/openstack/nova/blob/221a3e89e8988bc664298106ee691a4e41ca71f9/nova/policies/console_output.py#L2718:21
sean-k-mooneyi expected https://docs.openstack.org/api-ref/compute/#show-console-output-os-getconsoleoutput-action to be reader18:22
sean-k-mooneygmaan: im less concered with the service up vs leaking hostname/fqdn18:23
sean-k-mooneywe could defer the evacuate change for now or see what gibi and other thing before updating the spec18:23
gmaanyeah, sounds good.18:23
sean-k-mooneythe calculus im doing is i dont know waht it gets you if you knwo nova-compute on a host is not up in general. the fqdn can tell you a lot about a host if your a bad actor18:24
sean-k-mooneypublic cloud still may not want to expose that but since noone will have the manager role by default18:25
gmaanyeah18:25
sean-k-mooneyits kind of a decison they can make18:25
opendevreviewMerged openstack/nova-specs master: Add remove-os-volumes_boot-api spec  https://review.opendev.org/c/openstack/nova-specs/+/94721020:51
opendevreviewMerged openstack/nova master: libvirt: Use common naming convention for ephemeral disk labels  https://review.opendev.org/c/openstack/nova/+/94754121:13
opendevreviewMerged openstack/nova master: api: Adjust validation helpers for a single-method future  https://review.opendev.org/c/openstack/nova/+/93636523:52

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