*** rpittau|afk is now known as rpittau | 07:38 | |
*** tavasti_ is now known as tavasti | 09:37 | |
tavasti | I am trying to code small utility with with python to use openstack api as administrator, and I have problems setting auth right | 09:38 |
---|---|---|
tavasti | if I don't set project, I get keystoneauth1.exceptions.catalog.EmptyCatalog | 09:38 |
tavasti | if I set project='admin' then nova.servers.list will list only servers in admin project | 09:39 |
tavasti | how do I list servers in all projects? | 09:39 |
tavasti | ok, now found it nova.servers.list(search_opts={'all_tenants':'true'}) | 09:53 |
frickler | tavasti: 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 that | 11:36 |
*** rlandy is now known as rlandy|rover | 11:45 | |
*** rpittau is now known as rpittau|afk | 13:55 | |
tavasti | Can't find how to make in python 'openstack server set --property' and also read those properties from servers? | 14:24 |
tavasti | reading this https://docs.openstack.org/python-novaclient/latest/reference/api/novaclient.v2.servers.html | 14:24 |
tavasti | am I blind? :-) | 14:24 |
Zer0Byte | hey | 16:20 |
Zer0Byte | how i can syncronize a new dns server in designate to the new dns server get a copy of all zones? | 16:22 |
Zer0Byte | and how i can add a ptr records outisde of neutron control | 16:23 |
johnsom | Zer0Byte Do a pool update with designate-manage | 17:18 |
Zer0Byte | i do | 17:19 |
Zer0Byte | but i dont see any changes on mdns log | 17:19 |
Zer0Byte | s | 17:19 |
johnsom | Hmm, check your worker logs, are there errors in there? | 17:21 |
Zer0Byte | let me check | 17:22 |
johnsom | As for your ptr records, you can use the Designate API or CLI tools to manage them directly. | 17:22 |
Zer0Byte | well looking | 17:26 |
Zer0Byte | the openstack ptr record only allow list set show and unset | 17:26 |
johnsom | You don't want to use the floating IP api, that is really for neutron. Use the normal recordset API | 17:27 |
raj77 | \whois | 17:39 |
Zer0Byte | johnsom what i got is this | 17:59 |
Zer0Byte | Refreshing zones for shards 0 to 4094 | 17:59 |
Zer0Byte | 2021-08-20 17:49:14.329 219 INFO designate.producer.tasks [req-6e39c84b-4d04-434e-9388-ddbd536771e7 - - - - -] Performing deleted zone purging for 0 to 4094 | 17:59 |
Zer0Byte | 2021-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 4094 | 17:59 |
Zer0Byte | but is not updating zones on the new dns server until i perform a change on the zone | 17:59 |
johnsom | Hmm, so it's not getting an error contacting the new dns server.... | 18:00 |
Zer0Byte | nope | 18:25 |
Zer0Byte | is designate-manage pool update right | 18:25 |
johnsom | Yeah, that should trigger it | 18:25 |
johnsom | https://github.com/openstack/designate/commit/3756fc51e71aaf0ba7cfb9155ca5d1de26ab78bc | 18:29 |
Zer0Byte | https://bugs.launchpad.net/charm-designate-bind/+bug/1879798 | 18:33 |
Zer0Byte | thats explain it | 18:33 |
Zer0Byte | is available for wallaby only | 18:33 |
Zer0Byte | im still on ussuri | 18:33 |
johnsom | Ah | 18:34 |
Zer0Byte | yep the method _update_zones doesn't exist on my installation | 18:43 |
Zer0Byte | ok i need to wait for the upgrade to solve this | 19:52 |
Zer0Byte | johnsom did you have idea about the reverse dns is just create a zone | 19:52 |
Zer0Byte | ? | 19:53 |
johnsom | Yeah, if you want to manually manage ptr records, you would do it the same as any other zone. | 19:53 |
johnsom | https://docs.openstack.org/designate/latest/user/manage-ptr-records.html | 19:54 |
Zer0Byte | johnsom great i can doit via cli | 20:16 |
Zer0Byte | i had to use --all-project to see the project id of ptr | 20:16 |
Zer0Byte | after that with create | 20:17 |
Zer0Byte | Thanks | 20:28 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!