Friday, 2021-08-20

*** rpittau|afk is now known as rpittau07:38
*** tavasti_ is now known as tavasti09:37
tavastiI am trying to code small utility with with python to use openstack api as administrator, and I have problems setting auth right09:38
tavastiif I don't set project, I get keystoneauth1.exceptions.catalog.EmptyCatalog09:38
tavastiif I set project='admin' then nova.servers.list will list only servers in admin project09:39
tavastihow do I list servers in all projects?09:39
tavastiok, now found it nova.servers.list(search_opts={'all_tenants':'true'})09:53
fricklertavasti: yes, this is sadly a bit inconsistent between different APIs, some list all items when being called as admin, some need an extra option for that11:36
*** rlandy is now known as rlandy|rover11:45
*** rpittau is now known as rpittau|afk13:55
tavastiCan't find how to make in python 'openstack server set --property' and also read those properties from servers?14:24
tavastireading this https://docs.openstack.org/python-novaclient/latest/reference/api/novaclient.v2.servers.html14:24
tavastiam I blind? :-)14:24
Zer0Bytehey16:20
Zer0Bytehow i can syncronize a new dns server in designate to the new dns server get a copy of all zones? 16:22
Zer0Byteand how i can add a ptr records outisde of neutron control16:23
johnsomZer0Byte Do a pool update with designate-manage17:18
Zer0Bytei do17:19
Zer0Bytebut i dont see any changes on mdns log17:19
Zer0Bytes17:19
johnsomHmm, check your worker logs, are there errors in there?17:21
Zer0Bytelet me check17:22
johnsomAs for your ptr records, you can use the Designate API or CLI tools to manage them directly.17:22
Zer0Bytewell looking17:26
Zer0Bytethe openstack ptr record only allow list set show and unset17:26
johnsomYou don't want to use the floating IP api, that is really for neutron. Use the normal recordset API17:27
raj77\whois17:39
Zer0Bytejohnsom what i got is this17:59
Zer0ByteRefreshing zones for shards 0 to 409417:59
Zer0Byte2021-08-20 17:49:14.329 219 INFO designate.producer.tasks [req-6e39c84b-4d04-434e-9388-ddbd536771e7 - - - - -] Performing deleted zone purging for 0 to 409417:59
Zer0Byte2021-08-20 17:49:14.605 219 INFO designate.producer.tasks [req-4394a80d-06f6-4712-94e3-b6cb53f727ae - - - - -] Finished emitting 12 events for shards 0 to 409417:59
Zer0Bytebut is not updating zones on the new dns server until i perform a change on the zone17:59
johnsomHmm, so it's not getting an error contacting the new dns server....18:00
Zer0Bytenope18:25
Zer0Byteis designate-manage pool update right18:25
johnsomYeah, that should trigger it18:25
johnsomhttps://github.com/openstack/designate/commit/3756fc51e71aaf0ba7cfb9155ca5d1de26ab78bc18:29
Zer0Bytehttps://bugs.launchpad.net/charm-designate-bind/+bug/187979818:33
Zer0Bytethats explain it18:33
Zer0Byteis available for wallaby only18:33
Zer0Byteim still on ussuri18:33
johnsomAh18:34
Zer0Byteyep the method _update_zones doesn't exist on my installation18:43
Zer0Byteok i need to wait for the upgrade to solve this19:52
Zer0Bytejohnsom did you have idea about the reverse dns is just create a zone 19:52
Zer0Byte?19:53
johnsomYeah, if you want to manually manage ptr records, you would do it the same as any other zone.19:53
johnsomhttps://docs.openstack.org/designate/latest/user/manage-ptr-records.html19:54
Zer0Bytejohnsom great i can doit via cli20:16
Zer0Bytei had to use --all-project to see the project id of ptr20:16
Zer0Byteafter that with create20:17
Zer0ByteThanks20:28

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