Friday, 2019-07-26

*** weifan has joined #openstack-ansible00:13
*** weifan has quit IRC00:17
*** gyee has quit IRC00:19
*** yolanda has quit IRC00:20
*** weifan has joined #openstack-ansible00:25
*** weifan has quit IRC00:30
*** BjoernT has joined #openstack-ansible00:45
*** BjoernT has quit IRC00:47
*** BjoernT has joined #openstack-ansible00:48
*** BjoernT has quit IRC00:48
*** BjoernT has joined #openstack-ansible00:49
*** BjoernT has quit IRC00:49
*** BjoernT has joined #openstack-ansible00:49
*** BjoernT has joined #openstack-ansible00:50
*** BjoernT has quit IRC00:50
*** BjoernT has joined #openstack-ansible00:51
*** BjoernT has quit IRC00:51
*** BjoernT has joined #openstack-ansible00:54
*** BjoernT has joined #openstack-ansible00:54
*** BjoernT has quit IRC00:54
*** tinwood has quit IRC02:10
*** tinwood has joined #openstack-ansible02:12
*** mrda has quit IRC02:25
*** mrda has joined #openstack-ansible02:27
*** udesale has joined #openstack-ansible03:57
*** joshualyle has joined #openstack-ansible04:20
*** ChipOManiac has joined #openstack-ansible04:38
*** BjoernT has joined #openstack-ansible04:58
*** BjoernT has quit IRC05:01
*** jbadiapa has quit IRC05:02
*** BjoernT has joined #openstack-ansible05:02
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-os_ceilometer master: Fix gnocchi db population  https://review.opendev.org/67198805:10
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-os_ceilometer master: service_setup: refactor service setup to a single file  https://review.opendev.org/67047305:11
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: [WIP] Drop creation of log directories  https://review.opendev.org/67178305:12
*** zbr has joined #openstack-ansible05:45
openstackgerritpengyuesheng proposed openstack/openstack-ansible-os_neutron master: Blacklist sphinx 2.1.0 (autodoc bug)  https://review.opendev.org/67286605:59
openstackgerritpengyuesheng proposed openstack/openstack-ansible-os_neutron master: Bump the openstackdocstheme extension to 1.20  https://review.opendev.org/67286706:07
openstackgerritpengyuesheng proposed openstack/openstack-ansible-os_octavia master: Blacklist sphinx 2.1.0 (autodoc bug)  https://review.opendev.org/67286806:10
openstackgerritpengyuesheng proposed openstack/openstack-ansible-os_octavia master: Bump the openstackdocstheme extension to 1.20  https://review.opendev.org/67286906:14
*** miloa has joined #openstack-ansible06:18
openstackgerritpengyuesheng proposed openstack/openstack-ansible-os_gnocchi master: Blacklist sphinx 2.1.0 (autodoc bug)  https://review.opendev.org/67287106:18
*** jbadiapa has joined #openstack-ansible06:24
*** raukadah is now known as chandankumar06:51
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible master: Imported Translations from Zanata  https://review.opendev.org/67289407:18
*** kopecmartin|off is now known as kopecmartin07:26
*** cshen has joined #openstack-ansible07:32
*** tosky has joined #openstack-ansible07:34
openstackgerritpengyuesheng proposed openstack/openstack-ansible-tests master: Blacklist sphinx 2.1.0 (autodoc bug)  https://review.opendev.org/67290107:34
openstackgerritpengyuesheng proposed openstack/openstack-ansible-tests master: Blacklist sphinx 2.1.0 (autodoc bug)  https://review.opendev.org/67290307:38
*** cshen has quit IRC07:43
*** rpittau|afk is now known as rpittau07:44
*** pcaruana has joined #openstack-ansible07:44
*** mkuf has joined #openstack-ansible07:46
openstackgerritpengyuesheng proposed openstack/openstack-ansible-tests master: Bump the openstackdocstheme extension to 1.20  https://review.opendev.org/67290407:50
openstackgerritpengyuesheng proposed openstack/openstack-ansible-os_neutron master: Bump the openstackdocstheme extension to 1.20  https://review.opendev.org/67286707:52
openstackgerritpengyuesheng proposed openstack/openstack-ansible-os_octavia master: Bump the openstackdocstheme extension to 1.20  https://review.opendev.org/67286907:53
*** cshen has joined #openstack-ansible07:56
noonedeadpunkdo we have broken nova role, aren't we?08:15
noonedeadpunkwhile config is in place https://opendev.org/openstack/openstack-ansible-os_nova/src/branch/master/templates/nova.conf.j2#L264 it's not rendered correctly http://logs.openstack.org/83/671783/8/check/openstack-ansible-deploy-aio_lxc-ubuntu-bionic/be4e974/logs/etc/openstack/aio1_nova_api_container-2e62b5d5/nova/nova.conf.txt.gz08:18
*** dkopper has joined #openstack-ansible08:19
* noonedeadpunk wondering if ansible 2.8 might be related08:19
mkufHey there, I'm trying to redeploy a lxc-container on one of my infra-nodes but it seems networking isn't set up correctly by lxc-containers-create. http://paste.openstack.org/show/754883/ Any idea what might cause this issue? I'm using 18.1.8 on Ubuntu 16.0408:21
*** dkopper has left #openstack-ansible08:23
jrossernoonedeadpunk: also config_template work recently may have an effect there08:26
noonedeadpunkhas it been merged?08:28
*** siqbal has joined #openstack-ansible08:29
noonedeadpunkyeah...08:29
noonedeadpunkcloudnull: can you check this out please? (regarding nova config)08:30
*** ivve has joined #openstack-ansible08:37
*** hamzaachi has joined #openstack-ansible08:40
*** hamzaachi has quit IRC08:41
*** hamzaachi has joined #openstack-ansible08:42
*** hamzaachi has quit IRC08:43
*** hamzaachi has joined #openstack-ansible08:43
*** hamzaachi has quit IRC09:01
*** hamzaachi has joined #openstack-ansible09:01
*** joshualyle has quit IRC09:23
*** hamzaachi has quit IRC09:28
*** hamzaachi has joined #openstack-ansible09:28
*** hamzaachi has quit IRC09:30
*** hamzaachi has joined #openstack-ansible09:30
*** siqbal has quit IRC09:31
*** siqbal has joined #openstack-ansible09:31
*** arxcruz is now known as arxcruz|off09:32
*** jbadiapa has quit IRC09:39
jrossernoonedeadpunk: i think the same is happening here for image_ref and image_ref_alt? http://logs.openstack.org/04/672904/1/check/openstack-ansible-functional-ubuntu-bionic/33ee10f/logs/etc/openstack/keystone1/tempest/tempest.conf.txt.gz09:57
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: Bump sha of heat  https://review.opendev.org/67294310:15
*** mkuf has quit IRC10:25
noonedeadpunkjrosser: yep, I think yes..10:27
noonedeadpunkso I guess we may either try to debug this or just revert....10:28
noonedeadpunkwaiting for cloudnull is still an option:)10:28
jrosseryeah send up the bat-signal for cloudnull and see what happens :)10:31
*** hamzaachi has quit IRC10:31
*** brtknr has quit IRC10:36
*** brtknr has joined #openstack-ansible10:37
*** ChipOManiac has quit IRC10:39
*** udesale has quit IRC10:44
noonedeadpunkreturning to nova - seems that it theoretically could be just empty https://opendev.org/openstack/openstack-ansible-os_nova/src/branch/master/defaults/main.yml#L27710:44
*** udesale has joined #openstack-ansible10:45
*** siqbal has quit IRC10:47
noonedeadpunkso I guess that problem is that's it just missing "=", which might be dropped by config_template...10:48
openstackgerritNamrata proposed openstack/openstack-ansible stable/stein: Update docs & upgrade scripts for Stein  https://review.opendev.org/67271910:49
noonedeadpunkbut why in the world it passed gates...10:51
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_heat master: Fix keystone endpoint for heat servers  https://review.opendev.org/67294810:55
jrossernoonedeadpunk: well config_template has its own testsuite i think10:56
jrosseri wonder what the behaviour was before for an empty value, if it omitted the config option10:56
noonedeadpunkit's pretty easy to check.10:57
admin0hi all .. is just adding a nova_override to have the virt_type=lxc  enough to setup a new compute node as lxc node ?10:57
noonedeadpunkhttp://logs.openstack.org/83/671783/3/check/openstack-ansible-deploy-aio_metal-ubuntu-bionic/7902cfd/logs/etc/host/nova/nova.conf.txt.gz10:57
noonedeadpunkit was left as is10:58
jrosserhttp://logs.openstack.org/47/672347/1/gate/openstack-ansible-deploy-aio_metal-debian-stable/dc30489/logs/etc/host/nova/nova.conf.txt.gz10:58
jrosseryes so we have lost the =10:58
noonedeadpunkI kinda try to look through change one more time...10:59
*** ksdean has quit IRC10:59
noonedeadpunkbut probably it's worth dropping param completely?10:59
jrosserthere might be a case for needing foo = ""11:01
noonedeadpunkjrosser: I guess this might be the case https://opendev.org/openstack/ansible-config_template/src/branch/master/action/config_template.py#L22611:01
*** brtknr has quit IRC11:02
*** brtknr has joined #openstack-ansible11:02
*** brtknr has quit IRC11:02
noonedeadpunklets check this out:)11:02
*** brtknr has joined #openstack-ansible11:03
*** brtknr has quit IRC11:06
ionihey guys11:09
ionii don't quite understand something11:09
*** brtknr has joined #openstack-ansible11:10
ioniin the docs, is mentioned that compute nodes needs to have an ip on br-storage11:10
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/ansible-config_template master: Fix writing of keys without values  https://review.opendev.org/67295211:10
noonedeadpunkjrosser: let's see what happens... ^11:10
ioniafter deploying a ceph cluster, cinder and so on,  computes nodes are using br-mgmt ips to connect to ceph11:10
ioniis there a problem in the docs?11:10
ionihttps://docs.openstack.org/openstack-ansible/stein/user/ceph/full-deploy.html11:10
jrosserioni: i would say that is a long standing error with the way the integration of OSA and ceph-ansible has been done11:11
ionijrosser, so what should I do?11:11
*** kplant has joined #openstack-ansible11:11
ioniexchange the public_network ?11:11
ionimonitor_address_block: "{{ cidr_networks.container }}"11:12
ionipublic_network: "{{ cidr_networks.container }}"11:12
ionicluster_network: "{{ cidr_networks.storage }}"11:12
jrosserif you can have a go at getting the storage traffic actually onto the storage network that would be really cool11:12
ionijrosser, do you have a bug that I can follow?11:15
ionii have the impression is not as simple just to reconfigure public_network11:15
ionisince nova is using ceph mon to actually connect to ceph11:15
ioniceph mon has only one interface into br-mgmt11:16
jrosserioni: right, so thats probably the root cause really11:16
jrosserthat the mon container need an interface on the storage network11:16
* jrosser away for a bit11:16
ionialright11:16
openstackgerritNamrata proposed openstack/openstack-ansible-plugins master: Removing unused filters from osa plugins  https://review.opendev.org/67295511:23
*** jbadiapa has joined #openstack-ansible11:37
*** irclogbot_3 has quit IRC11:53
*** irclogbot_0 has joined #openstack-ansible11:54
openstackgerritNamrata proposed openstack/openstack-ansible-plugins master: Removing unused filters from osa plugins  https://review.opendev.org/67295511:55
chandankumarjrosser: Hello11:56
jrosserHello11:57
chandankumarjrosser: Need some help here https://review.opendev.org/#/c/672231/ on this review11:57
chandankumarjrosser: I am not sure what is needed to fix that issue11:57
jrosserOk11:57
jrosserSo the reason that I -1 is that the commit message talks about many many thing including stackviz11:58
jrosserAnd then the set_fact is when: on stackviz too11:59
openstackgerritNamrata proposed openstack/openstack-ansible-plugins master: Removing unused filters from osa plugins  https://review.opendev.org/67295511:59
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/ansible-config_template master: Fix writing of keys without values  https://review.opendev.org/67295211:59
jrosserBut unless I am misunderstanding, this is a very general problem where the handler from the venv build take will be run at the end of the play that included os_tempest12:00
jrosserAnd the handler brings with it a conditional from os_tempest using a var that is not in scope of the play12:00
jrosserSo this isn’t actually to do with stackviz? But is a potential issue for any play in a project that tries to use os_tempest as an include_role?12:01
jrossernoonedeadpunk: interested in your opinion on this too ^^12:02
jrosserSo I was thinking that instead, os_tempest should set_fact of the install method var always and in a very prominent place, and include a very clear explanation of why in the code12:03
noonedeadpunkso, I'd probably do set_fact: tempest_install_method: "source" when tempest_install_method is not defined. And did it right before Install Tempest packages from PIP12:06
noonedeadpunkor just placed tempest_install_method into defaults for example...12:06
noonedeadpunkwhich is probably the best place for it, since it's needed anyway12:07
*** hwoarang has quit IRC12:08
*** jbadiapa has quit IRC12:08
*** jbadiapa has joined #openstack-ansible12:08
jrosserThe thing with having it in the defaults is that the role defaults are not in scope of a handler executed at the end of a play that includes the role12:09
jrosserIn OSA we have install method as some top level group var or override so it exists everywhere12:10
noonedeadpunkso probably the same approach might be done with stackviz?12:11
*** ksdean has joined #openstack-ansible12:12
noonedeadpunkbut otherwise I agree with your suggestion jrosser12:12
*** hwoarang has joined #openstack-ansible12:13
jrosserThe root cause is we use that noop handler in the venv build role as a kind of callback12:13
jrosserAnd in os_tempest we make the venv build conditional12:14
jrosserAnd so the conditional test gets leaked out into the play via the handler12:14
jrosserchandankumar: ^ does this all make sense?12:15
chandankumarjrosser: yes, make sense12:16
jrosserSo I think we make a task that unconditionally does set_fact, right before the pip packages install12:17
jrosserAnd we can redo the commit message to summarise what we have said just now, I can help with that if you need?12:18
noonedeadpunkprobably only when tempest_install_method is not defined?12:18
jrosserWell - I dunno12:18
noonedeadpunksince unconditionally means that we may accidentally redefine it12:18
jrosseroh well isnt it more subtle - set_fact to its own value12:20
jrosserdefaulted to 'source'12:20
jrosseryou see it is already defined in the role defaults https://github.com/openstack/openstack-ansible-os_tempest/blob/master/defaults/main.yml#L2512:21
jrosserso any task in the os_tempest role is guaranteed to have a value12:21
noonedeadpunkah, I see12:22
jrosserwe need to 'promote' the value out of the role defaults into a hostvar with set_fact, so the contition in the handler can find it at the end of the play, outside of os_tempest12:22
jrosserso actually there isnt a default needed, just set_fact to itself12:23
noonedeadpunkjrosser: are you sure that we need empty "option ="?:) http://logs.openstack.org/52/672952/2/check/openstack-ansible-functional-debian-stable/e737714/job-output.txt.gz#_2019-07-26_12_15_48_86090212:29
jrossernoonedeadpunk: i well i don't really know, other than thats what it did before?12:30
openstackgerritChandan Kumar (raukadah) proposed openstack/openstack-ansible-os_tempest master: Set fact tempest_install_method var for meta handler  https://review.opendev.org/67223112:30
chandankumarjrosser: ^^12:30
noonedeadpunkdunno either...12:30
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/ansible-config_template master: Fix writing of keys without values  https://review.opendev.org/67295212:34
*** waverider has joined #openstack-ansible12:34
*** brtknr has quit IRC13:01
*** brtknr has joined #openstack-ansible13:03
*** brtknr has quit IRC13:05
*** brtknr has joined #openstack-ansible13:05
*** brtknr has quit IRC13:05
*** brtknr has joined #openstack-ansible13:06
*** brtknr has quit IRC13:06
*** brtknr has joined #openstack-ansible13:06
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/ansible-config_template master: Fix writing of keys without values  https://review.opendev.org/67295213:09
*** ygk_12345 has joined #openstack-ansible13:10
*** grabes has joined #openstack-ansible13:17
*** jawad_axd has joined #openstack-ansible13:24
*** stingrayza_ has joined #openstack-ansible13:28
*** stingrayza has quit IRC13:28
*** goldyfruit has joined #openstack-ansible13:31
openstackgerritFlorian Haas proposed openstack/openstack-ansible stable/stein: Fix systemd-journal-remote socket dependency  https://review.opendev.org/67298013:34
*** jawad_axd has quit IRC13:37
*** waverider has quit IRC13:39
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/ansible-config_template master: Fix writing of keys without values  https://review.opendev.org/67295213:40
*** Blinkiz has quit IRC13:47
*** ygk_12345 has quit IRC14:01
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/ansible-config_template master: Fix writing of keys without values  https://review.opendev.org/67295214:05
*** radeks has joined #openstack-ansible14:07
ksdeanhi, Anyone got any idea why I cant deploy horizon from source.14:07
ksdean?14:07
ksdeanusing kolla14:07
cloudnullnoonedeadpunk what's going on ?14:08
noonedeadpunkcloudnull: http://logs.openstack.org/83/671783/8/check/openstack-ansible-deploy-aio_lxc-ubuntu-bionic/be4e974/logs/etc/openstack/aio1_nova_api_container-2e62b5d5/nova/nova.conf.txt.gz14:08
cloudnullksdean this channel is largely for the openstack-ansible project you might want to reach out in the #openstack-kolla channel14:08
noonedeadpunkso I'm experimentally trying to patch this:)14:08
ksdeanahh ok cool14:09
ksdeanthanks14:09
cloudnullnp, have a good one ksdean14:09
cloudnullthe config looks good :)14:09
cloudnullis there an issue with it, that Im not seeing ?14:09
noonedeadpunkso disk_cachemodes has no "="14:09
noonedeadpunkwhich makes config not working one for nova14:10
noonedeadpunkI'm trying to address https://review.opendev.org/672952 and got pretty good results (but not really)14:10
noonedeadpunklike extra "\n" http://logs.openstack.org/52/672952/5/check/openstack-ansible-python3-ubuntu-bionic/916a2b7/job-output.txt.gz#_2019-07-26_13_52_25_70362914:11
*** ansmith has quit IRC14:11
*** goldenfri has quit IRC14:11
cloudnullso the item has a None value14:11
noonedeadpunkyep, and you're returning just key14:12
cloudnullis disk_cachemodes being set as an override ?14:12
noonedeadpunkSo the problem is here https://opendev.org/openstack/ansible-config_template/src/branch/master/action/config_template.py#L22614:12
noonedeadpunkNo, it's just the way config is being renderred even without overrides I guess14:13
cloudnullwe had similar logic even before the patch - https://opendev.org/openstack/ansible-config_template/src/commit/73aa099f0a4871dc6ca63a5365b1010645dc0c72/action/config_template.py#L150-L15914:14
cloudnullwhich is supposed to allow us to support options without values, like the ones found in my.cnf14:14
*** hamzaachi has joined #openstack-ansible14:14
noonedeadpunkSo maybe I'm not right in seeing what exactly leads to this thing, but smth defenitely does...14:16
cloudnullhum ...14:18
noonedeadpunkand gates are broken, like https://review.opendev.org/#/c/671988/14:19
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/ansible-config_template master: Fix writing of keys without values  https://review.opendev.org/67295214:25
*** hamzaachi has quit IRC14:34
*** hamzaachi has joined #openstack-ansible14:34
*** miloa has quit IRC14:38
*** hamzaachi has quit IRC14:40
cloudnullnoonedeadpunk testing that and a few other things locally14:42
*** hamzaachi has joined #openstack-ansible14:42
*** hamzaachi has quit IRC14:42
*** hamzaachi has joined #openstack-ansible14:42
cloudnullnoonedeadpunk do you by chance that the config file source handy?14:47
cloudnullI think its reading in that option as a none type14:47
noonedeadpunkcloudnull: not really. I'm even testing in CI...14:47
cloudnullok14:47
noonedeadpunkbut it's supposed to be empty string....14:48
cloudnull++14:48
*** chandankumar is now known as raukadah14:48
cloudnullI think we need to get the module to respect that14:48
cloudnullnoonedeadpunk I think we just need to adjust the item check14:49
cloudnullhttps://review.opendev.org/#/c/672952/7/action/config_template.py14:49
cloudnullchecking to see if `item is not None`14:50
*** openstackgerrit has quit IRC14:51
noonedeadpunkok, lets try this out14:51
cloudnullI think that solves it.14:54
noonedeadpunkI've just thought that you do strip() somewhere but didn't check that14:54
cloudnullat least it does locally .14:54
*** openstackgerrit has joined #openstack-ansible14:55
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/ansible-config_template master: Fix writing of keys without values  https://review.opendev.org/67295214:55
noonedeadpunkbut that version was really very close as well:)14:55
noonedeadpunkit wasn't respecting extra "\n" but still14:56
*** kopecmartin is now known as kopecmartin|off14:56
cloudnull++14:57
openstackgerritKevin Carter (cloudnull) proposed openstack/ansible-config_template master: Fix writing of keys without values  https://review.opendev.org/67295214:58
cloudnull^ noonedeadpunk just fixing a nit14:58
cloudnullfigured it better to fix before the job runs :)14:58
noonedeadpunkit was kinda part of the test :P14:58
cloudnullhttps://review.opendev.org/#/c/672952/8/tests/templates/test_default_section.ini14:59
cloudnulloh ?!14:59
cloudnullmy bad14:59
noonedeadpunksince https://opendev.org/openstack/openstack-ansible-os_nova/src/branch/master/templates/nova.conf.j2#L264 will have whitespace:)15:00
cloudnullhum . i think the reader will pick that up as an empty string15:00
* cloudnull trying locally 15:00
noonedeadpunkyeah, so I suggested about strip() usage on values and keys (but still didn't checked if it's true)15:01
noonedeadpunk(I thought that it was used)15:04
cloudnullso the latest review passes the test :)15:11
cloudnullwhich is a good thing :D15:11
* cloudnull running tests locally 15:11
cloudnulloh wait, im an idiot, i didnt run the checkout.15:13
cloudnullrunning again15:13
noonedeadpunkCI will have result really soon:)15:13
noonedeadpunkneed to add extra "\n" to expected file http://logs.openstack.org/52/672952/9/check/openstack-ansible-functional-ubuntu-bionic/e814d09/job-output.txt.gz#_2019-07-26_15_15_25_55762715:17
noonedeadpunkbut yeah, approach generally works15:18
cloudnullI was seeing the same thing.15:21
cloudnullI think that's a bug15:21
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/ansible-config_template master: Fix writing of keys without values  https://review.opendev.org/67295215:21
noonedeadpunkyeah, but it's not annoying:)15:21
cloudnullwhen I rerun a bunch of times, it adds \n to the modified sections15:21
noonedeadpunkso that my version was dropping this "\n" but was also taking extra ones. But since this way is much more cleaner, I'd leave it as is15:22
cloudnullso if we use the same file as input and output it adds \n, then \n\n, then \n\n\n and so forth15:22
noonedeadpunkwow, than it's not so good15:22
cloudnulllooking at that now15:22
cloudnullin the osa case its not so bad15:23
cloudnullthe base file always comes from a template15:23
cloudnullin tripleo its a problem15:23
cloudnullwell a cosmetic problem15:23
cloudnullbut a problem none-the-less15:23
noonedeadpunkprobably it's worth returning to https://review.opendev.org/#/c/672952/7 and just drop these extra "\n" from expected files?15:23
cloudnullI think we get that test to pass. get the gates unbroken15:24
noonedeadpunk(and add "else: return str()")15:24
cloudnulland I'll build on-top15:24
noonedeadpunkthese 2 options will unbroke gates... but ok.15:25
*** cshen has quit IRC15:29
noonedeadpunkso probably smth like "elif option == "\n": return option" will do the trick?15:33
cloudnull++15:37
cloudnullthat might be15:37
*** jbadiapa has quit IRC15:39
noonedeadpunkcloudnull: again the same... http://logs.openstack.org/52/672952/10/check/openstack-ansible-functional-ubuntu-bionic/4880e91/job-output.txt.gz#_2019-07-26_15_37_29_57098915:42
noonedeadpunkSo I'll try to add elif...15:42
noonedeadpunkand start testing locally as well:)15:44
noonedeadpunkdo you just ./runtest.sh functional?15:46
noonedeadpunkor probably there's an option to use python debbuger?:))15:47
cloudnullI use pdb15:52
*** joshualyle has joined #openstack-ansible15:52
cloudnullbut to test it started, I simply clone the repo and run the local tests script15:52
*** joshualyle has quit IRC15:57
*** rpittau is now known as rpittau|afk15:57
*** gyee has joined #openstack-ansible15:59
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/ansible-config_template master: Fix writing of keys without values  https://review.opendev.org/67295216:10
*** ksdean has quit IRC16:14
cloudnullnoonedeadpunk that last review works16:16
cloudnulljust need to remove the extra space16:16
cloudnullhttps://review.opendev.org/#/c/672952/edit/tests/files/test_default_section.ini.expected16:16
cloudnulli have to run, but will be back in about 1 hour16:17
mnaserit might be good for us to run osa jobs against openstack/ansible-config_template :)16:17
cloudnull++16:17
cloudnullits running most of the setup16:17
cloudnullcontainer creates and things as is16:17
cloudnullhowever, a nova / neutron  job might go a long way16:18
openstackgerritChandan Kumar (raukadah) proposed openstack/openstack-ansible-os_tempest master: Set fact tempest_install_method var for meta handler  https://review.opendev.org/67223116:18
raukadahjrosser: ^^ feel free to take over it16:18
noonedeadpunkcloudnull: for me without this space task fails16:25
noonedeadpunkso elif probably doesn't do what's expected...16:26
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/ansible-config_template master: Fix writing of keys without values  https://review.opendev.org/67295216:32
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/ansible-config_template master: Fix writing of keys without values  https://review.opendev.org/67295216:32
openstackgerritChandan Kumar (raukadah) proposed openstack/openstack-ansible-os_tempest master: Set fact tempest_install_method var for meta handler  https://review.opendev.org/67223116:40
raukadahnoonedeadpunk: I kept your default also and set_facts it might solve both the problem16:41
noonedeadpunkraukadah: you have indent problem16:41
noonedeadpunkin when16:41
openstackgerritGuilherme  Steinmuller Pimentel proposed openstack/openstack-ansible-os_ironic stable/stein: Fix ironic package list  https://review.opendev.org/67301716:41
raukadahstupid typos16:42
noonedeadpunkjust a sec16:42
openstackgerritChandan Kumar (raukadah) proposed openstack/openstack-ansible-os_tempest master: Set fact tempest_install_method var for meta handler  https://review.opendev.org/67223116:42
raukadahnoonedeadpunk: feel free to update the patch,16:43
noonedeadpunkI guess jrosser was saying about smth like this http://paste.openstack.org/show/754901/16:43
* jrosser back16:43
jrossercurious it needs the default :) but this whole thing is curious16:44
raukadahnoonedeadpunk: but it will start installing stuff from pip which we donot want16:44
raukadahthey will create a mix of both which always screws16:44
noonedeadpunkraukadah: only when tempest_install_method is not defined I guess16:45
raukadahset_facts should be happen after pip install16:45
jrosserraukadah: i just don't understand now16:45
jrosserthe role defaults has install method being source16:45
raukadahlet me try that16:45
jrosserif you want distro, then you've surely got to be overriding that in the playbook16:46
jrosseror vars somewhere16:46
jrosserso if you've got a higher level override, how do we get into this situation where the handler runs somewhere that the override is not defined?16:47
raukadahjrosser: donot know, need to debug locally16:50
noonedeadpunkI guess it's just friday evening:)16:50
*** KeithMnemonic has joined #openstack-ansible16:50
raukadahjrosser: in playbook, it is already defined to use tempest_install_method as distro16:50
jrosserraukadah: can you point me to the code where os_tempest is included?16:50
raukadahjrosser: tempest playbook https://opendev.org/openstack/tripleo-quickstart-extras/src/branch/master/playbooks/tempest.yml called here https://opendev.org/openstack/tripleo-quickstart-extras/src/branch/master/playbooks/multinode-standalone.yml#L5316:52
jrosserraukadah: ok so this line https://opendev.org/openstack/tripleo-quickstart-extras/src/branch/master/playbooks/multinode-standalone.yml#L5416:54
*** joshualyle has joined #openstack-ansible16:55
jrosserthats where the var tempest_install_method is defined, and it's scope is only for that task16:55
jrosserso when the handler runs at the and of the play it fails because the var is not in scope16:55
*** joshualyle has quit IRC16:55
raukadahdo I need to make it caceable?16:56
jrosseryou could try moving the defintion of the var up to the vars: section at the top of the play16:56
jrosserand then it will be in scope for the whole of the play, including when the handlers run16:56
*** goldenfri has joined #openstack-ansible16:56
raukadahjrosser: yes, doing that16:57
*** ansmith has joined #openstack-ansible17:03
*** EmilienM has joined #openstack-ansible17:04
EmilienMo/17:05
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/ansible-config_template master: Fix writing of keys without values  https://review.opendev.org/67295217:06
raukadahjrosser: noonedeadpunk https://review.opendev.org/#/c/673021/17:07
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/ansible-config_template master: Fix writing of keys without values  https://review.opendev.org/67295217:07
raukadahtesting here https://review.opendev.org/#/c/667219/17:09
raukadahjrosser: noonedeadpunk thanks for all the help on this :-)17:10
raukadahHappy weekend17:10
jrosserraukadah: you too :)17:11
*** weifan has joined #openstack-ansible17:28
noonedeadpunkjrosser cloudnull: https://review.opendev.org/672952 is finally going to pass, so kindly check it right after tripleo finish it's test17:29
noonedeadpunkso have great weekends everyone:)17:30
*** udesale has quit IRC17:31
*** electrofelix has quit IRC17:38
*** hwoarang has quit IRC17:42
*** hwoarang_ has joined #openstack-ansible17:43
guilhermespcloudnull: still around? if so, did you test this in a metal environment? https://github.com/openstack/openstack-ansible-os_nova/blob/f11199f27e49e1ebe23e181ab7d6046fba428197/tasks/nova_virt_detect.yml#L5417:48
*** hwoarang_ has quit IRC17:54
*** hwoarang has joined #openstack-ansible17:56
*** chason has quit IRC17:56
*** hwoarang has quit IRC18:03
*** hwoarang has joined #openstack-ansible18:04
*** poopcat has joined #openstack-ansible18:04
*** joshualyle has joined #openstack-ansible18:09
*** joshualyle has quit IRC18:12
*** weifan has quit IRC18:16
*** weifan has joined #openstack-ansible18:17
*** weifan has quit IRC18:17
*** hamzaachi has quit IRC18:18
*** hwoarang has quit IRC18:32
*** hwoarang has joined #openstack-ansible18:32
*** weifan has joined #openstack-ansible18:34
*** weifan has quit IRC18:34
cloudnullguilhermesp I'm not 100% sure.18:35
cloudnullI think so ?18:35
cloudnullI believe RAX is running ironic on baremetal still18:35
cloudnullcjloader ^18:35
guilhermesphuum so ironic_compute_containers are on metal, in controller nodes. But seems that even defining https://github.com/cloudnull/os-ansible-deployment/blob/master/group_vars/ironic_compute.yml or in host_vars, the var nova_virt_type is not being loaded18:36
guilhermespso tasks like that onehttps://github.com/openstack/openstack-ansible-os_nova/blob/f11199f27e49e1ebe23e181ab7d6046fba428197/tasks/nova_virt_detect.yml#L54 are ommited18:36
*** weifan has joined #openstack-ansible18:38
guilhermespit starts skipping right here https://github.com/openstack/openstack-ansible-os_nova/blob/f11199f27e49e1ebe23e181ab7d6046fba428197/tasks/main.yml#L28 so which means the host_vars or groups vars defining nova_virt_type: ironic is not there18:40
*** weifan has quit IRC18:42
guilhermespseems we have something similar here http://eavesdrop.openstack.org/irclogs/%23openstack-ansible/%23openstack-ansible.2017-08-17.log.html#t2017-08-17T05:48:3418:50
cloudnullhum I'm really not sure.18:54
* cloudnull doesn't have an osa ironic lab up at the moment 18:54
cloudnullI was kinda hoping cjloader was around and could check18:54
*** weifan has joined #openstack-ansible19:07
*** weifan has quit IRC19:08
*** weifan has joined #openstack-ansible19:08
*** weifan has quit IRC19:13
spotzcloudnull: I know he peeked in the other day:(19:21
*** weifan has joined #openstack-ansible19:32
*** weifan has quit IRC19:36
*** weifan has joined #openstack-ansible19:36
*** weifan has quit IRC19:37
*** weifan has joined #openstack-ansible19:37
*** weifan has quit IRC19:38
*** weifan has joined #openstack-ansible19:38
openstackgerritMerged openstack/ansible-config_template master: Fix writing of keys without values  https://review.opendev.org/67295219:38
*** weifan has quit IRC19:39
*** weifan has joined #openstack-ansible19:39
*** weifan has quit IRC19:39
*** weifan has joined #openstack-ansible19:40
*** brtknr has quit IRC19:40
*** brtknr has joined #openstack-ansible19:40
*** weifan has quit IRC19:40
*** BjoernT has joined #openstack-ansible19:51
*** BjoernT has quit IRC19:55
*** allanb has quit IRC19:56
cjloadercloudnull: guilhermesp yes we are19:59
*** kplant has quit IRC20:00
*** goldyfruit has quit IRC20:02
*** goldyfruit has joined #openstack-ansible20:04
cjloaderguilhermesp: what do you need checked specifically?20:05
cjloaderwe are using metal ironic osa20:05
guilhermesphey cjloader20:05
guilhermespyeah we are trying to deploy it on metal as well20:06
guilhermespseems that nova_virt_type is not being evaluated20:06
guilhermespeven here is not being executed https://github.com/openstack/openstack-ansible-os_nova/blob/f11199f27e49e1ebe23e181ab7d6046fba428197/tasks/nova_virt_detect.yml#L4820:06
guilhermespi tried to define host_vars/ctl with nova_virt_type: ironic but seems that has no effect20:07
cjloaderhow recent is the deployment?20:07
guilhermespstein20:07
cjloaderi'll look at my lab20:07
cjloaderhold on20:07
guilhermespI appreciate that cjloader20:07
cjloader/etc/openstack_deploy/openstack_user_config.yml:111:      nova_virt_type: ironic20:10
cjloaderguilhermesp: ^20:10
guilhermespyep. I have tried that. Actually I wanted to make it per host inside host_vars20:11
guilhermespas ironic_compute is going to run within the controllers20:11
*** weifan has joined #openstack-ansible20:11
cjloadercontainer_vars:20:11
cjloader      nova_virt_type: ironic20:11
cjloaderadd that in host def20:12
cjloaderin your openstack_user_config20:12
guilhermespok let me try20:12
cjloaderthat's how my lab is setup20:13
guilhermespso but this is going to run under all compute hosts right?20:13
guilhermespwe have some kvm/qemu computes20:13
cjloaderunless you define it in a separate non kvm/qemu computes20:14
guilhermespyeah, that's why I was trying to define it under hosts_vars.20:14
guilhermespI will replace in my host_vars file the content there by the content you use in o_u_c20:15
cjloaderi put infra01: blah blah container_vars: ...20:15
cjloaderetc20:16
*** weifan has quit IRC20:16
guilhermespI see... yeah under hosts_vars doesn't work. I will define it per node in o_u_c and try it again20:16
cjloadermy setup assumes no outside kvm/qemu hosts20:16
cjloaderguilhermesp: let me know, brb20:20
guilhermespyeah that's weird. Same thing. All debugging shows that tasks that requires nova_virt_type to be define are being ommited saying that nova_virt_type is undefined20:20
guilhermespthanks cjloader  :)20:20
*** brtknr_ has joined #openstack-ansible20:20
cjloaderhttp://paste.openstack.org/show/754909/20:21
cjloaderguilhermesp: ^ paste from my o_u_c20:22
* guilhermesp looking20:22
*** brtknr has quit IRC20:22
cjloadercc: cloudnull ^20:24
guilhermespyeah no effect.. seems that tasks are being ommited still https://pasteboard.co/IpOrQb0.png20:24
cjloaderdo you have a compute_hosts block?20:26
* guilhermesp that's how it is now http://paste.openstack.org/show/754910/20:27
cjloaderit might being overridden20:27
cjloadermy setup has 0 computes20:28
cjloadermight want to set an override20:30
guilhermespbut I'd assume at least nova_virt_type would be set as when it is not defined, sets defaults to qemu20:30
guilhermesphttps://github.com/openstack/openstack-ansible-os_nova/blob/f11199f27e49e1ebe23e181ab7d6046fba428197/tasks/nova_virt_detect.yml#L4820:30
cjloaderset a debug: var={{ nova_virt_type }}20:31
cjloaderand lets see what its being set to20:31
guilhermespall right "ironic": "VARIABLE IS NOT DEFINED!"20:33
cjloaderthat help?20:34
guilhermespnot that much https://github.com/openstack/openstack-ansible-os_nova/blob/f11199f27e49e1ebe23e181ab7d6046fba428197/defaults/main.yml#L19220:35
cjloaderokay20:35
cjloaderare you mixing hosts -- some kvm/qemu?20:37
guilhermespthe two I have up are qemu20:38
cjloaderso tell me your lab setup20:39
guilhermespwe have two qemu computes. Are are deploying everything with no containers at all. All serives are set to metal = true in env.d/metal. So that's basically this.20:40
guilhermespironic creates a container to simulate a compute_hosts. In that case, as everything is on metal, controllers will play that role20:41
cjloaderno controllers?20:41
cjloaderoh20:41
guilhermespyep we have 3 controllers ( ctl1,ctl2 and ctl3 )20:41
guilhermespit's pretty much that paste here http://paste.openstack.org/show/754910/20:42
guilhermespqemu kvms goes to compute_hosts20:42
cjloaderwe have 3 ctl and 2 infra (haproxy/keepalived) and no computes20:42
*** weifan has joined #openstack-ansible20:42
cjloaderand use ironic to spin up computes20:43
guilhermespi see. In that case we are gonna proide vms and baremetal instances20:43
guilhermespprovide*20:43
cjloadergenerally I thought nova assigned computes to the ctl pln if no computes available20:46
cjloaderI could be wrong20:47
*** goldyfruit has quit IRC20:48
guilhermespi think acually wherever you define it in o_u_c20:49
cjloadersorry if i'm not able to help guilhermesp20:55
guilhermespthat's ok cjloader ! I appreciate your infos! I will let you know if i figure that out20:55
cjloadermight ask in the ironic channel?20:56
*** kplant has joined #openstack-ansible20:58
*** goldyfruit has joined #openstack-ansible21:05
guilhermespI noticed that when I remove ironic from that list https://github.com/openstack/openstack-ansible-os_nova/blob/f11199f27e49e1ebe23e181ab7d6046fba428197/defaults/main.yml#L192 it breaks with another error http://paste.openstack.org/show/754911/21:05
guilhermesp"ironic" is not defined anyware anymore in my config dir21:05
jrossernoonedeadpunk: we are still a bit broken even though the config_template change merged, see #infra21:17
*** KeithMnemonic has quit IRC21:18
openstackgerritMohammed Naser proposed openstack/openstack-ansible master: wip: fail when roles arent cloned by zuul  https://review.opendev.org/67310921:21
jrossermnaser: https://opendev.org/openstack/openstack-ansible/src/branch/master/scripts/get-ansible-role-requirements.yml#L7621:26
jrosser^ that just looks odd21:26
mnaserjrosser: pretty much its saying in that all the roles that *dont* exist (as in they were not cloned by zuul), to clone them manually21:27
jrosserwell i have to say this has always been confusing21:28
jrosserok yes i see they should be symlinked into place in earlier tasks21:29
jrosserhence don't clone21:30
openstackgerritMohammed Naser proposed openstack/openstack-ansible master: wip: fail when roles arent cloned by zuul  https://review.opendev.org/67310921:30
mnaserjrosser: yep so zuul manually clones things21:30
mnaserso we actually want to check for the things that are cloned and symlink in /etc/ansible/roles21:30
mnaseri just realized that code won't work properly because we have somethings we pull in from github, yikes21:31
jrosserwhich should be this https://opendev.org/openstack/openstack-ansible/src/branch/master/scripts/get-ansible-role-requirements.yml#L50-L5921:31
jrosserright so it's always a mix21:31
jrosserlink the things we're provided, clone the rest21:31
mnaserjrosser: yep21:32
mnaseri have an idea tho21:32
mnaserjrosser: i think ill only select values with 'opendev' in them but ill wait for the CI to run21:34
jrosseryou can probably json_query the list down quite neatly21:35
jrosseranyway, !computer now21:36
mnaserave a good weeknd jrosser21:36
jrosserthanks, you too21:36
openstackgerritMohammed Naser proposed openstack/openstack-ansible master: wip: fail when roles arent cloned by zuul  https://review.opendev.org/67310921:40
noonedeadpunkjrosser: yeah, I see tasks are failing, but now I rly don't understand why21:46
noonedeadpunksince config_template is covered with common test..21:47
cjloadermnaser: btw i'm working on the combined ironic/inspector role21:48
cjloaderclose -- but was wondering, what the best way to get it in?21:48
cjloadermaster, backport to stein?21:49
spotzunless it's something removed in master yes, otherwise always master then backport21:50
spotzcjloader: ^21:50
cjloaderok ty21:51
cjloaderi have it working in stein...21:51
cjloaderfun21:52
noonedeadpunklooked up for details in infra chanel, but didn't fully realized the root cause:(21:55
*** brtknr_ has quit IRC22:01
noonedeadpunkso what I get is that during checks some repos are taken on out of date state due to which checks are not so relevant.22:04
noonedeadpunksince they are taken not from zuul but from mirrors22:05
*** gyee has quit IRC22:39
*** goldyfruit has quit IRC22:52
*** weifan has quit IRC22:53
*** gyee has joined #openstack-ansible22:55
*** weifan has joined #openstack-ansible22:59
*** weifan has quit IRC23:03
*** tosky has quit IRC23:31

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!