Tuesday, 2016-03-22

*** thorst has joined #openstack-ansible00:00
*** scarlisle has quit IRC00:02
*** arif-ali has joined #openstack-ansible00:05
openstackgerritMerged openstack/openstack-ansible-os_horizon: Standardise installation-related task files  https://review.openstack.org/29409500:06
openstackgerritMerged openstack/openstack-ansible-os_horizon: Use upper-constraints file in developer mode  https://review.openstack.org/29515300:06
*** schwicht has joined #openstack-ansible00:11
-cloudnull- We still have a few patches in merge conflict. https://review.openstack.org/#/q/project:%255Eopenstack/openstack-ansible.*+-is:mergeable+is:open,n,z if you have time to review the patches and update them for the post IRR role out it'd be much appreciated.00:12
*** woodard has quit IRC00:22
*** woodard has joined #openstack-ansible00:23
*** fawadkhaliq has quit IRC00:23
*** wtcross has joined #openstack-ansible00:24
*** woodard has quit IRC00:24
*** izaakk has quit IRC00:27
*** wtcross has quit IRC00:28
*** fawadkhaliq has joined #openstack-ansible00:47
*** furlongm has quit IRC00:55
*** furlongm_ has joined #openstack-ansible00:55
*** ScarZy has quit IRC00:57
*** skamithi13 has quit IRC00:59
*** skamithi13 has joined #openstack-ansible01:01
*** schwicht_ has joined #openstack-ansible01:03
*** schwicht has quit IRC01:05
*** johnmilton has quit IRC01:05
*** fawadkhaliq has quit IRC01:05
*** fawadkhaliq has joined #openstack-ansible01:06
*** sdake has quit IRC01:06
*** sdake has joined #openstack-ansible01:08
*** ScarZy has joined #openstack-ansible01:09
*** sdake_ has joined #openstack-ansible01:11
*** tomoe_ has joined #openstack-ansible01:12
*** sdake has quit IRC01:14
*** neilus has joined #openstack-ansible01:17
*** neilus1 has joined #openstack-ansible01:19
*** neilus has quit IRC01:20
*** johnmilton has joined #openstack-ansible01:21
*** sigmavirus24_awa is now known as sigmavirus2401:21
*** sigmavirus24 is now known as sigmavirus24_awa01:22
*** wtcross has joined #openstack-ansible01:25
*** wtcross has quit IRC01:29
*** schwicht_ has quit IRC01:32
*** schwicht has joined #openstack-ansible01:32
*** b3rnard0 is now known as b3rnard0_away01:35
*** neilus1 has quit IRC02:06
*** thorst has quit IRC02:10
*** thorst has joined #openstack-ansible02:11
*** iceyao has joined #openstack-ansible02:18
*** thorst has quit IRC02:19
*** neilus has joined #openstack-ansible02:22
*** fawadkhaliq has quit IRC02:24
*** wtcross has joined #openstack-ansible02:26
*** wtcross has quit IRC02:30
openstackgerritKevin Carter proposed openstack/openstack-ansible-galera_client: Updated role using the Multi-Distro framework  https://review.openstack.org/29559902:41
*** asettle has quit IRC02:44
*** iceyao has quit IRC02:45
*** iceyao has joined #openstack-ansible02:46
openstackgerritKevin Carter proposed openstack/openstack-ansible-galera_server: Updated role using the Multi-Distro framework  https://review.openstack.org/29560102:54
*** asettle has joined #openstack-ansible02:56
*** fawadkhaliq has joined #openstack-ansible03:00
*** iceyao has quit IRC03:06
*** iceyao has joined #openstack-ansible03:06
*** sdake_ is now known as sdake03:08
openstackgerritKevin Carter proposed openstack/openstack-ansible-lxc_hosts: Updated role using the Multi-Distro framework  https://review.openstack.org/29560603:11
*** thorst has joined #openstack-ansible03:17
openstackgerritKevin Carter proposed openstack/openstack-ansible-memcached_server: [WIP] Multi-distro-ify role  https://review.openstack.org/27960803:19
*** thorst has quit IRC03:24
*** wtcross has joined #openstack-ansible03:26
*** wtcross has quit IRC03:31
openstackgerritKevin Carter proposed openstack/openstack-ansible-memcached_server: Updated role using the Multi-Distro framework  https://review.openstack.org/27960803:34
openstackgerritKevin Carter proposed openstack/openstack-ansible-lxc_hosts: Updated role using the Multi-Distro framework  https://review.openstack.org/29560603:36
*** SamYaple is now known as contributed_this03:47
*** contributed_this is now known as SamYaple03:48
openstackgerritKevin Carter proposed openstack/openstack-ansible-openstack_hosts: Updated role using the Multi-Distro framework  https://review.openstack.org/29561303:51
*** tomoe_ has quit IRC03:55
openstackgerritKevin Carter proposed openstack/openstack-ansible-lxc_hosts: Updated role using the Multi-Distro framework  https://review.openstack.org/29560603:56
openstackgerritKevin Carter proposed openstack/openstack-ansible-galera_server: Updated role using the Multi-Distro framework  https://review.openstack.org/29560103:57
openstackgerritKevin Carter proposed openstack/openstack-ansible-openstack_hosts: Updated role using the Multi-Distro framework  https://review.openstack.org/29561304:01
openstackgerritKevin Carter proposed openstack/openstack-ansible-os_keystone: Updated role using the Multi-Distro framework  https://review.openstack.org/29561504:05
*** jmhale has quit IRC04:11
*** jmhale has joined #openstack-ansible04:16
*** jduhamel has quit IRC04:21
*** fawadkhaliq has quit IRC04:22
*** fawadkhaliq has joined #openstack-ansible04:22
*** thorst has joined #openstack-ansible04:24
openstackgerritKevin Carter proposed openstack/openstack-ansible-openstack_hosts: Updated role using the Multi-Distro framework  https://review.openstack.org/29561304:26
*** wtcross has joined #openstack-ansible04:27
*** thorst has quit IRC04:29
openstackgerritKevin Carter proposed openstack/openstack-ansible-lxc_hosts: Updated role using the Multi-Distro framework  https://review.openstack.org/29560604:29
*** wtcross has quit IRC04:32
*** furlongm_ is now known as furlongm04:36
openstackgerritKevin Carter proposed openstack/openstack-ansible-os_aodh: Updated role using the Multi-Distro framework  https://review.openstack.org/29562004:38
*** daneyon_ has quit IRC04:42
*** daneyon has joined #openstack-ansible04:43
openstackgerritKevin Carter proposed openstack/openstack-ansible-openstack_hosts: Updated role using the Multi-Distro framework  https://review.openstack.org/29561304:52
*** furlongm has quit IRC04:54
*** daneyon has quit IRC04:57
*** tomoe_ has joined #openstack-ansible05:11
*** furlongm has joined #openstack-ansible05:11
openstackgerritKevin Carter proposed openstack/openstack-ansible-openstack_hosts: Updated role using the Multi-Distro framework  https://review.openstack.org/29561305:16
*** thorst has joined #openstack-ansible05:26
*** wtcross has joined #openstack-ansible05:27
*** wtcross has quit IRC05:32
*** thorst has quit IRC05:34
*** neilus has quit IRC05:39
*** saneax_AFK is now known as saneax05:41
*** fawadkhaliq has quit IRC05:52
*** neilus has joined #openstack-ansible06:20
*** phiche has joined #openstack-ansible06:23
*** phiche has quit IRC06:24
*** phiche1 has joined #openstack-ansible06:24
*** tomoe_ has quit IRC06:30
*** thorst has joined #openstack-ansible06:31
*** neilus has quit IRC06:34
*** javeriak has joined #openstack-ansible06:38
*** thorst has quit IRC06:38
*** neilus has joined #openstack-ansible06:44
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-ironic: Enable developer mode with upper-constraints  https://review.openstack.org/29530106:54
*** phiche1 has quit IRC06:55
*** phiche has joined #openstack-ansible07:05
*** mikelk has joined #openstack-ansible07:11
*** neilus has quit IRC07:14
*** neilus has joined #openstack-ansible07:14
*** neilus has quit IRC07:23
*** wtcross has joined #openstack-ansible07:29
*** sdake has quit IRC07:29
*** McMurlock1 has joined #openstack-ansible07:33
*** wtcross has quit IRC07:34
*** thorst has joined #openstack-ansible07:36
*** karimb has joined #openstack-ansible07:42
*** thorst has quit IRC07:44
*** asettle has quit IRC07:45
*** admin0 has joined #openstack-ansible07:48
*** admin0 has quit IRC07:54
*** admin0 has joined #openstack-ansible07:54
*** asettle has joined #openstack-ansible07:57
*** pegmanm has joined #openstack-ansible08:00
*** asettle has quit IRC08:02
*** markvoelker has quit IRC08:16
admin0good morning08:18
hughsaundersmorning admin008:22
*** wtcross has joined #openstack-ansible08:30
*** permalac has quit IRC08:33
*** openstackgerrit has quit IRC08:33
*** openstackgerrit has joined #openstack-ansible08:34
*** wtcross has quit IRC08:35
*** pcaruana has joined #openstack-ansible08:40
*** thorst has joined #openstack-ansible08:42
*** thorst has quit IRC08:49
*** mgoddard has joined #openstack-ansible09:03
*** javeriak has quit IRC09:03
*** javeriak has joined #openstack-ansible09:03
*** markvoelker has joined #openstack-ansible09:17
odyssey4meo/09:26
odyssey4mehughsaunders mattt andymccr please review asap: https://review.openstack.org/#/q/project:openstack/openstack-ansible-ironic+status:open+label:Verified%252B109:26
*** wtcross has joined #openstack-ansible09:31
*** wtcross has quit IRC09:35
*** neilus has joined #openstack-ansible09:41
openstackgerritAndy McCrae proposed openstack/openstack-ansible-os_swift: Limit local tasks to local hosts  https://review.openstack.org/29569309:44
*** electrofelix has joined #openstack-ansible09:44
*** thorst has joined #openstack-ansible09:47
openstackgerritAndy McCrae proposed openstack/openstack-ansible: Adjust swift plays to use unified os-swift role  https://review.openstack.org/29391109:50
*** markvoelker has quit IRC09:52
*** thorst has quit IRC09:54
*** iceyao has quit IRC10:00
openstackgerritMatt Thompson proposed openstack/openstack-ansible-os_cinder: [WIP] cinder functional testing  https://review.openstack.org/29526510:04
*** Andrew_jedi has joined #openstack-ansible10:11
Andrew_jediMy system clock is UTC then why OSA containers have EDT timezone, can i fix this  via any playbook config ?10:12
odyssey4meAndrew_jedi hmm, never noticed that before - it may be possible using the environment spec that's used for proxy vars10:15
Andrew_jediodyssey4me: have you ever noticed the issue that 1 out of 10 cinder volumes fails on creation and 50% fail on deletion ?10:16
odyssey4meAndrew_jedi as you can see in https://github.com/openstack/openstack-ansible/blob/master/etc/openstack_deploy/user_variables.yml#L121-L134 there is a way using the dict 'global_environment_variables' in /etc/openstack_deploy/user_variables.yml to set environment variables10:16
odyssey4meAndrew_jedi no, although that's almost certainly related to the capacity available to your controllers and the tuning you use for the db/rabbitmq10:17
odyssey4meit could also be a bad back-end10:17
Andrew_jediodyssey4me: yes but i am not using any proxy10:19
Andrew_jediodyssey4me: Yes, i am also inclined to think that the bad back-end is the problem here.10:19
odyssey4meAndrew_jedi the remark about global environment vars is typically used for proxies, but perhaps could also be used to set the TZ10:20
odyssey4meAndrew_jedi interesting though, my container's time zone is set to UTC10:21
Andrew_jediodyssey4me: Ahhh okay10:22
odyssey4meit matches the time zone set on the host10:22
Andrew_jediodyssey4me: I think what happened here is that during installation TZ was EDT10:22
Andrew_jediand later it was changed to UTC10:22
odyssey4meit seems that the default behaviour is to match the host at creation time: https://github.com/lxc/lxc/issues/4710:22
Andrew_jediodyssey4me: Someone else changed the TZ :/10:22
odyssey4meso the easiest way to change it would be something like this: cd /opt/openstack-ansible/playbooks; ansible all_containers -m shell -a 'echo Etc/UTC | tee /etc/timezone'10:25
*** johnmilton has quit IRC10:25
odyssey4metry that out on one non-critical container, before doing it to all10:25
odyssey4meeither use --limit, or use a container name instead of 'all_containers'10:26
*** wtcross has joined #openstack-ansible10:31
*** Andrew_jedi has quit IRC10:32
*** neilus has quit IRC10:33
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-ironic: Enable developer mode with upper-constraints  https://review.openstack.org/29530110:37
*** neilus has joined #openstack-ansible10:49
*** wtcross has quit IRC10:51
*** thorst has joined #openstack-ansible10:52
*** Andrew_jedi has joined #openstack-ansible10:54
*** asettle has joined #openstack-ansible10:56
Andrew_jediodyssey4me: Thanks :)10:57
*** thorst has quit IRC10:59
*** wtcross has joined #openstack-ansible11:04
*** wtcross has quit IRC11:09
*** schwicht has quit IRC11:17
*** weshay has joined #openstack-ansible11:35
openstackgerritMatt Thompson proposed openstack/openstack-ansible-os_cinder: [WIP] cinder functional testing  https://review.openstack.org/29526511:38
*** iceyao has joined #openstack-ansible11:42
*** thorst has joined #openstack-ansible11:47
*** markvoelker has joined #openstack-ansible11:48
*** johnmilton has joined #openstack-ansible11:59
mhaydenbuenos dias12:04
openstackgerritMatt Thompson proposed openstack/openstack-ansible-os_cinder: [WIP] cinder functional testing  https://review.openstack.org/29526512:07
*** mathlin has quit IRC12:09
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_designate: Simplify test inventory  https://review.openstack.org/29574812:12
odyssey4meo/ mhayden12:12
openstackgerritAndy McCrae proposed openstack/openstack-ansible: Adjust swift plays to use unified os-swift role  https://review.openstack.org/29391112:14
*** Andrew_jedi_ has joined #openstack-ansible12:17
*** Andrew_jedi has quit IRC12:18
*** Andrew_jedi_ is now known as Andrew_jedi12:18
*** markvoelker has quit IRC12:21
mhaydenhowdy12:25
mattthowdy mhayden12:26
*** skamithi13 has quit IRC12:26
*** skamithi13 has joined #openstack-ansible12:27
*** skamithi13 has quit IRC12:28
*** skamithi13 has joined #openstack-ansible12:28
*** wtcross has joined #openstack-ansible12:29
*** pjm_ has joined #openstack-ansible12:35
*** mmm has joined #openstack-ansible12:35
*** neilus has quit IRC12:41
*** retreved has joined #openstack-ansible12:43
*** schwicht has joined #openstack-ansible12:44
*** retreved has quit IRC12:46
pjm_Hello, when I'm trying to install the OpenStack AIO12:47
pjm_it gives me a error (not specific)12:47
*** retreved has joined #openstack-ansible12:47
pjm_- [ Error Info - 326 0 ] ---------------------------------------------12:47
pjm_I run the commands that were in the page12:47
pjm_is there a way to have a more verbose debug?12:47
*** markvoelker has joined #openstack-ansible12:47
pjm_thanks for the attention :)12:48
openstackgerritMatt Thompson proposed openstack/openstack-ansible-os_cinder: [WIP] Cinder functional testing  https://review.openstack.org/29526512:52
*** woodard has joined #openstack-ansible12:52
*** woodard has quit IRC12:52
*** woodard has joined #openstack-ansible12:53
*** neilus has joined #openstack-ansible12:54
*** woodard has quit IRC12:55
automagicallymorning12:56
*** woodard has joined #openstack-ansible12:56
odyssey4mepjm_ there is a ton of information above that which would be more useful for debugging - can you pastebin the full log?12:56
pjm_where the full log is stored?12:56
pjm_Or I should be running the script saving the output to a file, like12:58
pjm_./bootstrap-aio.sh > output.log12:58
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_designate: Remove the database creation & messaging tasks from the role  https://review.openstack.org/29577812:59
odyssey4mepjm_ bootstrap-aio is only the first part - and the log outputs to the screen in stdout12:59
odyssey4mepjm did it fail in the first part?12:59
pjm_sorry it was the last one, the run-playbook13:00
odyssey4mepjm_ can you see from the last few lines of the log which playbook it failed on?13:00
pjm_first I did: scripts/bootstrap-ansible.sh, scripts/bootstrap-aio.sh and then13:00
pjm_openstack-ansible os-keystone-install.yml13:00
odyssey4mepjm_ ok, did you checkout a tag, or a branch? which was it?13:00
pjm_I did checkout to version 12.0.0 and 12.0.813:01
odyssey4meand which tasks failed? can you copy/paste the output on your screen into a pastebin13:01
odyssey4me?13:01
pjm_I was thinking to change to the 11.0.013:01
pjm_my screen was cleared :\ but i didn't find any information usefull. I will run again and paste the output to a file, and then upload it to pastebin13:02
pjm_it's a good idea?13:02
odyssey4mepjm_ you can't switch willy nilly - each major version relates to a major openstack version and they are incompatible if you've part implemented things13:02
pjm_(but the last few lines that I saw the useful info about an error was that number)13:02
odyssey4meas we know there's an issue with 12.0.8, I'd recommend checking out the head of liberty: git checkout -b origin/liberty13:03
openstackgerritMajor Hayden proposed openstack/openstack-ansible: Remove old MariaDB apt sources  https://review.openstack.org/28997713:03
pjm_hmm, ok thanks. And I should do teardown.sh or more scripts for cleanup?13:03
odyssey4methen execute all these things: http://docs.openstack.org/developer/openstack-ansible/install-guide/app-minorupgrade.html13:03
odyssey4mesteps 4-813:04
pjm_thank you :)13:04
pjm_when I put to run the script should I save the stdout to a file?13:04
pjm_for debug in case of errors?13:04
odyssey4mepjm_ if you want to you can execute: export ANSIBLE_LOG_PATH=/foo/bar.log13:05
odyssey4methat'll tell ansible to log to a file13:05
pjm_loool it's much so easy that way :)13:06
pjm_thank you and sorry for being so noob13:06
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_designate: Simplify test inventory  https://review.openstack.org/29574813:07
odyssey4mepjm_ we all start somewhere :)13:07
mhaydenApsu: imma start hacking on that lbaasv2 backport for liberty13:08
pjm_odyssey4me: you're right, i'm trying to learn ansible and deployment with OpenStack13:08
pjm_didn't know if it's better to first deploy manually and then understand how do it with a configuration management, or if it's the same13:08
openstackgerritMatt Thompson proposed openstack/openstack-ansible-os_cinder: Cinder functional testing  https://review.openstack.org/29526513:09
odyssey4meo/ automagically13:09
pjm_odyssey4me: what do you mean?13:10
openstackgerritMerged openstack/openstack-ansible-galera_client: Updated role using the Multi-Distro framework  https://review.openstack.org/29559913:10
odyssey4mejmccrory automagically cloudnull d34dh0r53 stevelle mattt hughsaunders andymccr I worked on simplifying the inventory to make use of the standard Ansible inventory mechanism for tests. In my view this is a good thing as it serves the purpose for testing, but also shows how to do a non-dynamic inventory with out stuff. Comments please: https://review.openstack.org/29574813:11
* automagically looking13:11
odyssey4mepjm_ I mean that we all (including those you may call experts) started with the basics.13:11
pjm_sorry, i was thinking that the word "automagically" was for me. Yes I agree13:12
*** b3rnard0_away is now known as b3rnard013:13
mhaydeni love it when things just work automagically like that13:14
*** adreznec has joined #openstack-ansible13:15
mhaydenspeaking of irc nicks, every time i see pabelanger, i read it as pabel-anger and think he is angry13:15
mhaydenmy brain is broken, but we already knew that13:15
pabelangerANGER13:19
odyssey4memy brain tends to switch between that and something that sounds more like bollinger (said the way Bond says it)13:20
mhaydenthen again, every time i see hughsaunders, i read it as HUG-H-SAUNDERS13:23
odyssey4meautomagically FYI, using that format of inventory you're able to execute parts of the playbook instead of having to go through everything as we do now13:23
odyssey4meright now you have to go through all the galera/keystone stuff in order to test a change in the role being tested... with a static inventory like that you won't have to - you can simply execute the role13:24
matttodyssey4me: https://review.openstack.org/#/c/295265/10/tests/inventory13:25
matttthat is the key13:25
mattti think i can actually clean that up so variables are only set under [all] right ?13:25
matttodyssey4me: https://review.openstack.org/#/c/295265/10/tox.ini13:25
*** neilus1 has joined #openstack-ansible13:26
*** scarlisle has joined #openstack-ansible13:28
*** furlongm_ has joined #openstack-ansible13:28
*** neilus1 has quit IRC13:29
*** neilus1 has joined #openstack-ansible13:30
*** furlongm has quit IRC13:30
*** neilus has quit IRC13:30
openstackgerritMatt Thompson proposed openstack/openstack-ansible-os_cinder: Cinder functional testing  https://review.openstack.org/29526513:31
*** wtcross has quit IRC13:31
*** neilus1 has quit IRC13:32
*** javeriak has quit IRC13:32
*** markvoelker_ has joined #openstack-ansible13:34
openstackgerritMerged openstack/openstack-ansible-galera_server: Updated role using the Multi-Distro framework  https://review.openstack.org/29560113:36
*** markvoelker has quit IRC13:36
*** wtcross has joined #openstack-ansible13:37
automagicallyodyssey4me: Given the reliance of most services on keystone and galera anyway for overall functionality, I’m not sure how much that saves us, but that is a benefit that was not immediately clear to me13:38
*** markvoelker has joined #openstack-ansible13:38
odyssey4meautomagically when you're implementing changes in a role and testing those changes, it saves an awful lot of time :)13:38
odyssey4meof course this benefit requires the test playbook to be broken out, which many aren't13:39
*** woodard has quit IRC13:39
odyssey4mebasically you do the setup of the infra once, then you run and reirun the play for the role execution on its own as much as you want13:39
odyssey4mefor gating specifically this makes no difference13:39
automagicallyodyssey4me: Right, makes sense13:39
*** markvoelker_ has quit IRC13:40
*** saneax is now known as saneax_AFK13:40
matttodyssey4me: https://review.openstack.org/#/c/292911/6/tests/test.yml13:43
*** ametts has joined #openstack-ansible13:44
*** Andrew_jedi has quit IRC13:46
*** chhavi has joined #openstack-ansible13:50
*** javeriak has joined #openstack-ansible13:52
*** jthorne has joined #openstack-ansible13:54
openstackgerritgit-harry proposed openstack/openstack-ansible-os_keystone: WIP: Use os-service-installer  https://review.openstack.org/29230313:55
*** pjm_ has quit IRC13:57
*** mgoddard_ has joined #openstack-ansible13:59
*** b3rnard0 is now known as b3rnard0_away13:59
*** mgoddard has quit IRC14:03
*** asettle has quit IRC14:04
*** sigmavirus24_awa is now known as sigmavirus2414:05
*** spotz_zzz is now known as spotz14:09
*** bryan_att has joined #openstack-ansible14:09
Apsumhayden: Sounds good.14:11
*** Mudpuppy has joined #openstack-ansible14:17
*** neilus has joined #openstack-ansible14:23
openstackgerritMerged openstack/openstack-ansible-ironic: Enable developer mode with upper-constraints  https://review.openstack.org/29530114:24
*** woodard has joined #openstack-ansible14:27
cloudnullodyssey4me: one of the issues we've had with static inventory is a relience on dict type vars in inventory which static inventory cant support. If we can make that go (upstream ansible) we can greatly simplify our supported inventory formats.14:30
*** b3rnard0_away is now known as b3rnard014:30
odyssey4mecloudnull we have a dict in there, and it works - at least for the dict requires for role testing14:33
odyssey4mecloudnull we simply apply group/host vars as per a standard inventory14:33
cloudnullits read in as a string14:33
cloudnulla unicode string14:33
*** openstackgerrit has quit IRC14:33
*** openstackgerrit has joined #openstack-ansible14:34
openstackgerritMajor Hayden proposed openstack/openstack-ansible: [WIP] Add LBaaS v2 support in Liberty  https://review.openstack.org/29586614:34
hughsaundersmhayden: ({)14:35
*** asettle has joined #openstack-ansible14:36
*** wtcross has quit IRC14:37
cloudnulli think the addition of host / group vars outside of inventory is more complex than using the dynamic inventory with _hosts defined within it.14:37
odyssey4mecloudnull I don't understand the problem - perhaps you can illustrate it with something specific? I may be being thick here. The inventory itself is static and only needs INI formatted things (host/group memberships) - the group_vars and host_vars are expressed in yaml and seem to work perfectly for the requirements we have for role testing.14:37
odyssey4meThe intent is to provide something simple, standard ansible and something that fulfills the needs of role testing. The intent is not to replace the dynamic inventory at all - it's just to facilitate role testing.14:39
cloudnullyes, its thing like http://cdn.pasteraw.com/nztecu9b63r59hwmu9anvqszhkjwiaw would be impossible in static inventory without making changes to the checkedout source code14:40
odyssey4meyeah, but that doesn't matter for role testing - the static inventory is a fixed point to use for testing14:40
odyssey4meif a consumer consumes the role they can learn from the inventory in tests to define their own14:41
*** asettle has quit IRC14:41
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-ironic: Consolidate pip install tasks  https://review.openstack.org/29538314:43
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-ironic: Re-deploy the venv if it mismatches the repo  https://review.openstack.org/29539014:44
cloudnullthis is all fine testing if we thing its best however I'd caution us using it as an example for "non-dynamic inventory". IMO itll just create more confusion around inventory .14:44
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-ironic: Switch from MySQL-python to PyMySQL  https://review.openstack.org/29543214:44
cloudnullwhich we already have enough of14:44
odyssey4mecloudnull right now the inventory in the tests is inconvenient and difficult to understand - https://review.openstack.org/295748 is meant to lower the barrier for people who're used to Ansible static inventories, and also make the testing layout easier to understand for the role in question14:47
odyssey4meit took me half a day to figure out how we were doing inventory when first looking into how to simplify the tests14:48
openstackgerritMerged openstack/openstack-ansible-ironic: Consolidate pip install tasks  https://review.openstack.org/29538314:49
cloudnullmy other question is, how is this simpler? -- i mean its essentially _not_ testing what we're actually using .14:50
cloudnullI get it, just trying to understand the motivation.14:50
odyssey4meit allows me to run any part of the play, without having to execute this task: https://github.com/openstack/openstack-ansible-os_keystone/blob/master/tests/test.yml#L97-L11814:53
cloudnullodyssey4me: regarding https://review.openstack.org/#/q/status:open+branch:master+topic:multi_distro_framework why would we not finish the impl for that, we have it in several roles and not others?14:53
cloudnullfair enough14:53
odyssey4meand it demonstrates how to use the role with a static inventory, which was part of the intention when splitting out the roles14:53
openstackgerritMerged openstack/openstack-ansible-ironic: Re-deploy the venv if it mismatches the repo  https://review.openstack.org/29539014:54
odyssey4mefurthermore https://github.com/openstack/openstack-ansible-os_keystone/blob/master/tests/test.yml#L97-L118 isn't doing what we do in the integrated build either14:54
*** mgoddard_ has quit IRC14:55
cloudnullit is. just without the python executable14:55
odyssey4methe integrated build provides the opportunity for us to test with the dyanmic inventory - I thin that using the static inventory will help us understand assumptions we're making to better the independent use of the roles - just like decoupling the roles from each other has done14:55
cloudnullits a like for like data structure14:55
*** mgoddard has joined #openstack-ansible14:55
odyssey4meand the resulting inventory is also like for like with this static inventory14:55
cloudnullwhere the other is not. but it looks fine.14:55
cloudnulllike i said was just trying to understand the motivation14:55
cloudnullodyssey4me:  its not, if you dump the inventory they'l be different.14:56
odyssey4mesee http://pastebin.com/8NpnjH4X14:57
*** sdake has joined #openstack-ansible14:58
*** izaakk has joined #openstack-ansible15:00
openstackgerritMerged openstack/openstack-ansible-ironic: Switch from MySQL-python to PyMySQL  https://review.openstack.org/29543215:00
odyssey4meit looks to me pretty much like the same sort of inventory: http://pastebin.com/fwnE5qrP15:02
*** iceyao has quit IRC15:07
odyssey4memhayden minor tweak on https://review.openstack.org/29052615:07
*** keedya has joined #openstack-ansible15:07
mhaydenodyssey4me: i'll check15:10
*** weezS has joined #openstack-ansible15:12
cloudnullodyssey4me: sounds good to me .15:15
openstackgerritgit-harry proposed openstack/openstack-ansible-os_keystone: WIP: Use os-service-installer  https://review.openstack.org/29230315:15
*** galstrom_zzz is now known as galstrom15:16
cloudnull^ thats a lot of juno-isms being receated.15:19
cloudnullodyssey4me:  have you seen this where a var is not marked as undefined when used in var file ? specifically -- https://review.openstack.org/#/c/295613/5/vars/ubuntu-14.04.yml  -- which is throwing an error ``'ansible_kernel' is undefined``15:34
odyssey4mecloudnull heh, that's a fun one15:37
odyssey4meyour debug var a little higher shows it, yet it doesn't evaluate in the if statement15:37
cloudnullyea the fact is being set (added debug to it) but its not read in the var file15:37
cloudnullyup.15:37
cloudnullits odd15:37
odyssey4meoh hang on - this is when the var is moved from defaults to the var file?15:37
odyssey4mehmm15:38
openstackgerritMajor Hayden proposed openstack/openstack-ansible: Include security role in setup-hosts.yml  https://review.openstack.org/29052615:38
cloudnullyup15:38
odyssey4mewell, perhaps that should be switched to use a task instead15:38
cloudnullthe fact is gathered before the var file is loaded15:38
cloudnullbut its still not read15:38
cloudnullIm. poking aroung the ansible internals to see why, was curious if you (or others) had seen that before15:39
odyssey4meit may be that the var file cannot include system vars?15:39
cloudnullthat may be15:39
odyssey4meI've only seen something similar with the ansible cpu count - which is why we default it everywhere we use it15:39
*** mmm has quit IRC15:40
*** eil397 has joined #openstack-ansible15:40
cloudnullyea, its an odd one.15:41
odyssey4mecloudnull to answer your earlier question around the multi-OS stuff - it's already agreed to be a focal point for next cycle, so I think it makes sense to rather get going on that once we've cut the stable/mitaka branch...15:41
*** eil397 has quit IRC15:41
odyssey4meright now we need to finalise functional testing in the roles, update the SHA's in the roles to validate that they work, then update the SHA's for the integrated tests15:41
*** eil397 has joined #openstack-ansible15:41
odyssey4methe primary focus is the integrated build roles15:42
cloudnullthat fine. but by not implementing the basic framework we'll have roles that have it and not kind spread all about.15:42
odyssey4mesure, that's why I suggested that the line be drawn at the infra roles where it's low impact15:42
cloudnullwhich is ok. but i was looking at trying to make them all more uniform15:42
cloudnullalong those lines I was looking through https://github.com/openstack/openstack-ansible-specs and we should move our specs forward to newton that wont be implemented in this cycle.15:44
openstackgerritMerged openstack/openstack-ansible-os_designate: Remove the database creation & messaging tasks from the role  https://review.openstack.org/29577815:44
*** arif-ali has quit IRC15:44
odyssey4meyep, that makes sense - would you mind putting together a review for that?15:44
cloudnullsure15:44
*** KLevenstein has joined #openstack-ansible15:45
odyssey4mecloudnull FYI mattt figured out how to make the tox environment run more normally in the gate: https://review.openstack.org/29526515:47
odyssey4meit turns out that -infra do some funky things15:47
*** arif-ali has joined #openstack-ansible15:50
*** h1nch has quit IRC15:50
*** neilus has quit IRC15:51
openstackgerritMajor Hayden proposed openstack/openstack-ansible: [WIP] Add LBaaS v2 support in Liberty  https://review.openstack.org/29586615:52
cloudnullah. -- funky things strikes again15:53
*** skamithi13 has quit IRC15:55
odyssey4mebug triage here cloudnull, mattt, andymccr, d34dh0r53, hughsaunders, b3rnard0, palendae, Sam-I-Am, odyssey4me, serverascode, rromans, erikmwilson, mancdaz, _shaps_, BjoernT, claco, echiu, dstanek, jwagner, ayoung, prometheanfire, evrardjp, arbrandes, mhayden, scarlisle, luckyinva, ntt, javeriak, automagically, spotz, vdo, jmccrory, alextricity25, jasondotstar, KLevenstein, admin0, michaelgugino, ametts, v1k0d3n,15:58
odyssey4me severion, bgmccollum15:58
*** jmccrory_ has joined #openstack-ansible15:58
spotzo/15:58
odyssey4mehttps://bugs.launchpad.net/openstack-ansible/+bugs?search=Search&field.status=New15:59
cloudnullo/15:59
eil397o/15:59
v1k0d3no/15:59
*** chhavi has quit IRC15:59
automagicallyo/15:59
*** skamithi13 has joined #openstack-ansible15:59
odyssey4mefirst up - mhayden have you made any progress on confirming https://bugs.launchpad.net/openstack-ansible/+bug/1556204 ?15:59
openstackLaunchpad bug 1556204 in openstack-ansible "radvd not starting with IPv6 subnets" [Medium,New] - Assigned to Major Hayden (rackerhacker)15:59
*** skamithi13 has quit IRC15:59
*** jorge_munoz has joined #openstack-ansible16:00
mattto/16:00
prometheanfirehi16:00
*** jorge_munoz_ has joined #openstack-ansible16:03
odyssey4meno update for now - will leave as-is16:03
odyssey4menext up: https://bugs.launchpad.net/openstack-ansible/+bug/155768216:03
openstackLaunchpad bug 1557682 in openstack-ansible "repo_build cannot refer to variables in Creating OSA requirement wheels " [Undecided,New]16:03
odyssey4methis looks like a feature request from stevelle with regards to the repo-build process?16:04
hughsaunderso/16:04
stevelleyes16:04
stevelleseems like a feature request16:05
*** keedya has quit IRC16:05
odyssey4methis looks like it'll be useful in the next cycle as the gnocci role comes into play16:05
odyssey4meany volunteers to take a look into it?16:05
*** jorge_munoz has quit IRC16:05
*** jorge_munoz_ is now known as jorge_munoz16:05
d34dh0r53o/16:05
matttsounds like stevelle  has this one :P16:06
stevelleI really don't mattt :)16:06
odyssey4mecloudnull perhaps you can sync up with stevelle and take a crack at it?16:06
cloudnullsure16:07
*** h1nch has joined #openstack-ansible16:07
odyssey4mealright, that'd be great16:07
odyssey4menext up: https://bugs.launchpad.net/openstack-ansible/+bug/155844016:07
openstackLaunchpad bug 1558440 in openstack-ansible "Adding new compute node missing ceilometer instructions" [Undecided,New]16:07
odyssey4meah, I see metering_compute_containers, but no hosts related membership16:08
spotzIs the nova_key comments related or no?16:09
logan-nova_key stuff was addressed by https://review.openstack.org/#/c/294379/16:10
spotzok I"ll grab the ceilometer edit then and put that in a comment16:10
odyssey4methanks spotz16:10
odyssey4meand finallly: https://bugs.launchpad.net/openstack-ansible/+bug/155961916:11
openstackLaunchpad bug 1559619 in openstack-ansible "Could not fetch URL https://rpc-repo.rackspace.com/os-releases/12.0.8" [Undecided,New]16:11
odyssey4meI'm not sure why this matters, unless someone was trying to clone from rpc-repo.16:12
spotzodyssey4me I though automagically removed the rpc-repo references last week16:12
odyssey4medidn't we discuss this recently and remove something related from docs16:12
automagicallyI removed them from the docs16:12
automagicallyBut there is still a reference in the play16:12
automagicallyhttps://github.com/openstack/openstack-ansible/blob/master/playbooks/repo-build.yml#L4116:13
odyssey4meyeah, that's fine - it doesn't require anything, it simply uses stuff from there if it's available16:13
automagicallyBut _should it?_16:14
matttso is it that we don't want people cloning any more?16:14
odyssey4meWe'll tackle that in Newton. I've uncovered some nastiness in there when attempting to remove it.16:14
matttif so, can we not just update the bug to let the reporter know?16:15
odyssey4memattt people can clone if they want to, but from their own repo16:15
odyssey4meah, found the doc change: https://review.openstack.org/#/c/293024/16:16
matttplaybooks/repo-clone-mirror.yml still points to rep-repo tho no?16:17
odyssey4memattt yep - nothing uses that though. We should perhaps figure out what to do with it.16:18
odyssey4meIs it useful to anyone? Should it be kept?16:18
matttwell people use it because we've gone back and forth on this a few times it feels16:18
odyssey4meMaybe we should remove the source so that the clone hard fails indicating a missing var?16:19
odyssey4meAlthough I'm sort-of in favor of just removing the play altogether.16:19
matttdunno, but not sure we should be changing this stuff mid-way through a cycle16:19
*** admin0 has quit IRC16:19
cloudnull+1 on removing the play.16:20
cloudnullwhile its nice to be able to clone a mirror but the mirror is RAX managed and not always up-to-date especially when tracking releases and branches outside of the RAX product.16:22
*** fignew has joined #openstack-ansible16:22
cloudnullif we could point that to an infra resource that'd be nice.16:22
cloudnullbut idk thats possible.16:23
matttor update the play so that it spits out an error if it's trying to use rpc-repo16:23
odyssey4meyeah, I already spoke to infra and they're not keen - they already have a wheel repo16:23
matttremoving playbooks midcycle feels a bit shoddy16:24
cloudnullthen I'm +1 on seeing the play go the way of the dodo bird.16:24
eil397it is not the same repo. as i Know16:24
*** fignew has quit IRC16:24
*** fignew has joined #openstack-ansible16:24
odyssey4meas far as I know, RPC is moving away from using the clone mechanism anyway - so the likelihood of rpc-repo staying up to date is going to be less and less16:24
*** sdake has quit IRC16:25
odyssey4meso yeah, cloudnull perhaps you can submit a review - we can discuss in review16:25
odyssey4meautomagically I think it would be best to backport that doc fix to the liberty branch16:25
matttcloudnull: want me to update the play to spit out an error (in liberty)16:26
matttand then we can deprecate it in mitaka16:26
*** daneyon has joined #openstack-ansible16:26
spotzodyssey4me could the play be changed to pick up a user var with a repo?16:26
mattts/deprecate/remove/16:26
odyssey4memattt yeah, I think that's a good idea - let's make it clear that the option is deprecated in liberty and removed in mitaka16:26
matttodyssey4me: ok i can do that16:26
odyssey4mespotz yeah, it already can - it's just not clear that it can - so we need to resolve that16:27
cloudnullmattt:  +116:27
automagicallyodyssey4me: I’ll propose the backport16:27
odyssey4mecool, thanks16:28
spotzautomagically You going to bug the stronger wording too? Or is that what you're talking about?:)16:28
automagicallyspotz: I’ll backport the doc change that removes the suggestion16:28
spotzcool:)16:29
*** sdake has joined #openstack-ansible16:29
*** raddaoui has joined #openstack-ansible16:29
odyssey4methat backport should probably have a release note added to it automagically to ensure that anyone picking up a fresh tag is aware of the change16:29
automagicallyGot it16:30
*** jorge_munoz has quit IRC16:30
odyssey4meor maybe mattt's change should rather have it16:30
matttyeah i'll relnote it16:30
odyssey4meactually, I think it makes more sense for the play change to have it16:30
automagicallycool16:30
odyssey4meok, are there any bugs or reviews that anyone wants to drawr attention to?16:30
openstackgerritKevin Carter proposed openstack/openstack-ansible: Removed the repo clone mirror play  https://review.openstack.org/29594116:30
spotzMy only one up for review got moved to Not Current so I just have my bugs to work on16:33
eil397I would like to remove https://bugs.launchpad.net/openstack-ansible/+bug/1518485 "lxcbr0 disappeared run-playbooks.sh"16:33
openstackLaunchpad bug 1518485 in openstack-ansible " lxcbr0 disappeared run-playbooks.sh " [Undecided,Incomplete] - Assigned to Anton Haldin (anton-haldin)16:33
eil397I'm not sure what is the status of it. I can check and remove after it.16:34
*** mikelk has quit IRC16:35
odyssey4meeil397 you're seeing this in a ci job?16:35
odyssey4meeil397 and in that job you're running run-aio-build.sh  ?16:35
openstackgerritKevin Carter proposed openstack/openstack-ansible: Removed the repo clone mirror play  https://review.openstack.org/29594116:35
eil397I've created internal ci job to install os on few hardware servers16:36
eil397and at the time I've created this describtion. it was pretty stable for reproducing. on ubuntu machines.16:36
odyssey4meeil397 can you make the CI job do the steps in http://docs.openstack.org/developer/openstack-ansible/developer-docs/quickstart-aio.html instead of running run-aio-build.sh ?16:37
odyssey4meit's possible that it is a race condition, except that we run CI jobs all day and don't hit this - so it's a little weird16:37
openstackgerritTravis Truman (automagically) proposed openstack/openstack-ansible: Removing reference to internal RPC repo  https://review.openstack.org/29594316:37
openstackgerritKevin Carter proposed openstack/openstack-ansible: Removed the repo clone mirror play  https://review.openstack.org/29594116:37
odyssey4meeil397 FYI for our CI job we run https://github.com/openstack/openstack-ansible/blob/master/scripts/gate-check-commit.sh instead which is built specifically for gating16:38
eil397odyssey4me: issue for me in my cases was in run-playbooks.sh16:38
eil397this thing does not work stable for me https://github.com/openstack/openstack-ansible/blob/master/scripts/run-playbooks.sh#L5816:38
*** jguy_ has joined #openstack-ansible16:38
eil397(ifdown lxcbr0 || true); ifup lxcbr016:39
eil397I can propose other way to do it. but. I completly agree that all this logic is for ci infra. and it is not important.16:39
odyssey4meeil397 considering that none of us can reproduce this, perhaps you should submit a patch for something that works for you and we can discuss the alternative in review?16:40
eil397odyssey4me: thank you for link.16:40
cloudnullspotz: any chance you might be able to have another look at https://review.openstack.org/#/c/290873/16:40
jguy_Trying to setup an AIO, running into a problem on one of the repo containers:       from M2Crypto import SSL16:40
jguy_  ImportError: No module named M2Crypto16:40
jguy_  ----------------------------------------16:40
jguy_  Failed building wheel for pywbem16:40
jguy_  Running setup.py clean for pywbem16:40
cloudnullhughsaunders: had a commend regarding some of the changes16:40
automagicallyjguy_: See https://github.com/openstack/openstack-ansible/commit/4e89921b9d35fbb27b2cdd733c75d30b0e61e95716:41
cloudnulljguy_: that was recently resolved in the branches.16:41
cloudnulli dont think the changes have made it to a tag yet16:41
jguy_Ahhh...ok16:41
odyssey4mejguy_ yeah, update to the head of liberty, or apply that patch16:41
jguy_ok. Will do.16:42
hughsaunderscloudnull:  spotz yeah, minor comments, I think its a really useful addition overall16:42
odyssey4me(assuming you're using liberty)16:42
jguy_I am trying to. ;)16:42
*** eil397 has quit IRC16:46
spotzcloudnull I just looked at it and it said Not Current, will make revisions16:47
*** eil397 has joined #openstack-ansible16:47
spotzI do think eventually we need to seperate all those docs into Ceph and NetApps16:47
hughsaundersspotz: that probably means you were viewing an old revision?16:47
spotzI thought I refreshed hughsaunders but I do keep tabs open for stuff I'm doing or reviewing so I can keep track and follow-up when needed16:48
*** MCoLo__ has joined #openstack-ansible16:50
openstackgerritMerged openstack/openstack-ansible-os_designate: Simplify test inventory  https://review.openstack.org/29574816:51
*** pcaruana has quit IRC16:52
*** MCoLo has quit IRC16:52
openstackgerritMerged openstack/openstack-ansible-os_swift: Limit local tasks to local hosts  https://review.openstack.org/29569316:53
openstackgerritTravis Truman (automagically) proposed openstack/openstack-ansible-os_keystone: Test Keystone Mitaka RC1 in our role  https://review.openstack.org/29595316:56
*** neilus has joined #openstack-ansible16:56
*** keedya has joined #openstack-ansible16:57
daneyonI am using Ansible to manage CoreOS systems. Unfortunately the Ansible fact 'ansible_distribution' does not work for CoreOS: https://gist.github.com/danehans/dc7081b4ac5dfe857cfe#file-coreos_ansible_facts-L99-L10216:58
daneyonHowever, ansible_lsb does work: https://gist.github.com/danehans/dc7081b4ac5dfe857cfe#file-coreos_ansible_facts-L258-L26316:58
daneyonI am trying to look through the Ansible code to see how the ansible_distribution fact is derived. Can someone help point me in the right direction?16:59
cloudnullhum .17:00
daneyonlarsks if you're around, I could use your guidance for ^17:00
cloudnullive not looked into those internals17:00
odyssey4meo/ daneyon which version of Ansible? cloudnull's been digging through it today :p17:00
automagicallyhttps://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/facts.py <- daneyon17:01
daneyoncloudnull odyssey4me: oops... I meant to send this to the ansible irc channel. I'm using 1.9.417:01
eil397: - )17:02
automagicallydaneyon: https://github.com/ansible/ansible/blob/stable-1.9/lib/ansible/module_utils/facts.py#L24117:02
larsksdaneyon: I am around, but automagically has you pointed in the right direction.  Beware: messy python lies ahead!17:02
daneyonautomagically I did a search for ansible_distribution against ^ and didn't find anything17:03
cloudnulldaneyon: https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/facts.py#L28217:03
cloudnulldoesnt look like coreos is a defined17:03
cloudnulleven in master17:03
daneyonautomagically cloudnull let me review17:03
cloudnull*devel17:03
larsksdaneyon: the 'ansible_' prefix is added later (just look for 'distribution').17:04
spotzhughsaunders: Can I get the translation for SPOF?:)17:04
odyssey4mespotz Single Point of Failure17:04
*** jthorne has quit IRC17:05
spotzheheh, I've never called it that17:05
cloudnulldaneyon: well it is defined if the distro is set as "NA" https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/facts.py#L507-L525 and the platform information is returned as "coreos" https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/facts.py#L33517:05
*** jthorne has joined #openstack-ansible17:06
cloudnulldaneyon:  on coreos can you import plaform and run platform.dist()17:06
cloudnullit would seem to me that its return value is not some variant of coreos17:07
daneyoncloudnull let me did into that17:07
daneyoncloudnull this file does not exist: https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/facts.py#L52017:08
cloudnullbut it has to hit the conditional first and the distrobution is set here https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/facts.py#L335-L33617:09
daneyoncloudnull I could add update.conf to manage releases, but I want ansible to support a stock system17:09
cloudnullseems like the fact module will need some love to properlly support coreos17:11
daneyoncloudnull I'm going to test a few things and will let you know how it goes.17:12
cloudnullyea please do. :)17:12
*** phiche has quit IRC17:12
cloudnullhows it going btw, long time no talk :)17:12
SamYapleo/ daneyon youre just everywhere arent you17:13
*** McMurlock1 has quit IRC17:14
daneyonSamYaple lol... Not easy making coreos and ansible BFF's, but easier than containerizing OpenStack :-o17:14
*** neilus has quit IRC17:15
*** sdake_ has joined #openstack-ansible17:16
*** sdake has quit IRC17:16
openstackgerritMerged openstack/openstack-ansible-os_keystone: Use keystone-manage bootstrap command  https://review.openstack.org/29381617:17
openstackgerritAmy Marrich (spotz) proposed openstack/openstack-ansible: Added configuration information for using Ceph with Cinder  https://review.openstack.org/29087317:18
openstackgerritgit-harry proposed openstack/openstack-ansible-os_keystone: WIP: Use os-service-installer  https://review.openstack.org/29230317:18
openstackgerritTravis Truman (automagically) proposed openstack/openstack-ansible-os_keystone: Test Keystone Mitaka RC1 in our role  https://review.openstack.org/29595317:21
*** tiagogomes_ has joined #openstack-ansible17:21
*** tiagogomes has quit IRC17:24
*** doublek has joined #openstack-ansible17:33
*** jorge_munoz has joined #openstack-ansible17:40
*** jduhamel has joined #openstack-ansible17:42
*** krotscheck has quit IRC17:43
openstackgerritMajor Hayden proposed openstack/openstack-ansible: [WIP] Add LBaaS v2 support in Liberty  https://review.openstack.org/29586617:44
*** pcaruana has joined #openstack-ansible17:44
spotzNOOOO not mhayden and lbaas v2:)17:45
*** retreved has quit IRC17:45
mhaydenhaha, i need some coffee, obviously17:46
mhaydendidn't realize my cherry picks pulled the tasks into a directory called 'tasks' a the root17:46
mhaydensigh17:46
*** schwicht has quit IRC17:48
*** Mudpuppy has quit IRC17:50
spotzmhayden get more coffee you'll feel better17:51
*** Mudpuppy has joined #openstack-ansible17:51
*** jorge_munoz has quit IRC17:55
*** phiche has joined #openstack-ansible17:58
*** KLevenstein has quit IRC18:02
*** doublek has left #openstack-ansible18:09
mhaydenhah18:19
*** sdake_ is now known as sdake18:25
*** retreved has joined #openstack-ansible18:27
*** retreved has quit IRC18:28
*** retreved has joined #openstack-ansible18:29
*** karimb has quit IRC18:33
*** sigmavirus24 is now known as sigmavirus24_awa18:33
*** fawadkhaliq has joined #openstack-ansible18:36
openstackgerritJimmy McCrory proposed openstack/openstack-ansible-os_barbican: Implement base configuration for OpenStack-CI  https://review.openstack.org/29599618:38
openstackgerritJimmy McCrory proposed openstack/openstack-ansible-os_barbican: Remove dependency on the Keystone admin auth token  https://review.openstack.org/29599918:40
*** weezS has quit IRC18:48
*** KLevenstein has joined #openstack-ansible18:49
*** arif-ali has quit IRC18:50
*** schwicht has joined #openstack-ansible18:51
*** weezS has joined #openstack-ansible18:51
*** daledude has joined #openstack-ansible19:04
daledudeim going from 12.0.5 to 12.0.8...is building the updated repository step from the docs no longer needed?19:04
cloudnulldaledude:  you need to run the repo-build play to create the new deps19:05
cloudnullas well as the venvs19:05
automagicallyWe really need a minor version upgrade doc19:06
daledudethere is a minor ver upgrade oc19:06
daledudehttp://docs.openstack.org/developer/openstack-ansible/liberty/install-guide/app-minorupgrade.html19:06
daledudeand it says to run openstack-ansible repo-install.yml19:06
automagicallyAh, my bad19:06
daledudebut that tries to connect to https://rpc-repo.rackspace.com19:07
daledudeill try repo-build.yml instead19:07
cloudnullrepo-install will call repo-build19:07
cloudnullin kilo that would try and do a clone19:07
cloudnullbut it was revised in liberty19:07
daledudek19:08
*** electrofelix has quit IRC19:12
openstackgerritJimmy McCrory proposed openstack/openstack-ansible-os_barbican: Implement base configuration for OpenStack-CI  https://review.openstack.org/29599619:13
odyssey4meug, repo-install runs repo-build19:14
odyssey4me*uh19:14
odyssey4mecloudnull daledude ^19:14
cloudnullyes?19:14
odyssey4menvm, I see you mentioned that19:14
odyssey4medaledude the only situation which we know of where you may end up with an error is if you happen to have upgraded from a kilo environment19:15
daledudei never used kilo19:16
odyssey4mein that case you'll find that you have a locked down pip conf19:16
daledudei went from 12.0.3 to 12.0.5 and now "upgrading" to 12.0.819:16
odyssey4mehmm, and do you have anything related to the repo configured in your /etc/openstack_deploy/user.* files or /etc/openstack_deploy/openstac_user_config.yml file?19:16
*** ametts has quit IRC19:17
*** arif-ali has joined #openstack-ansible19:17
daledudei have a repo-infra_hosts section in openstack_user_config.yml19:19
odyssey4medaledude that's fine - just hosts in there, no host vars?19:20
daledudecorrect19:20
mhaydenso i'm running into that "Failed to build pywbem" error now, but i have the patch applied to my git repo19:20
mhaydenand i rebuilt the repo already19:21
odyssey4memhayden are you building against the head of liberty?19:21
mhaydenodyssey4me: yes sir19:22
mhaydenshould i not be?19:22
odyssey4medaledude ok, can you pastebin the resulting log from executing the repo-install playbook with '-vv' for verbose logging19:22
odyssey4memhayden for your patches, yes - that includes the fixups for the pywbem thingamy19:22
mhaydenodyssey4me: after applying the patch, should i do anything else besides the repo-build play?19:24
odyssey4memhayden just repo-build, then whichever other plays you'd like19:24
*** admin0 has joined #openstack-ansible19:24
mhaydenthe requirements_local_filtered.txt still ends up with pywbem in it19:25
openstackgerritMerged openstack/openstack-ansible-os_barbican: Implement base configuration for OpenStack-CI  https://review.openstack.org/29599619:25
odyssey4memhayden hmm, that's odd19:25
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_barbican: Remove dependency on the Keystone admin auth token  https://review.openstack.org/29599919:25
daledudeodyssey4me: by running the repo-build instead of the documented repo-install it doesnt try to connect to rpc server. but, getting error: Failed building wheel for pywbem19:27
daledudelooking to do pstebin19:27
odyssey4medaledude yeah, that's a known issue - apply https://review.openstack.org/29493419:27
odyssey4medaledude can you try running repo-server instead?19:28
admin0do i need to create glance, cinder user beforehand in ceph ? or will it ssh and do it itself ?19:28
daledudetrying19:28
admin0and on the storage server example, even if i have 3 mons, i jsut need to point to one ?19:29
odyssey4meadmin0 personally I have no idea, you may have to walk the code to find that out19:29
odyssey4meadmin0 for ceph you always want to point to them all, in case one goes down19:29
odyssey4methe ceph client libraries will automatically connect to another is their primary goes down19:29
*** fawadkhaliq has quit IRC19:30
odyssey4meif you only have one mon, your clients will hang, and you will cry :p19:30
*** fawadkhaliq has joined #openstack-ansible19:30
admin0odyssey4me: i mean on example on storage_hosts section, only 1 mon is used for example .. do i need to have 3 storage hosts with 3 mons, or 1 storage hosts with 3 mons19:31
admin0that is where the confusion lies19:31
admin0because if the storage is ceph, there are no storage hosts right .. just ceph19:32
admin0storage_hosts:19:32
odyssey4meadmin0 a link to what you're referring to?19:32
admin0uno momento19:32
openstackgerritJimmy McCrory proposed openstack/openstack-ansible-os_barbican: Remove dependency on the Keystone admin auth token  https://review.openstack.org/29599919:34
odyssey4meadmin0 as per the examples in https://github.com/openstack/openstack-ansible/blob/master/etc/openstack_deploy/user_variables.yml#L81-L99 you should add the mons, how ever many you have - typically ceph requires an odd number of mons for better fencing19:34
mhaydencloudnull: i have your patch applied ( https://review.openstack.org/#/c/294934/ ) but the repo server still fails when rebuilding19:35
daledudeodyssey4me: repo-server runs clean19:35
odyssey4meadmin0 then as per https://github.com/openstack/openstack-ansible/blob/master/etc/openstack_deploy/openstack_user_config.yml.example#L562-L564 and https://github.com/openstack/openstack-ansible/blob/master/etc/openstack_deploy/openstack_user_config.yml.example#L603-L620 you can setup your storage hosts19:35
odyssey4memhayden pastebin or it never happened :p19:35
mhaydenodyssey4me: haha, in progress19:36
mhaydenodyssey4me / cloudnull: http://paste.openstack.org/show/491502/19:36
odyssey4medaledude so repo-server ran clean after you executed repo-build? hmm, I think git-harry and I chatted about this the other day19:36
admin0odyssey4me: https://github.com/openstack/openstack-ansible/blob/master/etc/openstack_deploy/openstack_user_config.yml.example#L562-L564 is the reason of my confusion .. what exactly is a storage host here :D if I already specify 3 mons above?19:36
admin0are those the osds ?19:36
odyssey4mewill have to try and figure that one out19:36
mhaydenodyssey4me: seems like the filtering isn't working -- pywbem is sneaking into my requirements_local_filtered.txt on the repo server19:37
odyssey4meadmin0 the mons are the mons, the storage hosts host the OSD's19:37
odyssey4meadmin0 actually, I have no idea19:37
odyssey4meoh wait - I think I have it19:37
odyssey4meadmin0 essentially the storage_hosts run cinder-volume19:37
admin0no take a good U turn :)19:37
admin0no => you19:37
odyssey4meadmin0 so in this case, for ceph, you actually want cinder-volume to run in a container on the controllers - I think19:38
odyssey4meso you want to switch on_metal to false - unless you wish to waste a host19:38
odyssey4mefor any networked cinder storage, you can run cinder-volume in a container19:38
odyssey4methen I think the storage_hosts which you're using will become your controllers, as they'll get containers put on them19:39
odyssey4meI may be wrong-  but I know you can rebuild so if I screwed up it's ok :)19:39
admin0:D19:39
odyssey4memhayden it's coming from somewhere - can you figure out where from?19:40
mhaydenodyssey4me: still looking19:40
admin0so 1. have cinder volume run on containers by removing is_metal .. on storage_hosts, define all ceph osds ?  and on user_variable, put all mons19:41
odyssey4meadmin0 no, don't define ceph osd's at all - those are managed outside of OSA19:41
odyssey4mestorage_hosts should include the hosts which should run the cinder-volume containers19:42
mhaydenso pywbem doesn't appear anywhere in liberty trunk right now that i can find -- i wonder if something on the repo server is causing problems19:42
matttodyssey4me: i think admin0 jerry-rigged the OSDs into osa like we do in rpc-openstack19:42
odyssey4memhayden yeah, but it may be coming in from something you're adding?19:42
spotzWasn't there a review just yesterday about pywbem?19:42
admin0mattt: that one worked for deployment :D19:43
admin0but i destroyed that env19:43
admin0and now i have one blank env and 1 ceph cluster ready19:43
admin0and looking to tie them up togehter19:43
*** egonzalez has joined #openstack-ansible19:44
odyssey4meadmin0 yep, so in OSA we only instrument the client access to the cluster - we don't touch the cluster itserlf19:44
*** sigmavirus24_awa is now known as sigmavirus2419:44
admin0yep. and that is what i am trying to work on next19:45
*** johnmilton has quit IRC19:45
admin0so i have server c20,c21,c22 already running ceph cluster with the proper pools and auth added ..  and i have a bunch of other servers where I want to run the osa now, and try to use glance and cinder with ceph19:46
odyssey4meadmin0 we're looking forward to your next howto ;)19:47
admin0:D19:47
matttadmin0: https://github.com/openstack/openstack-ansible/blob/master/playbooks/roles/ceph_client/defaults/main.yml19:48
*** jmccrory_ has quit IRC19:48
mhaydenodyssey4me: it seems to be sneaking into this fact -> https://github.com/openstack/openstack-ansible/blob/liberty/playbooks/roles/repo_build/tasks/repo_set_facts.yml#L42-L4719:50
matttmhayden: stepping in late but make sure you don't have stale facts19:50
matttthose are a bugger19:50
mhaydenmattt: OMG i hope that's not it19:50
mhayden:|19:50
matttmhayden: the # of hours i've wasted dealing w/ that19:51
* mattt points at the stars19:51
spotzheheh19:51
*** javeriak has quit IRC19:52
* mhayden clears some facts and crosses fingers19:52
odyssey4melol, that is a good one to remember19:53
mhaydeni wonder if we ought to put a reminder about that at the top of the minor upgrade docs?19:53
matttadmin0: our docs are a bit scattered when it comes to ceph integration :(19:53
matttadmin0: let me know if i can help, but if you're going through the process it'd be great if you could update the openstack-ansible docs w/ what you find19:54
admin0i went through rpcov11 and osa last time to tie in ceph from rpco to osa19:54
admin0it worked :D19:54
matttadmin0: why did you redo it all then?19:54
mattt(serious question :)19:54
admin0free time, 3-4 test clusters that i can re-do anytime, a big hunger to learn more :D19:55
admin0well, that test was for ceph .. yesterday i tried to load vpnaas, broke neutron ..19:55
admin0that integration is saved and i will document it too19:56
matttadmin0: https://github.com/openstack/openstack-ansible/blob/master/etc/openstack_deploy/openstack_user_config.yml.example#L603-L62019:56
matttso that is for your cinder-volume bit19:56
admin0its mostly for documentaiton .. how to configure ceph with osa is done . now is how to configure existing ceph with osa19:56
matttthen iirc to get glance using ceph you need to set glance_default_store: rbd and for nova ephemeral disks in rbd you set nova_libvirt_images_rbd_pool: vms19:57
*** scarlisle has quit IRC19:57
odyssey4meoh, ansible released v1.9.5 - who knew19:58
admin0odyssey4me: i am mostly confused in this part:   http://docs.rackspace.com/rpc/api/v11/bk-rpc-installation/content/ch-ceph.html19:58
*** jlvillal has quit IRC19:58
admin0why just 1 infra in storage_hosts section .. should it be controllers .. or osds19:59
admin0sorry that was for mattt :D19:59
matttcontrollers, OSDs does not know about or care about your osds19:59
matttsorry, OSA does not know about or care about :)20:00
odyssey4meadmin0 ignore that doc - as OSA doesn't setup the ceph osd's, OSA doesn't care about them20:00
odyssey4mewhat mattt said20:00
admin0so that is about setting it up, and not consuming it20:01
* odyssey4me goes back to ironic matters20:01
admin0:D20:01
*** jlvillal has joined #openstack-ansible20:03
*** phiche has quit IRC20:09
*** scarlisle has joined #openstack-ansible20:11
openstackgerritMerged openstack/openstack-ansible-specs: Spec to introduce & integrate Gnocchi role  https://review.openstack.org/29557420:16
*** egonzalez has quit IRC20:16
spotzgoing through the review list. alot of -1 on verification20:23
*** fawadkhaliq has quit IRC20:30
*** fawadkhaliq has joined #openstack-ansible20:30
*** jorge_munoz has joined #openstack-ansible20:34
*** fawadkhaliq has quit IRC20:40
*** fawadkhaliq has joined #openstack-ansible20:40
*** fawadkhaliq has quit IRC20:50
*** fawadkhaliq has joined #openstack-ansible20:51
*** jaypipes has quit IRC20:52
*** asettle has joined #openstack-ansible20:53
openstackgerritMerged openstack/openstack-ansible-os_barbican: Remove dependency on the Keystone admin auth token  https://review.openstack.org/29599920:54
*** weezS has quit IRC20:55
*** schwicht has quit IRC20:58
*** thorst has quit IRC21:00
*** thorst has joined #openstack-ansible21:00
*** schwicht has joined #openstack-ansible21:01
*** thorst has quit IRC21:05
*** woodard_ has joined #openstack-ansible21:06
*** weezS has joined #openstack-ansible21:06
*** woodard has quit IRC21:09
*** woodard_ has quit IRC21:10
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-ironic: Update local_install script for non-tox testing  https://review.openstack.org/29606021:10
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-ironic: Remove unnecessary apt package installation  https://review.openstack.org/29606321:13
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-ironic: Remove dependency on the Keystone admin auth token  https://review.openstack.org/29606621:17
*** Mudpuppy has quit IRC21:18
*** jorge_munoz has quit IRC21:19
*** thorst has joined #openstack-ansible21:22
pabelangerYa, something is wrong with ansible, it's been hung for about 45mins now21:23
*** schwicht has quit IRC21:23
pabelangerI wonder if I stopped the node when ansible was running at the same time21:23
pabelangerDoh, wrong channel21:24
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-ironic: Remove the database creation & messaging tasks from the role  https://review.openstack.org/29606921:24
pabelangersorry bout that21:24
odyssey4melol pabelanger21:24
odyssey4metoo many windows, not enough coffee :p21:24
pabelangerodyssey4me: indeed, up to 15 now21:25
*** thorst has quit IRC21:26
*** keedya has quit IRC21:28
mhaydenodyssey4me: it's past your bedtime21:33
*** phiche has joined #openstack-ansible21:33
*** weezS has quit IRC21:35
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-ironic: Implement initial test inventory/plays  https://review.openstack.org/29607721:38
*** pjm6 has joined #openstack-ansible21:39
pjm6Hi there21:40
odyssey4memrda mcarden neillc That set of patches to the Ironic role bring it to the point where it converges for me. I may have missed something, but it should give you a starting point to work from and I'll revisit and test on a fresh instance tomorrow. Note that it seems to break keystone - not sure why yet.21:40
pjm6I was here in afternoon because I had an error in deploying openstack ansible AIO21:40
odyssey4meafk for a bit21:41
*** jguy_ has quit IRC21:41
cloudnullohai pjm621:43
pjm6hi cloudnull21:47
pjm6I collect some logs, but didn't understand well21:47
pjm6the stdout that I collect was the following21:47
pjm6http://pastebin.com/bW6hEVDh21:47
* cloudnull looking21:47
*** openstackgerrit has quit IRC21:48
cloudnullso is your deployment not building contianers?21:49
cloudnullwhat OS are you deploying into ? and what are the specs?21:49
cloudnulldo you have the stdout for the error that was thrown ?21:49
*** openstackgerrit has joined #openstack-ansible21:49
mcardenodyssey4me: 296077? OK - I'll check it out.21:50
pjm6I think it build containers because i can see them21:50
pjm6I'm going to post the21:50
pjm6second ansible_log21:50
mrdathanks odyssey4me - I'll take a look this morning21:54
pjm6http://pastebin.com/dtBLfqmZ21:54
pjm6that was the second time that I run21:55
pjm6the first time it didn't give error in the file (when using export ANSIBLE_LOG_PATH)21:56
sigmavirus24cloudnull: odyssey4me I tagged you into a mailing list thread that you might have missed otherwise21:57
cloudnullwhich one ?21:58
odyssey4memcarden neillc mrda these: https://review.openstack.org/#/q/project:+openstack/openstack-ansible-ironic+owner:jesse.pretorius%2540rackspace.co.uk+status:open+label:Verified%252B122:01
sigmavirus24cloudnull: I have to run but it was about pbr semver tags22:02
mrdaodyssey4me: thanks22:02
*** sigmavirus24 is now known as sigmavirus24_awa22:02
cooljpjm6: looks like two of your rabbit containers and a heat_apis container canot be reached via ssh22:02
cloudnullill go look.22:02
cloudnullthanks sigmavirus24_awa22:02
pjm6coolj: it seems like that, but what I do was just running the commands that were in the documentation.22:04
pjm6If I use teardown.sh and run over again, it will be a clean install?22:04
cooljpjm6: not sure tbh, i've never used it! i would investigate why those containers are unreachable and go from there.22:07
pjm6hmm, ok thank you :)22:07
*** KLevenstein has quit IRC22:08
pjm6but the AIO with those three commands was supposed to be working on demand, right ?22:08
*** retreved has quit IRC22:10
cooljpjm6: i have not used the aio personally (i am just a deployer, i don't directly work on osa), sorry i can't provide more info!22:11
pjm6ah ok, no problem. thank you for help :)22:12
pjm6but you use OSA to deploy, right?22:12
odyssey4mepjm, it works for us for the most part in most situations - we test and have commit tests using it - so it's pretty robust22:13
odyssey4me(the AIO I mean)22:13
odyssey4mepjm6 ^22:13
*** darrenc is now known as darrenc_afk22:14
pjm6yes i believe, I will try using teardown.sh and use the "Rebuild an AIO" guide22:14
spotzHrm the Van Zandt hotel allows any pet you can fit through the door..... mhayden should I being the pony?22:14
pjm6and try to deploy again22:14
neillcodyssey4me: I have some working tox based tests for ironic. will now try and reconcile your new changes with what I have22:15
odyssey4mepjm6 if you teardown too often, it may be best to restart fresh - a minimum ubuntu install on a VM with a single NIC and internet access22:15
pjm6hm i think iu22:17
pjm6will do that22:17
pjm6i was getting xenstore-read error in a VM (in XenServer hypervisor)22:17
pjm6but i was using the tag 12.0.0 or 12.0.922:17
spotzpjm6 There was a bug for a day or so I think where I had that error too, but the fix went out quickly. Can't remember which version though22:19
*** galstrom is now known as galstrom_zzz22:19
pjm6the error of xenstore-read ?22:19
pjm6I'm trying since yesterday spotz22:19
spotzpjm6 Yeah I think so, it was a couple months ago22:20
pjm6but I think the branch liberty it's currently fine22:20
pjm6hmm, I will try with branch liberty instead of tags, thanks =)22:20
spotzpjm6 Yeah Liberty was fine, we were doing some testing on master22:20
odyssey4mepjm6 yeah, until the next liberty tag I'd suggest using the head of liberty for now22:21
pjm6thanks odyssey4me and spotz22:21
pjm6odyssey4me i'm using it since you told me in this morning, but I didn't try in the VM22:21
odyssey4mepjm6 if you've torn down and will be rebuilding an AIO and have customised nothing - it may be good to remove /etc/openstack_deploy/ after the teardown22:22
pjm6btw: it is easy to make a distribute deployment with the following structure: 2 master nodes (with RabbitMQ, Horizon, and common openstack services), 2 network nodes, 2 controller nodes and 2 compute nodes ?22:23
pjm6odyssey4me thanks, i will do that in my physical machine and try in the Virtual Machine to see if the error goes out :)22:23
odyssey4mepjm6 VM is better to make it easier to destroy and recreate, but yeah sometimes it may not work22:24
odyssey4meit all depends on the platform and the cpu support it has22:24
pjm6i'm using XenServer with 2 CPUs Xeon (if I remember it has 40vCores)22:25
*** coolj has quit IRC22:27
*** coolj has joined #openstack-ansible22:28
*** scarlisle has quit IRC22:34
*** darrenc_afk is now known as darrenc22:35
openstackgerritMerged openstack/openstack-ansible: Added memcache flush to upgrade process  https://review.openstack.org/29411522:41
*** spotz is now known as spotz_zzz22:42
odyssey4meneillc Hopefully I'll be able to stand up a working standalone build tomorrow. For now at least this converges. I just need to do a fresh build to confirm that before patching tox to see if the gate agrees. We're busy wrestling with some stuff to hopefully make tox behave more consistently between infra and a build on a cloud instance see mattt's work and some notes in https://review.openstack.org/29526522:42
odyssey4methe python env is set properly to the tox python executable in the gate, but not when we do it in a cloud instance - that's where it stands now22:43
odyssey4methe problem trying to get solved is that we test on a cloud instance and it's fine, but it doesn't work in the gate22:44
odyssey4meanyway, I'm out for the night - have a great day y'all22:44
*** schwicht has joined #openstack-ansible22:45
*** phiche1 has joined #openstack-ansible22:48
pjm6thanks, for you to odyssey4me22:48
*** phiche has quit IRC22:50
*** networkninja has joined #openstack-ansible22:55
admin0odyssey4me: https://www.openstackfaq.com/openstack-ansible-ceph/  —  ceph added for deployment :D22:58
admin0but this is just install .. integration — will check tomororw22:58
admin0*tomrorow22:58
admin0*tomorrow22:58
admin0:D22:58
*** admin0 has quit IRC23:04
*** saneax_AFK is now known as saneax23:05
*** schwicht has quit IRC23:06
*** izaakk has quit IRC23:17
*** phiche1 has quit IRC23:21
*** schwicht has joined #openstack-ansible23:25
*** schwicht has quit IRC23:30
openstackgerritCharles Farquhar proposed openstack/openstack-ansible: Add pip_get_pip_options to fall back Install PIP  https://review.openstack.org/29611223:32
*** jguy_ has joined #openstack-ansible23:34
openstackgerritCharles Farquhar proposed openstack/openstack-ansible-pip_install: Add pip_get_pip_options to fall back Install PIP  https://review.openstack.org/29611423:36
*** daledude has left #openstack-ansible23:39
*** markvoelker has quit IRC23:44
*** schwicht has joined #openstack-ansible23:46
*** markvoelker has joined #openstack-ansible23:47
*** fawadkhaliq has quit IRC23:48
*** fawadkhaliq has joined #openstack-ansible23:49
*** johnmilton has joined #openstack-ansible23:51
*** schwicht has quit IRC23:51

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