Wednesday, 2022-07-27

*** ysandeep|out is now known as ysandeep01:19
*** ysandeep is now known as ysandeep|afk06:08
anskiymgariepy: in my test lab I've had to increase keystone_httpd_mpm_max_spare_threads to 2, others look fine with 1 thread/process07:35
anskiyquestion! I'm getting a little bit dissapointed with gnocchi (can tell exactly why, if you want), so I was looking to give monasca a try, but I see that role for it was archived in 2019. Why is it so or what happened to it? 07:38
*** ysandeep|afk is now known as ysandeep|lunch08:00
noonedeadpunkanskiy: I'm interestred why :)08:31
noonedeadpunkAlso I would say that monasca and gnocchi/ceilometer are for quite different purpose08:32
noonedeadpunkregarding monasca - we archived it due to lack of interest and tons of external dependencies we didn't want to maintain on our own. There was patch to revive it, but maintainer never came back to revise them and fix08:33
opendevreviewwangjiaqi proposed openstack/openstack-ansible-os_mistral master: Use TOX_CONSTRAINTS_FILE  https://review.opendev.org/c/openstack/openstack-ansible-os_mistral/+/85117309:07
anskiynoonedeadpunk: I'm trying to get CPU usage as percent on a scale from 1 to 100 (for any amount for vcpus). It goes like this: `gnocchi aggregates '(/ (aggregate mean (/ (metric cpu rate:mean) (metric vcpus mean))) 60000000000)'` (60000000000 is poll interval times nanoseconds -- unit). 09:23
anskiyvcpus mean is collected via event from instance_usage_audit and minimum resolution for it is 1 hour. `cpu` on the other hand is collected and aggregated however you want (archive-policy + poll interval).09:25
noonedeadpunkI'm pretty sure I did that waaay easier09:25
noonedeadpunkthough I don't think I used mean for that....09:25
anskiyso, when you have two series, and one of them lacks points, on the resulting aggregate you'll get points only on intersection09:26
noonedeadpunkIt's quite a while when I touched gnocchi, but it was working perfectly for billing purposes and we had nice graphs in grafana. Now it's working for 5 years I guess...09:26
anskiyyou can `fill`, but for it you could only use static values09:26
noonedeadpunkI don't have this deployment handy though to say how we did that09:27
anskiywell, earlier, you could calculate that percentage on transform in sink, but now that ability is gone.09:27
anskiyso, either I will retrieve both series, fill the shorter one with missing values for points and aggregate them by myself09:29
anskiyor, I would patch ceilometer to add new metric, like this: https://stackoverflow.com/questions/66450164/rocky-ceilometer-memory-mteric-add-memory-usage-data-collection-granularity-is-n/66502236#66502236. 09:30
anskiyor, I could try monasca :)09:30
anskiyfor which ceilometer has a official publisher now09:32
noonedeadpunkYes, I totally was transforming smth in sink09:44
noonedeadpunkanskiy: well, you can also publish to prometheus>09:44
noonedeadpunkBecause monasca is obscure imo...09:44
noonedeadpunkas they've dropped rabbitmq in favor of Kafka, you also need Apache Storm and smth else for it to work09:46
noonedeadpunkInflux?09:46
noonedeadpunkSo bunch of Java crap09:46
anskiyinfluxdb can't clusterize in OSS -_-09:47
noonedeadpunkWell, you can get Cassandra instead :D09:47
noonedeadpunkBut with prometheus you actually don't need ceilometer to be fair, as you can jsut get same stuff with libvirt exporter09:48
noonedeadpunkthere's also openstack exporter available as well...09:48
anskiyor elastic, yeah. Regarding that "java crap": there is still some (~45%) Java in monasca-api's github repo09:48
anskiynoonedeadpunk: I think you can't get away with only libvirt, as you need to enrich that data with, at least server UUID09:49
anskiyelse you'd get only instance IDs09:50
noonedeadpunkand elastic as of today has quite interesting licensing per say. So basically we were relying on 3rd party roles for all that crap, and obviously they needed revision and some interested parties and we had non09:50
noonedeadpunk*none09:50
noonedeadpunkanskiy: well, yes, that's why ceilometer is kind of neat. But I think it could use prometheus still... Not sure if it's working though as I never tried that09:51
anskiyI see. So if you would ever need to deploy two openstacks for the price of one, I'll go with monasca09:51
noonedeadpunkbut looking at coude I have quite some doubts https://opendev.org/openstack/ceilometer/src/branch/master/ceilometer/publisher/prometheus.py09:52
anskiyoh god09:52
noonedeadpunkSo for monasca - we have this patch https://review.opendev.org/c/openstack/openstack-ansible-os_monasca/+/796616 What it totally misses - list a requirements of collections/roles that would deploy infra for it09:53
noonedeadpunkSo I'm quite fine in reviving it given there's some interest, but I won't be able to put too much time/effort into it09:54
anskiyoh, it's not that old09:55
noonedeadpunkI think it was for Victoria09:55
noonedeadpunkso basically it's matter of finding roles, that would deploy kafka, influx in HA manner and adding some config for them to make thing work out of the box09:56
anskiynoonedeadpunk: I'm unsure of how to proceed, have to think about it. There is another option, tho: patch Gnocchi to get `fill(previousValue)` behaviour, but numpy and matrices -_-09:57
anskiynoonedeadpunk: for Influx it would be some ugly switchover thing, as I've mentioned earlier -- no clustering support in OSS09:57
noonedeadpunkWell. I'm jsut saying status of monasca in OSA :)09:58
anskiyand I really appreciate that! Thank you :)09:58
*** ysandeep|lunch is now known as ysandeep10:01
opendevreviewAndrew Bonney proposed openstack/openstack-ansible-lxc_hosts master: Take account of lxc_apt_mirror in new debootstrap command  https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/85120310:07
andrewbonneynoonedeadpunk: I noticed when doing our Yoga upgrade there isn't a Yoga section in https://docs.openstack.org/releasenotes/openstack-ansible/index.html10:56
andrewbonneySimilarly https://docs.openstack.org/openstack-ansible/latest/admin/upgrades/major-upgrades.html still references Xena, and doesn't include the Octavia upgrade script in the manual steps10:56
noonedeadpunkfor the first - likely we missed to merge smth10:57
noonedeadpunkhttps://review.opendev.org/c/openstack/openstack-ansible/+/84724410:57
*** dviroel|out is now known as dviroel11:35
jrosserfwiw the demo we did at the summit was libvirt exporter + openstack exporter -> prometheus11:45
jrosserbut it depends who the intended view is for, operator or customer11:45
opendevreviewAndrew Bonney proposed openstack/openstack-ansible-lxc_hosts master: Take account of lxc_apt_mirror in new debootstrap command  https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/85120312:00
*** ysandeep is now known as ysandeep|break12:19
opendevreviewMerged openstack/openstack-ansible master: Update master for stable/yoga  https://review.opendev.org/c/openstack/openstack-ansible/+/84724412:29
anskiyjrosser: thank you. The problem with prometheus is that I don't have one now :) 12:32
anskiyI've found changes for ceilometer for cpu_util and memory_util in percent from 2021 and 2018 respectively. Going to file an issue for gnocchi on desired fill behavior, and if I'll get quick answer, I could try to revive those stuck changes I've mentioned12:37
opendevreviewAndrew Bonney proposed openstack/openstack-ansible master: rabbitmq: default to using TLS for management user interface  https://review.opendev.org/c/openstack/openstack-ansible/+/85121912:55
*** ysandeep|break is now known as ysandeep12:58
jrossershould we just bump ControlPersist= more than 60s and see if that affects our MODULE ERROR problem13:15
mgariepyyes13:23
mgariepyor fork the function in our connection plugin to fix the issue..13:24
mgariepyit's not fun that ansible is not willing to fix or discuss a fix.13:24
mgariepyjrosser, how would you fix it ? just not testing for 255 exit status ? or just changing it to p.returncode != 0: ?13:29
jrosserthat is a very good question13:29
jrossermaybe this code is just too specific to broken pipe https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/connection/ssh.py#L492-L51313:30
jrosserand that any failure of any kind should trigger one retry there13:31
mgariepyshould we then ask what is the numerous problem that matching 255 cause ?13:34
jrosserits pretty hard to follow as there is the outer retries loop and then the inner retry but only for the specific case of rc=25513:34
jrossersounded like they wanted to get rid of that anyway13:35
jrosserperhaps the whole thing can be simplified really a lot13:35
mgariepyyou want to bump it to what ? 13:53
mgariepyif it reproduce often at 2s, daily at 60s. i guess we shouldn't see it too often at 300s or something like this ?13:54
jrossersounds reasonable14:18
mgariepystill it's kinda dirty..14:18
jrosseryes agreed, just really would like some sort of dicussion other than computer-says-no on the issue14:19
mgariepyis it easier to poke them in the #ansible channel ?14:20
jrosseryeah it is14:21
opendevreviewAndrew Bonney proposed openstack/openstack-ansible master: zuul: fix definition of centos 9 stream job  https://review.opendev.org/c/openstack/openstack-ansible/+/85123314:30
opendevreviewAndrew Bonney proposed openstack/openstack-ansible-lxc_hosts master: Take account of lxc_apt_mirror in new debootstrap command  https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/85120314:37
*** ysandeep is now known as ysandeep|out14:54
*** dviroel is now known as dviroel|lunch14:57
*** dviroel|lunch is now known as dviroel15:52
spatelI have windows.iso image can i convert it to qcow2 using qemu-img convert command?16:25
mgariepyyou want to go through the windows installer via vnc ?16:37
spateloh! so there is no direct way to convert iso to qcow2?16:56
mgariepyyou probably want to create a cloud image from that iso instead no ?17:00
spatelI am new to windows so not sure, but when i google i found people doing qemu-img converter for iso to qcow217:03
spateli can give it a try and see... 17:03
opendevreviewMerged openstack/openstack-ansible master: zuul: fix definition of centos 9 stream job  https://review.opendev.org/c/openstack/openstack-ansible/+/85123320:27
*** dviroel is now known as dviroel|afk22:36

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