Monday, 2017-03-27

*** vnogin has quit IRC00:23
*** manheim has quit IRC00:26
*** manheim has joined #openstack-ansible00:28
*** schwicht has joined #openstack-ansible00:39
*** acormier has joined #openstack-ansible00:45
*** lucasxu has joined #openstack-ansible00:56
*** lucasxu has quit IRC00:57
*** SerenaFeng has joined #openstack-ansible00:57
*** jamielennox is now known as jamielennox|away01:01
*** markvoelker has joined #openstack-ansible01:01
*** acormier has quit IRC01:05
*** acormier has joined #openstack-ansible01:06
*** cuongnv has joined #openstack-ansible01:06
*** manheim has quit IRC01:08
*** tonytan4ever has joined #openstack-ansible01:17
*** acormier has quit IRC01:18
*** rmelero has joined #openstack-ansible01:18
*** jamielennox|away is now known as jamielennox01:19
openstackgerritMark Hamzy proposed openstack/openstack-ansible-os_molteniron master: Add example file so required files section in docs looks correct  https://review.openstack.org/45003901:21
*** acormier has joined #openstack-ansible01:24
*** Mahe has quit IRC01:29
*** Mahe has joined #openstack-ansible01:33
*** dxiri has joined #openstack-ansible01:39
*** sanfern has quit IRC01:49
*** dixiaoli has joined #openstack-ansible01:53
*** May-meimei has quit IRC02:13
*** gouthamr has quit IRC02:16
*** acormier has quit IRC02:18
*** dixiaoli has quit IRC02:21
*** Jack_Iv has joined #openstack-ansible02:22
*** hw_wutianwei has joined #openstack-ansible02:23
*** rmelero has quit IRC02:24
*** rmelero has joined #openstack-ansible02:24
*** Jack_Iv has quit IRC02:27
*** rmelero has quit IRC02:32
*** cpuga has joined #openstack-ansible02:35
*** dixiaoli has joined #openstack-ansible02:39
*** dxiri has quit IRC02:49
*** dxiri has joined #openstack-ansible02:50
*** sanfern has joined #openstack-ansible02:54
*** dixiaoli has quit IRC03:00
*** dxiri has quit IRC03:00
*** dixiaoli has joined #openstack-ansible03:03
*** rmelero_ has joined #openstack-ansible03:20
*** mpotdar has quit IRC03:38
*** mpotdar has joined #openstack-ansible03:43
*** SerenaFeng has quit IRC03:47
*** cpuga has quit IRC03:49
*** dixiaoli has quit IRC03:52
*** cpuga has joined #openstack-ansible04:03
*** cpuga has quit IRC04:08
*** udesale has joined #openstack-ansible04:09
*** jamielennox is now known as jamielennox|away04:14
*** udesale has quit IRC04:17
*** udesale has joined #openstack-ansible04:18
*** jamielennox|away is now known as jamielennox04:22
*** dixiaoli has joined #openstack-ansible04:48
*** dixiaoli has quit IRC04:49
*** dixiaoli has joined #openstack-ansible04:50
*** dixiaoli has quit IRC04:52
*** hybridpollo has quit IRC04:53
*** jrobinson has quit IRC04:55
arslanqhi guys: does openstack-ansible (OCATA) support centos based deployment? does it support 3 controller deployments?04:57
*** jrobinson has joined #openstack-ansible05:04
*** japestinho has quit IRC05:10
*** cpuga has joined #openstack-ansible05:11
*** deepak_jon has joined #openstack-ansible05:20
*** cpuga_ has joined #openstack-ansible05:26
*** dixiaoli has joined #openstack-ansible05:29
*** cpuga has quit IRC05:30
*** cpuga_ has quit IRC05:30
*** rmelero_ has quit IRC05:31
*** rmelero has joined #openstack-ansible05:32
*** SerenaFeng has joined #openstack-ansible05:36
*** rmelero has quit IRC05:36
*** tonytan4ever has quit IRC05:41
*** Jack_Iv has joined #openstack-ansible05:53
*** deepak_jon has quit IRC05:56
*** NikhilS has joined #openstack-ansible06:02
*** Oku_OS-away is now known as Oku_OS06:03
*** May-meimei has joined #openstack-ansible06:25
*** manheim has joined #openstack-ansible06:37
*** pmannidi has quit IRC06:41
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_tempest stable/ocata: Retry the cirros image download  https://review.openstack.org/45009006:41
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_tempest stable/newton: Retry the cirros image download  https://review.openstack.org/45009106:41
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-haproxy_server master: Add Vagrant support for openSUSE Leap 42.1  https://review.openstack.org/45009506:49
*** pmannidi has joined #openstack-ansible06:54
*** Jack_Iv has quit IRC06:56
odyssey4mearslanq centos support is intended for ocata, but we're still working through the details of it - when it all works it will support exactly the same deployment as our ubuntu support07:03
odyssey4meit's intended for experimental use in Ocata, but I'd suggest waiting until the next release is out before trying it seriously07:04
*** fxpester has joined #openstack-ansible07:06
*** SerenaFeng has quit IRC07:08
openstackgerritMerged openstack/openstack-ansible-os_aodh master: Add a release note  https://review.openstack.org/44986407:17
*** jrobinson has quit IRC07:19
*** pcaruana has joined #openstack-ansible07:20
*** japestinho has joined #openstack-ansible07:32
*** manheim has quit IRC07:34
*** chas has joined #openstack-ansible07:41
*** tonytan4ever has joined #openstack-ansible07:41
*** pmannidi has quit IRC07:52
arslanqodyssey4me:07:53
arslanqodyssey4me: openstack-ocata is not released as yet? if not then what is the expected date for it?07:54
*** manheim has joined #openstack-ansible07:56
odyssey4mearslanq it is released, but the centos build isn't completely working right now - there are a bunch of merged patches which need a sha bump to get them incorporated into the release07:57
odyssey4methe sha bump will happen at the end of this week, and hopefully that will include fixes for most, if not all, the outstanding issues we've found for CentOS07:57
arslanqodyssey4me: Thanks07:57
arslanqif i want to try on centos i can or these issues are blocker ?07:58
*** dixiaoli has quit IRC07:59
odyssey4mearslanq I haven't checked within the last few days, but if you want to try I would suggest using a disposable AIO to try with. There is a vagrantfile which you can use in stable/ocata08:01
arslanqodyssey4me: ok fine, could you please send me the link for issues on which work is being done08:01
odyssey4meI'll kick one off with that now and see whether we've got all the patches merged and can simply do some role SHA bumps to resolve the integrated buid08:02
*** foutatoro has joined #openstack-ansible08:02
odyssey4mearslanq I don't know whether there is such a link. The work is being handled by mgariepy and mhayden at this stage.08:02
*** dixiaoli has joined #openstack-ansible08:05
arslanqodyssey4me: ok thanks08:05
*** dixiaoli has quit IRC08:07
*** dixiaoli has joined #openstack-ansible08:08
*** dixiaoli has quit IRC08:08
*** karimb has joined #openstack-ansible08:09
*** dixiaoli has joined #openstack-ansible08:16
*** fabg has joined #openstack-ansible08:18
fabgmorning OSA08:19
fabgodyssey4me: hi, i solved my issue on https://bugs.launchpad.net/openstack-ansible/+bug/167063208:19
openstackLaunchpad bug 1670632 in openstack-ansible "ceilometer error because gnocchiclient > 3.0 for stable/newton " [Undecided,New] - Assigned to Jesse Pretorius (jesse-pretorius)08:19
fabgadd an extra upper constraint to install gnocchiclient < 3.008:20
odyssey4meI see that, thanks for providing a workaround in the bug :)08:23
fabgI was on stable/newton. I wait the 14.1.2 release to go on but i imagine finding the same issue. But now, i know how to solve it ;-)08:25
*** manheim has quit IRC08:26
odyssey4mefabg yeah, unfortunately the telemetry tooling does not follow the global requirements process, so it makes it hard for us08:27
*** manheim has joined #openstack-ansible08:27
fabgodyssey4me: I filed a new bug (related to ceilometer too), https://bugs.launchpad.net/openstack-ansible/+bug/1675804. Exist a fix too… :)08:29
openstackLaunchpad bug 1675804 in openstack-ansible "Newton: oslo.messaging Bad address when CONFIG_AMQP_ENABLE_SSL=y" [Undecided,New]08:29
fabgoddysey4me: happy now to have ceilometer/gnocchi functionnal.08:31
eki__anyone have some tips how to get external connectivity working on aio build (mitaka) with vxlan? Have been trying different things and currently resetting my setup completly.08:31
*** manheim has quit IRC08:32
odyssey4meeki__ from an instance out to the internet, or from an outside source to the instance?08:32
eki__if possible both08:32
odyssey4menot sure if that's possible08:32
odyssey4meinside out should just work08:32
eki__there is not networks setup so I am most likely doing something wrong there08:33
*** openstackgerrit has quit IRC08:33
odyssey4meoutside in would require you having a floating ip assigned that's routable from outside to your neutron agent container, which the AIO does not do by default08:33
eki__I mean once the playbook is done08:33
odyssey4methe AIO is a development and testing tool, not really meant for being used for anything outside of that08:34
eki__so connecting from the AIO host to instance by ssh is not possible by default08:35
eki__or from external08:35
odyssey4meWell, I personally don't know how to make it work if it is possible.08:36
eki__hmm ok well first I will have to figure out how to get connectivity to internet08:36
eki__from instance to internet08:36
eki__which should work by default?08:37
odyssey4methat should just work, assuming that your host has internet connectivity08:37
odyssey4methat said, I've not tried it in ages08:37
eki__how should the network + router etc be setup?08:37
odyssey4meif you run the tempest install playbook it will setup a demo project with the right stuff08:38
eki__hmmm have to look to taht08:39
*** Jack_Iv has joined #openstack-ansible08:39
*** manheim has joined #openstack-ansible08:39
*** tonytan4ever has quit IRC08:42
*** chas has quit IRC08:44
eki__as far as I can tell I will simply run the run-tempest.sh after running the bootstrap-aio.sh08:47
eki__will give that a go08:47
odyssey4meeki__ nope, run playbooks/os-tempest-install.yml08:47
eki__after or only08:48
odyssey4methe shell script is just a wrapper around that and will be removed08:48
odyssey4meonly08:48
eki__ok thanks08:48
eki__but yeah odyssey4me this is getting way over my head so having someone to point in some direction helps a lot08:49
eki__been hitting my head against a wall for bit08:49
odyssey4meeki__ the playbooks to make things happen are all in playbooks/08:49
*** vnogin has joined #openstack-ansible08:50
*** vnogin has quit IRC08:55
*** vnogin has joined #openstack-ansible09:02
*** fabg has quit IRC09:03
*** fabg has joined #openstack-ansible09:05
*** gaudenz has quit IRC09:07
foutatoroHi all, I'm trying to reintall AOI to include magnum, after following https://docs.openstack.org/developer/openstack-ansible/developer-docs/quickstart-aio.html#rebuilding-an-aio09:07
*** gaudenz has joined #openstack-ansible09:07
foutatoroto rebuild openstack but I got this error http://paste.openstack.org/show/604268/ since yesterday.09:07
odyssey4mefoutatoro you could just add magnum on an existing AIO09:07
odyssey4mebut I guess it's too late now09:07
foutatorooddyssey4me: how could i do that ,09:08
odyssey4mefoutatoro it seems pretty clear to me that the cache prep is unable to fetch apt sources due to a 503 error09:08
odyssey4mefoutatoro as specified in https://docs.openstack.org/developer/openstack-ansible/developer-docs/quickstart-aio.html#building-an-aio09:08
*** deepak_jon has joined #openstack-ansible09:08
*** SerenaFeng has joined #openstack-ansible09:08
odyssey4meTo add OpenStack Services over and above the bootstrap-aio default services for the applicable scenario, copy the conf.d files with the .aio file extension into /etc/openstack_deploy and rename then to .yml files.09:08
odyssey4methen execute the applicable playbooks09:09
foutatoroodysse4me: yes of course but "apt-get " works fine in my server09:09
foutatoroI don't have any dns issue.09:09
*** pbandark has joined #openstack-ansible09:10
odyssey4mefoutatoro it's inside the chroot that's not able to route through your host on the lxc bridge09:10
*** retreved has joined #openstack-ansible09:13
*** Jack_Iv has quit IRC09:17
*** openstackgerrit has joined #openstack-ansible09:17
openstackgerritAlexandra Settle proposed openstack/openstack-ansible master: [DOCS] Add checklist item for ceph_stable_release  https://review.openstack.org/44919509:17
*** Jack_Iv has joined #openstack-ansible09:17
*** dixiaoli has quit IRC09:18
*** dixiaoli has joined #openstack-ansible09:19
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: [DOCS] Add checklist item for ceph_stable_release  https://review.openstack.org/44919509:20
openstackgerritMerged openstack/openstack-ansible-os_molteniron master: Add example file so required files section in docs looks correct  https://review.openstack.org/45003909:20
*** Jack_Iv has quit IRC09:21
*** udesale__ has joined #openstack-ansible09:28
*** udesale has quit IRC09:28
*** Jack_Iv has joined #openstack-ansible09:35
*** udesale__ has quit IRC09:36
*** udesale has joined #openstack-ansible09:36
foutatoroodyssey4me: I solve the issue after attaching to the LXC_NAME container then rm /etc/apt/apt.conf.d/00apt-cacher-proxy09:43
*** chas has joined #openstack-ansible09:44
odyssey4mefoutatoro ah, that means that file is on the host, but you should have removed it before rebuilding09:46
foutatorooddyssey4me: as said by the tuto I revmoved that file from my host09:47
*** dalees has quit IRC09:47
foutatoroI was surprised to find it in LXC_NAME09:47
*** chas has quit IRC09:49
pjm6good morning OSA09:54
*** pbandark is now known as pbandark`brb09:55
*** SerenaFeng has quit IRC09:56
*** Jack_Iv has quit IRC09:56
openstackgerritAndy McCrae proposed openstack/openstack-ansible-pip_install stable/ocata: RDO repo package name changed  https://review.openstack.org/45014709:57
asmaaHi, After creating a new container, it was generated without IP address on eth009:57
asmaaany idea why ?09:57
*** pbandark`brb has quit IRC09:59
*** Jack_Iv has joined #openstack-ansible09:59
andymccrasmaa: how did you create the new container?10:00
asmaaI used the playbook of ceph. this one generated three containers, only one of them has this problem10:02
asmaaeach container on a different node10:04
*** dixiaoli has quit IRC10:06
*** manheim has quit IRC10:10
*** electrofelix has joined #openstack-ansible10:11
*** dixiaoli has joined #openstack-ansible10:11
openstackgerritMerged openstack/openstack-ansible master: Fix pip_links for LB terminated SSL environments  https://review.openstack.org/44982310:13
openstackgerritMerged openstack/openstack-ansible master: [DOCS] Add checklist item for ceph_stable_release  https://review.openstack.org/44919510:13
andymccrasmaa: do other containers on that host have eth0 addresses? eth0 is usually the lxbr0 interface (from the hosts)10:14
pjm6asmaa: are you using Ubuntu 16.04?10:14
asmaaandymccr yes, containers from the first launch are having IPs on this node, but after rebooting the nodes and creating the new container, this issue appeared.10:17
asmaapjm6 yes, it's Ubuntu 16.0410:18
foutatoroasmaa: try these commands after rebooting /usr/local/bin/lxc-system-manage iptables-create  /usr/local/bin/lxc-system-manage dnsmasq-start || true10:18
odyssey4meandymccr I'm not convinced that https://review.openstack.org/450147 is a good idea. mhayden has an alternative patch in, but has marked it WIP... also I'm busy running an ocata build and it seems to be going ok without that change. I think the current package URL is a pseudo URL which downloads the latest package.... what made you look to change it?10:19
asmaafoutatoro i'll reboot and apply these cmds, thanks all10:20
pjm6asmaa: do what foutatoro said10:20
pjm6I have that problem too, it seems a concurrency problem when lxcbr0 goes up, for some reason that commands appear not being working10:21
pjm6at least in my case and other happen10:21
*** udesale has quit IRC10:31
*** electrofelix has quit IRC10:35
andymccrodyssey4me: that makes sense except that that link isnt working in ocata gating (cinder for example is failing consistently on that)10:36
andymccrhappy with whatever the best solution is, but we need to come up with a definitive solution that actually works consistently rather than a mishmash that seems to fail on a weekly basis10:36
andymccrbbiab!10:37
odyssey4meyeah, odd though because it appears to be working in an integrated build for me10:37
*** deadnull has quit IRC10:37
*** dixiaoli has quit IRC10:37
*** domi007 has joined #openstack-ansible10:38
*** cuongnv has quit IRC10:38
*** dixiaoli has joined #openstack-ansible10:38
domi007hi all, I'm trying to get stable/newton working but for some reason the requirements.txt is wrong so while installing the repo-container it fails on me10:38
domi007It tries to copy to tmp a repository that wasn't cloned (skipped by ansible)10:39
*** tonytan4ever has joined #openstack-ansible10:42
domi007It seems like a bug in the template requirements.txt.j2 in repo_build rola10:42
domi007*role10:42
*** manheim has joined #openstack-ansible10:45
domi007it tries to use nova_lxd10:45
*** fabg has quit IRC10:45
asmaa foutatoro pjm6, this is working for me, thank you.10:46
*** manheim has quit IRC10:46
pjm6asmaa: nice10:47
pjm6when you reboot your host, remember to execute that10:47
pjm6until problem be solved10:47
pjm6odyssey4me: andymccr is there a way to update nova to 15.1.0 without breaking other OS components ?10:48
pjm6If I update only the SHA Bump or its better to wait for OSA 15.1.0 ?10:49
hwoarangodyssey4me: re https://review.openstack.org/#/c/450095/ is there any chance to have some stale .tox directory in your openstack-ansible-haproxy_server repo?10:50
hwoarangcould you remove the .tox directory and try again? :-/10:50
domi007is there any way to tell nova to install without any compute nodes?10:55
*** sanfern has quit IRC10:56
*** smatzek has joined #openstack-ansible10:58
*** electrofelix has joined #openstack-ansible11:00
*** manheim has joined #openstack-ansible11:01
*** dixiaoli has quit IRC11:06
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-plugins master: Add list of packages to install lookup  https://review.openstack.org/44927411:10
evrardjpwhat is this dell ironic CI everywhere?11:10
odyssey4mehwoarang yeah I can try that11:11
odyssey4meit is possible11:11
hwoarangi guess it wouldn't hurt to do an rm -rf .tox in the run_tests.sh script11:12
*** dalees has joined #openstack-ansible11:15
odyssey4meyeah, that's not a bad idea11:15
*** stuartgr has joined #openstack-ansible11:18
*** dixiaoli_ has joined #openstack-ansible11:25
*** coolkil has joined #openstack-ansible11:25
odyssey4meevrardjp it's a badly configured external CI which is not filtering the repo correctly11:26
*** coolkil has left #openstack-ansible11:27
*** coolkil has joined #openstack-ansible11:33
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-haproxy_server master: Add Vagrant support for openSUSE Leap 42.1  https://review.openstack.org/45009511:36
*** Jack_Iv has quit IRC11:36
pjm6the rsyslog container should have all the logs in /var/log/log-storage11:38
pjm6right/11:38
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-plugins master: Add Packages file parsing lookup  https://review.openstack.org/44926711:41
evrardjpodyssey4me: ^ now with tests \o/ I think it's production ready and should be backported :p11:42
*** tonytan4ever has quit IRC11:42
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-plugins master: Add Packages file parsing lookup  https://review.openstack.org/44926711:42
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-plugins master: Add Packages file parsing lookup  https://review.openstack.org/44926711:44
*** dixiaoli_ has quit IRC11:44
pjm6well i just restarted rsyslog service and it's working now11:44
*** thorst has joined #openstack-ansible11:45
*** dixiaoli has joined #openstack-ansible11:48
coolkilI want to install Openstack on an IBM Linux one using Openstack-Ansible. this fails because during the lxc-create gets a blank --architecture input. I wanted to test if I could fix this localy first but I cant find the location to add this variable11:51
coolkilcan anybody help me?11:51
*** manheim has quit IRC11:52
odyssey4mecoolkil what architecture is it?11:53
coolkils390x11:53
odyssey4meheh, that's a first11:53
*** fabg has joined #openstack-ansible11:54
coolkilI know think it should be added here. wanted to test localy first but cant find the same file https://github.com/openstack/openstack-ansible-lxc_container_create/blob/master/defaults/main.yml11:54
odyssey4meassuming that ansible is able to detect the architecture at all, you'll have to add a mapping to https://github.com/openstack/openstack-ansible-lxc_hosts/blob/master/defaults/main.yml#L30-L3311:55
odyssey4meand to https://github.com/openstack/openstack-ansible-lxc_container_create/blob/master/defaults/main.yml#L50-L5311:55
odyssey4meI don't think there's anywhere else that it's needed.11:55
odyssey4mebut you may find that mapping elsewhere too11:56
*** Jack_Iv has joined #openstack-ansible11:56
odyssey4meaccording to http://codesearch.openstack.org/?q=lxc_architecture_mapping&i=nope&files=&repos= that's it11:56
*** sanfern has joined #openstack-ansible11:57
odyssey4methere may be some other surprises which you encounter on the way11:58
coolkilprobably but someone has to be the first to test something like this rightXD11:58
mgariepymorning everyone12:06
mhaydenodyssey4me / andymccr: the RDO issue is a weird one12:08
mhaydenwe require package signing (thanks to the security role) for local packages, which breaks the install of RDO via wget (since that pkg isn't signed)12:08
mhaydenhowever, CentOS Extras repo has the RDO repo packages available to install with yum (as we do for EPEL)12:09
*** manheim has joined #openstack-ansible12:17
mgariepymhayden, centos pkg pulls ceph as well.12:17
mgariepyrdo only pulls rdo + qemu-ev12:17
mgariepyboth points to the same servers tho.12:18
mhaydenwe could only install those two repo packages if we want to12:18
mgariepymaybe we should manage repos12:18
mhaydenthe main repo pkg installs all 412:18
mhaydenbut we could pick and choose from those 4 without installing the big metapackage12:18
*** dixiaoli has quit IRC12:18
mgariepyhttp://www.rpmfind.net/linux/RPM/centos/extras/7.3.1611/x86_64/Packages/centos-release-openstack-ocata-1-1.el7.noarch.html12:19
mgariepythe repo is in that package directly, it's not a meta package12:20
*** askb has quit IRC12:20
*** gouthamr has joined #openstack-ansible12:21
mhaydenwell darn12:22
mhaydenperhaps we ought to just use yum_repository then :/12:22
mgariepycan't we skip pkg sign for the one package ?12:22
*** schwicht has joined #openstack-ansible12:24
mhaydenwe could12:27
mhaydenmgariepy: but if we're doing that, i'd rather config the repo using yum_repository ;)12:29
mgariepygood point.12:29
*** lostRhino has joined #openstack-ansible12:32
*** Disova_ has quit IRC12:33
*** Disova has joined #openstack-ansible12:34
mhaydenmy current patches are here -> https://review.openstack.org/#/q/topic:use-centos-rdo-pkg12:34
mhaydenmgariepy: could we install the built-in centos pkg and remove the ceph repo pkg?12:34
mgariepymhayden, but if we're doing that, i'd rather config the repo using yum_repository ;)12:35
mhaydenyou make a good point :P12:35
mgariepyhaha12:35
mgariepyinstalling to remove is kinda bad IMO :)12:36
mhaydenokay, i'll go fix up my patches12:37
mhayden^^12:37
mhaydenandymccr: ^^12:37
*** fabg has quit IRC12:38
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-haproxy_server master: Add Vagrant support for openSUSE Leap 42.1  https://review.openstack.org/45009512:41
mhaydenmgariepy: would you be opposed to using the *.repo files from the rdo-release.rpm file directly?12:41
mhaydenrather than yum_repository?12:42
mgariepynot really12:42
mhaydenwe could make them templated12:42
mhaydenand could set the priority right there in the repo file12:42
andymccrcool cool :)12:43
*** klamath has joined #openstack-ansible12:44
mgariepyif we use yum_repository we cna set the priority as well.12:44
mhaydengood points12:44
mhaydennow i'm back to considering installing the rdo-release.rpm file w/o GPG checks12:45
mhayden:P12:45
*** tonytan4ever has joined #openstack-ansible12:45
mgariepylol12:45
mhaydencomputers are terrible12:45
mgariepydoes rdo-release repo changes overtime ?12:46
mgariepywhen installing pike we will need: remove rdo-o install rdo-p12:46
*** markvoelker has quit IRC12:47
mhaydenthat is true12:47
mgariepywill using the pkg allow us to update it ?12:47
mgariepymight be easier to maintain on the long run.12:48
*** tonytan4ever has quit IRC12:48
mhaydenyeah, using the pkg should be the cleanest route12:48
mhaydenensures we're matching what upstream is doing (if they make changes)12:49
mgariepyyeah but we need to be able to update it.12:49
openstackgerritMajor Hayden proposed openstack/openstack-ansible-openstack_hosts master: Use built-in CentOS RDO package  https://review.openstack.org/44978812:50
mhaydenmgariepy: see how that looks ^^12:50
mhaydenwell commit message needs an update12:50
mgariepylgtm12:51
mgariepybeside the commit msg12:51
andymccras an fyi i put the patch in to promote the upgrade jobs for cinder/nova/neutron to voting :)12:51
openstackgerritMajor Hayden proposed openstack/openstack-ansible-openstack_hosts master: Install RDO release RPM without GPG checks  https://review.openstack.org/44978812:52
mhaydenmgariepy: ^^ check the commit msg there12:52
mhaydenandymccr: nifty!12:52
mgariepymhayden, perfect :D\12:55
mhaydenyay12:55
openstackgerritMarc Gariépy proposed openstack/openstack-ansible-haproxy_server stable/ocata: Add additional check for SElinux  https://review.openstack.org/45020112:56
openstackgerritMajor Hayden proposed openstack/openstack-ansible-pip_install master: Install RDO release RPM without GPG checks  https://review.openstack.org/44979512:57
andymccroh on that note - the one cinder upgrade fix job for ocata needs another review: https://review.openstack.org/#/c/448161/ - thought they'd all gone through but i missed one that is still in flight :)12:59
openstackgerritMajor Hayden proposed openstack/openstack-ansible-tests master: Install RDO release RPM without GPG checks  https://review.openstack.org/44979612:59
mgariepyandymccr, done13:00
mhaydenandymccr: https://review.openstack.org/#/q/topic:install-rdo-without-gpgcheck13:00
andymccrgrazie :)13:00
andymccrmhayden: mgariepy: thanks for sorting out the repo stuff!13:00
mgariepyyou're welcome13:01
mgariepyi really want it to work. !13:01
mgariepymhayden, we don't need it for lxc-hosts  ?13:03
mhaydenmgariepy: is the caching step affected?13:03
mgariepynot sure, isn't the yum config pulled from the hosts in the chroot ?13:04
mhaydenah, that's a good point13:04
mhaydeni'll fix that one up as well13:05
*** coolkil has left #openstack-ansible13:08
openstackgerritMajor Hayden proposed openstack/openstack-ansible-lxc_hosts master: Install RDO release RPM without GPG checks  https://review.openstack.org/45020613:09
*** woodard has joined #openstack-ansible13:11
openstackgerritMerged openstack/openstack-ansible-openstack_hosts master: Install RDO release RPM without GPG checks  https://review.openstack.org/44978813:13
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-openstack_openrc master: meta: Add CentOS and openSUSE as supported distributions  https://review.openstack.org/45021013:13
openstackgerritMerged openstack/openstack-ansible-pip_install master: Install RDO release RPM without GPG checks  https://review.openstack.org/44979513:14
*** manheim has quit IRC13:18
mhaydenhwoarang: i left some comments around your run_tests changes13:21
mhaydencan we get run_tests.sh/bindep.txt updated in one repo and then push the same changes to all repos?13:22
hwoarangmhayden: i thought of the same thing... maybe openstack-ansible-tests repo?13:22
mhaydenhwoarang: possibly -- just pick one repo, get it looking good, we can merge it, then you can blast out that change to all of the OSA repos13:22
mhaydenthat way we keep them all synchronized13:23
hwoarangyeah definitely13:23
mhaydenas a side note, your run_tests.sh looks fine at first glance -- haven't tested it on SUSE yet13:23
hwoarangthe Vagrantfile may also be placed into a central repo13:23
*** fabg has joined #openstack-ansible13:28
*** fabg has quit IRC13:29
*** cjloader_ has joined #openstack-ansible13:31
*** manheim has joined #openstack-ansible13:31
*** tonytan4ever has joined #openstack-ansible13:31
odyssey4mehwoarang I don't think it'll be possible to use the run_tests.sh from openstack-ansible-tests because run_tests needs to actually implement the packages needed to get tox going and such13:32
odyssey4meie it's pre-everything and we can't assume that git will be present either13:32
hwoaranghmm ...13:33
*** foutatoro has quit IRC13:34
*** woodard has quit IRC13:35
*** cathrich_ has joined #openstack-ansible13:35
odyssey4mealso, the vagrantfile is not always the same - many are, but some are not13:35
*** rmelero has joined #openstack-ansible13:36
openstackgerritMerged openstack/openstack-ansible-lxc_hosts master: Install RDO release RPM without GPG checks  https://review.openstack.org/45020613:36
odyssey4mecentralising those will also take away the ability to simply 'vagrant up'13:36
*** gouthamr_ has joined #openstack-ansible13:36
cloudnullmornings13:36
*** gouthamr has quit IRC13:36
pjm6cloudnull: o/13:37
odyssey4meso yeah, unfortunately duplication is needed there - we may be able to reduce it a bit, but I can't see us eliminating it13:37
cloudnullo/13:37
*** cathrichardson has quit IRC13:38
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/ocata: Update role SHA's to get CentOS working  https://review.openstack.org/45022413:38
odyssey4meandymccr mhayden mgagne note that with ^ I managed to get a full pass for CentOS using the Vagrantfile13:39
hwoarangodyssey4me: i see. so far all the vagrant files are more or less the same. I was basically thinking of fixing everything in openstack-ansible-tests and then make that repo a submodule for the rest of the repos. but that of course implies that git is available.13:39
odyssey4mesc` ^ see note about my patch above13:40
pjm6i don't remember but someone else in this channel had problems using VNC console to access instances13:40
odyssey4mehwoarang a submodule would also force us to regularly update it due to the fixed SHA13:40
pjm6I fix it by just restart the nova-consoleauth and nova-spice5html services13:40
odyssey4meso we'd still have to do a bunch of patches regardless13:41
hwoarangright13:41
odyssey4mecurrently we do https://github.com/openstack/openstack-ansible-haproxy_server/blob/master/tox.ini#L56-L6013:41
odyssey4meit works as a way to easily get the current head into a known location13:41
odyssey4mefor stable branches we make that branch specific13:42
odyssey4meeg https://github.com/openstack/openstack-ansible-haproxy_server/blob/stable/ocata/tox.ini#L5913:42
*** fabg has joined #openstack-ansible13:42
hwoarangyes but this does not seem to help much in that case13:42
odyssey4meso to make a common run_tests script we could possibly have a basic wrapper in-repo which then executes a shared script13:42
odyssey4meif the wrapper in repo is very basic, then it will never need updating13:43
odyssey4meI don't know if it'd be possible to do something similar with a vagrantfile - have an in-repo wrapper, but source details from a shared repo13:44
odyssey4meit it is, then I'm game for that13:44
sc`if only there were something likr chef-provisioning :D13:45
openstackgerritMerged openstack/openstack-ansible-os_cinder stable/ocata: Fix Cinder upgrade jobs  https://review.openstack.org/44816113:47
*** rmelero has quit IRC13:49
*** rmelero has joined #openstack-ansible13:49
cloudnullchef-metal FTW !13:49
* cloudnull loves him some chef13:50
*** rmelero has quit IRC13:54
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-tests master: vagrant: Add openSUSE Leap 42.1  https://review.openstack.org/45023913:54
openstackgerritAndy McCrae proposed openstack/openstack-ansible-os_nova master: Use the cinderv3 endpoint by default  https://review.openstack.org/44650813:54
*** esberglu has joined #openstack-ansible13:57
*** esberglu_ has joined #openstack-ansible14:00
*** markvoelker has joined #openstack-ansible14:00
*** SerenaFeng has joined #openstack-ansible14:01
*** agrebennikov has joined #openstack-ansible14:01
*** esberglu has quit IRC14:02
*** rmelero has joined #openstack-ansible14:03
openstackgerritMerged openstack/openstack-ansible-os_nova stable/ocata: Search for whole equivalence for SElinux  https://review.openstack.org/44991714:05
openstackgerritMerged openstack/openstack-ansible-rsyslog_client master: Fix mutiple restart of rsyslog daemon  https://review.openstack.org/44996614:06
*** rmelero has quit IRC14:07
*** rmelero has joined #openstack-ansible14:09
*** rmelero has quit IRC14:09
*** rmelero has joined #openstack-ansible14:09
pjm6the nova_console_ssl* don't work with spice ?14:13
*** rmelero has quit IRC14:14
*** rmelero has joined #openstack-ansible14:15
openstackgerritJimmy McCrory proposed openstack/openstack-ansible stable/ocata: Fix pip_links for LB terminated SSL environments  https://review.openstack.org/45025714:17
openstackgerritJimmy McCrory proposed openstack/openstack-ansible stable/newton: Fix pip_links for LB terminated SSL environments  https://review.openstack.org/45025814:17
openstackgerritBjoern Teipel proposed openstack/openstack-ansible stable/newton: Bump Keepalived  https://review.openstack.org/44930514:19
*** rmelero has quit IRC14:19
*** rmelero has joined #openstack-ansible14:20
*** manheim has quit IRC14:21
*** woodard has joined #openstack-ansible14:21
*** deepak_jon has quit IRC14:22
*** manheim has joined #openstack-ansible14:24
*** acormier has joined #openstack-ansible14:24
odyssey4mehwoarang instead of the 'which <package installer>' perhaps we should just source /etc/os-release and use a case statement - it'll be simpler and more readable14:29
odyssey4mealso, I'd rather see run_tests.sh use the same mechanism as tox (ie git clone the tests repo) so that it's easier to be familiar with14:30
*** marst has quit IRC14:30
*** NikhilS has quit IRC14:31
*** NikhilS has joined #openstack-ansible14:31
tonytan4everevrardjp: ping14:31
*** NikhilS has quit IRC14:31
*** NikhilS has joined #openstack-ansible14:31
evrardjppong14:33
*** rmelero has quit IRC14:35
*** cmart has joined #openstack-ansible14:35
*** rmelero has joined #openstack-ansible14:35
*** dr_dolphm is now known as dolphm14:37
*** manheim has quit IRC14:38
*** rmelero has quit IRC14:40
*** shashank_t_ has joined #openstack-ansible14:42
*** phalmos has joined #openstack-ansible14:43
*** marst has joined #openstack-ansible14:44
*** kstev has joined #openstack-ansible14:45
hwoarangodyssey4me: something like this? http://paste.opensuse.org/152587414:48
hwoarang(not tested just trying to get the main idea straight)14:49
*** fxpester has quit IRC14:49
*** furlongm has quit IRC14:50
*** Jack_Iv has quit IRC14:50
odyssey4mehwoarang yeah, although I think the package names might need to vary based on distribution14:51
*** Jack_Iv has joined #openstack-ansible14:51
hwoarangyeah14:52
odyssey4mebut otherwise that looks pretty good - with that content in run_tests.sh though14:52
*** Jack_Iv has quit IRC14:52
odyssey4methen whatever we have in the common repo - I guess the bindep and other things should be executed in the sared script14:52
odyssey4me*shared14:52
hwoarangi was thining the shared scirpt to be run_tests.sh in the -tests repo and the in-repo script to be run_vagrant_tests.sh or whatever14:53
hwoarangand run_vagrant_tests.sh will have whatever i pasted above14:53
odyssey4methe whole idea is that run_tests.sh in repo should be a one stop spot for executing the tests on your temp host14:54
odyssey4meit's not vagrant specific14:54
*** udesale has joined #openstack-ansible14:54
hwoarangok14:54
hwoarangno problem14:54
*** woodard has quit IRC14:57
*** rmelero has joined #openstack-ansible14:57
*** woodard has joined #openstack-ansible14:57
*** rmelero has quit IRC15:02
odyssey4mehwoarang your script-fu is strong :)15:03
openstackgerritMerged openstack/openstack-ansible-haproxy_server master: Add Vagrant support for openSUSE Leap 42.1  https://review.openstack.org/45009515:04
*** marst has quit IRC15:04
palendaeArgh, https://review.openstack.org/#/c/449787/ still unmerged15:04
*** NikhilS has quit IRC15:06
*** tonytan_brb has joined #openstack-ansible15:06
*** tonytan4ever has quit IRC15:07
openstackgerritNolan Brubaker proposed openstack/openstack-ansible-os_cinder master: Adjust cinder init restart times, provide variable  https://review.openstack.org/44877715:09
openstackgerritMerged openstack/openstack-ansible-tests master: Install RDO release RPM without GPG checks  https://review.openstack.org/44979615:09
*** NikhilS has joined #openstack-ansible15:10
openstackgerritMerged openstack/openstack-ansible-os_cinder stable/ocata: Add support for cinder v3 api  https://review.openstack.org/44865915:10
*** dxiri has joined #openstack-ansible15:11
*** rmelero has joined #openstack-ansible15:11
*** NikhilS has quit IRC15:11
openstackgerritAndy McCrae proposed openstack/openstack-ansible-os_cinder stable/newton: Add git to stable/ocata Trusty installs  https://review.openstack.org/45028715:22
*** brianw has quit IRC15:23
odyssey4meandymccr ^ you meant stable/newton ?15:25
andymccrodyssey4me: haha yeah15:25
andymccrdamnit :P15:25
*** dxiri has quit IRC15:25
odyssey4mewhy is git needed?15:25
openstackgerritAndy McCrae proposed openstack/openstack-ansible-os_cinder stable/newton: Add git to stable/newton Trusty installs  https://review.openstack.org/45028715:25
odyssey4methat seems odd15:26
*** dxiri has joined #openstack-ansible15:26
andymccrodyssey4me: for installing packages in dev mode - the real solution is to adjust this functionality in master to have a dev package list or something along those lines15:26
odyssey4methat's exactly what bindep is for15:26
odyssey4mewe shouldn't be installing that in the distro package list, because then all cinder hosts get it15:26
odyssey4mehmm, but then it needs it in the container, doesn't it15:26
odyssey4medammit15:26
andymccrodyssey4me: bindep wont setup the packages on the containers - but i agree in essence that this isnt the correct approach except that its on stable/newton15:26
andymccrso adjusting functionality for all branches of cinder is not really super backportable15:27
palendaeCinder's going to fail til this gets fixed, I think - https://review.openstack.org/#/c/449787/15:27
andymccrpalendae: i thought i fixed the tempest cinder nonsense on stable/ocata for OSA at least... hmm15:27
odyssey4meandymccr I think palendae is talking to master15:27
odyssey4me*about15:28
palendaeandymccr: https://review.openstack.org/#/c/448777/ was still failing this morning15:28
palendaeOh, yeah, master.15:28
palendaeDunno how far the tempest breakage went back15:28
*** lucasxu has joined #openstack-ansible15:29
andymccrsounds like a new issue then :(15:29
palendaeYeah. I found that cinder review Friday, looks like their own gate isn't passing though15:30
*** galstrom_zzz is now known as galstrom15:34
*** manheim has joined #openstack-ansible15:35
openstackgerritAndy McCrae proposed openstack/openstack-ansible-os_cinder master: Only install git when developer_mode is enabled  https://review.openstack.org/45029315:35
andymccrodyssey4me: ^ better approach.15:35
andymccralthough for stable/newton not sure that's a backport15:36
odyssey4meandymccr way better :)15:37
*** chas has joined #openstack-ansible15:38
openstackgerritEric Berglund proposed openstack/openstack-ansible-os_nova master: Add novalink apt key and repo before installation  https://review.openstack.org/45029815:38
*** chas_ has joined #openstack-ansible15:40
*** chas has quit IRC15:42
*** chas_ has quit IRC15:44
*** chas has joined #openstack-ansible15:46
*** udesale has quit IRC15:50
*** Jack_Iv has joined #openstack-ansible15:52
*** schwicht has quit IRC15:55
*** Jack_Iv has quit IRC15:57
*** vnogin has quit IRC16:00
*** shashank_t_ has quit IRC16:01
*** tonytan_brb has quit IRC16:03
*** tonytan4ever has joined #openstack-ansible16:03
*** udesale has joined #openstack-ansible16:06
*** sanfern has quit IRC16:06
openstackgerritMajor Hayden proposed openstack/openstack-ansible-openstack_hosts stable/ocata: Install RDO release RPM without GPG checks  https://review.openstack.org/45031116:06
openstackgerritMajor Hayden proposed openstack/openstack-ansible-pip_install stable/ocata: Install RDO release RPM without GPG checks  https://review.openstack.org/45031216:07
*** sanfern has joined #openstack-ansible16:07
openstackgerritMajor Hayden proposed openstack/openstack-ansible-lxc_hosts stable/ocata: Install RDO release RPM without GPG checks  https://review.openstack.org/45031316:07
openstackgerritMajor Hayden proposed openstack/openstack-ansible-tests stable/ocata: Install RDO release RPM without GPG checks  https://review.openstack.org/45031516:07
*** electrofelix has quit IRC16:09
*** SerenaFeng has quit IRC16:12
*** rboyapat has joined #openstack-ansible16:13
*** fabg has quit IRC16:13
*** jamesdenton has joined #openstack-ansible16:23
SamYaplemhayden: first disabling selinux, now disabling gpg checks? i am disappoint16:23
odyssey4mehell freezeth over16:24
mhaydenhaha16:24
SamYaple<3 mhayden16:24
mhaydenSamYaple: dmsimard poked our friends in RDO-land to see if they can get that pkg signed16:24
mhaydenthe repos it configures have signed packages16:25
SamYaplemhayden: is that just for master? or do they sign none of thier packages?16:26
mhaydenthe repo packages appear to be unsigned16:27
mhaydenthe rdo-release-ocata.rpm only contains 3 repo files and 2 keys16:27
mhaydenbrb16:27
SamYapleoh i see16:27
SamYaplethe more you know16:27
dmsimardSamYaple: the stable repositories are signed and gpgcheck is enabled16:27
SamYapledmsimard: ah ok. that sounds more right16:28
dmsimardIt's the convenience package to get the repos set up that isnt itself signed16:28
SamYapleyea i can see that16:28
*** manheim has quit IRC16:28
*** MasterOfBugs has joined #openstack-ansible16:28
spotzdmsimard: So not so convenient?:)16:29
*** hachi has quit IRC16:29
dmsimard¯\_(ツ)_/¯16:31
dmsimardThe yum defaults do not have local_gpgcheck enabled16:31
dmsimardSo I didn't know until someone pointed it out and that's fair, we'll improve it16:31
*** hachi has joined #openstack-ansible16:32
*** adrian_otto has joined #openstack-ansible16:37
*** lostRhino has left #openstack-ansible16:38
openstackgerritMerged openstack/openstack-ansible-os_cinder stable/newton: Add git to stable/newton Trusty installs  https://review.openstack.org/45028716:41
*** pbandark has joined #openstack-ansible16:42
*** hachi has quit IRC16:44
*** shashank_t_ has joined #openstack-ansible16:49
*** shashank_t_ has quit IRC16:50
*** Jack_Iv has joined #openstack-ansible16:53
*** udesale has quit IRC16:54
*** Jack_Iv has quit IRC16:58
*** dxiri_ has joined #openstack-ansible17:06
*** dxiri has quit IRC17:09
*** pbandark has quit IRC17:12
*** pcaruana has quit IRC17:12
*** Amit82 has joined #openstack-ansible17:13
Amit82Hi All, I am deploying openstack using OSA 14.0.8.17:14
Amit82While running "openstack-ansible setup-infrastructure.yml", I am facing this error: http://paste.openstack.org/show/604353/17:15
Amit82Any idea about this error?17:15
openstackgerritMerged openstack/openstack-ansible-os_octavia master: Deprecate auth_plugin option  https://review.openstack.org/44836717:15
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-tests master: vagrant: Add openSUSE Leap 42.1  https://review.openstack.org/45023917:16
*** schwicht has joined #openstack-ansible17:19
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-tests master: vagrant: Add openSUSE Leap 42.1  https://review.openstack.org/45023917:20
*** markvoelker has quit IRC17:23
openstackgerritMerged openstack/openstack-ansible stable/newton: Fix pip_links for LB terminated SSL environments  https://review.openstack.org/45025817:24
evrardjpAmit82: hey17:29
evrardjpUpdate apt if needed is located here: https://github.com/openstack/openstack-ansible-repo_server/blob/14.0.8/tasks/install_apt.yml#L2617:29
evrardjpit basically uses the apt module17:29
evrardjpto do update_cache: yes17:30
evrardjpso if it doesn't work, it looks like there is something wrong on the container apt cache17:30
evrardjptry running it manually and fix it that way?17:30
evrardjpAmit82: for you it would be ansible -m shell -a "apt-get update" infra2_1_repo_container-defd5df117:31
evrardjpyou'll see more about the failure I guess17:31
evrardjpapt cache can be busted quite easily if you Ctrl-C while doing operations, or network issues.17:32
evrardjpI cannot confirm that's the issue/cause, but doing this would help you.17:32
*** gouthamr_ is now known as gouthamr17:32
*** schwicht has quit IRC17:34
Amit82evrardjp: thanks a lot, I ran "ansible -m shell -a "apt-get update" infra2_1_repo_container-defd5df1", and then re-ran setup-infrastructure.yml17:37
Amit82I think it passed that step but stuck at this: http://paste.openstack.org/show/604358/17:37
*** kstev has quit IRC17:39
*** shashank_t_ has joined #openstack-ansible17:39
*** lucasxu has quit IRC17:40
openstackgerritMerged openstack/openstack-ansible stable/ocata: Fix pip_links for LB terminated SSL environments  https://review.openstack.org/45025717:41
*** shardy has quit IRC17:44
openstackgerritMerged openstack/openstack-ansible-openstack_hosts stable/ocata: Install RDO release RPM without GPG checks  https://review.openstack.org/45031117:45
*** The_Intern has joined #openstack-ansible17:46
openstackgerritMerged openstack/openstack-ansible-lxc_hosts stable/ocata: Install RDO release RPM without GPG checks  https://review.openstack.org/45031317:46
evrardjpAmit82: maybe you should check the connectivity of this container17:49
evrardjpand check that everything is alright17:49
openstackgerritMerged openstack/openstack-ansible-pip_install stable/ocata: Install RDO release RPM without GPG checks  https://review.openstack.org/45031217:51
*** Amit82 has quit IRC17:54
openstackgerritLuz Cazares proposed openstack/openstack-ansible-os_tempest master: (WIP) Copy tempest subunit result files to log folder  https://review.openstack.org/44935217:54
*** Jack_Iv has joined #openstack-ansible17:54
openstackgerritMerged openstack/openstack-ansible-rsyslog_client master: Update postrotate script  https://review.openstack.org/44996717:55
*** Amit82 has joined #openstack-ansible17:56
openstackgerritLuz Cazares proposed openstack/openstack-ansible-os_tempest master: (WIP) Copy tempest subunit result files to log folder  https://review.openstack.org/44935217:56
openstackgerritMerged openstack/openstack-ansible-os_ceilometer master: Add a release note  https://review.openstack.org/44986517:56
*** shashank_t_ has quit IRC17:56
*** adrian_otto has quit IRC17:57
*** stuartgr has quit IRC17:57
*** shashank_t_ has joined #openstack-ansible17:57
Amit82As my installation is getting stuck here and there.17:58
Amit82How can I cleanup everything and re-run all the playbooks from start17:58
Amit82?17:59
*** Jack_Iv has quit IRC17:59
Amit82I mean is there any script for cleanup everything what OSA does in setup-hosts.yml and setup-infrastructure.yml18:00
*** schwicht has joined #openstack-ansible18:00
Amit82?18:00
*** kstev has joined #openstack-ansible18:01
*** shashank_t_ has quit IRC18:01
*** poopcat has joined #openstack-ansible18:02
openstackgerritMerged openstack/openstack-ansible-lxc_container_create master: Enhance configurability of LXC net interfaces  https://review.openstack.org/38688518:04
openstackgerritMerged openstack/openstack-ansible-tests stable/ocata: Install RDO release RPM without GPG checks  https://review.openstack.org/45031518:07
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-haproxy_server master: [WIP] run_tests.sh: Use common test script to run the tox tests  https://review.openstack.org/45038418:07
hwoarangodyssey4me: ^ a proof of concept18:08
*** schwicht has quit IRC18:08
*** poopcat has quit IRC18:10
*** lucasxu has joined #openstack-ansible18:11
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-haproxy_server master: [WIP] run_tests.sh: Use common test script to run the tox tests  https://review.openstack.org/45038418:11
*** marst has joined #openstack-ansible18:12
*** Amit82 has quit IRC18:12
*** pbandark has joined #openstack-ansible18:15
*** MasterOfBugs has quit IRC18:18
*** Jack_Iv has joined #openstack-ansible18:25
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-haproxy_server master: [WIP] run_tests.sh: Use common test script to run the tox tests  https://review.openstack.org/45038418:28
*** Jack_Iv has quit IRC18:29
*** retreved has quit IRC18:37
*** retreved has joined #openstack-ansible18:37
*** vnogin has joined #openstack-ansible18:38
*** chas has quit IRC18:39
*** vnogin has quit IRC18:42
*** pbandark has quit IRC18:50
openstackgerritMerged openstack/openstack-ansible master: Add support to install a molteniron server  https://review.openstack.org/42725518:56
*** fabg has joined #openstack-ansible18:59
*** phalmos has quit IRC19:02
*** schwicht has joined #openstack-ansible19:03
*** smatzek has quit IRC19:10
*** adrian_otto has joined #openstack-ansible19:12
*** hybridpollo has joined #openstack-ansible19:15
*** fabg has quit IRC19:16
*** The_Intern has quit IRC19:17
lbragstadhey folks - we have a few changes that have merged recently that move policy defaults into code for keystone (https://review.openstack.org/#/q/topic:bp/policy-in-code+project:openstack/keystone)19:17
*** The_Intern has joined #openstack-ansible19:17
lbragstadnot sure if there are specific things osa needs to do around those, but I assume work has already been done in osa to consume those types of changes from nova?19:18
*** poopcat has joined #openstack-ansible19:18
*** hybridpolio has joined #openstack-ansible19:19
palendaelbragstad: afaik no https://github.com/openstack/openstack-ansible-os_keystone/blob/master/templates/policy.json.j219:19
palendaeBut last I played with policy was trying to get a policy working between horizon and keystone that allowed multiple domains to play nice...someone else fixed that internally and I fell out of the loop19:20
palendaelbragstad: Does this mean the tools to generate the sample configs should be run during a keystone deploy?19:20
*** hybridpollo has quit IRC19:21
*** hybridpolio is now known as hybridpollo19:22
palendaeNova was last updated in June 2016 https://github.com/openstack/openstack-ansible-os_nova/blob/master/templates/policy.json.j219:23
palendaeJuly, sorry19:23
lbragstadpalendae when you generate policy files for horizon and nova, is that what you do?19:23
palendaelbragstad: Looks like no19:23
palendaeBut I may be out of the loop there, since that file is completely blank19:24
palendaehttps://github.com/openstack/openstack-ansible-os_nova/blob/3145f5142f770736d8f45d9d769a8755687eba96/tasks/nova_post_install.yml#L78 looks like it just applies our override dict, not running scripts19:24
*** nyloc has quit IRC19:25
*** nyloc has joined #openstack-ansible19:25
*** Jack_Iv has joined #openstack-ansible19:26
palendaelbragstad: https://github.com/openstack/openstack-ansible-os_horizon/blob/e097fb989015a3c289f26619ab2c24bd4a18826b/templates/horizon_local_settings.py.j2#L415-L44019:26
palendaeLooks like our roles aren't up with the latest policy changes :(19:27
*** shashank_t_ has joined #openstack-ansible19:27
lbragstadpalendae ah - interesting19:28
lbragstadpalendae after the policy-in-codes changes go into keystone, you should be able to generate complete policy files based on any existing policies written to the file and the defaults defined in code19:29
palendaeCool19:29
palendaeBut I assume we're going to need to add tasks that call the executables that do so?19:29
lbragstadpalendae but - i think policy generation only kicks out yaml (as of oslo.policy 1.21.0)19:30
lbragstadpalendae i would think so19:30
palendaeAre they going to be separate executables, or something like keystone-manage?19:30
*** Jack_Iv has quit IRC19:30
lbragstadpalendae i suppose it would be possible for osa to be aware of any policy overrides specified by the deployer19:30
palendaeI, for one, would be happy if we could point our policy overrides to a file, vs. writing them inline in the openstack_user_config19:32
lbragstadpalendae https://review.openstack.org/#/c/443344/519:32
palendaeBut that's just out of a general desire to reduce complexity of that file, not about policy specifically19:32
lbragstadpalendae very similar, but it would use oslo.policy instead `oslopolicy-sample-generator --config-file etc/keystone-policy-generator.conf` for example19:33
palendaeAh, ok, so there is already a generator19:33
palendaeBut keystone would wrap that code with it's own executable19:33
lbragstadpalendae i should also clarify19:34
lbragstadwith these changes, it should be possible to run keystone with *only* the policies you want to override specified in your policy file19:34
palendaelbragstad: 👍19:35
palendaeThat sounds awesome19:35
lbragstad(i.e. if you only want to override GET /v3/users/ to be something other than the default, that's the only entry that would exist in your deployments policy file for keystone)19:35
palendaeRight19:35
lbragstadyeah - there are two types19:35
palendaeThat'd be a big win19:35
lbragstadthere is a sample generator19:35
palendaeBut it sounds like we may need some guidance on bringing this into our roles19:35
lbragstadwhich behaves very similar to the sample config generator19:35
palendaeI'm definitely not super clear on how it would fit19:36
lbragstadit generates a sample policy file with documentation about each of policies, what they do, what path + http verb is used to access them, etc...19:38
lbragstadthen there is a policy file generator that looks for an existing policy file on disk, reads values defined in that files as overrides, and fills in the rest of the policies with the default values19:38
lbragstadso the result is a complete policy file with overrides for a specific deployment worked into the result19:38
lbragstad(which would be something you could give horizon)19:38
palendaeNice19:38
openstackgerritMerged openstack/openstack-ansible master: Remove Ceilometer API Service  https://review.openstack.org/43874019:40
*** aimeeu__ has joined #openstack-ansible19:41
*** aimeeu has quit IRC19:41
*** aimeeu__ is now known as aimeeu19:41
lbragstadpalendae yeah - the policy generation pieces would munge any existing policies with the defaults.19:44
palendaeCool19:44
lbragstadpalendae there is also some additional functionality that might help clean up your existing policy files19:45
lbragstadpalendae you should be able to pass an existing policy file to oslo.policy and it will tell you which policies you've defined that are using the default (i.e. any policies you no longer need to define and can prune from your policy file)19:48
lbragstadpalendae which is essentially a tool for helping deployers simplify their policy files19:48
lbragstadby removing duplicated/default information19:48
palendaeRight19:48
palendaeSo some of that isn't really for OSA to do19:48
palendaeMore like so people can clean up what they're passing in as overrides via OSA19:49
lbragstadpalendae ++19:49
lbragstadpalendae does osa override any of the keystone policies?19:49
*** v1k0d3n has quit IRC19:49
palendaeI don't know for sure, but usually commits like the latest here https://github.com/openstack/openstack-ansible-os_keystone/blob/master/templates/policy.json.j2 just copy/paste them out of the package's git repo19:50
lbragstadhttps://github.com/openstack/openstack-ansible-os_keystone/blob/33e5ca3eb6ebe218412a7ee51da6e463e6e15551/templates/policy.json.j2 looks pretty stock19:50
palendaeRight19:50
palendaeSo yeah, my guess is most of them could go away19:50
lbragstadyeah - if not all of them19:50
palendaeThe template file may be necessary for the config_template plugin to populate an override19:50
lbragstadthen the deploy process would call the keystone/oslo bits to munge the right policy together based on any deployer specific policy overrides19:51
palendaeBut if you're not doing overrides, it just wouldn't get used19:51
*** v1k0d3n has joined #openstack-ansible19:51
*** tonytan4ever has quit IRC19:51
lbragstadyeah - if there aren't any overrides just generate a sample for horizon19:51
lbragstadif there are overrides, osa would have to munge the files using the oslo/keystone tooling to provide a policy file for horizon19:52
palendaeGot it19:52
lbragstadand keystone would just run with whatever is left in the overrides file (since it doesn't really make sense to generate a complete policy file of default for keystone since it already knows its own defaults)19:52
palendaeSo existing policy.json files will be used as overrides for now; are they being dropped any time soon?19:53
*** tonytan4ever has joined #openstack-ansible19:53
lbragstadpalendae is what being dropped?19:53
lbragstadpalendae support for using .json/.yaml files for policy?19:53
palendaeYes19:54
lbragstadpalendae not that i am aware of19:54
palendaek19:54
palendaeSo it's less about ripping stuff out, but adjusting it for the new process19:54
lbragstadpalendae since that's what deployers use to customize policy for their deployments19:54
lbragstadwe're just moving everything into code, and treating anything in the policy file as an override to the default in code19:55
palendaeYeah19:55
lbragstadwhich should make the policy file simpler if you only override a subset of policies19:55
palendaeSo if you're stock, no need to have a copy/pasted file sitting around19:55
lbragstadright19:55
palendaeRight, that's kinda like what I did with environment overrides19:55
lbragstadif a policy isn't define in the policy file, the default is applied in code19:55
palendaeWe keep our default environment in tree, you only write /etc/openstack_deploy/env.d files if you need them19:55
palendaeFor our case, that also helps when it comes time to upgrade19:56
lbragstadah - so that's essentially your overrides19:56
palendaeEasier to tell if we made a change to the structure, or the deployer did19:56
palendaeFor environment, yes19:56
lbragstadright19:56
palendaeFor policy it would go into a dictionary in openstack_user_config.yml19:56
palendaeWhich is then processed by config_template and rendered to a json file19:56
lbragstadyeah - we're hoping this helps with the upgrade case too, since at upgrade time you don't have to manually diff a file between releases to see what policies changed or were added19:57
palendaeExactly19:57
palendaeCause sometimes the diff is just about ordering19:57
lbragstadand it's a PITA19:57
lbragstadto do manually19:57
palendaeOr if you have a change introduced by the project AND a change done by the deployer19:57
lbragstadinstead all your defaults just carry forward19:57
lbragstadpalendae yeah - that's the worst of all worlds19:58
palendaeIt's impossible to find out who changed what19:58
palendaeWhich is where I was in a few of our OSA upgrades19:58
palendaeWe removed some services from groups19:58
lbragstad:-/19:58
palendaeBut I couldn't just blanket remove them19:58
*** TxGirlGeek has joined #openstack-ansible19:58
palendaePutting env.d in our tree fixed that particular annoyance19:58
palendaeThough maybe someday we'll just replace our inventory system with something simpler and more common19:59
openstackgerritMerged openstack/openstack-ansible-security master: Change PASS_WARN_DAYS --> PASS_WARN_AGE  https://review.openstack.org/44819319:59
lbragstadi'll write down an action item to help out with porting those changes into osa once we have all the policy-in-code and policy-docs patches merged20:00
palendaeThanks!20:00
lbragstadbecause that should result in all the necessary things to generate the required policy files20:01
lbragstadpalendae osa keystone master pulls from keystone master, right?20:01
palendaeI *think* so20:01
palendaeMay pull a specific SHA slightly behind master though20:02
*** Jack_Iv has joined #openstack-ansible20:02
lbragstadah - https://github.com/openstack/openstack-ansible-os_keystone/blob/33e5ca3eb6ebe218412a7ee51da6e463e6e15551/defaults/main.yml#L3120:02
spotzlbragstad: palendaeI think we pull the SHA at release?20:02
palendaespotz: Well, master tries to keep up20:02
lbragstadspotz ah - at milestones, too?20:02
palendaeThen at release we pin20:02
spotzlbragstad: I think palendae explained it better:)20:03
*** manheim_ has joined #openstack-ansible20:03
palendaelbragstad: We try to consume the head of master on master, and when we cut branches we'll consume SHAs20:03
stevellenova is moving to the exact same treatment of policies, so this is going to be a behavior we will want to generalize20:03
palendaestevelle: Yeah, lbragstad started the convo by assuming we'd already done so :)20:04
palendaeWith nov20:04
palendaenova*20:04
stevelleI just read most of the scrollback :)20:04
lbragstadstevelle o/20:04
palendaeAh :)20:04
spotzhey stevelle!20:04
* stevelle suddenly feels like he's been away instead of just distracted20:04
lbragstadyeah - keystone has moved most policy into code, and is currently working on documenting each of the policies so that we can generate proper sample policy files20:05
lbragstadwe're planning on getting all of this done before pike-1, so i wanted to swing by and see if there was anything we could use to help osa consume this for keystone (which is why I started asking about nova defaults)20:06
*** Jack_Iv has quit IRC20:07
palendaeYeah, I think that'd be great20:07
lbragstadwould a sane starting place be to figure out what the required steps are for removing the default policy.json.j2 templates?20:08
palendaeI think so20:08
lbragstadcool20:08
palendaeI'm not sure it'd be removed, though20:08
palendaeThe config_template module would place any overrides written into openstack_user_config.yml into that20:08
palendaeThough maybe we can modify the template to just spit out a string of JSON into a specified file, instead of requiring an empty j2 file20:09
*** cmart has quit IRC20:09
lbragstadwould it work for config_template to only write to that file IFF there are overrides to write?20:09
*** markvoelker has joined #openstack-ansible20:09
palendaeI think that's doable20:09
palendaeWith a when: keystone_policy_json_overrides is defined20:09
palendae(variable name might be wrong)20:10
lbragstadthen the osa roles for the various projects would be able to remove the j2 policy template completely and leave it up to config_template to do the needful20:10
palendaeI'd have to look at the internals of config_template...20:10
lbragstadme too20:10
palendaeBut I think it *needs* a file to exist20:10
lbragstadok20:10
palendaeLike https://github.com/openstack/openstack-ansible-os_nova/blob/master/templates/policy.json.j220:11
lbragstadalso - i believe oslo.policy only generates policies in yaml (instead of json)20:11
palendaehttps://github.com/openstack/openstack-ansible-os_nova/blob/3145f5142f770736d8f45d9d769a8755687eba96/tasks/nova_post_install.yml#L78-L8120:11
palendaeconfig_template does yaml20:11
lbragstadpalendae aha - sure.. so os_nova is doing somethingl ike that20:11
palendaehttps://github.com/openstack/openstack-ansible-plugins/blob/master/action/_v2_config_template.py#L436-L443 currently need a 'src' file20:12
palendaeHence the bare policy.json.j2 file in nova20:12
lbragstadsweet - so https://github.com/openstack/openstack-ansible-os_nova/blob/3145f5142f770736d8f45d9d769a8755687eba96/tasks/nova_post_install.yml#L78-L81 populates nova's policy file with the overrides already20:12
palendaeYeah20:13
lbragstadnice20:13
palendaeReally all it'd need is the when:20:13
palendaeTo be a bit smarter about the skip20:13
palendaeWith keystone, it'd just write out what's in the template right now (https://github.com/openstack/openstack-ansible-os_keystone/blob/master/templates/policy.json.j2)20:13
*** jamielennox is now known as jamielennox|away20:13
palendaeOr just delete the contents and leave it as {} like nova20:14
lbragstadpalendae right - but that wouldn't be required20:14
lbragstadpalendae yep20:14
palendaeWould have to profile to know which is faster20:14
palendaeSeems kinda silly to actually copy '{}' out though :)20:14
lbragstadpalendae for now - an {} would make it so osa developers don't have to maintain a keystone policy file20:14
palendaeEven if it is mostly a no-op20:14
palendaeYep!20:14
palendaeAnd keep the overrides we have20:14
lbragstadright20:14
palendaeReally the only ? would be performance20:15
palendaeBut as a first pass, easy enough20:15
lbragstadthen you have a condensed opinionated list of things osa needs/provides for policy20:15
palendaeRight20:15
lbragstadso - then the next bit would be the things needed for horizon20:15
lbragstadwhich i assume would be a follow on play to generate a complete policy file (including overrides and defaults) to give to horizon20:16
lbragstadwhich i think would be pretty easy because all the overrides are written to a known place20:16
palendaeYeah20:18
palendaeOr, generate one and drop it, then in the horizon role look in that known/configured place20:18
*** rmelero has quit IRC20:18
*** rmelero has joined #openstack-ansible20:19
lbragstadpalendae ++ yeah - that'd work, too20:19
*** pbandark has joined #openstack-ansible20:19
openstackgerritJimmy McCrory proposed openstack/openstack-ansible stable/newton: Update Ansible to 2.1.5.0  https://review.openstack.org/43700320:20
palendaeI think that's probably the least coupled way of doing it20:20
*** markvoelker has quit IRC20:22
*** rmelero has quit IRC20:23
*** jamielennox|away is now known as jamielennox20:24
*** vnogin has joined #openstack-ansible20:26
*** manheim_ has quit IRC20:27
*** gouthamr has quit IRC20:29
*** foutatoro has joined #openstack-ansible20:31
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible master: [WIP] Added an ALL is_metal scenario  https://review.openstack.org/44937220:33
palendaecloudnull: Chaos!20:33
cloudnullwhat?20:34
*** TxGirlGeek has quit IRC20:34
palendaeEverything running on one node, chaos!20:34
cloudnullindeed!20:34
stevelleI'm going to suggest we shouldn't be using overrides in this case, and should only lay down a policy file if there are overrides.20:35
palendaestevelle: I'm +120:35
lbragstadstevelle keystone should be able to support that case20:35
lbragstadwe should require a policy file anymore20:35
stevelleset up migration/upgrade work to evaluate the file if it already exists, purging duplicates20:35
lbragstad(PR is currently in review)20:36
stevellejust have an empty list of keystone_policy_overrides in defaults20:36
palendaestevelle: Or don't define it and do is_defined20:36
palendaeis defined*20:36
stevellethat would be fine too, the only reason I might prefer an empty list is that it makes the defaults file document how to set a policy override easily20:37
palendaeTrue20:37
palendaeBut then you'd have a bunch of empty lists in our default config file20:37
palendaeCause more than keystone gets policy20:37
stevelleone per role20:38
palendaeOh I see20:38
palendaeNot in openstack_user_config20:38
openstackgerritJimmy McCrory proposed openstack/openstack-ansible master: Update Ansible to 2.2.2.0  https://review.openstack.org/43699920:38
stevellethat is cart before the horse, perhaps. the migration plan is going to be the real feat20:39
palendaeWell, leaving them in place isn't necessarily harmful20:40
*** woodard_ has joined #openstack-ansible20:40
palendaebut it is leaving chaff20:40
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible master: [WIP] Added an ALL is_metal scenario  https://review.openstack.org/44937220:43
lbragstadpalendae right20:43
*** woodard has quit IRC20:43
*** woodard_ has quit IRC20:45
*** shashank_t_ has quit IRC20:45
*** shashank_t_ has joined #openstack-ansible20:46
*** manheim_ has joined #openstack-ansible20:47
*** manheim_ has quit IRC20:49
*** shashank_t_ has quit IRC20:50
openstackgerritNolan Brubaker proposed openstack/openstack-ansible master: Restructure lib directory to install via pip  https://review.openstack.org/41807620:52
*** askb has joined #openstack-ansible20:52
*** rboyapat has quit IRC20:56
*** retreved has quit IRC20:57
*** retreved has joined #openstack-ansible20:58
*** retreved has quit IRC20:58
*** Matias has joined #openstack-ansible21:00
*** gouthamr has joined #openstack-ansible21:01
*** Jack_Iv has joined #openstack-ansible21:02
*** cmart has joined #openstack-ansible21:05
*** Jack_Iv has quit IRC21:07
*** The_Intern has quit IRC21:14
*** jamesdenton has quit IRC21:17
*** smatzek has joined #openstack-ansible21:17
stevelleif I were to state it differently, the migration and clean up is the interesting problem to solve.21:19
stevellebut I say that acknowledging that there is not exactly a shortage of interesting problems to solve21:19
*** cjloader_ has quit IRC21:26
*** foutatoro has quit IRC21:31
*** smatzek has quit IRC21:33
*** lucasxu has quit IRC21:34
*** pbandark has quit IRC21:36
*** lucasxu has joined #openstack-ansible21:41
*** tonytan4ever has quit IRC21:51
*** esberglu_ has quit IRC21:51
*** jrobinson has joined #openstack-ansible22:00
*** thorst has quit IRC22:02
*** thorst has joined #openstack-ansible22:03
*** Jack_Iv has joined #openstack-ansible22:03
*** david-lyle has quit IRC22:04
*** esberglu has joined #openstack-ansible22:05
*** david-lyle has joined #openstack-ansible22:05
*** rmelero has joined #openstack-ansible22:06
*** thorst has quit IRC22:07
*** Jack_Iv has quit IRC22:08
*** esberglu has quit IRC22:09
*** kstev has quit IRC22:16
openstackgerritGerman Eichberger proposed openstack/openstack-ansible-os_octavia master: Adds anti affinity hint and az configuration option  https://review.openstack.org/45047522:18
*** karimb has quit IRC22:21
*** domi007 has left #openstack-ansible22:24
*** acormier has quit IRC22:28
*** Adri2000 has quit IRC22:29
*** galstrom is now known as galstrom_zzz22:31
*** manheim has joined #openstack-ansible22:45
*** cjloader_ has joined #openstack-ansible22:49
*** thorst has joined #openstack-ansible22:50
*** lucasxu has quit IRC22:51
*** markvoelker has joined #openstack-ansible22:52
*** thorst has quit IRC22:53
*** agrebennikov has quit IRC22:53
*** Adri2000 has joined #openstack-ansible22:57
*** Adri2000 has quit IRC22:57
*** Adri2000 has joined #openstack-ansible22:57
*** Jack_Iv has joined #openstack-ansible23:04
*** marst has quit IRC23:04
*** jrobinson has quit IRC23:06
*** Jack_Iv has quit IRC23:09
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible master: [WIP] Added an ALL is_metal scenario  https://review.openstack.org/44937223:10
*** rmelero_ has joined #openstack-ansible23:10
*** rmelero has quit IRC23:12
*** cjloader_ has quit IRC23:14
*** marst has joined #openstack-ansible23:18
*** manheim has quit IRC23:22
*** acormier has joined #openstack-ansible23:23
*** thorst has joined #openstack-ansible23:24
*** acormier has quit IRC23:29
*** schwicht has quit IRC23:31
*** pmannidi has joined #openstack-ansible23:36
*** thorst has quit IRC23:39
openstackgerritMerged openstack/openstack-ansible stable/ocata: Update SHA of galera_server role backported change  https://review.openstack.org/44977023:39
*** poopcat has quit IRC23:42
*** poopcat has joined #openstack-ansible23:51
*** klamath has quit IRC23:57
*** poopcat has quit IRC23:59

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