Monday, 2020-11-23

-openstackstatus- NOTICE: Our Gerrit upgrade maintenance has concluded successfully; please see the maintenance wrap-up announcement for additional details: http://lists.opendev.org/pipermail/service-announce/2020-November/000014.html00:53
*** hamalq has joined #openstack-dns01:32
*** hamalq has quit IRC01:37
*** hamalq has joined #openstack-dns03:33
*** hamalq has quit IRC03:37
*** ircuser-1 has quit IRC08:02
*** luksky has joined #openstack-dns08:24
*** hamalq has joined #openstack-dns09:36
*** hamalq has quit IRC09:40
*** hamalq has joined #openstack-dns11:36
*** hamalq has quit IRC11:41
*** openstackgerrit has joined #openstack-dns13:15
*** ChanServ sets mode: +v openstackgerrit13:15
openstackgerritMichael Chapman proposed openstack/designate master: WIP Doc intro section  https://review.opendev.org/c/openstack/designate/+/76377913:15
*** klippo has quit IRC13:17
openstackgerritMichael Chapman proposed openstack/designate master: WIP Doc intro section  https://review.opendev.org/c/openstack/designate/+/76377913:18
*** hamalq has joined #openstack-dns13:37
*** hamalq has quit IRC13:42
openstackgerritMichael Chapman proposed openstack/designate master: WIP Doc intro section  https://review.opendev.org/c/openstack/designate/+/76377914:00
*** hamalq has joined #openstack-dns15:38
*** hamalq has quit IRC15:42
*** hamalq has joined #openstack-dns17:01
*** hamalq has quit IRC17:43
*** hamalq has joined #openstack-dns17:43
*** toma4 has quit IRC19:18
*** toma4 has joined #openstack-dns19:25
*** lbragstad has joined #openstack-dns19:37
lbragstado/ does designate not have an API for deleting pools?19:38
lbragstadhttps://docs.openstack.org/api-ref/dns/#pools19:38
lbragstadi see there are policies for deleting pools, but i don't see the corresponding API19:38
lbragstadaha, nevermind19:42
lbragstadhttps://opendev.org/openstack/designate/src/branch/master/designate/api/v2/controllers/pools.py#L133-L13519:42
eanderssonlbragstad pretty sure they are managed using the designate-manage command19:52
eanderssonIf you remove a pool from pools.yaml and run the manage command with the --delete flag it should remove it afaik19:53
eandersson> designate-manage pool update --delete DELETE19:54
* lbragstad nods19:54
lbragstadso - those apis are effectively gone - or shouldn't be used19:54
-openstackstatus- NOTICE: The Gerrit service on review.opendev.org is being restarted quickly to troubleshoot an unexpected error condition, downtime should be less than 5 minutes20:00
*** hamalq has quit IRC20:01
*** openstackgerrit has quit IRC20:02
*** hamalq has joined #openstack-dns20:13
*** hamalq has quit IRC20:19
*** hamalq has joined #openstack-dns21:01
lbragstadis anyone familiar with the zone_type logic here?21:25
lbragstadhttps://opendev.org/openstack/designate/src/branch/master/designate/common/policies/base.py#L21-L2321:25
njohnstonsince zone_type can be either PRIMARY or SECONDARY I think the rule is saying 'if Designate is primary for this zone and is_admin' https://opendev.org/openstack/designate/src/branch/master/api-ref/source/parameters.yaml#L90121:31
njohnstonsorry, should be 'if Designate is primary, then admin or owner; if Designate is secondary then admin only" (had to re-read the policy rule)21:32
njohnstonlbragstad ^^21:32
lbragstadhm - ok21:33
lbragstadso - only system administrators should be able to create a recordset if the zone is secondary?21:33
lbragstadotherwise - project members should be able to create record sets21:34
njohnstonlbragstad: I believe that is correct, as the system administrator would know the zones that the other DNS server will be promary for21:51
lbragstadok21:51
lbragstadi'm noticing some other policies like https://opendev.org/openstack/designate/src/branch/master/designate/common/policies/tenant.py21:52
lbragstadthey seem like aliases for the admin API21:52
lbragstadsince they don't seem to correspond to any particular API21:52
njohnstonI see the implementation here: https://opendev.org/openstack/designate/src/branch/master/designate/storage/impl_sqlalchemy/__init__.py#L16521:55
*** hamalq has quit IRC21:55
*** hamalq has joined #openstack-dns21:56
*** hamalq has quit IRC21:59
lbragstadhuh - interesting...21:59
lbragstadbut it isn't exposed via the API/21:59
lbragstad?21:59
njohnstonlbragstad: I think it's in the RPC API, not the REST API22:01
lbragstadaha - interesting22:01
njohnstonhttps://opendev.org/openstack/designate/src/branch/master/designate/central/rpcapi.py#L13522:01
lbragstadok22:01
* njohnston never contemplated policy checks for RPC API transactions22:02
lbragstadyeah - me either22:03
lbragstadthis is a new one for me22:03
* lbragstad wonders if the context in the RPC api implementation is an oslo.context request context object22:04
*** luksky has quit IRC22:05
njohnstonlbragstad: looks like it gets called from the API here https://opendev.org/openstack/designate/src/branch/master/designate/api/admin/controllers/extensions/tenants.py#L3522:09
njohnstonlbragstad: I am headed out now, but 'll follow up to make sure this is an active API.22:10
lbragstadnjohnston sounds great - thank you for the help22:12
lbragstadnjohnston i'm in the middle of butching the policy updates - i should have something for review here soon and we can iterate there22:13
lbragstadbutchering*22:13
njohnstonthanks lbragstad!22:13
lbragstadnjohnston no problem - thank you22:13
*** luksky has joined #openstack-dns22:18
*** luksky has quit IRC23:10
*** ircuser-1 has joined #openstack-dns23:52

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