Wednesday, 2022-11-23

moha7For OpenStack monitoring, is there a specially developed tool, something like vRops or OneView for VMWare products?05:48
moha7In general, do you know of a reference where I can read about OpenStack monitoring practices? Or, I would be grateful if you could share the experiences and tools you use here.05:49
opendevreviewJorge San Emeterio proposed openstack/openstack-ansible-os_tempest master: [DNM] Restarting glance before running tempest  https://review.opendev.org/c/openstack/openstack-ansible-os_tempest/+/86230407:59
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Add zookeeper deployment  https://review.opendev.org/c/openstack/openstack-ansible/+/86475009:01
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Try to adjust Apache directives for AIO  https://review.opendev.org/c/openstack/openstack-ansible/+/86292209:01
opendevreviewJorge San Emeterio proposed openstack/openstack-ansible-os_tempest master: [DNM] Restarting glance before running tempest  https://review.opendev.org/c/openstack/openstack-ansible-os_tempest/+/86230409:48
noonedeadpunkwell looks like client TLS works for zookeeper. Quorum TLS still not :(09:59
noonedeadpunknah, it's not(10:12
noonedeadpunkok, I found mistake at least....10:32
noonedeadpunkjrosser: have you combined smth like that format for any service? https://paste.openstack.org/show/b5zMRAbdsZoSDxiGBCDS/10:33
noonedeadpunklike.... libvirt?10:36
jrossernoonedeadpunk: i'm not sure - is that the cert and it's own private key in the same file?10:47
jrosserlibvirt was also strange too10:47
noonedeadpunkand info file on top I believe10:48
jrosserhuh no10:49
jrosserthe info file really was only ever for my own benefit for debugging10:49
jrossersurprising if zk wants that, is it a standardised format?10:50
noonedeadpunkor well10:50
noonedeadpunkI have close to no idea how stadartized format it is - it's Java after all10:51
noonedeadpunkso it supposed to be even jks or smth, but pem somehow is supported as well10:51
jrosserthe only way that libvirt was strange was how it wanted a chain constructed10:52
jrosserwhich was different from anything else10:52
noonedeadpunkah, ok...10:52
jrossertwo different things we already had combined in the same file10:53
noonedeadpunkI wonder how info file is required... 10:53
noonedeadpunkBasically I failed to generate with pki role till now, but this https://opendev.org/zuul/zuul/src/branch/master/tools/zk-ca.sh does work10:54
noonedeadpunkSo I'd suppose it should be jsut cert/key...10:54
jrosserwhat java version do you have10:55
noonedeadpunk(not sure about ca) but then it fails to read private key10:55
noonedeadpunk1110:55
noonedeadpunkhm. maybe it doesn't like SAN10:57
jrosserwell maybe we need to extend the pki role to make use of keytool?10:58
noonedeadpunknah, openssl works just nice for infra10:58
noonedeadpunkand certs generated by zk-ca.sh works nicely10:58
jrossertheres a couple of different choices of keystore format i think10:58
noonedeadpunkI'm indeed about to claim SAN cert I've tried out....11:00
jrosserfeels like we have a ton to merge / fix and not a whole lot of time11:03
noonedeadpunkyeah, that's true11:03
noonedeadpunkas in fact info at beginning seems not required11:06
*** dviroel|afk is now known as dviroel11:15
noonedeadpunkso the only differences I can spot are subject and rsa length....11:26
noonedeadpunkhttps://paste.openstack.org/show/bRsXk3jT6vdR5QJbonnU/ test is generated with pki role and refused, test1 is generated with infra script and works11:27
noonedeadpunkIf it simply doesn't like 4096 length of rsa....11:29
noonedeadpunkI will be surprised tbh11:29
noonedeadpunkwell, 2048 didn't hlped either...11:31
noonedeadpunkBut fail with ` Inappropriate key specification: IOException : algid parse error, not a sequence` https://paste.openstack.org/show/beg6kQfUXXQzeDlA9OFO/11:32
noonedeadpunkevnetually.... header for infra rsa starts with -----BEGIN PRIVATE KEY----- and our with -----BEGIN RSA PRIVATE KEY-----11:34
noonedeadpunkhuh, that's interesting11:35
noonedeadpunkthat's way closer to the issue I guess :)11:36
noonedeadpunkdamn yes11:39
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-role-pki master: Allow to specify format for private keys  https://review.opendev.org/c/openstack/ansible-role-pki/+/86542011:49
opendevreviewMarcus Klein proposed openstack/openstack-ansible-os_neutron master: Allow to set dnsmasq configuration options  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/86487212:21
kleininoonedeadpunk: ^^^ I tried to write release notes. Hope, this is understandable.12:23
opendevreviewMerged openstack/openstack-ansible stable/wallaby: Bump services for EM release  https://review.opendev.org/c/openstack/openstack-ansible/+/86426313:51
noonedeadpunkkleini: well, you need only features section out of all of that14:00
noonedeadpunkWell, you can also leave prelude maybe, but keep in mind that this release note will be renderred for whole openstack-ansible release14:01
kleiniSo I should drop prelude and upgrade?14:02
noonedeadpunkwell, that would made sense to me when it end up here https://docs.openstack.org/releasenotes/openstack-ansible/unreleased.html14:13
opendevreviewMarcus Klein proposed openstack/openstack-ansible-os_neutron master: Allow to set dnsmasq configuration options  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/86487214:20
kleiniDONE14:20
spatelMy company asking to deploy Openstack billing to find out COGS and expense to run VMs :)15:04
spatelDoes anyone running any kind of billing with openstack? I am very interested to hear stories 15:04
*** dviroel is now known as dviroel|lunch15:07
noonedeadpunkWell, there're multiple ways to do that depending on what/how you want to bill15:08
noonedeadpunkOn one of previous companis we were running ceilometer+gnocchi and then self-written plugin for billing system that was fetching data from gnocchi and actually invoice customers15:09
noonedeadpunkBut eventually you can get also cloudkitty for that15:09
spatelnoonedeadpunk what are you guys using right now?15:20
spatelceilometer+gnocchi+ cloudkitty ?15:20
spatelor in-house billing module15:21
spatelI think i have to start playing.. then i will know what is good and bad.. 15:23
noonedeadpunkright now it's fully in-house and we bill just by flavors15:23
spatelassuming you have dedicated gnocchi/ceilometer box for billing and not part of control plane 15:23
noonedeadpunkso no fancy stuff like iops, cpu cycles, etc15:23
spatelMan!! that is what i want.. i don't care about iops/cpu etc..15:24
spatelI want flat billing.. if flavor-1 vm running last 6 days then bill will be $$ 15:24
noonedeadpunkwell, you stil lcan do that with ceilometer15:24
noonedeadpunkand cloudkitty15:24
noonedeadpunkshould be super straighforward tbh15:25
spatelEven for flavor base billing do i need ceilometer/gnocchi ?15:25
spatelsorry if i am asking stupid question because i am new for billing stuff :)15:26
noonedeadpunkSo for that you need to ask nova/cinder for list of vms, sort it by projects, have some database and do calculations on your billing side.16:02
noonedeadpunkWhat does ceilometer make - every time when instance is created nova can post message into rabbitmq notifications queue16:02
noonedeadpunkthen ceilometer consumes it and stores data in publisher (like gnocchi)16:03
noonedeadpunkSo when vm is created or deleted or resized - ceilometer will know that from nova through rabbit queue16:03
noonedeadpunkcloudkitty is already a billing, but it counts in units. So you can tell cloudkitty that 1gb of disk costs 0.05 units/hour, 1 cpu costs 0.02 units, etc. And cloudkitty based on gnocchi will make a report on consumtions16:04
noonedeadpunkso if you want to have an in-house solution - that is doable but there're quite a lot of things you need to think through16:05
*** dviroel_ is now known as dviroel16:15
mgariepyhttps://zuul.opendev.org/t/openstack/build/de1cde92ab6a4e8fba2c80f9cdc85c14/log/logs/host/neutron-server.service.journal-15-45-35.log.txt#404316:29
mgariepywhich leads to : https://bugs.launchpad.net/ubuntu/+source/neutron/+bug/199573816:30
mgariepyi was looking at the progress of https://review.opendev.org/c/openstack/openstack-ansible/+/86531216:42
mgariepythis time around rocky9 had failed.16:43
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-role-zookeeper master: Add SSL support for zookeeper  https://review.opendev.org/c/openstack/ansible-role-zookeeper/+/86544916:43
noonedeadpunkouch16:48
mgariepytempest failed on c9s because keystone went down :/16:48
mgariepynot sure if it's because it was lacking some threads or something else.16:49
noonedeadpunkYeah. And to merge keystone patch we need this one anyway16:49
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-role-zookeeper master: Add SSL support for zookeeper  https://review.opendev.org/c/openstack/ansible-role-zookeeper/+/86544916:49
mgariepynot 100% sure why it's so instable. 16:49
mgariepywhen we get on slower compute node.. we fall into a race condition ?16:50
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Add zookeeper deployment  https://review.opendev.org/c/openstack/openstack-ansible/+/86475016:51
noonedeadpunkNot sure. But I also catched same on localhost16:51
mgariepyso we need to bump the threads for the services ?16:52
noonedeadpunkI had troubles with even listing things, becuase apache connections were ran out and haproxy due to that was marking keystone as down16:52
noonedeadpunkI wanted to try this out https://review.opendev.org/c/openstack/openstack-ansible/+/862922/216:52
noonedeadpunkas what I saw locally was specifically apache mpm stuff16:57
mgariepyfor rocky 9 it was galera and neutron (i think neutron has restarted.16:57
mgariepynot sure why galera went down either. haven't found anything.16:58
noonedeadpunkwell... maybe indeed we have forgotten about some service...17:14
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-role-zookeeper master: Add SSL support for zookeeper  https://review.opendev.org/c/openstack/ansible-role-zookeeper/+/86544917:35
noonedeadpunkok, now zookeeper tls seems working nicely17:47
jrossernice work :)17:47
mgariepywoohoo17:47
jrossergood find on the rsa format nonsense too17:48
noonedeadpunkI will push patch for cinder/designate tomorrow17:48
noonedeadpunkit was tricky I must admit....17:48
noonedeadpunkrsa nonsense17:48
noonedeadpunkas it's smth I wasn't expecting can be a thing at all17:48
noonedeadpunkunfortunate part I guess is that we don't store path to ca-certificates somewhere globally, do we?17:49
noonedeadpunkI mean this one https://review.opendev.org/c/openstack/ansible-role-zookeeper/+/865449/3/vars/debian.yml#2117:50
jrosserNo I think we have that already in openstack_hosts and also PKI17:55
*** dviroel is now known as dviroel|afk21:25

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