Friday, 2016-02-12

*** jthorne has quit IRC00:05
*** jamielennox is now known as jamielennox|away00:10
*** woodard_ has joined #openstack-ansible00:10
*** woodard has quit IRC00:15
*** tomoe_ has quit IRC00:15
*** tomoe_ has joined #openstack-ansible00:18
*** baker has joined #openstack-ansible00:18
logan-hey evrardjp, I am seeing some weird behavior with >2 keepalived+haproxy hosts. when i fail over the master, both backups become master. Do we maybe need to use something like play_hosts.index to create unique priority weightings for each keepalived instance. right now it uses a high priority for master, and identical priority for all backups00:20
*** johnmilton has joined #openstack-ansible00:31
*** pegmanm has joined #openstack-ansible00:31
*** baker has quit IRC00:32
*** pegmanm__ has quit IRC00:34
*** weezS has quit IRC00:42
*** baker has joined #openstack-ansible00:47
*** shanec has quit IRC00:51
*** v1k0d3n has quit IRC00:52
*** arthus has joined #openstack-ansible00:52
*** v1k0d3n has joined #openstack-ansible00:53
*** baker has quit IRC00:54
*** v1k0d3n has quit IRC00:56
*** v1k0d3n has joined #openstack-ansible00:57
*** baker has joined #openstack-ansible00:59
*** johnmilton has quit IRC01:01
*** eil397 has quit IRC01:01
*** v1k0d3n has quit IRC01:09
*** johnmilton has joined #openstack-ansible01:14
*** dolpher has quit IRC01:17
*** tomoe_ has quit IRC01:19
*** dolpher has joined #openstack-ansible01:23
*** baker has quit IRC01:33
*** baker has joined #openstack-ansible01:34
*** pegmanm_ has joined #openstack-ansible01:34
*** jamielennox|away is now known as jamielennox01:34
*** pegmanm has quit IRC01:36
*** arthus has quit IRC01:41
*** baker has quit IRC01:45
*** sdake_ is now known as sdake01:47
*** baker has joined #openstack-ansible01:50
*** wtcross has joined #openstack-ansible01:53
*** baker has quit IRC01:53
*** wtcross has quit IRC01:58
*** daneyon has joined #openstack-ansible01:59
*** daneyon_ has quit IRC02:02
*** v1k0d3n has joined #openstack-ansible02:03
*** tomoe_ has joined #openstack-ansible02:07
*** tomoe_ has quit IRC02:08
*** tomoe_ has joined #openstack-ansible02:08
*** baker has joined #openstack-ansible02:19
*** izaakk has quit IRC02:23
*** arthus has joined #openstack-ansible02:26
*** daneyon has quit IRC02:29
*** ggillies has joined #openstack-ansible02:29
*** woodard has joined #openstack-ansible02:30
*** woodard_ has quit IRC02:30
*** daneyon has joined #openstack-ansible02:30
*** Mudpuppy has joined #openstack-ansible02:32
*** Bjoern has joined #openstack-ansible02:34
*** pegmanm has joined #openstack-ansible02:35
*** daneyon has quit IRC02:35
*** pegmanm_ has quit IRC02:37
*** Bjoern has quit IRC02:39
*** sdake has quit IRC02:40
*** sdake has joined #openstack-ansible02:44
*** shanec has joined #openstack-ansible02:51
*** pegmanm_ has joined #openstack-ansible03:35
*** sdake has quit IRC03:37
*** pegmanm has quit IRC03:38
*** arthus has quit IRC03:40
*** sdake has joined #openstack-ansible03:44
*** galstrom_zzz is now known as galstrom03:51
*** sdake has quit IRC04:03
*** Mudpuppy has quit IRC04:08
*** wtcross has joined #openstack-ansible04:09
*** wtcross has quit IRC04:13
*** arthus has joined #openstack-ansible04:26
*** johnmilton has quit IRC04:26
*** pegmanm has joined #openstack-ansible04:36
*** pegmanm_ has quit IRC04:39
*** Mudpuppy has joined #openstack-ansible04:44
*** Mudpuppy has quit IRC04:48
*** charz_ has quit IRC05:09
*** spotz_zzz has quit IRC05:10
*** mgagne has quit IRC05:10
*** arthus has quit IRC05:10
*** shanec has quit IRC05:11
*** hughsaunders has quit IRC05:11
*** mcarden has quit IRC05:11
*** mcarden has joined #openstack-ansible05:12
*** charz has joined #openstack-ansible05:12
*** mgagne has joined #openstack-ansible05:12
*** mgagne is now known as Guest368705:12
*** arthus has joined #openstack-ansible05:14
*** shanec has joined #openstack-ansible05:15
*** spotz_zzz has joined #openstack-ansible05:16
*** hughsaunders has joined #openstack-ansible05:17
*** baker has quit IRC05:17
*** shanec has quit IRC05:19
*** baker has joined #openstack-ansible05:19
*** shanec has joined #openstack-ansible05:24
*** shanec has quit IRC05:29
*** woodard has quit IRC05:30
*** shanec has joined #openstack-ansible05:33
*** pegmanm_ has joined #openstack-ansible05:37
*** galstrom is now known as galstrom_zzz05:37
*** shanec has quit IRC05:38
*** pegmanm has quit IRC05:39
*** shanec has joined #openstack-ansible05:42
*** shanec has quit IRC05:47
*** shanec has joined #openstack-ansible05:52
*** mattoliverau has quit IRC05:55
*** shanec has quit IRC05:56
*** shanec has joined #openstack-ansible06:01
*** baker has quit IRC06:02
*** shanec has quit IRC06:05
*** shanec has joined #openstack-ansible06:10
*** shanec has quit IRC06:14
*** shanec has joined #openstack-ansible06:19
*** shanec has quit IRC06:23
*** unlaudable has joined #openstack-ansible06:25
*** shanec has joined #openstack-ansible06:28
*** woodard has joined #openstack-ansible06:31
*** shanec has quit IRC06:33
*** woodard has quit IRC06:37
*** shanec has joined #openstack-ansible06:38
*** pegmanm has joined #openstack-ansible06:39
*** arthus has quit IRC06:40
*** arthus has joined #openstack-ansible06:41
*** pegmanm_ has quit IRC06:41
*** shanec has quit IRC06:42
*** shanec has joined #openstack-ansible06:47
*** shanec has quit IRC06:51
*** shanec has joined #openstack-ansible06:56
*** Andrew__ has joined #openstack-ansible06:58
*** shanec has quit IRC07:00
*** matt6434 has joined #openstack-ansible07:02
*** matt6434 is now known as mattoliverau07:04
*** shanec has joined #openstack-ansible07:05
*** shanec has quit IRC07:10
*** rgogunskiy has joined #openstack-ansible07:14
*** shanec has joined #openstack-ansible07:14
*** shanec has quit IRC07:19
*** Andrew__ has quit IRC07:19
*** shanec has joined #openstack-ansible07:24
*** shanec has quit IRC07:28
*** targon has joined #openstack-ansible07:31
*** shanec has joined #openstack-ansible07:33
*** woodard has joined #openstack-ansible07:33
*** shanec has quit IRC07:37
*** woodard has quit IRC07:37
*** pegmanm_ has joined #openstack-ansible07:40
*** shanec has joined #openstack-ansible07:42
*** pegmanm has quit IRC07:43
*** pegmanm has joined #openstack-ansible07:45
*** shanec has quit IRC07:46
*** pegmanm_ has quit IRC07:47
evrardjplogan-: yeah07:49
evrardjpwhat's best is to have multiple different priorities07:49
evrardjplogan-: you mean the VRRP priority right?07:51
*** shanec has joined #openstack-ansible07:51
evrardjptechnically it shouldn't pose a problem, because VRRP protocol should elect the new master based on IP adresses in case of priority tie07:56
*** shanec has quit IRC07:56
evrardjpbut it's maybe better for readability to define the priority per host07:57
*** shanec has joined #openstack-ansible08:00
*** shanec has quit IRC08:05
*** wtcross has joined #openstack-ansible08:09
*** shanec has joined #openstack-ansible08:09
*** javeriak has joined #openstack-ansible08:10
*** admin0 has joined #openstack-ansible08:13
*** wtcross has quit IRC08:13
*** shanec has quit IRC08:14
*** admin0 has quit IRC08:16
*** shanec has joined #openstack-ansible08:19
*** shanec has quit IRC08:23
*** mikelk has joined #openstack-ansible08:28
*** shanec has joined #openstack-ansible08:28
*** admin0 has joined #openstack-ansible08:29
*** mattronix_ has quit IRC08:29
*** mattronix has joined #openstack-ansible08:30
*** shanec has quit IRC08:33
openstackgerritRyan Moore proposed openstack/openstack-ansible: Style - Not in YAML dictionary format  https://review.openstack.org/27914708:34
*** woodard has joined #openstack-ansible08:34
*** rgogunskiy has quit IRC08:36
*** rgogunskiy has joined #openstack-ansible08:37
*** shanec has joined #openstack-ansible08:37
*** woodard has quit IRC08:39
*** arthus has quit IRC08:39
*** shanec has quit IRC08:42
*** arthus has joined #openstack-ansible08:45
*** pegmanm_ has joined #openstack-ansible08:46
*** shanec has joined #openstack-ansible08:46
hughsaundersodyssey4me: morning! in a role reversal heres a review link: https://review.openstack.org/#/c/279072/308:47
*** pegmanm has quit IRC08:48
hughsaundersor anyone else that feels like kicking that in, mattt?08:48
*** shanec has quit IRC08:51
*** gparaskevas has joined #openstack-ansible08:54
*** shanec has joined #openstack-ansible08:55
*** shanec has quit IRC09:00
*** shanec has joined #openstack-ansible09:05
*** shanec has quit IRC09:09
*** woopstar has joined #openstack-ansible09:09
woopstarDo you want pull requests directly on Github?09:10
evrardjphello woopstar09:11
evrardjpthis isn't really the usual way we do it09:11
evrardjpso it may take a while before someone realizes it09:11
evrardjp:)09:11
woopstarOh okay. I'd just wanted to contribute a bit. Should it go as an issue on Launchpad then?09:11
evrardjpYup09:12
evrardjpthe process is described here09:12
evrardjphttp://docs.openstack.org/developer/openstack-ansible/developer-docs/contribute.html09:12
woopstarFantastic. Thank you very much. I just noticed a small thing with the playbook for Nova. If you want Live Migration using KVM etc, and you share the /var/lib/nova/instances directory using NFS, you should make sure the gid og uid of the nova user is equal on the compute nodes. So I was thinking you should predefine the gid and uid in the playbook t09:14
woopstaro overcome this.09:14
*** shanec has joined #openstack-ansible09:14
*** javeriak_ has joined #openstack-ansible09:15
evrardjpI see09:15
evrardjpit makes sense09:15
evrardjpdid you find an issues with different gid/uid? or should we make sure we are ensuring this?09:16
*** neilus1 has joined #openstack-ansible09:16
*** hlkv6 has joined #openstack-ansible09:16
hlkv6hello09:16
evrardjp(first is a bug, another is improvement :p)09:16
*** javeriak has quit IRC09:16
woopstarheh yeah. :)09:16
woopstarWell, NFS has issues with different gid/uid due to its way of work. So it would be a bug and improvement09:16
evrardjpthe main issue would be to select the uid/gid globally :p09:17
evrardjpwhat I mean is: forcing ok, but for which value :)09:17
woopstaryup... I was thinking about how to do that. You could predefine it as a global variable, that you can alter in the configuration phase?09:17
evrardjpmorning hlkv609:17
*** neilus has quit IRC09:17
evrardjpwoopstar: one way I'd see that is to have this task conditional09:18
evrardjpif the value is set, then define the uid/gid09:18
evrardjpbut I'll check at the playbooks before saying anything else :p09:18
woopstarYeah, that would work perfect. And then add a note about it in the doc's under configuration ?09:18
*** shanec has quit IRC09:19
evrardjpyup that would be wise !09:19
woopstarSaying something about if you planning to run live migration and sharing the instance folder, you should make sure to enforce the same uid/gid for the nova user on all compute notes setting "variable_x" ?09:19
evrardjpI guess09:20
evrardjpMaybe live migration would be worth a topic on its own09:20
woopstarOh..09:21
evrardjplet's see what odyssey4me will think about it :)09:21
woopstarBut it's a.... touchy... topic.09:21
woopstarsome likes it, some dont09:21
evrardjptrue09:21
evrardjpbut some deployers want and some others don't, so we should maybe document it for those who want09:22
woopstarI found this article rather useful about the topic: https://www.mirantis.com/blog/tutorial-openstack-live-migration-with-kvm-hypervisor-and-nfs-shared-storage/09:22
evrardjpwoopstar: would the uid/gid be the nova user?09:22
woopstaryes, it should only be for the nova user yes09:22
evrardjpok we already have this09:22
evrardjpexcept we are using names instead of gid09:23
evrardjplet me show you the line09:23
*** shanec has joined #openstack-ansible09:23
evrardjphttps://github.com/openstack/openstack-ansible/blob/master/playbooks/roles/os_nova/tasks/nova_pre_install.yml#L37-L6809:24
woopstarYes thats it . That was what I was thinking about adding a pull request for09:25
evrardjpok09:25
woopstarYou should set the UID at that part09:25
woopstarand the GID at this part: https://github.com/openstack/openstack-ansible/blob/master/playbooks/roles/os_nova/tasks/nova_pre_install.yml#L16-L2209:25
woopstaror  conditionally set it, so if not set in some global config, then dont enfore it09:26
woopstarenforce*09:26
*** shanec has quit IRC09:28
evrardjpthe ansible omit filter would be wise09:28
evrardjpcould you introduce the feature request in launchpad?09:29
evrardjpI can walk you through the process of contributing if you'd like09:29
openstackgerritDarren Birkett proposed openstack/openstack-ansible: only sync the necessary directories in repo-mirror-sync  https://review.openstack.org/27834309:30
openstackgerritDarren Birkett proposed openstack/openstack-ansible: [WIP] [DO NOT MERGE] testing review 278343  https://review.openstack.org/27898109:30
woopstarWould I just add it as a bug?09:30
stevellein launchpad, yes a bug09:31
woopstarOk. Let me fill in the information about it including your comments about making it conditional09:32
*** shanec has joined #openstack-ansible09:32
stevelleevrardjp: user module allows uid to be set optionally. I'm thinking we split the current task into 2. first one executes on the first node and registers the user id then the next task runs on all except the first node to apply that as uid param.09:35
*** woodard has joined #openstack-ansible09:35
*** tomoe_ has quit IRC09:36
evrardjpstevelle: why not letting the user defining its own optionnally directly?09:36
mattthughsaunders: i can have a look if it's still needing reviewing09:36
hughsaundersyea please mattt09:36
woopstarstevelle: That would potentially breake things, if the uid is not registered on the first node (making it the uid to use), but is used on node 209:36
hughsaunderswill help with OSA and downstream kilo gates09:36
stevelleevrardjp: that could cause conflicts if you specify09:36
stevellethinking on_metal it would be more likely09:36
*** shanec has quit IRC09:37
evrardjpas both could trigger conflict, we should maybe mix the both approaches, this way the deployer can chose09:39
stevelleeither way, we will risk a conflict by trying to come up with sync'd ids09:39
*** woodard has quit IRC09:39
evrardjpand take the risk himself09:40
evrardjp:p09:40
stevelleso yeah, try to do it automatically if no manual id is given09:40
woopstarHere we go: https://bugs.launchpad.net/openstack-ansible/+bug/154488909:41
openstackLaunchpad bug 1544889 in openstack-ansible "Conditionally set UID/GID for Nova user" [Undecided,New]09:41
*** neilus1 has quit IRC09:41
*** shanec has joined #openstack-ansible09:41
woopstarYou could add your comments too. They are mostly relevant09:42
evrardjpwill do09:44
*** shanec has quit IRC09:46
openstackgerritMatt Thompson proposed openstack/openstack-ansible: Remove MySQL-python from Aodh pip requirements  https://review.openstack.org/27733909:46
*** pegmanm has joined #openstack-ansible09:46
*** pegmanm_ has quit IRC09:49
evrardjpcloudnull: btw I found my "ansible 2" issue for the haproxy role. It's not really an ansible2 issue, it's more an evrardjp issue ;)09:49
*** shanec has joined #openstack-ansible09:51
evrardjpa group name missing on my system made the text generated in the template a jinja comment -> it worked fine in ansible 1.9 but not in 2.0 because I guess something with the way to use jinja internally changed09:51
mattthow do you see dependent changes in the new gerrit interface?09:51
evrardjpthe json generated was not usable anymore by ansible, so in fact, everything works fine09:51
evrardjpon the right?09:52
evrardjpdon't know I'm not used to this new interface09:52
matttit's not quite as explicit as the old view :(09:52
evrardjpand it's not always shown IIRC09:53
evrardjp><09:53
woopstarOh btw. Is there any reason that the Object Storage is not part of the host overview at http://docs.openstack.org/developer/openstack-ansible/install-guide/overview-hostlayout.html ?09:54
*** shanec has quit IRC09:55
stevellewoopstar: I am guessing that is an oversight from before we had a swift role09:56
matttmancdaz: do you feel strongly against https://review.openstack.org/#/c/276601/?  if so, i'll remove my -2 so it doesn't merge09:56
evrardjpwoopstar: these pngs need a rework :)09:57
woopstarMaybe we should update it, as new persons trying to use the ansible system, might design their setup from the host overview?09:57
*** sdake has joined #openstack-ansible09:57
woopstarpotentially then missing the object storage server ?09:57
stevellewoopstar: if you want to file another bug we can see about getting that fixed too09:58
*** javeriak has joined #openstack-ansible09:58
openstackgerritMerged openstack/openstack-ansible-plugins: Add MultiStrOps support to config_template  https://review.openstack.org/27821409:58
evrardjpwoopstar: if you're ok to draw a new svg, it would be great too :D09:58
mancdazmattt no was more asking the question09:59
matttmancdaz: i've removed -2 while we solicit more feedback09:59
mancdazit's actually following the process that I was advocating for sha bumps in rpc releases, so I should be good with it.09:59
matttbecause if that verfies it will merge09:59
*** neilus has joined #openstack-ansible09:59
woopstarfiling bugs is what I'm good at. Let me do that . I'll look into maybe drawing a new svg. I dont see anything else missing than the Object Storage, unless you want a separate server for the rpc ?10:00
*** Bofu2U has quit IRC10:00
matttmancdaz: yeah i think it's a sensible change assuming we're bumping patch release only10:00
mancdazthe fact that it's a patch release makes me feel better about it10:00
*** sdake_ has joined #openstack-ansible10:00
* mancdaz nods10:00
*** shanec has joined #openstack-ansible10:00
matttwoopstar: if you can start with a bug that'd be excellent :)10:00
matttbecause we don't want it falling through the cracks10:00
*** javeriak_ has quit IRC10:00
*** jiteka has quit IRC10:01
stevelle2am, pumpkin hour.10:01
*** jiteka has joined #openstack-ansible10:01
stevelleAnd I'll see some of you next week.10:01
matttstevelle: woot!  see you next week, have a good trip over10:02
mancdazsafe journey stevelle o/10:02
*** jiteka has left #openstack-ansible10:02
*** sdake has quit IRC10:03
evrardjpstevelle: have a nice week end10:04
*** shanec has quit IRC10:04
woopstarBug added https://bugs.launchpad.net/openstack-ansible/+bug/154489810:07
openstackLaunchpad bug 1544898 in openstack-ansible "Host layout is missing the Object Storage" [Undecided,New]10:07
*** shanec has joined #openstack-ansible10:09
*** jiteka has joined #openstack-ansible10:12
openstackgerritHugh Saunders proposed openstack/openstack-ansible-repo_server: Disable slave repo servers while syncing  https://review.openstack.org/27945210:13
matttandymccr: thoughts on https://review.openstack.org/#/c/278934/ ?10:13
matttevrardjp: you coming next week?10:13
*** shanec has quit IRC10:14
evrardjpmattt: nope I can't, sorry :/10:14
evrardjpI'll remotely attend the openstack-ansible mid-cycle10:14
openstackgerritMatt Thompson proposed openstack/openstack-ansible: No role for mounting the drives in swift object  https://review.openstack.org/27893410:14
evrardjpthat's the best I can do10:14
matttevrardjp: bah, that's a shame :(10:14
openstackgerritHugh Saunders proposed openstack/openstack-ansible-repo_server: Disable slave repo servers while syncing  https://review.openstack.org/27945210:14
evrardjpI'll live don't worry :p10:16
*** shanec has joined #openstack-ansible10:18
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible: Resolve ansible-lint ANSIBLE0008  https://review.openstack.org/27905910:19
odyssey4memattt I adjusted the commit message on https://review.openstack.org/279059 to better reflect the updated state of things - happy with that?10:20
matttodyssey4me: yep!  reviewed10:21
*** shanec has quit IRC10:23
*** javeriak has quit IRC10:23
openstackgerritHugh Saunders proposed openstack/openstack-ansible-repo_server: Disable slave repo servers while syncing  https://review.openstack.org/27945210:23
*** sdake_ is now known as sdake10:25
*** shanec has joined #openstack-ansible10:27
*** openstackgerrit has quit IRC10:32
*** shanec has quit IRC10:32
*** openstackgerrit has joined #openstack-ansible10:32
*** spotz_zzz is now known as spotz10:33
odyssey4mehughsaunders ^ that looks awesome :)10:34
odyssey4melots of jibber jabber, but yeah - you noted that it's not all that much change10:35
*** woodard has joined #openstack-ansible10:36
*** shanec has joined #openstack-ansible10:37
*** woodard has quit IRC10:40
*** shanec has quit IRC10:41
hughsaundersodyssey4me: is there any gating on the repo sync role?10:44
odyssey4mehughsaunders yep, there should be10:45
hughsaundershaha jenkins just commented10:45
*** shanec has joined #openstack-ansible10:46
openstackgerritMerged openstack/openstack-ansible: Add cap for ansible-lint  https://review.openstack.org/27907210:46
*** pegmanm_ has joined #openstack-ansible10:47
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-galera_server: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27799510:47
*** pegmanm has quit IRC10:49
odyssey4memattt ^ that's looking quite a lot more succint10:50
odyssey4me*succinct10:50
*** shanec has quit IRC10:50
*** admin0 has quit IRC10:52
matttodyssey4me: i actually tested that but accidentally added it under [tox], which didn't work10:53
mancdazodyssey4me I did as you suggested: https://review.openstack.org/#/c/278981/10:53
matttodyssey4me: so moved on to suggestion to do it the way you did :P10:53
odyssey4memancdaz yeah, I saw that - nice!10:54
matttbut yeah that's much cleaner, nice palendae !10:54
odyssey4meyeah, thanks palendae for the suggestion10:54
*** shanec has joined #openstack-ansible10:55
odyssey4memancdaz if hughsaunders says that your patch is good, then you have a go on it :)10:56
*** shanec has quit IRC10:59
*** woopstar has quit IRC11:03
*** shanec has joined #openstack-ansible11:04
*** arthus has quit IRC11:07
*** shanec has quit IRC11:09
odyssey4memattt hughsaunders how do we feel about https://review.openstack.org/277995 ?11:10
*** shanec has joined #openstack-ansible11:13
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible: Update RabbitMQ to v3.5.7-1  https://review.openstack.org/27660111:15
*** shanec has quit IRC11:18
*** admin0 has joined #openstack-ansible11:20
*** shanec has joined #openstack-ansible11:22
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-galera_client: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27799311:23
*** javeriak has joined #openstack-ansible11:23
hughsaundersmancdaz: https://github.com/ansible/ansible/issues/1356311:24
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-apt_package_pinning: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27799211:27
*** shanec has quit IRC11:27
openstackgerritMatt Thompson proposed openstack/openstack-ansible: Remove venv activation code  https://review.openstack.org/27527911:30
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-lxc_container_create: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27799711:30
matttodyssey4me: no glaring issues i'm aware of, afk for 5 then will come back and have a closer look and get it voted on11:31
odyssey4methanks mattt11:31
*** shanec has joined #openstack-ansible11:32
*** rcarrillocruz has joined #openstack-ansible11:33
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-lxc_hosts: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27799811:36
*** shanec has quit IRC11:36
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-memcached_server: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27799911:38
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-openstack_hosts: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27800211:39
*** shanec has joined #openstack-ansible11:41
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-pip_install: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27800311:41
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-pip_lock_down: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27800411:43
*** shanec has quit IRC11:45
*** shanec has joined #openstack-ansible11:50
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-plugins: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27949411:52
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-plugins: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27949411:52
*** shanec has quit IRC11:54
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-py_from_git: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27800611:56
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27801511:57
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-repo_server: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27801611:59
*** shanec has joined #openstack-ansible11:59
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rsyslog_client: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27801712:00
hughsaundersodyssey4me: regarding https://review.openstack.org/#/c/277995/ could you still use ansible galaxy but use a different roles file so you can specify the plugins path on the command line?12:01
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rsyslog_server: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27801812:01
odyssey4mehughsaunders yes, that is possible, but also more messy12:02
odyssey4mea few of us had a chat yesterday about it and figured that a git clone was just that little bit more clean12:02
*** shanec has quit IRC12:04
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-security: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27801912:05
*** weshay has joined #openstack-ansible12:06
*** shanec has joined #openstack-ansible12:08
*** shanec has quit IRC12:13
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-pip_install: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27800312:16
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-pip_lock_down: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27800412:17
*** shanec has joined #openstack-ansible12:18
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-openstack_hosts: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27800212:18
*** shanec has quit IRC12:22
*** Bofu2U has joined #openstack-ansible12:23
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-security: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27801912:23
*** shanec has joined #openstack-ansible12:27
openstackgerritMerged openstack/openstack-ansible-galera_server: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27799512:27
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-galera_server: Fail early if missing root password  https://review.openstack.org/27686712:30
*** shanec has quit IRC12:31
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-galera_server: Added major version upgrade support  https://review.openstack.org/27142312:34
*** shanec has joined #openstack-ansible12:36
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-galera_server: Added major version upgrade support  https://review.openstack.org/27142312:36
*** woodard has joined #openstack-ansible12:37
*** shanec has quit IRC12:41
*** woodard has quit IRC12:42
*** shanec has joined #openstack-ansible12:45
odyssey4mehughsaunders / mattt - would you mind going through the rest of those reviews now: https://review.openstack.org/#/q/status:open+topic:tox-linters12:47
*** jaypipes is now known as leakypipes12:50
*** shanec has quit IRC12:50
*** johnmilton has joined #openstack-ansible12:53
*** shanec has joined #openstack-ansible12:54
*** shanec has quit IRC12:59
matttodyssey4me: yeah, i'll look asap13:00
matttodyssey4me: question about the multi distro support roles13:00
*** spotz is now known as spotz_zzz13:02
*** shanec has joined #openstack-ansible13:04
openstackgerritMerged openstack/openstack-ansible: Resolve ansible-lint ANSIBLE0008  https://review.openstack.org/27905913:08
*** shanec has quit IRC13:08
*** shanec has joined #openstack-ansible13:13
*** araji has joined #openstack-ansible13:13
*** shanec has quit IRC13:17
mhaydenhappy friday13:17
mattthowdy mhayden13:18
mhaydenOHAI2U MATTT13:18
matttodyssey4me: the pip roles all work pass on centos 7 as they're not doing anything distro-specific, do i still need to create emtpy vars files etc. or do we just leave them as is?13:18
odyssey4memattt I thought that's why you chose those roles ;)13:20
mhaydenjust role with it, guys13:20
odyssey4meif there are no distro specific actions, then there's no need to change anything13:20
*** shanec has joined #openstack-ansible13:22
cloudnullmorning13:23
*** woodard has joined #openstack-ansible13:24
admin0morning13:24
*** woodard has quit IRC13:25
*** woodard has joined #openstack-ansible13:25
cloudnullo/ admin013:26
*** shanec has quit IRC13:27
*** neilus1 has joined #openstack-ansible13:27
*** funeutron has joined #openstack-ansible13:28
*** neilus has quit IRC13:30
*** shanec has joined #openstack-ansible13:31
*** javeriak has quit IRC13:31
openstackgerritMerged openstack/openstack-ansible: Update RabbitMQ to v3.5.7-1  https://review.openstack.org/27660113:32
*** shanec has quit IRC13:36
*** shanec has joined #openstack-ansible13:40
*** retreved has joined #openstack-ansible13:42
matttodyssey4me: figured i may as well start with the ones that are likely to require little work!13:44
mattti assumed they'd need _some_ work tho :P13:44
openstackgerritMajor Hayden proposed openstack/openstack-ansible: Docs: Horizon ssl config for Kilo  https://review.openstack.org/27851213:44
*** shanec has quit IRC13:45
*** Bofu2U has quit IRC13:46
*** retreved has quit IRC13:47
*** retreved has joined #openstack-ansible13:47
*** shanec has joined #openstack-ansible13:50
*** shanec has quit IRC13:54
*** galstrom_zzz is now known as galstrom13:56
odyssey4mecores, we need reviews of https://review.openstack.org/#/q/status:open+topic:tox-linters to allow patches to independent roles to move forward - please review asap13:57
*** jiteka has quit IRC13:58
*** shanec has joined #openstack-ansible13:59
*** jiteka has joined #openstack-ansible14:02
*** shanec has quit IRC14:03
*** neilus1 has quit IRC14:03
*** rgogunskiy has quit IRC14:04
*** Bofu2U has joined #openstack-ansible14:07
*** shanec has joined #openstack-ansible14:08
*** sshen has quit IRC14:08
*** shanec has quit IRC14:12
matttodyssey4me: what in those reviews actually unblocks teh gate?14:13
odyssey4memattt the linters tests aren't able to execute properly because they expect to be in different places and each refer to files expecting to be in a relative path14:15
odyssey4meso the tox config refactor's focus was to ensure that a path was never in doubt14:15
matttodyssey4me: how does that stop working?14:15
matttor did you just flip some new jobs or something?14:15
odyssey4memattt http://logs.openstack.org/02/274902/1/gate/gate-openstack-ansible-repo_server-linters/5460530/console.html#_2016-02-12_13_46_21_57314:15
odyssey4meyes, went from only doing pep8 tests to now doing all lint tests14:16
matttok cool14:16
matttalso hadn't realized that you bulk added the centos functional test to all roles14:17
*** shanec has joined #openstack-ansible14:17
openstackgerritMerged openstack/openstack-ansible-pip_lock_down: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27800414:20
openstackgerritMerged openstack/openstack-ansible-py_from_git: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27800614:20
odyssey4memattt yeah, initially I planned to just do it as an on-demand experimental thing, but that turned out to be harder than simply adding it as a non-voting job14:20
openstackgerritMerged openstack/openstack-ansible-pip_install: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27800314:20
*** shanec has quit IRC14:22
openstackgerritMerged openstack/openstack-ansible-rsyslog_client: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27801714:22
openstackgerritMerged openstack/openstack-ansible-rsyslog_server: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27801814:22
openstackgerritMerged openstack/openstack-ansible-security: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27801914:23
*** neilus has joined #openstack-ansible14:23
*** dmsimard has quit IRC14:25
*** shanec has joined #openstack-ansible14:26
openstackgerritMerged openstack/openstack-ansible-apt_package_pinning: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27799214:29
openstackgerritMerged openstack/openstack-ansible-galera_client: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27799314:29
openstackgerritMerged openstack/openstack-ansible-lxc_container_create: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27799714:29
openstackgerritMerged openstack/openstack-ansible-lxc_hosts: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27799814:29
openstackgerritMerged openstack/openstack-ansible-memcached_server: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27799914:29
openstackgerritMerged openstack/openstack-ansible-plugins: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27949414:29
openstackgerritMerged openstack/openstack-ansible-rabbitmq_server: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27801514:29
openstackgerritMerged openstack/openstack-ansible-repo_server: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27801614:30
*** shanec has quit IRC14:31
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-lxc_hosts: Remove dependency on python2_lxc git source  https://review.openstack.org/27676414:31
automagicallySo great to see the linter change merging everywhere14:31
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-repo_server: Remove unused python_packages and reports directories  https://review.openstack.org/27490214:31
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-lxc_hosts: Set container apt sources to use a configured list of components  https://review.openstack.org/27803314:32
odyssey4meautomagically yeah, many thanks to everyone who reviewed and advised14:33
*** shanec has joined #openstack-ansible14:35
*** sshen has joined #openstack-ansible14:37
*** shanec has quit IRC14:40
*** cfarquhar has quit IRC14:43
*** shanec has joined #openstack-ansible14:45
*** cfarquhar has joined #openstack-ansible14:45
*** cfarquhar has quit IRC14:45
*** cfarquhar has joined #openstack-ansible14:45
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-repo_server: Disable slave repo servers while syncing  https://review.openstack.org/27945214:47
*** Bjoern has joined #openstack-ansible14:48
*** shanec has quit IRC14:49
*** ametts has joined #openstack-ansible14:49
*** mgoddard_ has joined #openstack-ansible14:51
*** admin0 has quit IRC14:51
*** admin0 has joined #openstack-ansible14:52
openstackgerritMerged openstack/openstack-ansible: Resolve ansible-lint ANSIBLE0008  https://review.openstack.org/27903814:53
*** shanec has joined #openstack-ansible14:54
*** galstrom is now known as galstrom_zzz14:54
*** pegmanm_ has quit IRC14:54
*** mgoddard has quit IRC14:54
openstackgerritMerged openstack/openstack-ansible-lxc_hosts: Remove dependency on python2_lxc git source  https://review.openstack.org/27676414:56
*** shanec has quit IRC14:59
*** wtcross has joined #openstack-ansible15:00
*** automagically has left #openstack-ansible15:01
*** automagically has joined #openstack-ansible15:01
*** shanec has joined #openstack-ansible15:03
*** unlaudable has quit IRC15:04
*** pegmanm_ has joined #openstack-ansible15:06
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible: Remove dependency on python2_lxc git source  https://review.openstack.org/27676615:06
openstackgerritMerged openstack/openstack-ansible-repo_server: Remove unused python_packages and reports directories  https://review.openstack.org/27490215:07
*** shanec has quit IRC15:08
*** woodard has quit IRC15:09
openstackgerritAndy McCrae proposed openstack/openstack-ansible: Expose and set a default fallocate_reserve value  https://review.openstack.org/27958915:11
*** funeutron has quit IRC15:12
*** shanec has joined #openstack-ansible15:12
openstackgerritJimmy McCrory proposed openstack/openstack-ansible: Validate type of loaded yaml configuration files  https://review.openstack.org/27959415:16
evrardjpcloudnull: if you have 5 minutes I have a few questions to ask you on the filter you wrote15:17
*** shanec has quit IRC15:17
*** michaelgugino has joined #openstack-ansible15:17
cloudnullsure15:17
cloudnullwhats up?15:17
evrardjphttps://gist.github.com/evrardjp/bff952190e5af659302215:17
cloudnulland which one ?15:17
evrardjpfor haproxy15:17
evrardjpI adapted it, but I got the same problem as you15:17
*** admin0 has quit IRC15:17
evrardjpI'm a noob on these topics15:17
evrardjpissue is here: https://gist.github.com/evrardjp/bff952190e5af6593022#file-issue-L515:18
*** neilus has quit IRC15:19
evrardjpbut it's basically a scope problem, and I don't want to give the whole hostvars as a parameter of the filter15:19
evrardjpthere should be something more elegant15:19
cloudnullhum.15:20
* cloudnull looking more15:20
evrardjpthanks15:21
*** shanec has joined #openstack-ansible15:21
evrardjpfor other ppl, I still have this review pending: https://review.openstack.org/#/c/27779915:22
*** sdake_ has joined #openstack-ansible15:22
evrardjpit's not that I need, it's that odyssey4me asked me for it! (haha reversal of interest!)15:22
evrardjp(not that it will change anything :p)15:23
cloudnullso i think if you change https://gist.github.com/evrardjp/bff952190e5af6593022#file-plugins-filter-haproxy-py-L1815:24
*** sdake has quit IRC15:24
*** admin0 has joined #openstack-ansible15:24
cloudnullto r"inter {{ haproxy_default_interval }}"15:24
odyssey4meevrardjp if you could look through the independent roles and apply the same pattern, that'd be great15:24
cloudnullitll keep the string "raw" and not try to do the expansion15:24
cloudnullwhich will then get processed by the jinja template engine later.15:25
* cloudnull spit balling15:25
evrardjpodyssey4me: I will at some point15:25
evrardjpoh nice cloudnull!15:25
evrardjpthat's what I'll try right now15:25
*** shanec has quit IRC15:26
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible: Style - Not in YAML dictionary format  https://review.openstack.org/27914715:26
*** mgoddard_ has quit IRC15:28
cloudnullevrardjp: let me know how it goes :)15:30
evrardjpapparently not well15:30
*** shanec has joined #openstack-ansible15:31
*** phalmos has joined #openstack-ansible15:31
*** daneyon has joined #openstack-ansible15:32
evrardjpI'll check a little :)15:32
*** admin0 has quit IRC15:34
*** shanec has quit IRC15:35
evrardjpdamn it15:37
evrardjphttp://docs.ansible.com/ansible/playbooks_filters.html#extracting-values-from-containers15:37
*** raddaoui_ has joined #openstack-ansible15:37
*** raddaoui has joined #openstack-ansible15:37
evrardjp2.1 would have been the solution!15:37
*** admin0 has joined #openstack-ansible15:38
openstackgerritMatt Thompson proposed openstack/openstack-ansible-memcached_server: [WIP] Multi-distro-ify role  https://review.openstack.org/27960815:38
*** mgoddard has joined #openstack-ansible15:38
logan-extract will help clean up a lot of these http://paste.gentoolinux.info/wivunazena.django heh15:38
evrardjplogan-: that's also partially what I'm trying to fix :D15:39
*** shanec has joined #openstack-ansible15:40
*** spotz_zzz is now known as spotz15:40
openstackgerritMatt Thompson proposed openstack/openstack-ansible-memcached_server: [WIP] Multi-distro-ify role  https://review.openstack.org/27960815:40
*** cemmason has quit IRC15:42
*** admin0 has quit IRC15:42
*** baker has joined #openstack-ansible15:42
logan-oh btw, you are 100% right about vrrp supposed to accommodate multiple nodes with same priority. it is really strange that it didn't here.  I have no idea if it is a bug in keepalived's vrrp stuff or what but placing the 3 nodes with differing priorities fixed it completely :/15:43
logan-I ended up doing this as an override for now http://paste.gentoolinux.info/afozosayos.django15:43
logan-@ evrardjp15:43
*** dmsimard has joined #openstack-ansible15:43
*** admin0 has joined #openstack-ansible15:43
*** shanec has quit IRC15:44
*** woodard has joined #openstack-ansible15:46
*** sigmavirus24_awa is now known as sigmavirus2415:48
*** shanec has joined #openstack-ansible15:49
*** phalmos has quit IRC15:49
jmccrorylogan- which version of keepalived? i remember running into that a long time ago. priority based on IP addresses was broken, it was fixed in 1.2.8. http://keepalived.org/changelog.html15:51
logan-interesting! let me check15:51
logan-lol.. figures.. http://paste.gentoolinux.info/nerefoquhu.sm15:52
logan-1.2.715:53
logan-i guess that is what is in trusty/main right now15:53
*** wtcross has quit IRC15:53
openstackgerritMatt Thompson proposed openstack/openstack-ansible-memcached_server: [WIP] Multi-distro-ify role  https://review.openstack.org/27960815:53
*** shanec has quit IRC15:54
jmccroryheh great15:54
logan-well thanks for that. easy fix.. but hopefully no one else tries to run keepalived with >2 haproxy nodes for now :(15:55
cloudnullhahaha15:55
cloudnullHA <- being the key in hahaha15:56
kysse_ha15:56
logan-yes super available.. fail over and everything becomes master!15:56
*** gparaskevas has quit IRC15:56
cloudnulllogan-:  I think you may have coined the next industry term ... "Super Available"15:57
cloudnullSA is the new HA15:57
logan-lol15:57
evrardjp:D15:57
evrardjplogan-: sorry for that I'm the responsible!15:57
evrardjpI didn't check if there was a bug with IP15:57
odyssey4melogan- jmccrory perhaps that's worthy of adding as a known issue release note for master?15:58
palendaemattt, odyssey4me: Welcome on the tox suggestion. I bashed my head against it myself for some similar things15:58
*** shanec has joined #openstack-ansible15:58
evrardjplogan-: the calculation of the priority seems weird and complex :)15:58
*** sdake_ has quit IRC15:58
cloudnullnow if we can containerize the SA deployment archetecture on hyperconverged systems we'll have application intellegence and a go to market glide path ...15:59
* cloudnull practicing his buzz word foo15:59
spotzheheh15:59
logan-evrardjp: they are supposed to be at least 50 apart for preempt to take place according to keepalived docs, however I saw preempt working fine with contiguous priorities. i just figured safer to follow their docs if i'm going to do that though15:59
*** phalmos has joined #openstack-ansible15:59
evrardjpwhy not simply using 50 then? ;)16:00
logan-ie master is supposed to be >50 more than the backups. so we could do length+50 for master, and then .index() for the rest and that should work fine too16:00
evrardjpyou wanted to stay close to 300 ?16:00
logan-I just figured I would make a gap of 50 between each one. so with 3 nodes you get 150->100->50 with that16:00
evrardjpkeep in mind there is a maximum limit in VRRP IIRC16:00
evrardjpyup I understand16:00
evrardjpit should be fine for most cases, right?16:02
evrardjpI seriously doubt that there will be ppl running 6 keepalived nodes16:02
*** shanec has quit IRC16:03
jmccroryodyssey4me affects liberty as well16:03
evrardjpso question, should I create an updated version of keepalived role, or should document the workaround :D16:03
evrardjpand kilo too16:03
evrardjpno?16:04
logan-since we are pushing the keepalived priority in from osa i think probably a workaround in the osa priorities is prudent, but for sure docs on the role make sense since most people using it will be on trusty16:04
evrardjpno16:04
jmccroryhmm don't see keepalived in the kilo haproxy playbook, was it included somewhere else?16:04
logan-it wasn't backported to kilo16:04
evrardjpit wasn't, that was my "no"16:04
evrardjpI'm using this since kilo, but it wasn't included in time16:05
evrardjpsorry for my messup again16:05
evrardjpI'd rather document this, and rely on distro shipping the correct version16:06
evrardjp16.04 will come soon, and there is a decent workaround16:06
*** baker_ has joined #openstack-ansible16:07
*** javeriak has joined #openstack-ansible16:07
*** shanec has joined #openstack-ansible16:07
*** greg_a has joined #openstack-ansible16:07
evrardjpI'll do the note on the docs16:07
*** baker has quit IRC16:08
*** baker_ has quit IRC16:08
*** baker has joined #openstack-ansible16:08
*** greg_a has left #openstack-ansible16:09
evrardjplogan-: did you log the bug somewhere already?16:11
logan-no16:11
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible: Gate: Use apt sources configured on the host  https://review.openstack.org/27963316:12
*** tomoe_ has joined #openstack-ansible16:14
*** shanec has quit IRC16:16
*** wtcross has joined #openstack-ansible16:16
*** jthorne has joined #openstack-ansible16:18
*** tomoe_ has quit IRC16:19
evrardjpOk I'll document it then16:19
*** phalmos has quit IRC16:20
*** tomoe_ has joined #openstack-ansible16:20
evrardjpI like your keepalived configuration file, do you think it would be a good change for master?16:20
*** wtcross_ has joined #openstack-ansible16:21
*** wtcross has quit IRC16:21
logan-yes. I think it makes sense to combine the master/backup stuff and also we need to add a pre_task to that keepalived play or get something in the role to make sure we have an apt cache available. currently that is a blocker to installing haproxy in containers because the play will always fail when it tries to install keepalived on a fresh container16:23
openstackgerritHector I Gonzalez Mendoza proposed openstack/openstack-ansible: Doc: File name incorrect  https://review.openstack.org/27931816:23
*** phalmos has joined #openstack-ansible16:24
*** admin0 has quit IRC16:24
*** tomoe_ has quit IRC16:25
openstackgerritMatt Thompson proposed openstack/openstack-ansible-memcached_server: [WIP] Multi-distro-ify role  https://review.openstack.org/27960816:26
evrardjpwait, do you use keepalived with containers?16:31
logan-yes16:31
evrardjpso no multicast issues ?16:31
evrardjpnice16:31
logan-not that i have seen.16:31
evrardjpcool16:32
*** tomoe_ has joined #openstack-ansible16:32
logan-not done testing yet but it is definitely a concern16:32
*** izaakk has joined #openstack-ansible16:32
*** CheKoLyN has joined #openstack-ansible16:33
evrardjpok I'll write the doc for kilo and create another commit with a fix for liberty/master16:33
*** javeriak_ has joined #openstack-ansible16:33
*** javeriak has quit IRC16:34
*** tomoe_ has quit IRC16:36
*** weezS has joined #openstack-ansible16:36
logan-thanks. and thanks for the work on the haproxy/keepalived stuff.. looking forward to seeing the reworked haproxy setup :D16:37
evrardjpdon't expect too much :p16:37
evrardjpyou can check the current haproxy role on github16:38
evrardjphttps://github.com/evrardjp/ansible-haproxy16:38
evrardjpit's far more modular, and allow a maintenance mode / spammers trap16:38
*** Mudpuppy has joined #openstack-ansible16:38
evrardjpbut it's nothing different than what you currently see16:38
evrardjpI have to work on this role to make it correct with openstack-ansible, that's the trickiest part16:39
evrardjpanyway16:39
evrardjpI'm off16:39
spotznight evrardjp16:40
logan-cya16:40
*** tomoe_ has joined #openstack-ansible16:43
*** shanec has joined #openstack-ansible16:45
*** pegmanm_ has quit IRC16:45
*** pegmanm_ has joined #openstack-ansible16:46
*** mgoddard_ has joined #openstack-ansible16:46
*** mikelk has quit IRC16:46
*** tomoe_ has quit IRC16:47
*** mgoddard has quit IRC16:49
*** michaelgugino has quit IRC16:49
*** wtcross_ has quit IRC16:50
*** tomoe_ has joined #openstack-ansible16:55
*** tomoe_ has quit IRC17:00
*** mgoddard_ has quit IRC17:03
*** mgoddard has joined #openstack-ansible17:03
*** tomoe_ has joined #openstack-ansible17:06
openstackgerritTravis Truman (automagically) proposed openstack/openstack-ansible: [WIP] Enable SSL termination for all services  https://review.openstack.org/27719917:08
openstackgerritTravis Truman (automagically) proposed openstack/openstack-ansible: Allow Horizon setup with external SSL termination  https://review.openstack.org/21464717:08
*** tomoe_ has quit IRC17:11
cloudnullautomagically: ^ TYVM :)17:12
automagicallysure thing, not trying to step on toes, just anxious to see those changes get to a mergeable state17:13
*** raddaoui_ has quit IRC17:15
*** raddaoui has quit IRC17:15
openstackgerritKevin Carter proposed openstack/openstack-ansible: Resolve packaging problems in virtualenv(s)  https://review.openstack.org/27968317:16
cloudnullautomagically: not at all17:16
cloudnullIm happy for you to step all over my toes :)17:16
cloudnullI wanted that change in too, just havent had time to circle back on it17:16
* palendae remembers to stomp on cloudnull's tos at summit17:16
openstackgerritTravis Truman (automagically) proposed openstack/openstack-ansible: DOC: Correcting reference to keepalived_haproxy vars file  https://review.openstack.org/27968517:17
automagicallypalendae: haha17:17
cloudnullhahaha17:17
*** openstackgerrit has quit IRC17:17
cloudnullCore folks  https://review.openstack.org/279683 <- this is an issue causing intermitent problems in the gate17:17
cloudnullodyssey4me: ^^17:17
*** openstackgerrit has joined #openstack-ansible17:17
cloudnullvenvs are getting pip817:17
cloudnulland very forward versions of setuptools that may otherwise break other things17:18
*** javeriak has joined #openstack-ansible17:21
*** javeriak_ has quit IRC17:23
*** admin0 has joined #openstack-ansible17:24
*** woodard has quit IRC17:25
*** tomoe_ has joined #openstack-ansible17:29
*** baker has quit IRC17:30
*** tomoe_ has quit IRC17:34
*** pegmanm_ has quit IRC17:35
*** tomoe_ has joined #openstack-ansible17:35
*** weezS has quit IRC17:35
*** wtcross has joined #openstack-ansible17:37
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible: Information about the keepalived bug when multiple backup nodes have the same priority.  https://review.openstack.org/27966417:38
*** raddaoui_ has joined #openstack-ansible17:39
*** raddaoui has joined #openstack-ansible17:39
*** tomoe_ has quit IRC17:39
*** Mudpuppy has quit IRC17:39
*** sdake has joined #openstack-ansible17:44
*** Mudpuppy has joined #openstack-ansible17:45
*** tomoe_ has joined #openstack-ansible17:46
*** targon has quit IRC17:47
*** sdake_ has joined #openstack-ansible17:48
*** sdake has quit IRC17:50
*** jthorne has quit IRC17:50
*** tomoe_ has quit IRC17:50
*** admin0 has quit IRC17:56
openstackgerritKevin Carter proposed openstack/openstack-ansible: [WIP] IRR - Implemented for os_keystone  https://review.openstack.org/27971018:03
*** tomoe_ has joined #openstack-ansible18:03
*** tomoe_ has quit IRC18:08
openstackgerritTravis Truman (automagically) proposed openstack/openstack-ansible: [WIP] Enable SSL termination for all services  https://review.openstack.org/27719918:08
*** izaakk_ has joined #openstack-ansible18:09
*** tomoe_ has joined #openstack-ansible18:09
*** mattronix has quit IRC18:10
*** eil397 has joined #openstack-ansible18:11
*** raddaoui_ has quit IRC18:11
*** raddaoui has quit IRC18:12
*** tomoe_ has quit IRC18:13
*** izaakk_ has quit IRC18:16
*** javeriak has quit IRC18:17
*** javeriak has joined #openstack-ansible18:17
*** izaakk_ has joined #openstack-ansible18:18
*** pegmanm_ has joined #openstack-ansible18:19
*** izaakk_ has quit IRC18:19
*** tomoe_ has joined #openstack-ansible18:21
*** izaakk_ has joined #openstack-ansible18:21
*** javeriak_ has joined #openstack-ansible18:22
*** Mudpuppy has quit IRC18:23
*** woodard has joined #openstack-ansible18:23
*** openstack has joined #openstack-ansible18:27
*** tomoe_ has joined #openstack-ansible18:32
*** tomoe_ has quit IRC18:37
*** alex_____ has joined #openstack-ansible18:38
*** tomoe_ has joined #openstack-ansible18:38
alex_____hi! wondering if anyone has any experience with nested virtualization, in particular xenserver l0, and kvm l1 (nova compute)? or basically deploying openstack-ansible ontop of xenserver?18:38
*** tomoe_ has quit IRC18:42
*** openstackgerrit has quit IRC18:47
*** openstackgerrit has joined #openstack-ansible18:47
*** admin0 has joined #openstack-ansible18:49
*** tomoe_ has joined #openstack-ansible18:50
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible: Information about the keepalived bug when multiple backup nodes have the same priority.  https://review.openstack.org/27966418:51
*** tomoe_ has quit IRC18:54
automagicallycloudnull: If you are around, qq about LB SSL termination. Is your intent to have HAProxy in the AIO terminate SSL for Horizon, Keystone, Heat and Nova?18:59
*** alex_____ has quit IRC19:00
*** tomoe_ has joined #openstack-ansible19:01
*** tomoe_ has quit IRC19:06
*** baker has joined #openstack-ansible19:09
*** dmsimard has quit IRC19:10
*** jwitko1 has quit IRC19:11
*** tomoe_ has joined #openstack-ansible19:13
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible: Fixing keepalived bug when 2+ backup nodes have the same priority  https://review.openstack.org/27973019:16
evrardjpok this time I really finished my day. sorry again logan- and jmccrory :)19:16
*** mgoddard_ has joined #openstack-ansible19:16
*** tomoe_ has quit IRC19:17
*** alextricity25_r has joined #openstack-ansible19:18
alextricity25_rhello! Anybody around?19:18
alextricity25_rcloudnull: odyssey4me Apsu, have you guys ever had a problem with loading the ebtables module in the neutron_agent containers19:18
jmccroryah cool, thanks for the fix evrardjp. good night19:18
evrardjpstill one last test to be sure19:19
*** mgoddard_ has quit IRC19:19
evrardjpbut pay attention it's disruptive: upgrading keepalived will make keepalived restart19:19
alextricity25_rthe neutron agent is spitting out ERROR when trying to load the ebtables module19:19
evrardjpomg I'm tired... but you get the idea :)19:19
*** mgoddard has quit IRC19:20
alextricity25_rExit code: 255; Stdin: ; Stdout: ; Stderr: modprobe: ERROR: could not insert 'ebtables': Operation not permitted The kernel doesn't support the ebtables 'filter' table.19:20
*** eil397 has quit IRC19:25
*** dmsimard has joined #openstack-ansible19:25
*** tomoe_ has joined #openstack-ansible19:30
*** sdake_ has quit IRC19:31
*** izaakk_ has quit IRC19:31
*** michaelgugino has joined #openstack-ansible19:34
*** tomoe_ has quit IRC19:34
*** baker has quit IRC19:36
*** dmsimard has quit IRC19:36
*** baker has joined #openstack-ansible19:41
*** tomoe_ has joined #openstack-ansible19:42
*** raddaoui has joined #openstack-ansible19:45
*** raddaoui_ has joined #openstack-ansible19:45
*** jthorne has joined #openstack-ansible19:45
*** baker has quit IRC19:46
*** baker has joined #openstack-ansible19:46
*** tomoe_ has quit IRC19:46
*** weezS has joined #openstack-ansible19:47
*** jthorne has quit IRC19:47
*** jthorne has joined #openstack-ansible19:47
*** dolphm has joined #openstack-ansible19:53
*** wtcross has quit IRC19:53
*** tomoe_ has joined #openstack-ansible19:53
dolphmis there anyway to specify host groups on the command line? like ansible-playbook -i "[host_group] 127.0.0.1," playbook.yml19:54
logan---limit 'groupname'19:54
palendaedolphm: As in a whole new group?19:55
palendaeOr simply calling an existing one?19:55
dolphmlogan-: so, ansible-playbook --limit "host_group" -i "127.0.0.1," playbook.yml ?19:55
*** retreved has quit IRC19:55
dolphmpalendae: i don't have a real inventory file, i just want to run against localhost, but the playbook i'm running is targeting a host group19:55
logan-ohh, gotcha19:56
dolphmERROR: Specified --limit does not match any hosts19:56
logan-you want to define inventory there19:56
palendaeI don't thik that'll work.19:56
dolphmpalendae: i need a real file?19:56
palendaeNo, 1 moment19:56
*** pegmanm_ has joined #openstack-ansible19:57
*** jthorne has quit IRC19:57
palendaedolphm: https://github.com/rcbops/rpc-openstack/pull/757/files19:57
palendaeIN the scripts/linting.ansible.sh file in the old one, we do a pipe of the fake file19:57
*** jthorne has joined #openstack-ansible19:57
*** hybridpollo has joined #openstack-ansible19:57
*** tomoe_ has quit IRC19:57
palendaeCould change the [all] to whatever19:57
palendaeHowever, that does not work in Ansible 2.019:58
logan-it only accepts files in 2.0? no pipes I guess?19:58
dolphmpalendae: ah, in the old version...19:58
palendaelogan-: Correct19:58
dolphmpalendae: damn, the playbook i'm running is broken in 2.0 :P19:59
palendaelogan-: Someone filed a bug and the teams' looking at it, but they rewrote the playbook reading/loading code19:59
logan-bummer, thats a handy workaround to actually defining inventory :)19:59
palendaedolphm:  D:19:59
*** pegmanm has quit IRC19:59
logan-a19:59
logan-ah19:59
dolphmpalendae: i'll keep that in my back pocket then, until we have 2.020:01
palendaedolphm: Cool. Feel free to harvest that if you want to lint your stuff against 2.0 in the mean time20:02
*** tomoe_ has joined #openstack-ansible20:05
*** tomoe_ has quit IRC20:09
*** wtcross has joined #openstack-ansible20:15
*** raddaoui_ has quit IRC20:16
*** raddaoui has quit IRC20:16
*** tomoe_ has joined #openstack-ansible20:16
*** tomoe_ has quit IRC20:21
admin0hosts can also be in the same mamagenent network right, without having a specific differnt managment ip range ?20:22
*** mgariepy has left #openstack-ansible20:22
palendaeadmin0: Like the br-mgmt/container network? Yes.20:22
*** mgariepy has joined #openstack-ansible20:23
admin0palendae:  the ip issue i mentioned .. my hosts are in 10.10.0.0/22 …  i will have  50 - 100 hosts on one location ( az1) ,  and similar for 4 locations, so want to reserve the first 200 ips .. but somehow the containers never get ip20:25
admin0you suggested me to use 50 yesterday, they are not enough20:25
admin0only difference i see is i am already pre-using the hosts on the same management network and trying to reserve the range20:25
admin0or maybe my depoloyment system is bad20:26
admin0deployment and hosts share the same network ( ssh ) works fine ..  setup-hosts works without issue .. containers run ( but they only have the lxcbr0 ip ) .. no management ip gets assigned so 2nd step fails20:26
palendaeHm20:27
palendaeI know my lab's got it's own management network, separate from the one for OSA20:28
*** tomoe_ has joined #openstack-ansible20:28
palendaeLet me double check my infra hosts; their IPs should already go in the used pool20:28
*** woodard has quit IRC20:28
palendaeYeah, they have IPs on br-mgmt in my 'container' range20:29
*** woodard has joined #openstack-ansible20:29
palendaeI'm not dealing with AZs though20:29
alextricity25_rso it turns out ebtables needs to be loaded on the host, and will fail to load if loading through a container when it's not loaded on the host20:29
admin0palendae:  can u share the config if you can .. you can mask things20:30
alextricity25_r^ That's in regard to my question earlier20:30
palendaealextricity25_r: Good to know. That sounds like a kernel module needs to be loaded on the host vs. in containers?20:30
palendaeadmin0: Yeah, give me a just a sec20:30
alextricity25_rRight. Maybe add a check in the playbooks to make sure it's loaded on the host20:30
alextricity25_ri'll report a small bug for it20:30
*** michaelgugino has quit IRC20:31
*** tomoe_ has quit IRC20:32
*** Guest3687 is now known as mgagne20:34
palendaeadmin0: https://gist.github.com/nrb/4b6fe0972c8ed9ee1d3e This config worked on a kilo install, which is currently upgrading to liberty20:35
*** mgagne has quit IRC20:35
*** mgagne has joined #openstack-ansible20:35
palendaeIt's basically the .aio config since our lab admin more or less copied those settings for the network definitions20:35
admin0you have to wrap ips inside  quotes “ ?20:36
admin0maybe that is where i slipped20:36
palendaeadmin0: Maybe, but I don't think the yaml parser cares about that for strings20:36
*** tomoe_ has joined #openstack-ansible20:39
*** shanec has quit IRC20:40
*** retreved has joined #openstack-ansible20:43
*** tomoe_ has quit IRC20:44
*** retreved has quit IRC20:44
*** retreved has joined #openstack-ansible20:44
*** tomoe_ has joined #openstack-ansible20:45
admin0palendae:  and your deploy host  just need to be able to acess reach the 172.29.236.0/22 right? not the others20:45
admin0and gateway is only required for 172.29.236.1  .. no other networks20:46
palendaeRight20:46
*** weezS has quit IRC20:47
*** johnmilton has quit IRC20:47
*** jthorne has quit IRC20:49
admin0i will drop the 10.10 , 10.20 , 10.30 range and go with 172.29 and try to replicate the ip thing ..20:49
admin0another thing i do not understand is when setup-hosts says OK, and if setup-infra fails due to SSH, shouldn’t setup-host fail ?20:50
admin0at some point20:50
*** tomoe_ has quit IRC20:50
admin0i see this unchecked/un-seen gap where one step is OK, but another fails ( while the first step should never say OK at that point 020:50
*** javeriak_ has quit IRC20:51
*** wtcross has quit IRC20:52
palendaeYou might want to run with -vvvv to see if you get specific errors20:52
*** tomoe_ has joined #openstack-ansible20:57
odyssey4mealextricity25_r is this for master, or <master ? the ebtables should only be required if mac spoofing is enabled, which is only master20:58
*** pegmanm has joined #openstack-ansible20:59
*** pegmanm_ has quit IRC21:00
*** tomoe_ has quit IRC21:01
*** jthorne has joined #openstack-ansible21:01
*** mgoddard has joined #openstack-ansible21:03
alextricity25_rit's for master21:03
alextricity25_rodyssey4me:21:03
alextricity25_rMy problem was that my hosts didn't already have it enabled21:04
alextricity25_rby default21:04
alextricity25_rSo when i tried to run neutron-linuxbridge-agent, it died trying to load ebtables on the container21:04
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-lxc_container_create: Remove dependency on python2_lxc git source  https://review.openstack.org/27978821:05
odyssey4mealextricity25_r  yep, good bug find :)21:06
odyssey4meI'm guessing that we will have to include the package in the lxc-hosts apt package list21:06
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server: Remove dependency on python2_lxc git source  https://review.openstack.org/27978921:08
*** tomoe_ has joined #openstack-ansible21:08
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-repo_server: Remove dependency on python2_lxc git source  https://review.openstack.org/27979021:09
*** weshay has quit IRC21:09
palendaecloudnull: I cherry picked https://review.openstack.org/#/c/271423/12 into liberty since it's more up-to-date and am getting some failures on mariadb-client. Do I need to do a corresponding client update?21:10
*** weshay has joined #openstack-ansible21:11
palendaeI shouldn't since it looks like liberty is using the 10.0 URLs21:11
*** weshay is now known as msg21:12
*** msg is now known as weshay21:12
*** tomoe_ has quit IRC21:12
*** tomoe_ has joined #openstack-ansible21:14
admin0palendae:  i am completely redoing my whole deployment :D results in a while :D21:18
*** tomoe_ has quit IRC21:19
palendaeadmin0: Alright :)21:19
*** tomoe_ has joined #openstack-ansible21:20
*** weezS has joined #openstack-ansible21:21
alextricity25_rthanks! I'm off. See you guys21:23
palendaeLater alextricity25_r21:24
*** tomoe_ has quit IRC21:24
*** alextricity25_r has quit IRC21:26
*** mgoddard has quit IRC21:26
*** weezS has quit IRC21:29
*** mariusv has joined #openstack-ansible21:29
*** jwitko1 has joined #openstack-ansible21:31
*** jwitko1 has joined #openstack-ansible21:31
*** jwitko1 is now known as jwitko21:31
*** tomoe_ has joined #openstack-ansible21:31
*** admin0 has quit IRC21:32
*** klamath has joined #openstack-ansible21:33
*** sdake has joined #openstack-ansible21:35
*** tomoe_ has quit IRC21:36
*** jwitk0 has joined #openstack-ansible21:44
openstackgerritMerged openstack/openstack-ansible-openstack_hosts: Update tox config and add bashate E006, E040 exceptions  https://review.openstack.org/27800221:45
-openstackstatus- NOTICE: The infrastructure team is taking gerrit offline for maintenance this afternoon, beginning at 22:00 utc. We should have it back online around 23:00 utc. http://lists.openstack.org/pipermail/openstack-dev/2016-February/086195.html21:45
*** weshay has quit IRC21:51
*** ametts has quit IRC21:51
*** jthorne has quit IRC21:59
*** admin0 has joined #openstack-ansible22:02
admin0i accidently had br-vxlan on vlan.20 and vlan.30 at the same time :D killed network :D22:02
admin0\o/22:02
-openstackstatus- NOTICE: Gerrit is offline for maintenacne until 23:00 utc22:03
*** ChanServ changes topic to "Gerrit is offline for maintenacne until 23:00 utc"22:03
palendaeOops22:03
*** ametts has joined #openstack-ansible22:04
*** admin0 has quit IRC22:06
*** admin0 has joined #openstack-ansible22:06
*** admin0 has quit IRC22:07
*** admin0 has joined #openstack-ansible22:07
*** phalmos has quit IRC22:08
admin0all fixed .. now doing setup-hosts again22:09
*** Nepoc has quit IRC22:10
*** retreved has quit IRC22:10
*** Nepoc has joined #openstack-ansible22:11
*** Nepoc has quit IRC22:16
*** araji has quit IRC22:52
admin0the containers, shoudn’t they get the 172.29.236.xx ip instead of 10.0.3.xx ?22:53
palendaeadmin0: Yeah, they should get stuff from what's in the container cidr22:54
*** spotz is now known as spotz_zzz22:54
palendaeBut the mapping tells the dynamic inventory where to pull the cidrs from https://gist.github.com/nrb/4b6fe0972c8ed9ee1d3e#file-openstack_user_config-yml-L2322:54
*** daneyon has quit IRC22:56
admin0palendae:  http://pastebin.com/k9qTtZ2D  — my findings22:57
admin0checkout branch is liberty22:58
bgmccollumthe 10.0.3.x are the lxcbr interfaces which provide NATed access to internet22:59
bgmccollumthats managed by lxc, not osa22:59
admin0so @ which step does the containers get the osa/container address ?22:59
palendaeWhen calling ansible-playbook, it will call the playbooks/inventory/dynamic_inventory.py script, which reads the configuration file and populates the IP address names23:00
palendaeIP address to names23:00
palendaehttps://github.com/openstack/openstack-ansible/blob/liberty/playbooks/lxc-containers-create.yml will then create the containers based on the inventory file dropped in /etc/openstack_deploy/openstack_inventory.json23:01
palendaeThat's the last play in https://github.com/openstack/openstack-ansible/blob/liberty/playbooks/setup-hosts.yml23:01
-openstackstatus- NOTICE: Gerrit is offline for maintenance, ETA updated to 23:30 utc23:04
*** ChanServ changes topic to "Gerrit is offline for maintenance, ETA updated to 23:30 utc"23:04
*** ametts has quit IRC23:04
admin0bgmccollum, palendae : this is the issue i am getting:  http://pastebin.com/GC4ndZwm23:06
*** CheKoLyN has quit IRC23:07
admin0setup-hosts completes .. but the next step fails .. because i cannot see the container address/ssh address anywhere23:07
palendaeadmin0: What's in /etc/openstack_deploy/openstack_inventory.json now?23:07
*** pegmanm_ has joined #openstack-ansible23:08
*** pegmanm has quit IRC23:09
admin0palendae: http://pastebin.com/4gax79DJ23:09
palendaeHm, none have any container networks23:10
palendaeAnd ansible_ssh_host is null23:10
admin0i did a complete reformat of all servers, even deployment, did a fresh git checkout like an hour ago23:10
palendaeWhat do you get when you run ./scripts/inventory_man23:10
palendaeWhat do you get when you run ./scripts/inventory_manage.py --list-hosts?23:10
*** johnmilton has joined #openstack-ansible23:11
palendaeAnother thing to try is deleting that file (/etc/openstack_deploy/openstack_inventory.json) and run playbooks/inventory/dynamic_inventory.py directly23:11
*** Bjoern has quit IRC23:11
palendaeThat will regenerate the file from the config without making you go through a whole deploy23:11
admin0palendae: http://pastebin.com/tFrK6KYp23:12
admin0let me try23:12
admin0will remove the .json and run the playbook23:12
palendaeAlso, fyi, that inventory_manage.py script more or less just reads the json file and pretty prints it23:12
bgmccollumwont that create a create a new set of containers?23:13
bgmccollumalso, maybe cached facts...23:13
admin0what shoudl i try next ? delete openstack_inventory.json ?23:13
admin0i tried the deleting yesterday .. it created more containers23:13
palendaeAh yeah, you're right23:13
bgmccollumright...did you reconfigure something in your user config file between playbook runs?23:14
admin0nope23:14
admin0i took the file that palendae gave for refrence, and modified my whole setup to fit similar one23:14
*** b3rnard0 is now known as b3rnard0_away23:14
admin0which is there: http://pastebin.com/k9qTtZ2D23:14
bgmccollumhmm...ok, just for grins, can you try deleting your cached facts?23:14
admin0where are they :D23:15
palendae /etc/openstack_deploy/ansible_facts23:15
*** wtcross has joined #openstack-ansible23:15
palendaeiirc23:15
admin0rm -rf ansible_facts/  :D  \o/23:15
admin0now chat command :D23:15
bgmccollumok, start from the first playbook23:16
admin0now ? command to run ? re-run the setu-hosts again ?23:16
admin0ok23:16
admin0retrying23:16
palendaeThe 'wait for ssh to be available' line should have IP addresses for the range if the were regenerated23:17
palendaeRather than just 127.0.0.123:17
admin0waiting for setup-hosts to finish again23:18
*** sigmavirus24 is now known as sigmavirus24_awa23:22
*** leakypipes has quit IRC23:23
admin0ok: [c17_rsyslog_container-c6ca2468 -> 127.0.0.1]  ok: [c13_horizon_container-833f7226 -> 127.0.0.1]  ok: [c13_nova_scheduler_container-b487f1b5 -> 127.0.0.123:24
admin0i still see 127.0.0.123:24
palendaeOk23:24
admin0latest log: http://pastebin.com/yzCzixmz23:25
palendaeI'm pretty sure those IPs are only populated by the dynamic_inventory.py script, but as bgmccollum pointed out, deleting the json file and re-running will create new containers23:25
admin0if 127.0.0.1 is not valid, it shoult not say OK right ?23:25
admin0i don’t mind double containers23:25
*** mjblack has joined #openstack-ansible23:25
admin0should I remove that json and give it another go ?23:25
palendaeIf you don't mind, sure23:26
admin0ok23:26
palendaeAnd if you want faster feedback, remove it, then run playbooks/inventory/dynamic_inventory.py23:26
palendaeThe root problem appears to be that container_networks and ansible_ssh_host aren't being populated there23:26
admin0removed and ran, but the script outputis                 "container_address": null,23:27
palendaeThat's weird...23:28
palendaeLet me download your config and run it locally23:28
admin0let me paste all that i have23:28
admin0http://pastebin.com/MpUeXyKz23:30
admin0config, interfaces, brctl show output23:30
admin0maybe its a space/whitespace something :(23:31
palendaeAha!23:32
palendaeI think i found it23:32
admin0\o/23:32
*** baker has quit IRC23:33
admin0what was i doing wrong23:33
palendaehttps://gist.github.com/nrb/3779ea414c4a727789e723:33
palendaeDo you have an env.d in your /etc/openstack_deploy directory?23:34
palendaeYou need env.d and openstack_environment.yml23:34
palendaeWhich tells it how to associate containers to groups23:34
admin0yes23:34
palendaeNotice how my JSON output has a lot of group memberships23:34
admin0i see it23:34
*** baker has joined #openstack-ansible23:35
palendaehttps://gist.github.com/nrb/3779ea414c4a727789e7#file-openstack_inventory-json-L898-L1999 all come from env.d/23:35
palendaeIs it populated?23:35
palendaeAll I did was dropped your openstack_user_config.yml file into my local openstack_ansible/etc/openstack_deploy directory and ran the command at the top of that gist23:35
admin0you know, 1/2 of what you said went above my head :D23:36
palendae:)23:36
admin0trying to grasp it23:36
admin0so i should NOT have a env.d when i start it again ?23:36
palendaeYou should23:36
admin0say i format everything  and start fresh, what was the wrong step i took ?23:36
palendaeDoes your /etc/openstack_deploy look like this? https://gist.github.com/nrb/3779ea414c4a727789e7#file-etc-openstack_deploy23:37
palendaeWhat it looks like to me is that openstack-ansible/etc/openstack_deploy/env.d wasn't all copied to /etc/openstack_deploy/env.d23:38
-openstackstatus- NOTICE: Gerrit is offline for maintenance, ETA updated to 23:59 utc23:38
*** ChanServ changes topic to "Gerrit is offline for maintenance, ETA updated to 23:59 utc"23:38
*** wtcross has quit IRC23:38
admin0yes23:39
admin0http://pastebin.com/paDXnuAt23:39
bgmccollumcheck your indentation for "provider_networks"...looks off...or pastebin is mangling it...23:40
palendaebgmccollum: I downloaded his file directly from pastebin23:40
palendaeIt generates correct output locally23:40
bgmccollumpalendae, looks like some properties are still null in your paste23:41
bgmccollumlike container_address23:41
*** markvoelker has quit IRC23:41
palendaeOh, duh, you're right23:41
bgmccollumand container networks is empty23:41
bgmccollum"provider_networks" needs to be under "global_overrides"...its not right now23:42
palendaeOh man, if that's it...23:42
bgmccollumhah...it probably is23:43
* admin0 is still unclear :D 23:43
*** baker has quit IRC23:43
bgmccollumadmin0, you need to indent provider_networks one more space23:43
palendaeDamn, it is23:43
palendae^23:43
admin0 :wild-eyes:23:44
*** Nepoc has joined #openstack-ansible23:44
palendaehttps://gist.github.com/nrb/3779ea414c4a727789e7#file-openstack_inventory_after_indent-json23:44
palendaeSo in http://pastebin.com/k9qTtZ2D23:44
palendaeLines 20-74 need 1 more space at the beginning of the line23:44
palendaeprovider_networks should line up with tunnel_bridge: br-vxlan23:45
admin0so its still correct when doing syntax check, but somehow skips internally ??23:45
palendaeI guess it's valid YAML23:45
palendaeBut not the format dynamic_inventory expects23:45
bgmccollumwell, dynamic inventory is probably naive in its parsing23:45
palendaeOh, yeah23:45
palendaeIt is23:45
palendaedynamic_inventory needs a lot of love23:46
palendaeShould probably error out when a key like that isn't found23:46
palendaeRather than continuing with a janky output23:46
admin0so provider network is under global overrides, but in my case, it was not23:47
bgmccollumwaiting for confirmation from admin0 before i drown myself in cough syrup and sleep the night away... :D23:47
palendaeadmin0: Yeah23:47
admin0hold on .. re-running23:47
palendaedat line number https://github.com/openstack/openstack-ansible/blob/master/playbooks/inventory/dynamic_inventory.py#L66623:48
bgmccollumlol 66623:48
admin0running again :)23:48
palendaeThis looks like a case to add to https://review.openstack.org/#/c/242225/, which isn't available right now but is testing for dynamic_inventory.py23:49
admin0can someone pass me the correct file please ..  i added 1 space there to bring provider_network lined up wtih tunnel_bridge and i get another erro23:50
palendaeadmin0: https://gist.github.com/nrb/3779ea414c4a727789e7#file-00-fixed-openstack_user_config-yml23:51
palendaeadmin0: It needs to be lines 19-73, all of them23:51
admin0i am runing with the file copy-paste and setup-hosts again23:52
admin0so maybe error_out when ssh shows 127.0.0.1 ?23:54
palendaehttps://bugs.launchpad.net/openstack-ansible/+bug/154520523:54
openstackLaunchpad bug 1545205 in openstack-ansible "dynamic_inventory.py should error when provider_networks key is missing" [Undecided,New]23:54
admin0i mean for future .. if somone makes the same mistake again23:54
bgmccolluma yaml schema check would be nice :)23:55
palendaebgmccollum: sigmavirus24_awa made one23:55
palendaeNo one's integrated it23:55
bgmccollumdoesn't even have to be a part of dynamic_inventory, just a config-check.py would be nice...maybe thats the quickest path to success23:56
palendaeMaybe, though I just made a patch in dynamic_inventory.py already :p23:57
palendaeNot gonna submit it yet, because I think there needs to be a check prior, too23:57
palendaeOr a separate scheme check23:57
palendaeThat bites people a lot23:57
palendaeSignificant white space can be suuuuuuper annoying23:57
palendaeI might enable visble whitespace for my yaml23:57
bgmccollumi had to diff one of my files to figure out there was a whitespace problem -- http://www.imgpaste.net/image/TPbT23:58
bgmccollumthankyou filemerge23:59
palendaeYeah23:59

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