Sunday, 2018-05-13

*** Adri2000 has quit IRC00:05
*** tosky has quit IRC00:06
*** tomtom001 has quit IRC00:06
*** tomtom001 has joined #openstack-ansible00:07
*** gkadam has quit IRC00:15
*** Adri2000 has joined #openstack-ansible00:23
*** dave-mccowan has joined #openstack-ansible02:53
*** cjloader has joined #openstack-ansible02:58
*** tomtom001 has quit IRC03:06
*** tomtom001 has joined #openstack-ansible03:07
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_hosts master: Update nspawn hosts  https://review.openstack.org/54940303:15
*** cjloader has quit IRC03:16
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_container_create master: Add minimal functional gate  https://review.openstack.org/54715803:19
*** dave-mccowan has quit IRC03:20
*** radeks has joined #openstack-ansible03:40
*** bhujay has joined #openstack-ansible04:09
*** gkadam has joined #openstack-ansible04:27
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_hosts master: Update nspawn hosts  https://review.openstack.org/54940304:51
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_container_create master: Add minimal functional gate  https://review.openstack.org/54715804:52
*** exodusftw has quit IRC04:55
*** exodusftw has joined #openstack-ansible05:01
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_container_create master: Add minimal functional gate  https://review.openstack.org/54715805:27
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_hosts master: Update nspawn hosts  https://review.openstack.org/54940305:27
*** bhujay has quit IRC05:36
*** tomtom001 has quit IRC05:41
*** tomtom001 has joined #openstack-ansible05:48
*** exodusftw has quit IRC06:06
*** tomtom001 has quit IRC06:07
*** exodusftw has joined #openstack-ansible06:13
*** tomtom001 has joined #openstack-ansible06:13
*** gkadam has quit IRC06:30
*** pcaruana has joined #openstack-ansible06:37
*** tomtom001 has quit IRC06:38
*** tomtom001 has joined #openstack-ansible06:44
*** pcaruana has quit IRC06:59
*** pcaruana has joined #openstack-ansible06:59
*** tomtom001 has quit IRC07:11
*** tomtom001 has joined #openstack-ansible07:18
*** tomtom001 has quit IRC07:37
*** tomtom001 has joined #openstack-ansible07:44
*** bhujay has joined #openstack-ansible07:56
*** bhujay has quit IRC08:07
*** radek__ has joined #openstack-ansible08:07
*** tomtom001 has quit IRC08:07
*** bhujay has joined #openstack-ansible08:07
*** tomtom001 has joined #openstack-ansible08:08
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_hosts master: Update nspawn hosts  https://review.openstack.org/54940308:14
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_container_create master: Update role to gate using all supported distros  https://review.openstack.org/54715808:16
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_container_create master: Update role to gate using all supported distros  https://review.openstack.org/54715808:17
*** armaan has joined #openstack-ansible08:20
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_container_create master: Update role to gate using all supported distros  https://review.openstack.org/54715808:29
TahvokAfter updating openstack_services.yml file, what should I run to create the new package?08:30
TahvokI've updated a sha for nova service08:30
Tahvokcloudnull: perhaps you know?08:31
cloudnullTahvok repo_build.yml08:32
cloudnullif you change the sha's of a release the repo build needs to get done to create the venvs and such08:33
cloudnullonce they're all built you can rerun the specific openstack service playbook you want to redeploy the bits08:33
Tahvokcloudnull: thanks! running it now08:39
Tahvokcloudnull: it worked! Thanks a lot!08:47
*** mma has joined #openstack-ansible08:50
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_hosts master: Update nspawn hosts  https://review.openstack.org/54940309:11
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_container_create master: Update role to gate using all supported distros  https://review.openstack.org/54715809:11
cloudnullanytime Tahvok09:11
cloudnullhave a good night :)09:11
TahvokGood night :)09:17
*** bauruine has quit IRC09:20
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_container_create master: Update role to gate using all supported distros  https://review.openstack.org/54715809:27
*** bauruine has joined #openstack-ansible09:33
*** radek__ has quit IRC09:42
*** mma has quit IRC09:43
*** yolanda_ has quit IRC09:57
*** yolanda_ has joined #openstack-ansible09:59
*** evin has joined #openstack-ansible09:59
*** armaan has quit IRC10:05
*** armaan has joined #openstack-ansible10:06
*** tomtom001 has quit IRC10:09
*** tomtom001 has joined #openstack-ansible10:09
*** armaan has quit IRC10:10
*** cjloader has joined #openstack-ansible10:14
*** cjloader has quit IRC10:19
*** pylot has quit IRC10:51
*** pylot has joined #openstack-ansible10:52
*** nicolasbock has joined #openstack-ansible10:55
*** tomtom001 has quit IRC11:08
*** tomtom001 has joined #openstack-ansible11:09
*** cjloader has joined #openstack-ansible11:24
*** nattanon has joined #openstack-ansible11:27
*** nattanon has quit IRC11:28
*** cjloader has quit IRC11:29
*** masuberu has quit IRC11:30
*** bhujay has quit IRC11:49
*** tomtom001 has quit IRC12:08
*** tomtom001 has joined #openstack-ansible12:14
*** bhujay has joined #openstack-ansible12:56
*** tomtom001 has quit IRC13:08
*** tomtom001 has joined #openstack-ansible13:09
*** mma has joined #openstack-ansible13:30
*** mma has quit IRC13:31
*** mma has joined #openstack-ansible13:31
*** mma has quit IRC13:41
*** mma has joined #openstack-ansible13:46
*** mma has quit IRC13:50
*** mma has joined #openstack-ansible13:56
*** mma has quit IRC14:00
*** tosky has joined #openstack-ansible14:04
*** mma has joined #openstack-ansible14:05
*** mma has quit IRC14:10
*** mma has joined #openstack-ansible14:15
*** mma has quit IRC14:19
*** mma has joined #openstack-ansible14:23
odyssey4mehwoarang somehow https://review.openstack.org/566315 is producing some funky facts, causing cinder to fail for the integrated build http://logs.openstack.org/70/557970/8/gate/openstack-ansible-deploy-aio_lxc-ubuntu-xenial/6bbba6e/logs/ara-report/result/47e99aaf-714c-478a-adaa-e432c29ffacc/14:25
*** mma has quit IRC14:33
*** mma has joined #openstack-ansible14:43
*** mma has quit IRC14:48
openstackgerritXiaojueGuan proposed openstack/openstack-ansible master: Trivial: update url to new url  https://review.openstack.org/56811014:48
*** mma has joined #openstack-ansible14:52
*** mma has quit IRC14:57
*** nicolasbock has quit IRC15:00
*** cjloader has joined #openstack-ansible15:34
*** radek__ has joined #openstack-ansible15:36
*** tomtom001 has quit IRC15:39
*** tomtom001 has joined #openstack-ansible15:45
*** mma has joined #openstack-ansible15:47
*** mma has quit IRC15:52
*** tacoboy has quit IRC16:06
*** mma has joined #openstack-ansible16:30
*** pcaruana has quit IRC16:31
*** mma has quit IRC16:34
*** EmilienM_PTO is now known as EmilienM16:51
*** mma has joined #openstack-ansible17:10
*** mma has quit IRC17:14
*** mma has joined #openstack-ansible17:36
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_glance master: Cleanup directory creation tasks  https://review.openstack.org/56813117:40
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_glance master: Cleanup directory creation tasks  https://review.openstack.org/56813117:42
*** bhujay has quit IRC17:44
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_hosts master: Update nspawn hosts  https://review.openstack.org/54940317:48
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_container_create master: Update role to gate using all supported distros  https://review.openstack.org/54715817:48
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_glance master: Simplify fact setting  https://review.openstack.org/56813317:54
*** tomtom001 has quit IRC17:57
*** tomtom001 has joined #openstack-ansible17:57
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_cinder master: Simplify fact setting  https://review.openstack.org/56813418:00
odyssey4mehwoarang cloudnull ^ I think that'll resolve the current breakage in the integrated build18:01
cloudnullodyssey4me is state still needed ?18:02
cloudnullhttps://review.openstack.org/#/c/568134/1/tasks/cinder_install.yml@5118:02
odyssey4mecloudnull it has to set a value for the key = value pair in the ini file, so yes it is - unless you know something I don't?18:03
odyssey4meoh - I see what you mean18:04
odyssey4melemme fix that18:04
odyssey4meheh, that explains the breakage too18:04
cloudnull:)18:04
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_cinder master: Fix and simplify fact setting  https://review.openstack.org/56813418:07
odyssey4methat should do it18:10
odyssey4mecloudnull seeing as you're around, I'd like another head thinking through something with me to see if I should go ahead18:10
cloudnullsure whats up ?18:12
odyssey4mefor some reason, meta deps don't execute properly when using include_role/tasks_from ... it's fine if the meta dep role is just a single task file (like apt_package_pinning), but not fine if the meta dep has multiple task files (like galera_client)18:12
odyssey4meso, I'm considering removing the meta dep roles from the openstack roles - this is to help the python build simplificaiton (where I want to use include_role/tasks_from)18:12
odyssey4metwo strategies for this could be - 1. execute those roles in the playbook; 2. execute the role from within the openstack role18:13
cloudnullyea ive seen something similar when i was trying to make the ssl modules work18:14
cloudnullhttps://review.openstack.org/#/c/566408/4/tasks/galera_post_install.yml18:14
cloudnulli took out the galera client role from meta and added as include role.18:14
odyssey4megiven these things (galera_client) are pre-requisites, we could just state the pre-requisite in the role and do the execution in the playbook... that might be cleaner18:14
cloudnullthat might be a good way about it18:16
cloudnullone of the things i was trying to solve the was the ssl flip flop18:16
cloudnullthe meta dep in the case of galera server was installing the client without ssl the first run and with it the next time18:17
odyssey4meoh, that's a bit odd18:17
cloudnullbut with include role i didnt have that issu e18:18
odyssey4meok, so you're also thinking that we should avoid including roles in roles where possible - and meta deps are the devil except for including libraries18:18
cloudnullim not against including roles in roles, but yes. im finally convinced that meta deps are the devil :)18:20
odyssey4meI think roles in roles are ok, but we need to be careful not to create spaghetti18:20
cloudnullagreed18:21
odyssey4metry to keep the number of layers low18:21
odyssey4meso we have the playbook -> role -> role, at most18:21
odyssey4meif we take it another row down it'll be hard to follow18:21
cloudnull++18:22
odyssey4meanother thing - different topic18:22
odyssey4meas it turns out, the only reason we're installing the keystone client here https://github.com/openstack/openstack-ansible-os_glance/blob/master/defaults/main.yml#L223-L22618:22
odyssey4meis because of https://github.com/openstack/openstack-ansible-os_glance/blob/master/tasks/glance_service_setup.yml18:23
odyssey4meI'm thinking that we should, instead, delegate those tasks to 'localhost' instead - and just include the client there18:23
odyssey4methen almost every one of those tasks can also be converted to use the shade modules... only the last one will stay, until we move to ansible 2.5 where there's a new module for that one18:24
*** radek__ has quit IRC18:24
cloudnullthat makes the assumption that localhost can talk to the openstack environment. I'd probably opt to putting that in the playbooks similar to how we setup mysql/rabbitmq18:25
cloudnullsomething like a common task18:25
odyssey4mewell, we could make the host to delegate to a var so that it can be delegated to localhost, or the utility container18:25
cloudnullthen all that code can be removed from the roles all together.18:25
odyssey4meand speaking of the rabbit/db tasks - we could move them back into the roles and use delegation from inside the role instead - which should help us remove a ton of group_vars18:26
cloudnulleither way18:27
odyssey4meI tried to trace back why we move them out in the first place, and couldn't find the reason - it seems to have just been done.18:27
*** tomtom001 has quit IRC18:27
cloudnulli think it was just a lot of boilerplate code that we were able to minimify by putting into common-tasks18:28
cloudnullthough i dont really remember either.18:28
*** tomtom001 has joined #openstack-ansible18:28
odyssey4meI'm not really seeing much difference at this stage - given the lines in the playbooks are pretty much what the lines in the role would be. It's kinda like the user/group additions for each service - same tasks, different values.18:29
odyssey4meAnother option, of course, is to move to a pattern of having the stuff in the role, but not in the main path - then execute it using include_role/tasks from.18:30
cloudnullyea.18:30
cloudnullthe include_role pattern could work here18:30
cloudnullsimilar to all the systemd things18:30
odyssey4meI'm kinda thinking about that for all the testing stuff - put the tempest plugins into the role, but not in the main path - that way all the testing related bits are with the related service.18:31
odyssey4meRight now things are spread all over the place.18:31
cloudnullyup.18:32
cloudnullI very much like the bootstrap role18:32
cloudnullwe could do the same with the rest of tests18:32
odyssey4menot sure I understand what you mean18:33
cloudnullconvert the various bash scripts and stand alone playbooks into roles18:34
odyssey4mewell, for testing specifically we might actually be able to leverage what devstack's using instead18:34
*** radeks_ has joined #openstack-ansible18:34
cloudnullah that'd be cool!18:35
odyssey4mechange our tempest role to just prep tempest for deployer to use - and take out all the extra bits for running it for our tests18:35
odyssey4methen for our tests try to just use something from upstream18:35
odyssey4meI vaguely remember seeing them converting a bunch of it into roles18:36
*** radeks has quit IRC18:37
odyssey4mebut yeah, I'd like to try to remove as much bash as possible18:37
cloudnullif those things are available it'd be great to use them18:37
odyssey4meI have it on my TODO to see if molecule could be useful for our role testing and reduce a bunch of our home grown nonsense18:38
cloudnulli know jrosser and rickbox are releasing things that might be useful for testing18:40
odyssey4meja, they started pushing stuff into the public eye yesterday - we could probably flip a few things from the ops repo to using that stuff given they were the original source for some of the mnaio/pxe deploy testing things18:41
cloudnull++18:42
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-openstack_hosts master: Revert "vars: redhat-7: Prefer the cloud repository over the EPEL one"  https://review.openstack.org/56813518:46
odyssey4mecloudnull ^ happy with that one? looks like that's the cause of the builds breaking18:46
odyssey4methe centos ones at least18:46
cloudnulllgtm18:51
*** tomtom001 has quit IRC18:54
*** tomtom001 has joined #openstack-ansible18:55
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-lxc_hosts stable/queens: Setup /dev/random and /dev/urandom device in cache prep (ubuntu/suse)  https://review.openstack.org/56813618:55
*** dxiri has joined #openstack-ansible18:59
openstackgerritMerged openstack/openstack-ansible-openstack_hosts master: Properly use "Rocky" in release filename  https://review.openstack.org/56704019:04
*** DanyC has joined #openstack-ansible19:28
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_hosts master: Update nspawn hosts  https://review.openstack.org/54940319:29
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-tests master: Implement clouds.yaml on test hosts  https://review.openstack.org/56813919:31
*** DanyC has quit IRC19:35
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Add python-keystoneclient to the ansible-runtime venv  https://review.openstack.org/56814119:38
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_glance master: Execute service setup against a delegated host using Ansible built-in modules  https://review.openstack.org/56814219:44
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-tests master: Implement clouds.yaml on test hosts  https://review.openstack.org/56813919:50
*** aludwar has quit IRC19:53
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_glance master: Execute service setup against a delegated host using Ansible built-in modules  https://review.openstack.org/56814219:55
openstackgerritMerged openstack/openstack-ansible-openstack_hosts master: Revert "vars: redhat-7: Prefer the cloud repository over the EPEL one"  https://review.openstack.org/56813519:59
*** tosky has quit IRC20:02
*** dxiri has quit IRC20:02
*** tosky has joined #openstack-ansible20:06
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_glance master: Execute service setup against a delegated host using Ansible built-in modules  https://review.openstack.org/56814220:07
*** aludwar has joined #openstack-ansible20:16
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Only implement openrc/clouds.yaml on a designated host  https://review.openstack.org/56814620:23
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_glance master: Execute service setup against a delegated host using Ansible built-in modules  https://review.openstack.org/56814220:24
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_glance master: Execute service setup against a delegated host using Ansible built-in modules  https://review.openstack.org/56814220:27
evrardjphey20:28
evrardjphow is the week-end for everyone?20:28
evrardjp(end of the week-end)20:28
odyssey4melol, pretty much the end - yes20:28
odyssey4mehad some sun, had some rain - all good :)20:29
evrardjpit was mother's day in Belgium20:29
evrardjpmothers day*20:29
evrardjpI am back now, so I am issuing releases20:30
evrardjpa little later than friday20:30
odyssey4mesure - no worries20:30
evrardjpit seems a few patches coming in, a lot worth reviewing :)20:30
evrardjpI will do that tomorrow20:30
odyssey4meyeah, in working on the python build simplification I found some issues with meta dependencies... as in they don't work when you use include_role/tasks_from20:31
*** vnogin has joined #openstack-ansible20:31
odyssey4meso if I have an include_role/tasks_from, and the role has meta deps which have more than one task file... the meta dep execution fails20:32
odyssey4mewell, if the meta dep has a main task file, which includes another one20:32
evrardjpoh yes I see20:33
evrardjptoo much recursion levels?20:33
evrardjpor somehting like that?20:33
odyssey4mewell, it can't find the file20:33
odyssey4meit seems the way that it loads the role is different20:33
openstackgerritKevin Carter (cloudnull) proposed openstack/ansible-role-systemd_networkd master: Updated systemd networkd role to fix hangs  https://review.openstack.org/56814820:33
odyssey4meso, personally, I think it's worth getting rid of meta-deps (except for library roles) and rather explicitly calling roles in playbooks or in roles with include_role20:34
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible stable/queens: Update all SHAs for 17.0.5  https://review.openstack.org/56814920:34
*** vnogin has quit IRC20:35
evrardjpYes I think it's worth removing the meta deps indeed20:36
evrardjpthe only meta we should do is for plugins20:36
odyssey4mewell, I'm tackling a bit of that and doing some host install cleanup in https://review.openstack.org/#/q/topic:cleanup-host-pip-installs+(status:open+OR+status:merged)20:37
evrardjpeverything should be independant and work on its own20:37
evrardjpif it needs something else setup before, then use the play for that20:37
evrardjpif it's something internal but DRY, then yes include role could do the trick20:37
evrardjpbut if possible avoid it20:37
evrardjpthat is a great thing to tackle odyssey4me !20:38
odyssey4meit looks like with ansible 2.5 we'll be able to ditch our keystone module I think20:38
cloudnullthat'd be lovely20:39
odyssey4meI'll have to refactor how the federation stuff is done, but I think that'll be easier now that the client works with all that.20:39
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_glance master: Execute service setup against a delegated host using Ansible built-in modules  https://review.openstack.org/56814220:45
evrardjpodyssey4me: not 2.4? I thought there was no diff with 2.5 fo r those modules20:51
odyssey4mehttp://docs.ansible.com/ansible/latest/modules/os_keystone_endpoint_module.html#os-keystone-endpoint-module is new in 2.5 apparently20:52
openstackgerritKevin Carter (cloudnull) proposed openstack/ansible-role-systemd_networkd master: Updated systemd networkd role to fix hangs  https://review.openstack.org/56814820:52
*** DanyC has joined #openstack-ansible20:54
odyssey4mealright, s y'all tomorrow20:58
*** DanyC has quit IRC21:00
odyssey4meevrardjp before you are tempted to go down a wormhole as waste your time trying to figure out why the integrated build is broken, the fix is https://review.openstack.org/56813421:00
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible stable/pike: Update all SHAs for 16.0.14  https://review.openstack.org/56815321:01
evrardjphaha21:01
evrardjpthanks I guess :)21:01
*** mma has quit IRC21:12
*** mma has joined #openstack-ansible21:12
*** mma has quit IRC21:14
openstackgerritMerged openstack/ansible-role-systemd_networkd master: Updated systemd networkd role to fix hangs  https://review.openstack.org/56814821:14
*** vnogin has joined #openstack-ansible21:17
*** mma has joined #openstack-ansible21:18
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible stable/ocata: Update all SHAs for 15.1.22  https://review.openstack.org/56815521:22
*** mma has quit IRC21:31
evrardjpjmccrory: where are we in the bump to 2.5?21:33
evrardjpdo you have an idea? I haven't looked that for a while21:33
evrardjpbecause we could potentially bring ansible 2.5 and clean this21:34
evrardjpI mean clean the ansible endpoint management21:34
*** mma has joined #openstack-ansible21:35
*** vnogin has quit IRC21:43
*** mma has quit IRC21:53
openstackgerritMerged openstack/openstack-ansible-nspawn_hosts master: Update nspawn hosts  https://review.openstack.org/54940321:59
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-os_glance master: Execute service setup against a delegated host using Ansible built-in modules  https://review.openstack.org/56814221:59
*** jonher has quit IRC22:20
*** radeks_ has quit IRC22:23
*** cjloader has quit IRC22:30
*** cjloader has joined #openstack-ansible22:30
*** cjloader has quit IRC22:35
*** mma has joined #openstack-ansible22:37
*** jonher has joined #openstack-ansible22:54
*** pmannidi has joined #openstack-ansible23:11
*** tosky has quit IRC23:22
*** vnogin has joined #openstack-ansible23:43

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