Friday, 2021-03-19

*** tosky has quit IRC00:14
*** poopcat has joined #openstack-ansible00:16
*** gshippey has quit IRC00:49
*** jamesdenton has quit IRC01:34
*** jamesden_ has joined #openstack-ansible01:35
*** NewJorg has quit IRC03:14
*** NewJorg has joined #openstack-ansible03:14
*** evrardjp has quit IRC03:33
*** evrardjp has joined #openstack-ansible03:33
*** ianychoi has quit IRC03:37
*** openstackgerrit has joined #openstack-ansible04:09
openstackgerritDmitriy Rabotyagov proposed openstack/openstack-ansible-os_gnocchi master: Fix gnocchi_storage_driver condition  https://review.opendev.org/c/openstack/openstack-ansible-os_gnocchi/+/78151304:09
openstackgerritDmitriy Rabotyagov proposed openstack/openstack-ansible master: Use proper distro path for senlin and mistral  https://review.opendev.org/c/openstack/openstack-ansible/+/77738404:14
*** jamesden_ has quit IRC04:24
*** jamesdenton has joined #openstack-ansible04:25
*** gyee has quit IRC04:44
*** macz_ has joined #openstack-ansible04:45
*** macz_ has quit IRC04:50
*** jamesdenton has quit IRC05:09
*** jamesdenton has joined #openstack-ansible05:10
*** yasemind has joined #openstack-ansible05:51
*** djhankb has quit IRC06:36
*** miloa has joined #openstack-ansible06:52
*** miloa has quit IRC06:54
*** macz_ has joined #openstack-ansible07:11
*** macz_ has quit IRC07:16
openstackgerritDmitriy Rabotyagov proposed openstack/openstack-ansible-os_mistral master: [goal] Deprecate the JSON formatted policy file  https://review.opendev.org/c/openstack/openstack-ansible-os_mistral/+/78154207:57
*** macz_ has joined #openstack-ansible08:11
*** macz_ has quit IRC08:16
openstackgerritDmitriy Rabotyagov proposed openstack/openstack-ansible-os_gnocchi master: Fix gnocchi_storage_driver condition  https://review.opendev.org/c/openstack/openstack-ansible-os_gnocchi/+/78151308:17
*** rpittau|afk is now known as rpittau08:24
*** andrewbonney has joined #openstack-ansible08:51
*** tosky has joined #openstack-ansible08:54
*** macz_ has joined #openstack-ansible09:14
*** macz_ has quit IRC09:19
*** macz_ has joined #openstack-ansible09:35
*** macz_ has quit IRC09:39
*** amalrajgenocidex has joined #openstack-ansible09:54
amalrajgenocidexHi, Is barbican-ui in a  functional state?09:55
noonedeadpunkhey. um, not tried tbh10:06
noonedeadpunkI haven't tried horizon overall for a while...10:07
noonedeadpunkdo you have some issues with barbican-ui ?10:07
admin0there is no barbican-ui in 22.1.0 yet10:10
admin0it breaks horizon10:10
admin0though the changenote says it has barbican10:10
*** gshippey has joined #openstack-ansible10:16
amalrajgenocidexI'm trying it on openstack-train using ansible10:24
amalrajgenocidexDeployment completes fine and I could see links added to dashboard/enabled10:25
*** Underknowledge1 has joined #openstack-ansible10:31
*** Underknowledge has quit IRC10:31
*** Underknowledge1 is now known as Underknowledge10:32
admin0i had 22.0.1 with babrican .. but when upgraded to 22.1.0 , it broke and i could not even complete the horizon upgrade10:39
admin0will be trying again this weekend10:40
amalrajgenocidexok. I mean, I could see files added in horizon backend . but nothing is showing in fronend10:51
amalrajgenocidexadmin0 Thank you.10:52
noonedeadpunkamalrajgenocidex: and does user has required role to use barbican?10:57
noonedeadpunkalso, in case you're using simple_crypto for barbican - don't forget to override kek in the config!10:57
amalrajgenocidexbarbican is working fine from cli, it's the horizon plugin that is not showing10:59
noonedeadpunkyeah, ok. it's just checking for user roles afaik and may not show when user is not allowed or endpoint is missing...10:59
amalrajgenocidexOk. I'm trying as admin and manually edited "horizon_enable_barbican_ui = True"11:05
amalrajgenocidexkey-manager endpoint is showing in api11:06
amalrajgenocidexDo you have an idea about where the barbican menu will appear in dashaboard?11:12
amalrajgenocidexI searched in google and haven't seen a single image of barbican showing in horizon. lol11:12
amalrajgenocidexCan anyone share a screenshot, if you have it in your dashboard11:15
* noonedeadpunk don't have horizon even atm11:28
*** priteau has joined #openstack-ansible11:40
ebbexadmin0: "horizon_enable_barbican_ui: false" to get around it.11:50
admin0ebbex, .. thanks11:50
ebbexah, didn't read to the bottom yet :/11:51
ebbexhehe11:51
amalrajgenocidexusing "horizon_enable_barbican_ui: false" , disables barbican-ui, right?11:54
admin0yes .. but it allows me to safely upgrade to 22.1.0 from 22.0.111:57
admin0and then just need to wait for a working UI in a future release or a patch11:58
ebbexIt's not really getting installed anyhow, as there's no creation of symlinks in openstack_dashboard/enabled to the barbican-ui.12:18
amalrajgenocidexActually, the symlinks are getting created in openstack_dashboard/enabled for me. btw, I'm on train12:23
amalrajgenocidexbut not showing in horizon12:23
*** zbr is now known as zbr|rover12:30
*** macz_ has joined #openstack-ansible12:43
*** macz_ has quit IRC12:48
*** spatel_ has joined #openstack-ansible13:07
*** spatel_ is now known as spatel13:07
*** schwicht has joined #openstack-ansible13:07
*** macz_ has joined #openstack-ansible13:25
*** janno_ has joined #openstack-ansible13:28
*** NewJorg_ has joined #openstack-ansible13:29
*** macz_ has quit IRC13:29
*** yasemind has quit IRC13:33
*** NewJorg has quit IRC13:33
*** irclogbot_0 has quit IRC13:33
*** openstackgerrit has quit IRC13:33
*** janno has quit IRC13:34
*** amalrajgenocidex has quit IRC13:34
*** irclogbot_3 has joined #openstack-ansible13:35
*** jamesdenton has quit IRC13:36
*** jamesdenton has joined #openstack-ansible13:39
*** schwicht has quit IRC13:50
*** schwicht has joined #openstack-ansible13:51
spatelhow do you guys monitor SSD life ?13:51
noonedeadpunksmart?14:10
noonedeadpunkmainly wear leveling count in case this metric is available for your SSD (it is for samsungs and some other vendors)14:11
spatelI have samsung SSD14:33
spatelnoonedeadpunk are you saying smartctl ?14:33
noonedeadpunkyep14:33
noonedeadpunkI had script that gathers data and shipped to zabbix14:34
spatelcan you show me command how to get data?14:35
spatelwe are seeing randomly SSD dying and we don't monitor so looking something to do that14:35
noonedeadpunk /usr/sbin/smartctl -A /dev/sda in case you don't have any hardware raid14:36
noonedeadpunkif you have some dell's PERC or LSI raid cards, you need megacli binary and it would be /usr/sbin/smartctl -A -d sat+megaraid,1 /dev/sda where 1 - physical id14:37
noonedeadpunkdrive path may be any valid in case of raid14:37
noonedeadpunkeventualy not sure about megacli requirement (just always had it)14:44
noonedeadpunkand be careful - for some params you need to get VALUE column, and for some RAW14:45
noonedeadpunkwear leveling count in RAW iirc14:45
noonedeadpunkand it's percents, where 100 - is new SSD14:46
noonedeadpunkoh, and I'd track also used/unused reserved blocks14:47
*** macz_ has joined #openstack-ansible14:59
*** rpittau is now known as rpittau|afk15:08
spatelnoonedeadpunk thank you!!! let me try15:09
jonherour setup is much the same, zabbix discovery which users {#DEVNAME} and a second argument for the key to grep for like "Reallocated_Sector_Ct"15:14
spatelnoonedeadpunk we are using HP Raid controller and smartctl not showing anything15:15
spatelhttp://paste.openstack.org/show/803736/15:16
spateldoes SSD drive need support of that15:18
noonedeadpunktry `smartctl -A -d sat+cciss,N /dev/sda` where N is slot ID15:21
*** chkumar|ruck is now known as raukadah15:24
noonedeadpunksmartctl just should know how to reach your drive15:25
noonedeadpunkas /dev/sda is just raid controller device, but it should talk to drive itself rather then virtual drive15:25
spatelnoonedeadpunk but OS not going to talk to raw drive right, it will use RAID15:41
spatelsmartctl -A -d sat+cciss,N /dev/sda not work15:41
spatelnoonedeadpunk wait...15:41
spatelit works15:41
spatelhttp://paste.openstack.org/show/803740/15:42
spatelnoonedeadpunk great!!! now i can put this data in Zabbix :)15:42
noonedeadpunk` sat+cciss` tells smartctl to discover drive15:42
noonedeadpunkoh, you use zabbix?15:42
spatelYes15:42
noonedeadpunkI could give you a script_)15:42
spatelwe just started rolling out15:42
noonedeadpunkfor discovery15:42
spatelPleasee :)15:42
spatelDo you use active discovery or passive?15:43
noonedeadpunkActive only. And send items with trapper15:43
spatelnoonedeadpunk do you managing inventory also?15:44
spatelwe have big issue to manage dynamic inventory, we have 2000 servers and its hell using excel sheet15:45
noonedeadpunkhttp://paste.openstack.org/show/803741/15:45
noonedeadpunkno, not really. We used netbox for inventory15:45
spatelhmm! is that dynamic?15:45
spatelThank for script15:45
noonedeadpunkyou will need to adjust script anyway, since it supports either raw drives or LSI raids15:46
spatelI will take care of that.15:47
spatelwhat is critical info i should be looking here - http://paste.openstack.org/show/803740/15:47
spatelwhich early indication of my drive15:48
noonedeadpunkoh, well, that's content of utils http://paste.openstack.org/show/803742/15:48
noonedeadpunkfor `from utils import ArgParserHelper, BASE_ARGUMENTS_FOR_PARSER`15:48
spateloh ok15:49
noonedeadpunkregarding netbox - well, it's partially. From one side you can connect switches and network equipment to it, and it will auto discover and populate them with help of napalm.15:49
noonedeadpunkand it has API, so you can push there data from ansible or whatever15:50
spatelhmm15:50
noonedeadpunkbut zabbix inventory super not handy imo15:51
spateli am also dealing with same issue15:51
noonedeadpunkyou can check netbox https://netboxdemo.com/ with netbox/netbox15:52
*** mobuntu has joined #openstack-ansible15:52
spatelI need good dynamic inventory where i can add remote server which automatically do all work15:52
noonedeadpunkwell we wrote tooling around netbox.15:52
noonedeadpunkalso https://www.ansible.com/blog/using-netbox-for-ansible-source-of-truth15:52
spatelnetbox is great no doubt but trying to see if i can have single server doing everything15:53
noonedeadpunkand there's vice versa collection to populate netbox with ansible15:53
spatelit looks great in demo :) i may go in that path15:53
noonedeadpunkhttps://netbox-ansible-collection.readthedocs.io/en/latest/15:53
noonedeadpunkso you can fully populate whole netbox with ansible15:54
spatelhmm15:54
noonedeadpunkjsut depends what you want to be source of truth15:54
noonedeadpunkand ansible has all hardware facts you need actually15:54
noonedeadpunkor can gather missing part15:54
spatelagreed, let me try out and see how it goes15:55
spateldoes it use snmp or agent ?15:55
noonedeadpunkum?15:55
noonedeadpunkneither15:55
mobuntunoob here. I'm trying to create sub host groups for compute_hosts, to use group vars to define a few different type of compute nodes. This would be done via the conf.d and env.d configs/15:55
mobuntuwould that be done with env.d and conf.d configs?15:56
noonedeadpunkyeah, these are exactly things you need)15:56
noonedeadpunkspatel: have you split your computes with groups?15:56
spatelYes i did :)15:57
mobuntuah ok . so im on the right path. having some trouble wrapping my head around it and the docs for it arent too great15:57
spatelas you suggested last time15:57
mobuntuanyone have a working example of splitting up compute_hosts into 2 host groups?15:57
spatelI have create two group (general and sriov)15:57
spatelLet me show you what i did hang in there15:57
mobuntuawesome awesome. thanks15:58
noonedeadpunkmobuntu: if you can adjust docs to make them more clear when you succeed - that would be awesome :)15:58
mobuntu100%. just need to understand how it works first :)15:59
noonedeadpunksure thing)15:59
spatelmobuntu here - http://paste.openstack.org/show/803743/16:02
spatelmobuntu missed this part you need to add hosts in gen_hosts group like this - http://paste.openstack.org/show/803744/16:04
spatelnoonedeadpunk thinking i will add this in my blog :)16:04
noonedeadpunkwas just writing about last part :)16:04
spatelhaha16:04
mobuntuoh interesting. Thanks spatel! ill give that a shot16:05
mobuntualso whats your blog ur? :)16:05
spatelits easy and great method to manage stuff :)16:05
mobuntuurl*16:05
spatelhttps://satishdotpatel.github.io/16:05
noonedeadpunkhm....16:05
spatelyou can find good stuff of openstack-ansible16:06
spatelsoon i will update that info here so it will help other folks16:06
noonedeadpunkAnd I will steal this afterwards for official doc lol16:08
spatelnoonedeadpunk did you see this, i came up with this variables to handle designate - https://satishdotpatel.github.io//designate-integration-with-powerdns/16:08
spatelnoonedeadpunk +1 for official guide because everyone going to read that16:09
noonedeadpunkspatel: except I'd suggested storing `SuperSecretPowerDNSapiPassword` in user_secrets.yml and use just a variable there16:10
noonedeadpunkdespite user_secrets is not realy much more secret then any other files.... but dunno)16:11
spatelhmm that is good idea16:11
noonedeadpunkbut really good writing!16:11
spateli struggle a lot to find good example of mutliple powerDNS but i didn't find good info on internet so i thought let me do myself16:12
noonedeadpunkyeah, even designate doc does not give good configuration example16:13
noonedeadpunkagree16:13
noonedeadpunkI was struggling a lot to make pools.yaml that would not throw error16:13
spatelwe also need a patch in OSA related when we update pool.yml it doesn't restart designate service, i did manually but then forgot to make a patch16:15
spateli will try to reproduce in lab again, also i have noticed updating pool isn't clean always throw some kind of errors and need manually fix stuff16:17
noonedeadpunkI guess I 've patched that tbh16:41
noonedeadpunkoops, not, I'm not16:42
noonedeadpunkbut... after update of pools.yaml - we should run some designate-manage command isntead of the service restart?16:43
noonedeadpunkor I forgot smth?16:43
noonedeadpunklike designate-manage pool update16:43
noonedeadpunkhttps://docs.openstack.org/designate/train/admin/pools.html#designate-manage-pools-command-reference16:44
johnsomPool definitions are now in the DB and updated by the designate-manage command.16:46
noonedeadpunkthanks! so we need trigger that instead of the designate restart16:46
johnsomRight, pools.yaml will not get read16:47
* noonedeadpunk writing up patch16:48
johnsomSadly I don't see a release note that calls that out, so I can't tell you exactly when that change was made.16:49
*** juanoterocas has joined #openstack-ansible16:50
noonedeadpunkI jsut saw in doc, but it was even before O as far as I'm concerned16:54
spotzadd me as a reviewer if needed:)16:56
noonedeadpunkEventually we did nothing too wrong, just were running pool update each time, and not only when pools.yaml were changed16:56
*** openstackgerrit has joined #openstack-ansible16:58
openstackgerritDmitriy Rabotyagov proposed openstack/openstack-ansible-os_designate master: Update pool when pools.yaml is changed  https://review.opendev.org/c/openstack/openstack-ansible-os_designate/+/78182716:58
spotznoonedeadpunk: -2 for typo in commit:)17:00
openstackgerritDmitriy Rabotyagov proposed openstack/openstack-ansible-os_designate master: Update pool when pools.yaml is changed  https://review.opendev.org/c/openstack/openstack-ansible-os_designate/+/78182717:02
noonedeadpunkit's not typo, it's mistake...17:02
openstackgerritDmitriy Rabotyagov proposed openstack/openstack-ansible-os_designate master: Update pool when pools.yaml is changed  https://review.opendev.org/c/openstack/openstack-ansible-os_designate/+/78182717:02
noonedeadpunkdamn it17:03
noonedeadpunkI shouldn't multitask that much I guess17:03
openstackgerritDmitriy Rabotyagov proposed openstack/openstack-ansible-os_designate master: Update pool when pools.yaml is changed  https://review.opendev.org/c/openstack/openstack-ansible-os_designate/+/78182717:04
noonedeadpunkhow many patchsets needed to edit 3lines commit message...17:04
spotzI was soo joking!17:06
*** schwicht has quit IRC17:21
*** mobuntu has quit IRC17:24
*** schwicht has joined #openstack-ansible17:32
*** andrewbonney has quit IRC17:50
*** mobuntu has joined #openstack-ansible18:01
mgariepynoonedeadpunk, whouldn't it be focal there : https://github.com/openstack/openstack-ansible-tests/blob/master/Vagrantfile#L48-L4919:06
mgariepyinstead of bionic ?19:06
*** jamesdenton has quit IRC19:07
*** jamesdenton has joined #openstack-ansible19:08
jrosser mgariepy: /o\ thats my fault19:09
mgariepyjrosser, do you push an update ? or shall i ?19:11
mgariepyi guess it's starting to be late at your place :)19:12
jrosserit is19:12
mgariepyi'll propose a fix then :)19:12
jrosserthankyou19:12
openstackgerritMarc Gariépy proposed openstack/openstack-ansible-tests master: Fix vagrantfile config  https://review.opendev.org/c/openstack/openstack-ansible-tests/+/78186319:14
*** jamesdenton has quit IRC19:29
*** jamesdenton has joined #openstack-ansible19:29
*** NewJorg_ is now known as NewJorg19:55
openstackgerritMerged openstack/openstack-ansible-lxc_container_create master: Convert remaining ansible_ fact variables to ansible_facts[]  https://review.opendev.org/c/openstack/openstack-ansible-lxc_container_create/+/78103819:59
*** mobuntu has quit IRC20:01
*** vakuznet has quit IRC20:03
openstackgerritMerged openstack/openstack-ansible-os_designate master: Update pool when pools.yaml is changed  https://review.opendev.org/c/openstack/openstack-ansible-os_designate/+/78182720:26
openstackgerritMerged openstack/openstack-ansible-lxc_hosts master: Use ansible_facts[] instead of fact variables  https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/77695920:28
openstackgerritMerged openstack/openstack-ansible-os_blazar master: Allow to override blazar policy files  https://review.opendev.org/c/openstack/openstack-ansible-os_blazar/+/78086720:43
*** gshippey has quit IRC21:09
openstackgerritMerged openstack/openstack-ansible-os_magnum master: Use new openstack.cloud collection names  https://review.opendev.org/c/openstack/openstack-ansible-os_magnum/+/77591721:11
openstackgerritMerged openstack/openstack-ansible-os_magnum master: Updated from OpenStack Ansible Tests  https://review.opendev.org/c/openstack/openstack-ansible-os_magnum/+/78036121:11
*** openstackgerrit has quit IRC21:22
*** spatel has quit IRC21:25
*** jamesdenton has quit IRC21:30
*** jamesdenton has joined #openstack-ansible21:32
*** dpawlik has quit IRC22:11
*** akahat has quit IRC22:11
*** devtolu1__ has joined #openstack-ansible22:12
*** dpawlik9 has joined #openstack-ansible22:12
*** dpawlik9 is now known as dpawlik22:13
*** juanoterocas has quit IRC22:13
*** schwicht has quit IRC22:13
*** brad[] has quit IRC22:15
*** brad[] has joined #openstack-ansible22:18
*** akahat has joined #openstack-ansible22:19
*** devtolu1__ has quit IRC22:33
*** sshnaidm|off has quit IRC22:54
*** jamesdenton has quit IRC23:00
*** jamesdenton has joined #openstack-ansible23:01
*** jamesdenton has quit IRC23:30
*** jamesdenton has joined #openstack-ansible23:31

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