Wednesday, 2015-11-18

*** sacharya_ has quit IRC00:01
*** devl has quit IRC00:11
*** mss_ has quit IRC00:13
*** scarlisle has quit IRC00:13
*** jaybeers has quit IRC00:14
*** CheKoLyN has quit IRC00:35
*** BjoernT has quit IRC00:39
*** Mudpuppy has quit IRC00:58
*** woodard has joined #openstack-ansible01:03
*** woodard has quit IRC01:13
*** phiche1 has joined #openstack-ansible01:14
*** Mudpuppy has joined #openstack-ansible01:14
*** phiche has quit IRC01:17
cloudnullevenings01:36
cloudnullhows it ?01:36
cooljo/01:36
*** tlian2 has joined #openstack-ansible01:46
*** kjelly has joined #openstack-ansible01:47
*** tlian has quit IRC01:49
*** cemmason has joined #openstack-ansible01:51
openstackgerritMerged openstack/openstack-ansible: Reference correct group in haproxy_config.yml  https://review.openstack.org/24463702:04
*** sacharya has joined #openstack-ansible02:05
*** kmARC has joined #openstack-ansible02:10
*** Bjoern_ has joined #openstack-ansible02:13
*** sdake has joined #openstack-ansible02:28
*** mss has joined #openstack-ansible02:32
*** fawadkhaliq has joined #openstack-ansible02:42
*** tlian2 has quit IRC02:50
cloudnullwhat up coolj03:04
cooljjava shennanigans trying to get ilo remote console working :\03:18
*** cemmason has quit IRC03:19
*** tlian has joined #openstack-ansible03:22
cloudnullfight the java powers http://lists.openstack.org/pipermail/openstack-dev/2015-November/078997.html03:27
cloudnulloperators, please tell dev their doing it wrong... :)03:28
*** cemmason has joined #openstack-ansible03:30
cloudnullthe people vs zookeeper03:30
guscloudnull: redis isn't a suitable solution here, in case clint's reply didn't make the case sufficiently.03:34
cloudnullgus: yea i can see why it wouldnt be however I think there are still better choices than zk .03:34
gusright.  I think the choice is basically between zk, etcd, consul.03:34
cloudnullI'd be interested in helping out in creating the drivers for console, etcd, etc...03:35
cooljwhat is DLM in this context?03:35
gusthe latter 2 in go, so we've got an "exotic" language in all 3 of those.03:35
cloudnulland maintaining them03:35
*** sdake has quit IRC03:35
guscoolj: distributed lock manager.03:35
cooljah03:35
guscloudnull: those other backend choices already exist in tooz aiui.03:35
cloudnullhowever zk brings in java -- and while "go" may be an encomberered language in terms of Google (Alphabet) controlling it I'd say google has less of a track record of being evil than Oracle does.03:37
gusmy understanding of the tradeoffs (fwiw): zk - mature, featureful, works, but java; etcd - simple featureset which is both strength and weakness; consul - more features than etcd, but smallest community / less widely deployed of the 3.03:38
cloudnullgus:  also Ive found numerious open issues in ZK that have been open for years which can result in the same failure domains as redis using redislock, so idk if the maturity is really a factor to be considered here.03:38
guscloudnull: agreed re java vs go.  My understanding is that zk works on openjdk, but a) there's a lot of confusion with little data around that on the internets and b) openjdk is still at the mercy of oracle.03:39
cloudnullits really about the right tool being used, and if its ZK thats fine , but i have a fear of the Java infection03:39
cloudnullalso we cant get access to the proper dev kits in OpenJDK because their controlleb by Oracle (noted in earlier messages)03:40
cloudnullhowever ZK does work in OpenJDK and has been developed with OpenJDK in mind03:40
cloudnullbut scale will be an issue for the likes RAX/IBM public cloud, and potentially RAX Private cloud03:41
guscloudnull:  I haven't looked through all the zk bugs in that search, but most of them seem to be code/thread races which could lead to hangs (or crashes) rather than corrupted data.03:42
cloudnulli;ve not used ZK at large scale but i have played with java apps w/ OpenJDK at moderate scale and it didnt end well.03:42
cloudnullgus thats true but they're == in that a hang will result in a missed message or a released lock which will cause problems (including corrupt data especially in terms of ironic as noted in the previous thread)03:43
gusI don't think its fair to compare redis and zk - zk comes from the beginning from a strong theoretical approach to distributed consensus, whereas redis (afaiui) was a fast in-memory datastructure that has tried to retro-fit persistence in later revisions.03:43
*** Mudpuppy has quit IRC03:43
cloudnullgus your right , i looked at redis as an alternitive because it has 0 deps .03:44
cloudnulland is far lighter than zk03:44
*** Mudpuppy has joined #openstack-ansible03:44
cloudnullwhich would be ideal for the devstack gate03:44
guscloudnull: yeah, I think it's reasonable to have a non-robust single-host option for devstack/aio testing.03:45
gusMay as well use memcache, assuming the tooz driver for that fakes enough of the API on top.03:45
*** sdake has joined #openstack-ansible03:45
gusOne of the concerns about using tooz here is that the drivers don't necessarily expose the same semantics/featureset.03:46
*** tlian has quit IRC03:46
*** sacharya has quit IRC03:46
gus(I mean: this was one of the primary concerns against tooz mentioned in the dlm session at tokyo)03:47
*** Mudpuppy has quit IRC03:48
cloudnulli wasn't in those talks sadly .03:48
cloudnullin the thread those concers seem to be missing .03:48
cloudnullwhen i started on the thread my point originally was for us to use something that will allow us to get the tools into the developers hands without disrupting their workflow in a way that could resemble production. w/ redis + tooz (or any other abstration layer) we could just that without forcing devs to move onto other systems.03:49
gus"java" was definitely the primary concern against zk, so I think that issue was well represented.03:49
*** Mudpuppy has joined #openstack-ansible03:49
cloudnullyea for sure03:49
cloudnullso what is missing that people want in a DLM solution ?03:50
gusin redis?03:50
cloudnullno in general03:50
*** Bjoern_ has quit IRC03:50
gusoh, nothing.03:50
cloudnullit seems that people really want a service discovery03:50
gusoh you mean what do people hope to gain from using a DLM.03:50
cloudnullyes03:51
cloudnullit seems like theyre trying to shoe something with a solution looking for a problem to end up doing something different in the future.03:51
gusOne is service discovery (ironic in particular), others are cheap/robust locking (ironic, cinder, and just about everyone else)03:51
* cloudnull my opinion after only being apart of the ML thread03:51
*** Mudpuppy has quit IRC03:52
*** jhesketh has quit IRC03:52
guscloudnull: another way to look at this, is that every other cloud implementation I'm aware of (google's borg, kubernetes, aws, mesos, marathon) went with distributed key-value stores.03:53
gusopenstack went with SQL.03:53
*** jhesketh has joined #openstack-ansible03:53
cloudnullyea theres something to be said there03:54
gusI happen to agree with everyone else ;)  the zk/etcd/consul hammer lets you solve _so_ many problems in this space in a way that is easier to understand, (generally) more reliable, more scalable than SQL-based solutions.03:54
cloudnullno argument here .03:54
*** cemmason has quit IRC03:55
cloudnulljust zk brings java, (etcd|console) brings go  so I lean toward the later .03:55
gusSo the fact that we even have to talk about it, and talk about it to the exclusion of actually making _any_ progress, is the silly bit - imo.03:55
*** eil397 has joined #openstack-ansible03:56
gusSo: we can identify a bunch of immediate use cases where projects want to use a DLM.03:56
*** cemmason has joined #openstack-ansible03:56
gusCan they be done with SQL too? Yes.  But it's just more awkwardness piled on the existing awkwardness.03:56
gusMost of the discussion is fake because people don't want to acknowledge that they don't actually _need_ a DLM, they're just looking for a way to finally convince the unwashed masses to let them use what we should have always used.03:58
cloudnullso the real purpose is to expand our capability set by getting a supported key/value store + abstration layer. DLM is simply a gateway to that better life03:58
gusyep.03:58
gus(at least this is my take on it, and from hallway discussions with the various people behind it)03:58
*** cemmason has quit IRC03:59
*** Mudpuppy has joined #openstack-ansible03:59
*** cemmason has joined #openstack-ansible03:59
gus1) it's going to be ok.  2) As soon as we're "allowed" to assume a DLM, it's going to clean up a bunch of existing SQL-based code.03:59
cloudnullso how far off is tooz and how do we not infect OpenStack w/ Oracle Java?04:02
gus(or for a number of projects, the existing code is _not_ sql-based and is just plain broken in the face of machine failure)04:02
gustooz has been around and ready for a year or so - it's quite a thin wrapper around the basic primitives that these systems offer so is pretty easy.04:04
gusthe reason the room went with tooz rather than picking one particular DLM is that the choice of "best" DLM wasn't clear.04:04
gusso the expectation is that after a few years, a "defacto" best will emerge, like what happened with sql (galera).04:05
gus.. we just don't know which one that will be at this point.04:05
cloudnullif we go with whats currently in tooz etcd/consul are not options at this point04:06
cloudnullhttps://github.com/openstack/tooz/tree/master/tooz/drivers04:06
gusso to avoid java: make sure one of the others works really well, is easy to deply, is the default (<- probably the major factor).04:06
*** fawadkhaliq has quit IRC04:06
cloudnullis the default looks like itll be ZK04:06
gusoh wow, I always assumed they were without even looking.04:06
gushuh - perhaps we should add those, then.04:07
cloudnullwhich goes back to why i argued for redis at this point :)04:07
cloudnullhahaha04:07
cloudnullbut yes we should add them04:07
gushttps://blueprints.launchpad.net/python-tooz/+spec/add-consul-driver04:07
cloudnullhttps://review.openstack.org/#/c/245362/04:07
prometheanfirecloudnull: http://nfv.space/2015/11/17/ansible-module-python-api-development/04:08
cloudnulllooks like Josh was keen to review, will likely need a few more interested parties04:08
cloudnullprometheanfire: yes ?04:10
prometheanfirejust thought you'd be intrested is all04:13
cloudnullah .04:15
cloudnulltyvm04:15
*** fawadkhaliq has joined #openstack-ansible04:27
*** eil397 has quit IRC04:35
*** markvoelker_ has quit IRC04:40
*** scarlisle has joined #openstack-ansible04:44
*** alkari has joined #openstack-ansible04:55
*** HimanshuGarg has quit IRC05:01
*** Mudpuppy has quit IRC05:02
*** Bjoern_ has joined #openstack-ansible05:50
*** Bjoern_ has quit IRC05:55
*** galstrom_zzz is now known as galstrom05:56
*** elgertam has joined #openstack-ansible06:17
*** markvoelker has joined #openstack-ansible06:40
*** markvoelker has quit IRC06:45
*** alkari has quit IRC06:47
*** phiche1 has quit IRC07:22
*** subscope has joined #openstack-ansible07:24
*** mss has quit IRC07:31
*** phiche has joined #openstack-ansible07:41
*** markvoelker has joined #openstack-ansible07:41
*** scarlisle has quit IRC07:42
*** markvoelker has quit IRC07:46
*** jmccrory has quit IRC07:49
*** jmccrory has joined #openstack-ansible07:54
*** slotti has joined #openstack-ansible07:54
*** galstrom is now known as galstrom_zzz07:55
*** javeriak has joined #openstack-ansible08:07
*** ntt has joined #openstack-ansible08:14
*** GheRivero has left #openstack-ansible08:15
nttHi, I'm trying to use openstack-ansible and I'd like to know if it is possible to install openstack with ansible on centos physical machine with lxc for controller and network nodes (perhaps with a fork of the original repo) ?08:15
*** mss has joined #openstack-ansible08:27
*** gparaskevas has joined #openstack-ansible08:28
*** javeriak_ has joined #openstack-ansible08:29
*** egonzalez has joined #openstack-ansible08:30
*** javeriak has quit IRC08:31
*** mpavone has joined #openstack-ansible08:33
*** karimb has joined #openstack-ansible08:35
*** fawadkhaliq has quit IRC08:41
*** fawadkhaliq has joined #openstack-ansible08:42
*** sacharya has joined #openstack-ansible08:49
*** sacharya has quit IRC08:53
*** fawadkhaliq has quit IRC08:57
odyssey4mentt we're looking for contributors to make that happen09:17
odyssey4meright now, it's not possible09:17
nttodyssey4me: I'm trying https://github.com/pvaylov/openstack-ansible09:18
evrardjpbut it shouldn't be difficult if you're using lxc and linuxbridges09:18
nttthis kind of deployment can be considered in an environment production?09:19
nttlxc for controller and network, I mean09:19
evrardjpthere are ppl using openstack-ansible in production09:20
evrardjpI, for example :)09:20
*** egonzalez has quit IRC09:20
odyssey4mentt yes, Rackspace Private Cloud uses it in production extensively09:24
odyssey4methere are several other organisations using openstack-ansible in production09:24
nttevrardjp: I'm searching for a deployment tool for openstack. Configure the enviroment without an automatic tool is a pain and it's difficult09:24
nttok.... good. But I need to use centos09:25
odyssey4methere is one that I know of that uses a (closed, unfortunately) fork of openstack-ansible on RHEL09:25
evrardjpodyssey4me: isn't it possible to bring them to the community?09:25
odyssey4mentt if you're prepared to be part of a group that does the work to make that happen, then it can happen09:25
odyssey4meevrardjp I'm trying to coax someone to take the lead on that work, but no-one has bitten yet09:26
evrardjp:)09:26
evrardjpredhat guys?09:26
nttI'm working for a small ISP and we are interested09:26
nttI'm using openstack since the grizzly release and actually I'm using icehouse09:27
nttI have big problems related to the upgrade09:27
odyssey4mentt yeah, the upgrades will not be much fun09:27
nttabsolutely09:27
odyssey4mentt if you can join our Thu community meeting and raise CentOS support on the agenda, then we can talk about it09:28
odyssey4mentt https://wiki.openstack.org/wiki/Meetings/openstack-ansible#Agenda_for_next_meeting09:28
nttBut with a deployment tool, and a deep knowledge of the database structure of openstack, It can be more easy09:28
odyssey4meif you can add it to the open discussion09:28
odyssey4methat'd be great09:28
nttI'm completely new to openstack meetings.... I'd like to learn :)09:29
kmARChi all, I'm still strugling with setting up AIO (liberty) Currently I have a problem with neutron agents:09:33
kmARCfailed: [aio1_neutron_server_container-2e866b98] => {"failed": true}09:33
kmARCmsg: neutron fact collection failed: unable to find migration with revision 59cb5b6cf4d09:33
kmARCI already tried re-running openstack-ansible setup-everything.yml --limit aio1_neutron_server_container-$HASH09:34
kmARCalso tried openstack-ansible lxc-containers-destroy --limit neutron_all09:34
kmARCthe task it dies at: TASK: [os_neutron | Get neutron migrations facts]09:35
*** mpavone has quit IRC09:37
openstackgerritJesse Pretorius proposed openstack/openstack-ansible: Remove unused neutron variable definition  https://review.openstack.org/24682209:37
odyssey4mekmARC we have a patch in review that may fix that - if you can test and provide feedback in the review, that'd be great: https://review.openstack.org/24056009:38
nttodyssey4me: how can I add myself to the list of regular attendees?09:39
odyssey4mentt on the top right of the page you'll be able to login, once you've done that you'll be able to edit the wiki page and add yourself09:40
odyssey4meI've added Multi-platform support discussion to the agenda :)09:40
nttShould I use an ubuntu one account?09:41
odyssey4mentt yes, you must as far as I know09:42
kmARCodyssey4me: will look09:42
nttok09:42
*** markvoelker has joined #openstack-ansible09:42
odyssey4mentt  you'll probably need to work through http://docs.openstack.org/infra/manual/developers.html09:43
nttok, added myself to the attendees09:44
odyssey4mehughsaunders with regards to patterns for multi-OS enablement: https://github.com/odyssey4me/ansible-openvas/blob/master/tasks/install_common.yml and https://github.com/odyssey4me/ansible-openvas/blob/master/tasks/install_library.yml#L18-L30 easily handles different package installers and package lists09:44
kmARCodyssey4me: so that means even if I run the one-liner curl script with replacing "master" to "liberty" will still install packages from master?09:45
kmARC(anyways, seems the patch is working, now the neutron container are set up properly)09:45
odyssey4mekmARC did you download and modify the script?09:46
kmARCyou mean the patch?09:46
*** neilus1 has quit IRC09:46
odyssey4mekmARC no, I mean the one-liner AIO script09:46
*** markvoelker has quit IRC09:46
kmARCnope, I just modified this line: curl https://raw.githubusercontent.com/openstack/openstack-ansible/master/scripts/run-aio-build.sh | sudo bash09:47
kmARCby replacing "master" to "liberty"09:47
kmARCand then I see that in /opt/openstack-ansible I am on the master branch09:47
odyssey4mekmARC ah yes - https://github.com/openstack/openstack-ansible/blob/liberty/scripts/run-aio-build.sh#L23 needs to be changed to refer to the liberty branch09:48
odyssey4mekmARC care to put in a patch for that?09:48
kmARCodyssey4me: I can try :-)09:50
evrardjpodyssey4me: about the multi-OS enablement changes, maybe wait for tomorrow? ;)10:06
evrardjpI recall a promise of someone that is due tomorrow.... probably related to ansible210:07
odyssey4meevrardjp haha, oh really :p10:12
odyssey4meevrardjp so yes, we'll do an initial discussion tomorrow - then a broader workshop the week after tomorrow10:13
odyssey4metomorrow we're doing a workshop on improving the install guide: https://etherpad.openstack.org/p/oa-install-docs10:13
evrardjpansible fest is tomorrow evening, maybe we'll see a new release the day after tomorrow :D10:13
evrardjpodyssey4me: I'd happy to help if if fits my agenda. do you have an idea of the timeframe?10:14
odyssey4meevrardjp that would depend on the time contributors have - I'd like to see it done in the Mitaka cycle10:15
evrardjpmaybe mentionning it in this chan's topic would be good10:16
evrardjp"next documentation hackathon on <date>"10:16
evrardjpon the wiki ofc :)10:17
evrardjpmaybe prepare more than one, to bootstrap the process, and then reduce the frequency when the doc team estimates the quality has been reached?10:18
evrardjp(but still continue to avoid documentation drift)10:18
odyssey4meyeah, that needs to be part of the discussion - how do we make it good and keep it good10:19
openstackgerritMark Korondi proposed openstack/openstack-ansible: Use 'liberty' branch for packages when using one-liner aio build script  https://review.openstack.org/24684010:20
odyssey4meevrardjp if you could chime in with your intended support, that'd be great: http://lists.openstack.org/pipermail/openstack-dev/2015-November/079732.html10:20
odyssey4mentt same for you :)10:20
kmARCodyssey4me: https://review.openstack.org/24684010:21
evrardjpthere s still work to do on independant roles, for example explaining how we'll do versioning of os_ roles10:23
odyssey4mekmARC perfect, thank you :)10:23
evrardjpI don't mind helping, I just don't have a centos lab available :p10:24
odyssey4meevrardjp yeah, but until the roles are all split out we'll probably not figure that bit out10:24
odyssey4meI'm testing out the format of using half the community meeting for a focus workshop to discuss a topic. If it works then we'll continue it.10:25
odyssey4meAnd we can use that platform to discuss stuff like that10:26
evrardjpthis is going to be tough for the one holding the meeting10:26
evrardjp(the chair I mean)10:26
odyssey4meBut it's important to also use the ML too in order to catch people who don't attend the meeting, so I'm opting to send out an ML post announcing the discussion and providing the etherpad link.10:27
evrardjphalf the time to do the rest, and discussion to hold afloat during 30 minutes10:27
odyssey4meI'll do the same for the docs discussion now.10:27
evrardjpodyssey4me: I think it's good to use the ML10:27
odyssey4meyeah, it does cut down the time available - but it does also bring focus10:28
evrardjpat least to call people to have a discussion10:28
evrardjp(during meetings or here in this channel)10:28
odyssey4meessentially the primary things we need to discuss in the meetings relates to design work, and release decisions10:28
evrardjpthe hardest is to manage time and scope on this10:28
evrardjpright10:28
kmARCodyssey4me: I am not familiar with the openstack-ansible review workflow. Should I give in additional infos to get this patch through?10:30
evrardjpdo you mind if I adapt the wiki to adjust what you said and give me your opinion?10:30
odyssey4mekmARC in this particular case the patch is simple and the purpose obvious, so there's nothing more that you need to do except to wait for another core to vote it through10:30
kmARCok thanks10:31
kmARCanyways I ran into the next problem. failed: [aio1] => {"failed": true}10:31
kmARCmsg: Failed to reload sysctl: fs.inotify.max_user_watches = 3686410:31
odyssey4meevrardjp I have adjusted the agenda to reflect that, but if you think it could be made clearer then go for it10:31
odyssey4mekmARC you are using Ubuntu 14.04 right?10:32
kmARCyes10:32
kmARCwhat I see, I already have these kind of settings with sysctl10:32
odyssey4mekmARC and does your image have the ext4 file system as the base?10:32
kmARCyes10:33
odyssey4meodd, I wonder why Ansible would be failing on those tasks in your case.10:33
evrardjpodyssey4me: you can check, it's just a simple edit, but this brings clarity on how you (or any chair, because you planned to rotate this role) will manage the schedule: review/release/design[=next steps]/open-discussion10:33
odyssey4mekmARC what's the ansible version being used?10:33
nttIs there a way to remove network interfaces using openstack-ansible? (eg: scripts)?10:34
kmARCwhatever the aio script installed :)10:34
kmARC1.9.410:34
kmARCso but the errr is this:10:34
kmARCsysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-ip6tables: No such file or directory10:34
kmARCsysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-iptables: No such file or directory10:34
kmARCsysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-arptables: No such file or directory10:34
odyssey4mekmARC ok - just verifying10:34
kmARCls /proc/sys/net/10:35
kmARCcore  dccp  ipv4  ipv6  netfilter  nf_conntrack_max  unix10:35
odyssey4mekmARC ah, so it seems that packages are missing which are expected... we are perhaps assuming too much10:35
kmARCyeah, installing arptables, etc.10:36
*** fawadkhaliq has joined #openstack-ansible10:36
odyssey4mekmARC whatever you discover is missing should be added to https://github.com/openstack/openstack-ansible/blob/liberty/scripts/bootstrap-aio.sh#L101-L115 :)10:37
kmARCokay will see10:37
kmARChowever iptables are installed10:37
evrardjpbridge-utils?10:38
kmARCyepp10:38
kmARCotherwise bridges would've not be created10:38
evrardjpjust to make sure :p10:38
evrardjpdo you have everything set in your /etc/modules?10:39
kmARClooks like10:39
evrardjplike 8021q, ip_tables, nf_conntrack...10:39
kmARC8021q is there, ip_tables, ip6_tables too10:39
kmARClsmod also lists them10:40
odyssey4mentt there is a way to delete any file on many hosts with ansible :)10:41
evrardjpmany files too10:41
evrardjpdon't run ansible -m shell -a "rm -rf /" all for example10:42
odyssey4mehahaha, probably a bad idea - unless of course you're keen on vastly simplifying your life10:43
odyssey4mentt there's a good explanation of how to do that sort of thing in http://docs.ansible.com/ansible/intro_getting_started.html and http://docs.ansible.com/ansible/intro_adhoc.html10:43
nttSorry.... I don't think I expressed myself properly. I meant: I tried to launch openstack-ansible aio, and now I want to cleanup all (containers, firewall rules and network interfaces.....)10:46
openstackgerritMerged openstack/openstack-ansible: Dropping logrotate.conf for all Openstack aggregate logs  https://review.openstack.org/24592010:46
nttI found a script : teardown.sh10:46
odyssey4mentt: http://docs.openstack.org/developer/openstack-ansible/developer-docs/quickstart-aio.html#rebuilding-the-aio10:46
nttbut It seems that I cannot delete network interfaces10:47
odyssey4mentt the network interfaces is just a file in /etc/network/interfaces.d10:47
*** sacharya has joined #openstack-ansible10:54
odyssey4meevrardjp I've announced the documentation workshop too now: http://lists.openstack.org/pipermail/openstack-dev/2015-November/079734.html10:57
evrardjpI think it's time for me to subscribe this list10:58
*** sacharya has quit IRC10:58
odyssey4meevrardjp it's quite busy, so be sure to use filters11:00
odyssey4meI've also posted to the openstack-operators list, which is less busy and has a different audience.11:01
odyssey4meie http://lists.openstack.org/pipermail/openstack-operators/2015-November/008847.html and http://lists.openstack.org/pipermail/openstack-operators/2015-November/008849.html11:01
*** HimanshuGarg has joined #openstack-ansible11:04
prometheanfireodyssey4me: https://bugs.launchpad.net/openstack-ansible/+bug/1476770 should be fixed with any new tag11:08
openstackLaunchpad bug 1476770 in python-glanceclient "_translate_from_glance fails with "AttributeError: id" in grenade" [High,In progress] - Assigned to Flavio Percoco (flaper87)11:08
prometheanfireodyssey4me: the upper-constraints was bumped to 1.1.0 for glanceclient, which seems to fix it (did for me)11:08
odyssey4meprometheanfire ah, nice - I guess that sigmavirus24_awa's patch made it through then11:11
prometheanfireI guess11:11
odyssey4meevrardjp do you think you can make the mid cycle ops meetup for EU: https://etherpad.openstack.org/p/MAN-ops-meetup and http://europeanopenstackoperatorsmeetup.eventbrite.com/11:17
*** aswadr has joined #openstack-ansible11:32
nttHow can I exclude some openstack components from the installation? (I would like to exclude swift and ceilometer)11:33
odyssey4mentt excluding swift is simply a matter of not including any swift_hosts in openstack_user_config11:37
odyssey4meexcluding ceilometer is similar, don't include any metering-compute_hosts and metering-infra_hosts11:38
odyssey4meceilometer enablement in the services is disabled by default in the base user_variables file provided: https://github.com/openstack/openstack-ansible/blob/master/etc/openstack_deploy/user_variables.yml#L21-L2511:39
*** subscope has quit IRC11:41
*** subscope has joined #openstack-ansible11:42
*** markvoelker has joined #openstack-ansible11:43
nttodyssey4me: so, 172.29.236.0/24 should be a sort of management network using the etc/openstack_deploy/openstack_user_config.yml example file?11:43
*** markvoelker has quit IRC11:47
*** jhesketh has quit IRC11:55
kmARCodyssey4me: what now? https://review.openstack.org/#/c/246840/11:56
kmARCI guess this problem comes from something other11:56
*** jhesketh has joined #openstack-ansible12:00
*** egonzalez has joined #openstack-ansible12:03
odyssey4mekmARC yes, an unrelated failure - a recheck is in progress12:04
odyssey4mentt yes, the container/management network is the primary network which is used for containers to communicate with each other and for the ansible deployment host to talk to the containers/hosts12:05
nttactually I have a lot of errors: failed: [aio1_nova_scheduler_container-e4ac81e9 -> aio1] => {"error": "Failed to start container [ aio1_nova_scheduler_container-e4ac81e9 ]", "failed": true, "lxc_container": {"init_pid": -1, "interfaces": [], "ips": [], "state": "stopped"}, "rc": 1}12:07
nttand in /var/log/messages : Cannot find device "vethH6PSO3"12:08
nttI'm trying to relaunch an aio installation after destroying containers12:08
kmARCodyssey4me: actually I ran into the same issue on my local playground. Now I am going to redeploy it from ö disabling everything which is not needed for a basic setup12:09
kmARC(and of course now with manual steps, on libertyÖ12:09
*** aswadr has quit IRC12:15
*** neilus has joined #openstack-ansible12:20
*** subscope has quit IRC12:20
*** subscope has joined #openstack-ansible12:21
*** subscope has quit IRC12:21
*** egonzalez has quit IRC12:22
*** alejandrito has joined #openstack-ansible12:23
*** hassaan has joined #openstack-ansible12:29
*** ziggypup has joined #openstack-ansible12:30
*** ziggypup has left #openstack-ansible12:30
hassaanhi12:37
hassaanI am getting some errors in nova's logs when trying to create a snapshot of a running instance. The snapshot never shows on the horizon/cli and in glance db the snapshots created have the "Deleted" status.  Nova's logs are not very helpful. They state: AttributeError: id12:39
hassaancan someone please comment or give some insight. Is this a bug that needs to be filed?12:40
*** hassaan has quit IRC12:41
*** hassaan has joined #openstack-ansible12:41
*** hassaan is now known as hassp12:42
*** fawadkhaliq has quit IRC12:42
*** hassp is now known as hassaan12:42
hassaani am using the kilo and liberty branches. faced the same error on both12:43
*** hassaan has quit IRC12:43
*** markvoelker has joined #openstack-ansible12:43
*** markvoelker has quit IRC12:48
odyssey4mehassaan you're hitting  https://bugs.launchpad.net/openstack-ansible/+bug/147677012:48
openstackLaunchpad bug 1476770 in python-glanceclient "_translate_from_glance fails with "AttributeError: id" in grenade" [High,In progress] - Assigned to Flavio Percoco (flaper87)12:48
odyssey4menow that the issue has been resolved upstream, we can bump SHA's and release a fresh tag to resolve it12:49
odyssey4methis will be discussed tomorrow12:49
*** mpavone has joined #openstack-ansible12:57
evrardjpodyssey4me: I'll check for the mid-cycle meetup13:00
mancdazquestion: I want to include some playbook only if there is a certain entry in the host_vars (added through container_vars in the user_config)13:02
mancdazspecifically, I want to only include it if the cinder backend is set to lvm13:03
*** markvoelker has joined #openstack-ansible13:09
*** Reddy has joined #openstack-ansible13:12
*** sacharya has joined #openstack-ansible13:19
odyssey4memancdaz it may make more sense to allow the playbook to always run, but make it do nothing if the backend is not lvm13:20
evrardjpmancdaz: is it a specific role?13:20
evrardjpif it's a specific role, you can have run it conditionally13:20
evrardjp-have13:20
mancdazodyssey4me evrardjp it's a task within a role13:20
mancdazI think I found what I need13:21
evrardjpthen only when: is needed13:21
mancdazsince the cinder backends get added to the hostvars13:21
mancdazI can run it 'when'  lvm in hostvars['cinder_backends']13:21
mancdazs/run/include/13:21
mancdazso include it in a playbook, but using that conditional13:22
mancdazodyssey4me kind of like we already do here: https://github.com/rcbops/rpc-openstack/blob/master/rpcd/playbooks/roles/rpc_maas/tasks/main.yml13:23
*** sacharya has quit IRC13:24
evrardjpthis is something we should avoid :p13:24
evrardjpIMO13:24
odyssey4memancdaz yep, it may be prudent to also include the length check to validate that the group has any hosts at all13:24
evrardjpbut sometimes, we don't have choice13:24
mancdazevrardjp you mean conditional includes?13:24
evrardjpno the conditional rules are important13:24
evrardjpbut the coupling of the inventory in the roles should be (still IMO) avoided as much as possible13:25
evrardjpI'd rather do additional tasks in the playbook instead of adding inventory stuff in the role13:26
evrardjpon this: https://github.com/openstack/openstack-ansible/blob/master/playbooks/haproxy-install.yml you can see you can run roles conditionally13:27
evrardjp(L24)13:27
mancdazevrardjp ah ok you mean do the logic in the playbooks and keep the roles cleaner13:27
evrardjpit's not what you're looking for, but it will help in a later phase, when decoupling inventory and roles13:27
evrardjpmancdaz: yup13:27
evrardjpthis way roles can be applied everywhere13:28
evrardjpwith different inventories, or whatever13:28
mancdazevrardjp yes, I think that is the general direction everyone wants to go in13:28
evrardjpit is13:28
evrardjp:)13:28
evrardjpit could bring a larger community13:28
evrardjpwhich is good :)13:28
mancdazalways!13:29
evrardjpif you're looking for a filter based on the size of a group, check this: https://github.com/openstack/openstack-ansible/blob/324597e29592aed8fc8270e8c2cd1411ddf79e2c/playbooks/roles/repo_server/tasks/main.yml#L2413:29
*** woodard has joined #openstack-ansible13:34
*** hassaan has joined #openstack-ansible13:39
*** tlian has joined #openstack-ansible13:45
kmARCodyssey4me: failure again. TBH I can't make it work either on my local playground. Did this thing ever work with liberty?13:47
odyssey4mekmARC we use it for gate checks on every commit, so yes :)13:49
kmARChm13:50
kmARCIt always has the same problem13:50
kmARCone of the galera containers fails to come up13:50
odyssey4mekmARC what RAM/CPU specs does your test server have?13:51
kmARC16GB RAM, 80GB Disk, 12Cores13:51
odyssey4meand does the container fail to start, or do all the containers start but galera fails to successfully initiate a cluster?13:51
kmARConly one galera container has the problem (cannot connect to mysql)13:52
kmARCafter removing the galera containers13:52
kmARCand running again, it works13:52
kmARCbut then I got other errors. With swift, then the sysctl errors13:53
*** karimb has quit IRC13:53
kmARCdo you think the specs of the machine is not enough for AIO?13:53
kmARCI `watch df`, it stays below sixty-something GBs13:53
*** karimb has joined #openstack-ansible13:54
odyssey4meno, those specs are fine13:54
odyssey4methat is odd13:54
odyssey4meis it a physical server, or a VM, or an instance?13:54
kmARCIt's a vmware vm (vt-x passthru enabled)13:54
kmARC(I would've gone mad if I couldn't respawn this machine to start again from scratch :-) )13:55
odyssey4mekmARC yep, several of us use cloud instances for testing13:56
odyssey4methe ubuntu image you're using as a base - is it some sort of build from the server cd or a pre-built image?13:57
kmARCnope, I installed ubuntu manually. Did a apt-get update&& dist-upgrade prior to start playing with OSA13:58
odyssey4mekmARC ok - so here's a fairly minimal starting package list from a base image in the CI infrastructure: http://logs.openstack.org/04/245704/2/check/gate-openstack-ansible-commit-nv/869b046/logs/instance-info/host_packages_info_1447751648.log13:58
odyssey4meperhaps something is in there that you're missing and is pertinent13:58
pabelangerodyssey4me: cloudnull: if you have some time today: https://review.openstack.org/#/c/246633/ just a reorg of JJB jobs13:58
odyssey4menote that not everything in there is absolutely required13:58
odyssey4mepabelanger morning :)13:59
kmARCokay, let me check13:59
kmARC(btw x11-common? )14:00
pabelangerodyssey4me: morning14:00
pabelangerodyssey4me: I posted a question last night about idempotent and currently how this team is doing it, if at all. Do you have any scripts in place to help with that?14:01
kmARCodyssey4me: E: Unable to locate package hiera14:01
kmARCE: Unable to locate package puppetlabs-release14:01
odyssey4mepabelanger not yet - unfortunately we shell/command out quite a bit so idempotence isn't always possible14:01
odyssey4mepabelanger we'd like to get there, but it'll likely have to wait until after ansible 2.0 releases as the results will be more predictable14:02
pabelangerodyssey4me: okay, that is what I thought. I've started writing something in python to help, going to get some eyes on it from -infra but will also link here14:02
odyssey4mecool!14:02
odyssey4mekmARC those aren't likely required14:03
evrardjppabelanger: cool indeed14:03
kmARCyeah, I filtered now puppet related packages out14:03
evrardjpthis should be listed in best practices somewhere, because it's gonna be useful with independant roles repositories14:04
evrardjpI'm manually parsing the ansible output for changed in my roles :p14:04
*** KLevenstein has joined #openstack-ansible14:05
pabelangerodyssey4me: evrardjp: Ya, right now I am importing ansible.playbook.PlayBook and manually invoking playbook runs twice, first time I check for failures, next time I check if anything changed.  Error out on any failure. It works well so far14:06
evrardjpunreadable sentence, I'll rephrase: I am currently parsing ansible output for changed different than 0, which is not really ideal. It would be cool to share this recipe for roles that will be included through ansible-requirements.yml14:06
kmARCodyssey4me: are you sure about this package list? Even if I add --no-install-(recommends|suggests) it wants to install stuff like emacs, java, etc.14:06
pabelangerI actually think we could move this to an external program, like ansible-lint in the future14:06
evrardjpI don't know ansible-lint, isn't it only a linter? or it's also something that can be useful for idempotency checks?14:08
*** bapalm has joined #openstack-ansible14:08
pabelangerevrardjp: no, it is a linter. I was just saying we could have a 2nd program to help with idempotent runs.14:11
*** XiaBing has joined #openstack-ansible14:11
evrardjpok14:11
pabelangerover adding the file into tools/ folder14:11
*** XiaBing has quit IRC14:12
odyssey4mepabelanger afaik the usual way to test idempotency is simply to execute the playbook again, then monitor for anything that doesn't have only an 'OK' result14:12
odyssey4meeg: https://github.com/odyssey4me/ansible-openvas/blob/master/.travis.yml#L38-L4114:13
pabelangerodyssey4me: Right, that's all I am doing. However, it gets tricky using tox.ini and bash to parse results14:13
odyssey4meah yes, fair point14:14
*** XiaBing has joined #openstack-ansible14:15
*** cemmason has quit IRC14:17
*** mgoddard__ has joined #openstack-ansible14:18
*** cemmason has joined #openstack-ansible14:18
*** hassaan_ has joined #openstack-ansible14:20
*** mgoddard_ has quit IRC14:20
kmARCodyssey4me: Does kernel version matter? Your package list has 3.13, on my system it's 3.1914:22
*** hassaan has quit IRC14:23
odyssey4mekmARC as long as it's 3.13.0-34 or later then it's fine14:24
kmARCyeah I thought so. Anyways, now I installed all the packages you have (excluding puppet, including emacs)14:25
kmARCmaybe it will magically cure it14:25
*** mgoddard__ has quit IRC14:28
*** mgoddard has joined #openstack-ansible14:29
kmARCso ntp wasn't installed. And the bootstrap scripts didn't install it either. Can that be a problem?14:29
*** openstackgerrit has quit IRC14:31
*** openstackgerrit has joined #openstack-ansible14:32
*** XiaBing has quit IRC14:36
kmARCNope. Still fails at galera_server14:38
kmARC:-\14:38
*** neilus has quit IRC14:39
*** bapalm has quit IRC14:43
*** bapalm has joined #openstack-ansible14:43
*** fawadkhaliq has joined #openstack-ansible14:44
cloudnullntt: did you get your question answered ?14:51
*** sigmavirus24_awa is now known as sigmavirus2414:52
nttcloudnull: no14:52
cloudnullntt: so ... CentOS support is not available at this time, we are presently only using Ubuntu.14:52
cloudnullHowever if youre keen on seeing CentOS supported we'd love to make it go14:53
evrardjpkmARC: first, for your safe, you should use the same ntp server across your hosts, that's gonna make your life easier14:53
nttthanks. All my infrastructure is centos based, and I cannot use ubuntu14:53
cloudnullI did a fork for proof of concept https://github.com/cloudnull/os-ansible-deployment/tree/master-rhel to do RHEL/CentOS but its not been merged back into the main project as of yet14:54
evrardjpkmARC: then, could you check http://docs.openstack.org/developer/openstack-ansible/install-guide/configure-configurationintegrity.html ?14:54
nttcloudnull: however I'm using https://github.com/pvaylov/openstack-ansible and I think the problem is that I don't know enough ansible14:55
kmARCevrardjp: I know, I use it everywhere. This is a one-host AIO build. Anyways, I think one of the bootstrap scripts should install ntp too14:55
odyssey4mecloudnull FYI https://etherpad.openstack.org/p/openstack-ansible-multi-os-support14:55
evrardjpkmARC: so your galera installation playbook fails? does it mention why?14:56
nttcloudnull: thank you. Can I give a try from your repo?14:56
cloudnullthat forks a bit old at this point however it "should" still work14:56
kmARCevradjp:14:56
cloudnullntt:  are you using "https://github.com/pvaylov/openstack-ansible/commits/kilo-centos" the "kilo-centos" branch  ?14:56
nttyes14:56
cloudnullcool14:57
kmARCfailed: [aio1_galera_container-3b233cd0] => {"changed": true, "cmd": ["/usr/bin/mysqladmin", "--defaults-file=/etc/mysql/debian.cnf", "ping"]14:57
kmARC, "delta": "0:00:00.002966", "end": "2015-11-18 15:53:41.836941", "rc": 1, "start": "2015-11-18 15:53:41.833975", "stdout_lines": [], "warnin14:57
kmARCgs": []}14:57
kmARCah sorry, will paste to pastebin in a sec14:57
nttwhich version of openstack are you using in master-rhel?14:58
*** mss has quit IRC14:58
kmARCevradjp: http://paste.openstack.org/show/479262/14:58
cloudnullntt:  it was targetting Liberty at that time14:59
kmARCthis is my 5th try, it always fails. Now if i remove the galera containers and set them up again, it will work14:59
kmARCThe interesting part is, only one galera container fails. Always14:59
nttcloudnull & odyssey4me : I think that liberty is great, but using ansible with juno or at least kilo release would be great15:00
kmARCevrardjp: of course the syntax check is OK.15:01
cloudnullyea. I'd like to get multi-OS supported however I dont think it will get done for Kilo at this point.15:01
cloudnullhowever it'd be great to get pvaylov to commit some of the CentOS changes into our tree so the broader community can use them15:02
nttThe problem is related to upgrade. and in particular to the upgrade of the database structure. People that are using icehouse or juno should upgrade manually up to liberty :(15:02
nttcloudnull: The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.15:04
nttI'm trying your master-rhel branch15:05
kmARCevrardjp, odyssey4me: I am going crazy about this one-host installer. I am even willing to set-up a new Ubuntu host if needed, but I can't see why it's not working.15:05
kmARCAlso, jenkins doesn't let my patch in because it fails on other point15:06
cloudnullfor our project we've maintained a single release upgrade, so Icehouse > Juno > kilo15:06
cloudnullwe're working on the Kilo > liberty upgrade15:06
evrardjpkmARC: I'll check your pastebin15:07
cloudnullntt:  was that stdout from a command within the branch?15:07
nttyes15:08
*** spotz_zzz is now known as spotz15:08
*** subscope has joined #openstack-ansible15:08
nttthis error happens when I launch bootstrap-aio.sh15:08
evrardjpkmARC: if it's just a new host, I wouldn't spend too much time trying to fix it15:09
cloudnullah15:09
evrardjpI'd do the teardown.sh and then re start all the playbooks. do you mind sending me your user_config?15:09
kmARCit's the default what build-aio.sh creates15:10
kmARCI didn't modify anything to it15:10
evrardjpkmARC: just to make sure everything is alright there, it's not because the syntax is correct that everything should be fine15:10
evrardjpoh15:10
kmARCbasically, I must say, that the one line installer simply doesn't work :(15:10
kmARCI am still in the evaluation phase whether we should use this to deploy our new cluster, but I coldn't even make it work on a playground15:11
evrardjpare you  running latest stable tag, or master?15:11
evrardjp(just as starter)15:11
cloudnullntt:  yea that last time I looked at that was 4mo ago and was done only as a POC so I'd imagine there are some crufty bits15:11
kmARCI tryes with master -> no luck. Now I'm trying with liberty15:12
kmARCstill no luck15:12
nttOk .... I wait a solution for centos. In the meanwhile I will try with an ubuntu vm15:13
cloudnullWe know it works on Ubuntu at this point.15:14
evrardjpkmARC: if you're retrying with liberty, don't forget to first cleanup everything15:15
kmARCevrardjp: I didn't clean up, I actually respawned my virgin ubuntu vm from a template (I am on vmware)15:15
nttcloudnull ... ok, but I need to learn openstack-ansible and ubuntu is useful for this15:16
cloudnullntt:  we can pursue more CentOS support but we need more people to want to dev / maintain the distro support15:16
*** cloudtrainme has joined #openstack-ansible15:16
*** alkari has joined #openstack-ansible15:16
kmARCevrardjp: more to this: https://review.openstack.org/#/c/246840/ <- It doesn't run either on gerrit.15:16
kmARCBecause of an unrelated issue15:16
*** d34dh0r53 has quit IRC15:17
nttcloudnull: I don't have experience with ansible. I know openstack and if I can be helpful I'm here. Furthermore, I want to learn....15:17
*** d34dh0r53 has joined #openstack-ansible15:17
cloudnullsweet! well if you have questions please reach out we're here :)15:18
nttcloudnull: i'm trying to "debug" openstack ansible and I'm trying to reuse roles just for testing purpose15:18
nttI have some doubts related to host definition... I don't understand where in the code it realizes host /groups definition15:19
*** sdake has quit IRC15:20
cloudnullansible categorizes the hosts, which determined in inventory15:20
*** sdake has joined #openstack-ansible15:20
cloudnull**which is determined in inventory15:20
nttin the inventory folder i see a dynamic_inventory.py ....15:21
nttwhere this script is used and how?15:21
cloudnullwe have the configs in /etc/openstack_deploy15:21
evrardjpkmARC: I'll check the docs you're following15:22
cloudnull`dynamic_inventory.py` sources bits from that dir to generate a json file15:22
evrardjpkmARC: you're following this right? http://docs.openstack.org/developer/openstack-ansible/developer-docs/quickstart-aio.html15:23
evrardjpwhere you've checkout liberty instead of kilo15:23
*** sacharya has joined #openstack-ansible15:23
evrardjps/you've checkout/you've done a checkout of/15:24
kmARCevrardjp: exactly, with liberty15:24
cloudnullntt:  we're controlling ansible through http://docs.ansible.com/ansible/intro_dynamic_inventory.html15:26
nttok. thanks. I need to study and I'm sorry if I'm asking stupid questions but I want to understand as fast as possible15:27
*** jwagner_away is now known as jwagner15:27
cloudnullnot stupid questions at all15:28
*** sacharya has quit IRC15:28
cloudnullfire questions away as you find them15:28
*** Mudpuppy has joined #openstack-ansible15:31
kmARCevrardjp: have you ever tried this think with the liberty branch and Ubuntu 14.04.3?15:31
mhaydenmornin'15:31
evrardjpkmARC: I'm not running AIO15:31
evrardjpbut I could15:31
kmARCYou think it's only the AIO what is problematic?15:32
kmARCshould I go with three vms and try to set it up on a multi-node?15:32
nttok guys... thank you all. I have to go15:33
*** ntt has quit IRC15:34
*** alkari has quit IRC15:35
cloudnullhave a good one ntt15:44
*** mgoddard has quit IRC15:59
*** tiagogomes__ has joined #openstack-ansible16:01
*** mattt1 has quit IRC16:02
*** mattt1 has joined #openstack-ansible16:02
*** tiagogomes_ has quit IRC16:03
*** mattt1 is now known as mattt16:05
*** mss has joined #openstack-ansible16:09
*** david8hu has quit IRC16:16
*** mpavone has quit IRC16:20
*** fawadkhaliq has quit IRC16:20
*** oneswig has joined #openstack-ansible16:29
*** mgoddard has joined #openstack-ansible16:31
*** gparaskevas has quit IRC16:37
*** javeriak_ has quit IRC16:38
*** slotti has quit IRC16:40
*** vdo has quit IRC16:41
*** mgoddard_ has joined #openstack-ansible16:45
*** sacharya has joined #openstack-ansible16:45
*** mgoddard has quit IRC16:48
*** KLevenstein is now known as KLev-away16:48
*** fawadkhaliq has joined #openstack-ansible16:54
*** fawadkhaliq has quit IRC16:55
*** fawadkhaliq has joined #openstack-ansible16:55
*** alkari has joined #openstack-ansible16:57
*** phiche has quit IRC16:57
*** HimanshuGarg has quit IRC17:06
evrardjpI'm off!17:10
*** alkari has quit IRC17:11
cloudnullhave a good one evrardjp17:15
*** HimanshuGarg has joined #openstack-ansible17:19
*** tiagogomes__ has quit IRC17:24
*** tiagogomes__ has joined #openstack-ansible17:25
*** tiagogomes__ has quit IRC17:32
*** oneswig has quit IRC17:33
*** phiche has joined #openstack-ansible17:34
*** bryan_att has joined #openstack-ansible17:34
bryan_atthi, any ansible experts out there than can help with a support issue for using ansible to install an openstack service?17:35
*** mgoddard has joined #openstack-ansible17:38
*** mgoddard_ has quit IRC17:38
*** fignew has joined #openstack-ansible17:41
*** jwagner is now known as jwagner_away17:43
cloudnullbryan_att: using openstack-ansible?17:49
*** tiagogomes has joined #openstack-ansible17:52
*** tiagogomes has quit IRC17:58
*** tiagogomes has joined #openstack-ansible17:59
*** javeriak has joined #openstack-ansible18:01
*** tiagogomes has quit IRC18:03
*** javeriak_ has joined #openstack-ansible18:07
*** sdake has quit IRC18:08
*** spotz is now known as spotz_zzz18:08
mgariepyi'm having a small issue with ceph + kilo, when I try to start an instance ( boot from image create new volume) it fails, Block Device Mapping is Invalid: failed to get image <id>18:09
mgariepyany idea ? :S18:09
bryan_attcloudnull: I'm using ansible, not sure if that is different from openstack-ansible18:09
mgariepyi can create a volume from an image then boot from it fine.18:09
bryan_attcloudnull: I'm trying to install Congress using a playbook that vmware provided to me18:10
*** javeria__ has joined #openstack-ansible18:10
*** javeriak has quit IRC18:11
*** HimanshuGarg has quit IRC18:11
*** javeriak_ has quit IRC18:12
bryan_attcloudnull: the specific problem i am having is how to skip a step that has already been completed, when I re-run the playbook to get past errors, but the thing that was already done (creating an endpoint) fails the playbook... for now I have it commented out but need to know how to script a "skip if already done" step18:12
*** sdake has joined #openstack-ansible18:13
*** oneswig has joined #openstack-ansible18:14
bgmccollumbryan_att: openstack-ansible is a project composed of roles and playbooks for deploying openstack using ansible...but we can help with general openstack / ansible things18:14
bryan_attcloudnull: i'm using ansible-playbook 1.9.4, and a playbook that installs congress as noted. any idea how to skip already completed steps in a playbook? I am a newbie to ansible.18:15
bgmccollumbryan_att: sounds like that particular tasks isn't idempotent...what does the task look like? does the task have any tags? you can tell ansible to skip a particular tag...or tell it to start at a particular task (past the one you're having trouble with)...18:15
bryan_atti'll paste it18:15
bryan_atthttps://www.irccloud.com/pastebin/N6lzoa3X/18:16
bryan_attbgmccollum: (commented out currently so I can get past it)18:16
*** hassaan_ has quit IRC18:16
bgmccollumso, the task isn't tagged which wont help you...18:17
bgmccollumyou can do something like -- ansible-playbook playbook.yml --start-at-task="Name of the task where you want to start"18:17
bgmccollumso, the name of the task after the endpoint create task18:18
bryan_attbgmccollum: that's very useful to know, thanks. is the "tagged" feature something that would allow me to skip already complete steps (non-idempotent)?18:18
*** oneswig has quit IRC18:18
bgmccollumbryan_att: its a way of "tagging" tasks, and you can tell ansible to only run task of a particular tag, or skip tasks of a particular tag.18:19
bgmccollumgenerally: things run via the shell or command modules requires the command / script being run to bake idempotency into itself...ansible how now idea what the command / scripts does, and can't skip over things already done...18:20
bryan_attbgmccollum: ok, thanks. that may help me skip the steps a little more gracefully.18:20
bgmccollumbryan_att: id file a bug with vmware that subsequent runs of the playbooks fails on that task18:20
bryan_attbgmccollum: I may have to push a shell script that includes a bit more logic i guess to check to see if the endpoint is already created.18:21
*** fawadkhaliq has quit IRC18:21
bryan_attbgmccollum: I will - but this is not an officially published playbook, at least not by the congress projest18:21
bgmccollumwhen i must use shell / command modules, i run a subsequent task that drops a local fact (variable) that the task was done....then i can conditionally skip the tasks in the event the playbook was run again.18:22
*** spotz_zzz is now known as spotz18:22
bgmccollummuch easier and generic enough than crafting smarter scripts18:23
logan2mgariepy: are you still having problems with the BDM?18:24
*** HimanshuGarg has joined #openstack-ansible18:26
bryan_attbgmccollum: thanks, that seems a good way to go. I'll look into tagging and variable setting.18:26
bgmccollumbryan_att: here is an example using a local fact -- https://github.com/cloud-training/rpc-heat-ansible/blob/master/playbooks/rpc-11.0-playbook.yml#L392-L40018:26
bgmccollumthe next time the playbook is run, the local facts are read...and that task is skipped because the fact is defined18:27
mgariepylogan2, only when i try to boot from image create new vol.18:27
*** KLev-away is now known as KLevenstein18:28
*** sdake has quit IRC18:28
*** HimanshuGarg has quit IRC18:30
bgmccollumbryan_att: just noticed that task has -- when: init == "True" -- seems like you should be able to set init to False, in which that task should be skipped. grep around in your variables for init18:30
*** spotz is now known as spotz_zzz18:32
bryan_attbgmccollum: thanks, i wasn't sure what that was for but makes sense18:33
*** cemmason has quit IRC18:33
*** cemmason has joined #openstack-ansible18:34
openstackgerritMerged openstack/openstack-ansible: Use 'liberty' branch for packages when using one-liner aio build script  https://review.openstack.org/24684018:38
*** oneswig has joined #openstack-ansible18:40
cloudnulldoes anyone know the person who owns https://github.com/pvaylov/openstack-ansible/tree/kilo-centos ?18:42
*** HimanshuGarg has joined #openstack-ansible18:44
stevellekmARC: congrats, your fix is merged18:45
*** cloudtrainme has quit IRC18:47
bgmccollumcloudnull: its a fork of https://github.com/achekunov/openstack-ansible, which has references to fuel...18:49
cloudnullyea i see https://github.com/achekunov/openstack-ansible/commit/4eae91cb076d435193125785d8850e00bef2b232 and that there's a fuel repo in the user account but no contact or update details18:50
bgmccollumcloudnull : Alexey Chekunov <achekunov@mirantis.com>18:50
bgmccollumgit log18:51
*** spotz_zzz is now known as spotz18:51
bgmccollumin the kilo-my branch18:51
cloudnullwell thats why you get paid the big bucks18:51
cloudnull:)18:52
bgmccollum:)18:52
*** oneswig has quit IRC18:53
*** harlowja has quit IRC19:05
*** Reddy has quit IRC19:06
*** Bjoern_ has joined #openstack-ansible19:07
*** harlowja has joined #openstack-ansible19:08
*** javeriak has joined #openstack-ansible19:12
*** javeria__ has quit IRC19:14
meteorfoxhi, quick question, I want to set the cinder volume_clear variable to none, so it doesn't secure delete the volumes.  do I just add 'volume_clear: none' to each lvm block in the openstack_user_config.yml, or is there a better way?19:14
*** javeriak_ has joined #openstack-ansible19:15
meteorfoxcloudnull: ^^19:16
*** javeriak has quit IRC19:17
*** cemmason has quit IRC19:20
*** cemmason has joined #openstack-ansible19:20
*** cloudtrainme has joined #openstack-ansible19:21
*** bapalm has quit IRC19:23
*** javeriak has joined #openstack-ansible19:25
*** bapalm has joined #openstack-ansible19:26
*** jwagner_away is now known as jwagner19:27
*** javeriak_ has quit IRC19:28
*** oneswig has joined #openstack-ansible19:39
*** oneswig has quit IRC19:43
*** subscope has quit IRC20:06
*** javeriak_ has joined #openstack-ansible20:06
*** subscope has joined #openstack-ansible20:06
*** mss_ has joined #openstack-ansible20:06
*** javeriak has quit IRC20:08
*** mss has quit IRC20:09
*** subscope has quit IRC20:09
*** subscope has joined #openstack-ansible20:10
*** KLevenstein has quit IRC20:10
*** subscope has quit IRC20:17
*** javeriak has joined #openstack-ansible20:18
*** KLevenstein has joined #openstack-ansible20:21
*** javeriak_ has quit IRC20:21
*** harlowja has quit IRC20:36
*** oneswig has joined #openstack-ansible20:39
*** harlowja has joined #openstack-ansible20:41
*** oneswig has quit IRC20:42
*** oneswig has joined #openstack-ansible20:44
*** oneswig has quit IRC20:48
*** javeriak_ has joined #openstack-ansible20:50
*** javeriak has quit IRC20:52
*** rebase has joined #openstack-ansible20:53
openstackgerritMerged openstack/openstack-ansible: fix typo in dynamic_inventory.py  https://review.openstack.org/24639520:54
*** openstack has joined #openstack-ansible21:06
*** sdake has joined #openstack-ansible21:08
openstackgerritJaveria Khan proposed openstack/openstack-ansible: Update neutron service handler to restart only enabled services  https://review.openstack.org/24582521:23
*** oneswig has joined #openstack-ansible21:29
*** woodard has quit IRC21:32
*** oneswig has quit IRC21:34
*** oneswig has joined #openstack-ansible21:36
*** javeriak_ has quit IRC21:42
*** elo has quit IRC21:44
*** HimanshuGarg has quit IRC21:49
*** aslaen has joined #openstack-ansible21:51
*** jwagner is now known as jwagner_away21:51
*** HimanshuGarg has joined #openstack-ansible22:01
*** aslaen has quit IRC22:02
*** KLevenstein has quit IRC22:05
*** KLevenstein has joined #openstack-ansible22:06
*** oneswig has quit IRC22:10
*** Mudpuppy has quit IRC22:14
*** jaybeers has joined #openstack-ansible22:17
*** Bjoern_ is now known as Bjoern_zZzZzZzZ22:29
bgmccollumafter a juno -> kilo upgrade, there is a stale nova service entry for the old nova_spice_console_container. is it worth adding a post upgrade cleanup task?22:33
*** sacharya has quit IRC22:38
*** sigmavirus24 is now known as sigmavirus24_awa22:53
*** oneswig has joined #openstack-ansible22:54
*** oneswig has quit IRC22:58
*** sdake_ has joined #openstack-ansible23:17
*** sdake has quit IRC23:18
*** cloudtrainme has quit IRC23:19
*** Bjoern_zZzZzZzZ is now known as Bjoern_23:19
*** KLevenstein has quit IRC23:29
*** karimb_ has joined #openstack-ansible23:35
*** karimb has quit IRC23:37
*** sdake_ has quit IRC23:40
*** sdake has joined #openstack-ansible23:40
*** karimb_ has quit IRC23:43
*** spotz is now known as spotz_zzz23:46
*** Bjoern_ has quit IRC23:51

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