Friday, 2015-07-24

*** annashen has joined #openstack-ansible00:32
*** annashen has quit IRC00:37
*** sigmavirus24_awa is now known as sigmavirus2400:47
*** alop has quit IRC01:14
*** markvoelker has joined #openstack-ansible01:25
*** annashen has joined #openstack-ansible01:33
*** tlian has quit IRC01:50
*** sigmavirus24 is now known as sigmavirus24_awa02:05
*** daneyon has quit IRC02:09
*** galstrom_zzz is now known as galstrom02:11
*** galstrom is now known as galstrom_zzz02:44
*** sdake has quit IRC03:28
*** sdake has joined #openstack-ansible03:30
*** miguelgrinberg has quit IRC03:35
*** markvoelker has quit IRC03:38
*** sdake has quit IRC03:46
*** fawadkhaliq has joined #openstack-ansible03:47
*** markvoelker has joined #openstack-ansible04:03
*** markvoelker has quit IRC04:08
*** annashen has quit IRC04:24
*** fawadk has joined #openstack-ansible04:30
*** fawadkhaliq has quit IRC04:33
*** annashen has joined #openstack-ansible04:33
*** weezS has joined #openstack-ansible04:36
*** weezS has quit IRC04:38
*** javeriak has joined #openstack-ansible04:59
*** markvoelker has joined #openstack-ansible05:04
*** markvoelker has quit IRC05:09
openstackgerritMatthew Thode proposed stackforge/os-ansible-deployment: Add remote procedure call tunables to nova and neutron  https://review.openstack.org/20525605:10
*** javeriak has quit IRC05:17
*** shausy has joined #openstack-ansible05:23
*** shausy has quit IRC05:35
*** shausy has joined #openstack-ansible05:35
*** javeriak has joined #openstack-ansible05:42
*** javeriak has quit IRC05:51
*** javeriak_ has joined #openstack-ansible05:54
*** annashen has quit IRC06:31
*** annashen has joined #openstack-ansible06:36
*** vincent_vdk has quit IRC07:05
*** markvoelker has joined #openstack-ansible07:05
*** markvoelker has quit IRC07:10
*** annashen has joined #openstack-ansible07:24
*** javeriak_ has quit IRC07:36
*** annashen has quit IRC07:52
pellaeonHi, I solved the host not found issue and re-ran setup-host, setup-infrastructure, haproxy-install07:53
pellaeonnow one of my keystone container is still stuck at os_keystone | Ensure service tenant07:55
pellaeon(the other containers skipped the task)07:56
pellaeonuh by stuck I mean failed at the task07:57
pellaeonkeystoneclient.openstack.common.apiclient.exceptions.NotFound: The resource could not be found. (HTTP 404)07:57
pellaeonseems to be the identity API version issue andymccr mentioned yesterday08:05
pellaeonI'm still seeing requests like this "GET /v2.0/domains HTTP/1.1" 404 344 "-" "python-keystoneclient"08:05
*** shausy has quit IRC08:10
*** shausy has joined #openstack-ansible08:10
*** javeriak has joined #openstack-ansible08:12
*** pilgrimstack has joined #openstack-ansible08:12
openstackgerritJesse Pretorius proposed stackforge/os-ansible-deployment: Document required repository hosts config info  https://review.openstack.org/20225808:44
openstackgerritJesse Pretorius proposed stackforge/os-ansible-deployment: Wrapper script to perform K2K federated login  https://review.openstack.org/20385908:45
*** javeriak has quit IRC08:48
*** markvoelker has joined #openstack-ansible08:51
odyssey4mepellaeon have you done the basics - 1) set the value of debug to true, 2) checked whether the keystone service is running and showing any exceptions, 3) accessed the keystone endpoint using the token and admin endpoint to verify what has and hasn't been setup?08:54
*** markvoelker has quit IRC08:56
andymccr404 sounds like the endpoints are wrong based on the auth version perhaps.08:58
odyssey4methat's true - it's possible that an old user_group_vars.yml is present in /etc/openstack_deploy/09:02
odyssey4meit may be overriding the endpoint to use with the wrong bits09:03
prometheanfireodyssey4me: moin :P09:03
odyssey4meeish prometheanfire what's you doing up so late?09:04
prometheanfireodyssey4me: mind reviewing the kilo and juno versions?09:04
prometheanfireodyssey4me: I always am09:04
prometheanfirewell, not always THIS late, but usually asleep by 3 am09:04
*** shausy has quit IRC09:04
*** shausy has joined #openstack-ansible09:05
prometheanfirecool :D09:05
odyssey4meprometheanfire for juno are you sure the same defaults apply?09:06
prometheanfireyes09:06
prometheanfireI verified09:06
odyssey4meok cool09:06
pellaeonmy openrc has this line:09:06
pellaeonexport OS_IDENTITY_API_VERSION=209:06
odyssey4mepellaeon you're on master, right?09:07
pellaeonand09:07
pellaeonexport OS_AUTH_URL=http://172.29.236.19:5000/v2.009:07
prometheanfireodyssey4me: anyway, I'll sleep now, nn09:07
pellaeonodyssey4me: yes09:07
odyssey4mepellaeon what's your last merge in the git log?09:07
odyssey4meprometheanfire sleep well :)09:08
pellaeonuh, I'm on 16ac504 Fix glance_nfs_client setting actually09:08
odyssey4mepellaeon ok, check whether you have a file called user_group_vars.yml in /etc/openstack_deploy/09:09
pellaeonodyssey4me: yes I do09:09
odyssey4medelete it09:09
odyssey4meverify that your commit log shows the commit 'Moved user_group_vars to defaults'09:09
prometheanfirewin 109:10
pellaeondeleted and verified09:10
odyssey4mepellaeon do you have any specific endpoint overrides in your user_variables?09:11
matttodyssey4me: i think he may have initially deployed before we defaulted to keystone v309:11
odyssey4memattt that's possible09:12
odyssey4mepellaeon try executing: cd /opt/os-ansible-deployment/playbooks; openstack-ansible os-keystone-install.yml09:13
pellaeonno endpoint overrides09:14
pellaeonmattt: i think that's the case09:14
odyssey4menote that the reason that the task you mentioned is only run on one keystone container is because it does the keystone service setup - ie adding the service project, users, etc... that only needs to be done once, so it's only done on the first keystone container09:14
pellaeonbecause before I switched to master I deployed in kilo branch09:15
*** shausy has quit IRC09:16
pellaeonnow running os-keystone-install09:16
matttpalendae: what is confusing me is that the openrc gets created very eraly in os-keystone-install09:16
matttso i'm not sure why that file isn't getting updated09:17
matttif it's still writing /v2 then you must have some legacy vars lying around09:17
mattts/palendae/pellaeon/g09:17
*** javeriak has joined #openstack-ansible09:18
*** javeriak has quit IRC09:19
*** javeriak has joined #openstack-ansible09:20
odyssey4memattt yeah, the user_group_vars would have been that issue09:20
odyssey4mebut note that without https://review.openstack.org/205192 the endpoint put into openrc may still be v209:21
odyssey4methe openrc is not used for the task that's failing for pellaeon09:21
matttodyssey4me: yeah looking at the task you are right09:22
matttwe're passing in endpoint to keystone module09:23
odyssey4meyup09:23
odyssey4mepellaeon I hope that this build you're working on is not for production? What you're deploying is a blend of kilo and liberty as it comes straight from the master branches of each upstream project!09:23
matttyeah i'm tempted to say rewind and re-deploy with either kilo or master09:26
odyssey4mesure, but if the issue is in /etc/openstack_deploy/ files then that won't help09:28
*** javeriak has quit IRC09:37
*** javeriak has joined #openstack-ansible09:47
odyssey4mehmm, in a task it is possible to loop through a list of items in a list?10:02
odyssey4meit does appear that you can do nested loops10:03
andymccrnot sure you can nested loop with a list of items within a list10:09
andymccrnested loops is like [1, 2 ,3] [a, b, c] and then you get 1a 1b 1c, 2a, 2b, 2c, 3a, 3b, 3c.10:10
odyssey4meyeah, it might be with_subelements that I'm after10:10
andymccrthat sounds better10:10
andymccras long as you know the elements and they are standard10:11
andymccrit seems like that'd work10:11
odyssey4meyep, that does the trick :)10:12
odyssey4methat's pretty nifty actually!10:12
openstackgerritMerged stackforge/os-ansible-deployment: Add remote procedure call tunables to nova and neutron  https://review.openstack.org/20527010:12
*** javeriak has quit IRC10:20
andymccrodyssey4me: on that idp/sp stuff - when i try do an openstack endpoint list it is trying to access keystone on the external IP now, from inside (which fails)10:21
odyssey4meandymccr oh dear, you have some funky firewally stuff, right?10:22
andymccrwell not really i mean its just a normal firewall :P i could allow access but it seems weird that i need access to connect to my own local vip on external10:23
odyssey4mewith federation all access has to go via a consistent endpoint, generally the public one in order for it to be publically accessible10:23
odyssey4methe openrc is typically set to use the internal endpoint though10:24
andymccrok i'll allow access and see if that works then10:24
odyssey4mein fact yeah, openrc uses the internal endpoint - so that doesn't sound right10:25
odyssey4mebut for horizon it'll need the public endpoint to be accessible10:25
odyssey4meand the SP will also expect federation bits to come in on the public endpoint10:25
*** javeriak has joined #openstack-ansible10:25
andymccrdebug on the command suggests it does go internal first which works, btu then it forwards out to external10:26
odyssey4meandymccr ah, that's likely because of the 'public_endpoint' entry in keystone.conf10:27
odyssey4methis is a good thing to note now - we'll have to ensure we note this in the docs10:27
odyssey4meit seems a little odd that the openstack client is not respecting the endpoint it's supposed ot use though10:28
odyssey4memight be a bug there, or we're setting the wrong env vars10:28
andymccropenrc file seems correct10:28
andymccrand it does go there first10:28
andymccrok so the public endpoint value is the external VIP but that makes sense for a public endpoint10:28
*** logan2 has quit IRC10:47
*** javeriak_ has joined #openstack-ansible10:49
*** logan2 has joined #openstack-ansible10:50
*** javeriak has quit IRC10:50
*** markvoelker has joined #openstack-ansible10:52
*** markvoelker has quit IRC10:57
*** openstackgerrit has quit IRC11:01
*** openstackgerrit has joined #openstack-ansible11:02
*** javeriak_ has quit IRC11:09
*** javeriak has joined #openstack-ansible11:12
openstackgerritJesse Pretorius proposed stackforge/os-ansible-deployment: Keystone Federation Service Provider Configuration  https://review.openstack.org/19439511:45
openstackgerritJesse Pretorius proposed stackforge/os-ansible-deployment: Add sample Keystone Federation SP configuration for ADFS  https://review.openstack.org/20373611:47
openstackgerritJesse Pretorius proposed stackforge/os-ansible-deployment: Add sample Keystone Federation SP configuration for ADFS  https://review.openstack.org/20373611:49
cloudull_zzzMorning12:16
*** cloudull_zzz is now known as cloudnull12:16
marekdodyssey4me: Hello boss.12:24
marekdodyssey4me: i forgot what was the status of your ansible/puppet/chef recipes for federation12:25
odyssey4memarekd haha :)12:25
*** markvoelker has joined #openstack-ansible12:25
marekdtoo much stuff floating around12:25
odyssey4mewe're busy working through various use-cases and refining the deployment - but we have the Keystone IDP deployment working nicely, and the Keystone SP working: confirmed to work with Keystone IDP, TestShib IDP and ADFS 3.0 (which does SAML2 properly)12:26
odyssey4meI still need to test the fernet tokens with federation.12:26
marekdodyssey4me: heh, i was about to try it now.12:27
odyssey4meAs the WebSSO needs to use Keystone v3 endpoints, we're also working through ensuring that all the other bits work with v3 endpoints. Swift seems to have some trouble.12:27
marekduh12:28
odyssey4meWe're also busy prepping documentation for how to deploy the IDP/SP, troubleshoot issues and how to implement more complex scenarios.12:28
marekdulalala, super nice12:29
marekdso you are good on your own :-)12:29
odyssey4meyeah, I think we are doing pretty well now - we're only doing saml2 with Shibboleth on the SP at this point - but can extend the method to other auth methods and mod_auth_mellon perhaps at a later stage.12:30
odyssey4methere is definitely room for improvement on the keystone client libraries and the openstack CLI... stuff doesn't work there without using a wrapper script12:31
marekdodyssey4me: hm?!12:31
marekdodyssey4me: can you specify?12:31
odyssey4mewe have this one in play at the moment: https://review.openstack.org/20385912:31
odyssey4meyou'll see the curl commands for some actions which seem to be missing from the openstack/keystone client12:32
marekdodyssey4me: you are talking about k2k authentication ?12:32
marekdodyssey4me: there is no osc code yet, as i am waiting for ksa to be released and then we will need to transit to ksa in OSC.12:33
odyssey4meyeah, that's primarily focused on k2k at this stage - we're looking into including the ability to get ADFS assertions using the script too, but haven't quite got that right12:33
marekdodyssey4me: ok, but those plugins are already implemented.12:33
odyssey4meoh? can you share some sort of how to for it?12:34
marekdodyssey4me: sure12:34
odyssey4mewhen I try to do that using the SLI tool it seems that the CLI rejects valid options12:34
marekdi admit there might be some mess now, as the nice plugins are not used by OSC, but definitely you don't need to use pure curl12:34
odyssey4mewell, we'd love to help you guys revise/review patches and make it more workable - just let us know what needs some attention :)12:35
marekdodyssey4me: https://github.com/openstack/keystoneauth/tree/master/keystoneauth1/auth/identity/v3 -> so federation.py is a interface like class and it's a base class for real implementations of saml/adfs auth plugins that are here: https://github.com/openstack/keystoneauth-saml2/blob/master/keystoneclient_saml2/v3/saml2.py12:36
marekdodyssey4me: let me provide you a wrapper for those12:37
marekdso you will be able to use it12:37
marekdeasily12:37
*** prad has joined #openstack-ansible12:37
pellaeonmattt: after deleting user_group_vars , openrc now points keystone API version to 312:38
pellaeonand os-keystone-install worked successfully12:38
pellaeonthe issue should be just as you said, some legacy vars lying around12:39
matttyay!12:41
pellaeonthanks a lot to you guys :-)12:41
marekdodyssey4me: https://gist.github.com/zaccone/f067e2036b3044b30382 for instance12:41
pellaeonand actually I didn't know master deploys from liberty...12:41
matttpellaeon: sorry it took so long to figure out!12:41
matttpellaeon: yeah, you may want to use kilo to be safe, unless you're using this for development purposes12:42
pellaeonso it's time to re-deploy!12:42
odyssey4mepellaeon excellent :)12:42
matttyeah, i would recommend a re-deploy :P12:42
mattti was kinda hinting at that earlier12:42
pellaeonmattt: it's ok, really thank you guys12:42
pellaeonI guess I'll re-deploy with master, then, because I need that glance_nfs_client fix12:43
marekdodyssey4me: from the auth plugins we are pretty much covered12:43
matttpellaeon: that should get backported12:43
odyssey4memarekd that looks good - can that work against a non-ECP IDP endpoint?12:43
marekdodyssey4me: which one? ADFS for instance?12:43
pellaeonmattt: how long will I need to wait ?12:43
odyssey4memattt the backport is already in flight :)12:43
odyssey4memarekd yep12:44
pellaeonawesome!12:44
odyssey4memattt https://review.openstack.org/20432012:44
marekdodyssey4me: ADFS excercises slightly different workflow, but i managed to reverse engineered it and an effect is here: https://github.com/openstack/keystoneauth-saml2/blob/master/keystoneclient_saml2/v3/saml2.py#L44712:44
odyssey4mealso, this one should go in too and get backported https://review.openstack.org/20519212:44
*** tlian has joined #openstack-ansible12:45
matttodyssey4me: i'm not sure that's the review he means?12:45
mattt^^^ pellaeon12:45
pellaeonmattt: no I mean this one https://review.openstack.org/#/c/204542/12:45
odyssey4memarekd so that's ADFS2, ADFS3 adheres to the SAML2 protocol properly but doesn't seem to do ECP12:45
marekdodyssey4me: i think somebody tested it agains adfs312:45
matttpellaeon: oh that was already backported12:45
matttpellaeon: https://review.openstack.org/#/c/204954/12:46
marekdodyssey4me: my bet adfs3 is backwards compatible12:46
marekdyou cannot do nonecp workflow without ecp...12:46
pellaeonmattt: oh, i see12:46
pellaeonmattt: thanks!12:46
pellaeonI'll re-deploy with kilo then12:46
marekdodyssey4me: you can try this plugin agains adfsv312:46
matttpellaeon: excellent!  let us know how you get on12:47
odyssey4memarekd alright, one of my colleagues has been puzzling it out and will be online in 3-4 hours - I'll pass the info on if I don't get to try it out before then12:47
marekdpuzzling adfsv3 via cmd ?12:47
pellaeonmattt: sure, thanks a lot you guys12:47
marekdok, i will be here couple of hours more.12:47
odyssey4memarekd yeah, let me grab some lunch and I'll give it a go12:47
marekdsure12:48
openstackgerritMerged stackforge/os-ansible-deployment: Adjust SSH key creation method for Nova compute  https://review.openstack.org/20514313:08
openstackgerritMerged stackforge/os-ansible-deployment: Adjust SSH key creation method for repo servers  https://review.openstack.org/20514513:08
*** fawadk has quit IRC13:23
*** fawadkhaliq has joined #openstack-ansible13:24
openstackgerritKevin Carter proposed stackforge/os-ansible-deployment-specs: Cleaned up specs directory  https://review.openstack.org/20237313:26
*** sdake has joined #openstack-ansible13:28
*** sdake_ has joined #openstack-ansible13:29
openstackgerritKevin Carter proposed stackforge/os-ansible-deployment-specs: Limit the distribution of .my.cnf  https://review.openstack.org/20375413:29
openstackgerritKevin Carter proposed stackforge/os-ansible-deployment-specs: Added spec to remove upstream repo dependency  https://review.openstack.org/20370613:30
openstackgerritKevin Carter proposed stackforge/os-ansible-deployment-specs: Added spec to enable systemd support within OSAD  https://review.openstack.org/20236813:30
*** annashen has joined #openstack-ansible13:32
openstackgerritKevin Carter proposed stackforge/os-ansible-deployment-specs: Added spec to upgrade MariaDB to v10  https://review.openstack.org/20370813:32
*** sdake has quit IRC13:32
*** javeriak has quit IRC13:32
openstackgerritKevin Carter proposed stackforge/os-ansible-deployment-specs: Cleaned up specs directory  https://review.openstack.org/20237313:33
openstackgerritKevin Carter proposed stackforge/os-ansible-deployment-specs: Limit the distribution of .my.cnf  https://review.openstack.org/20375413:33
openstackgerritKevin Carter proposed stackforge/os-ansible-deployment-specs: Added spec to upgrade MariaDB to v10  https://review.openstack.org/20370813:33
openstackgerritKevin Carter proposed stackforge/os-ansible-deployment-specs: Added spec to remove upstream repo dependency  https://review.openstack.org/20370613:33
openstackgerritKevin Carter proposed stackforge/os-ansible-deployment-specs: Added spec to enable systemd support within OSAD  https://review.openstack.org/20236813:33
*** galstrom_zzz is now known as galstrom13:34
openstackgerritMerged stackforge/os-ansible-deployment: Add remote procedure call tunables to nova and neutron  https://review.openstack.org/20525613:34
*** zehicle has quit IRC13:36
*** javeriak has joined #openstack-ansible13:43
*** annashen has quit IRC13:46
*** sdake_ is now known as sdake13:47
*** KLevenstein has joined #openstack-ansible13:50
odyssey4meblast, it would seem that when you use with_subelements and when together, the with_subelements is evaluated first, so it doesn't work when you're trying to only do the task when the variable exists14:06
odyssey4mecloudnull you around?14:07
odyssey4meah, found a workaround - let me test it14:09
cloudnullodyssey4me:  i am in the office now14:13
openstackgerritKevin Carter proposed stackforge/os-ansible-deployment: Fix Keystone URI/URL defaults  https://review.openstack.org/20519214:18
openstackgerritKevin Carter proposed stackforge/os-ansible-deployment: Keystone Federation Service Provider Configuration  https://review.openstack.org/19439514:19
openstackgerritKevin Carter proposed stackforge/os-ansible-deployment: Add sample Keystone Federation SP configuration for ADFS  https://review.openstack.org/20373614:19
*** Mudpuppy has joined #openstack-ansible14:20
openstackgerritKevin Carter proposed stackforge/os-ansible-deployment: Updated master for new dev work - 24.07.2015  https://review.openstack.org/19912614:21
*** sigmavirus24_awa is now known as sigmavirus2414:23
*** javeriak has quit IRC14:27
*** yaya has joined #openstack-ansible14:34
odyssey4mecloudnull so when using a with_subelements loop with ansible (which I need to do), the subelements are evaluated before the when14:46
odyssey4methis means that when I'm trying to iterate over lists under keystone_sp, but only when keystone_sp is defined... stuff breaks because the with_subelements is evaluated first :/14:47
openstackgerritMerged stackforge/os-ansible-deployment-specs: Cleaned up specs directory  https://review.openstack.org/20237314:47
openstackgerritMerged stackforge/os-ansible-deployment-specs: Added spec to enable systemd support within OSAD  https://review.openstack.org/20236814:47
odyssey4meso I'm giving it a go to do this: https://www.mail-archive.com/ansible-project@googlegroups.com/msg08307.html14:47
cloudnullcould this be something better expressed with a filter?14:48
odyssey4mebut my default data structure must be fubar, because I get 'subelements lookup expects a list of two items, first a dict or a list, and second a string' as an error14:48
openstackgerritMerged stackforge/os-ansible-deployment-specs: Ceph block devices  https://review.openstack.org/20506214:49
cloudnullwhats the loop/data structure look like ?14:53
odyssey4medata structure is under keystone_sp: https://review.openstack.org/#/c/194395/58/playbooks/roles/os_keystone/defaults/main.yml,cm14:54
odyssey4mewith_subelements loop is here: https://review.openstack.org/#/c/194395/58/playbooks/roles/os_keystone/tasks/keystone_federation_sp_idp_setup.yml,cm14:54
odyssey4mewhen the data is all defined, it works nicely - but I need to ensure that when keystone_sp is not defined then it doesn't bother with it14:55
odyssey4meunless there's another way to do this - I'm effectively needing to loop within a loop14:56
odyssey4mebut only to access the set of values from the list on the inside14:56
*** yaya has quit IRC15:04
cloudnullhum...15:04
*** fawadkhaliq has quit IRC15:04
*** spotz_zzz is now known as spotz15:05
*** weezS has joined #openstack-ansible15:13
*** yaya has joined #openstack-ansible15:17
cloudnullodyssey4me:  is this subelement list something that is just trying to pull data from the "federated_identities" key ?15:18
odyssey4mecloudnull yep15:18
odyssey4meso it loops through each list item of trusted_idp_list15:18
cloudnullso the return is a list of hashes built from trusted_idp_list[]15:18
odyssey4meand for each of those, it fetches the list items of federated_identities15:19
*** daneyon has joined #openstack-ansible15:19
*** galstrom is now known as galstrom_zzz15:22
*** galstrom_zzz is now known as galstrom15:38
*** javeriak has joined #openstack-ansible15:42
cloudnullodyssey4me: ping15:44
odyssey4mecloudnull pong15:44
cloudnullthis is the data youre looking for right http://paste.openstack.org/show/405328/ ?15:44
odyssey4mecloudnull yes15:45
cloudnulladd http://paste.openstack.org/show/405329/ to the os_keystone role in a directory library/ IE os_keysone/library/keystone_sp15:47
cloudnullthen youll have a fact http://cdn.pasteraw.com/a3g0tr1m2hmkfu9usiyzfhvy2j3da3b15:48
cloudnulluse the lib, get the fact `keystone_federated_identities`, profit.15:48
cloudnull:015:48
cloudnull*:)15:48
cloudnullthe lib assumes "trusted_idp_list" will always be in the data structure, which idk if thats true when using keystone_sp , however i thought it was safe15:49
*** galstrom is now known as galstrom_zzz15:50
cloudnulli chose the library route so that it could be something specific to keystone within the os_keystone role.  however the same thing could be done with a filter if we wanted to carry it globally.15:54
*** yaya has quit IRC15:55
*** bitblt has joined #openstack-ansible15:56
*** javeriak has quit IRC15:57
*** javeriak has joined #openstack-ansible15:57
cloudnullusing a filter http://paste.openstack.org/show/405342/ but like I said this will be something we'd have to carry globally.15:59
cloudnullwhich could be used to set a fact, to do the same thing as the module.16:00
odyssey4mecloudnull ok, those are options which we can use but I'm wondering if there isn't a way we don't have to carry any extra code16:00
*** javeriak_ has joined #openstack-ansible16:01
odyssey4meI've been debugging why ansible kicks it out and it's essentially a type error when I provide a default16:01
odyssey4melet me work up a simple play for testing this and to show you what I'm seeing16:01
*** javeriak has quit IRC16:01
cloudnullnot that i've been able to find, when having to deal with a subelement conditionally.16:02
odyssey4meok, so this is something you've hit before?16:02
cloudnullwhich is why i opt'd to offload into python. but if theres a way we should do that .16:02
cloudnullodyssey4me:  yes16:02
cloudnullthe provider_networks lib exists because of it16:02
odyssey4meah16:03
odyssey4meso bear with me, let's work through my findings and maybe another idea will pop up16:03
cloudnullSam-I-Am: and i started off doing all the things with sub elements and hit the same road block16:03
cloudnullkk16:03
cloudnullno worries.16:03
Sam-I-Ameh16:04
cloudnullthe man the myth the legend16:04
Sam-I-Amwhat did i miss?16:04
cloudnullnothing talking about how ansible shinanigans16:05
odyssey4meif I do the approach outlined at https://www.mail-archive.com/ansible-project@googlegroups.com/msg08307.html (ie set the first element to 'keystone_sp.trusted_idp_list | default([])' then ansible thinks that the first element is of <type 'str'>16:05
*** sdake has quit IRC16:06
odyssey4meif I do "{{ keystone_sp.trusted_idp_list | default([]) }}" instead, I get type unicode16:06
odyssey4meand basically that's the two things I get regardsless of data structure I put into default()16:07
*** rward has quit IRC16:07
*** javeriak_ has quit IRC16:08
odyssey4meI've tried putting a whole data structure in user_variables and doing that, no good16:08
*** rward has joined #openstack-ansible16:08
odyssey4meit seems like default() only results in a string16:08
odyssey4memeh, it would seem that a module's the only option for now16:09
odyssey4meansible 2 may resolve this16:10
odyssey4meI see a lot of changes went in around this lookup module16:10
odyssey4mecloudnull so the module sets a fact? the fact is then consumed like a variable, right?16:11
*** javeriak has joined #openstack-ansible16:13
cloudnullyes16:20
*** javeriak has quit IRC16:20
*** pilgrimstack has quit IRC16:21
cloudnulllike this http://cdn.pasteraw.com/sg7hzvmods914bvpqlt6eityz9blgqg16:21
*** javeriak has joined #openstack-ansible16:22
odyssey4mecloudnull ok, trying it out16:31
*** daneyon has quit IRC16:38
*** daneyon has joined #openstack-ansible16:38
cloudnullok.16:42
openstackgerritKevin Carter proposed stackforge/os-ansible-deployment: Change to set the container network MTU  https://review.openstack.org/20561816:44
* cloudnull lunching16:45
*** javeriak has quit IRC16:46
*** javeriak has joined #openstack-ansible16:53
*** javeriak has quit IRC17:03
*** annashen has joined #openstack-ansible17:05
openstackgerritJesse Pretorius proposed stackforge/os-ansible-deployment: Keystone Federation Service Provider Configuration  https://review.openstack.org/19439517:07
openstackgerritJesse Pretorius proposed stackforge/os-ansible-deployment: Add sample Keystone Federation SP configuration for ADFS  https://review.openstack.org/20373617:08
*** javeriak has joined #openstack-ansible17:17
openstackgerritMerged stackforge/os-ansible-deployment: Adjust SSH key creation method for Keystone  https://review.openstack.org/20514417:20
*** subscope has quit IRC17:20
openstackgerritMerged stackforge/os-ansible-deployment: Target AIO swift vars at specific containers  https://review.openstack.org/20494917:20
*** javeriak has quit IRC17:23
*** javeriak has joined #openstack-ansible17:24
openstackgerritMerged stackforge/os-ansible-deployment: Parse latest Tempest results  https://review.openstack.org/20494817:27
openstackgerritMerged stackforge/os-ansible-deployment: Restart mysql when config changed  https://review.openstack.org/20454517:27
odyssey4mecloudnull hpcloud-b4 strikes again: http://logs.openstack.org/20/204320/3/gate/os-ansible-deployment-dsvm-check-commit/0922a6e/17:29
*** javeriak_ has joined #openstack-ansible17:31
*** TheIntern has joined #openstack-ansible17:32
*** javeriak has quit IRC17:34
*** daneyon has quit IRC17:38
*** daneyon_ has joined #openstack-ansible17:38
*** javeriak_ has quit IRC17:49
*** fawadkhaliq has joined #openstack-ansible17:53
openstackgerritMerged stackforge/os-ansible-deployment: Change to set the container network MTU  https://review.openstack.org/20479617:55
*** javeriak has joined #openstack-ansible17:55
*** galstrom_zzz is now known as galstrom17:56
*** TheIntern has quit IRC18:03
*** TheIntern has joined #openstack-ansible18:10
*** jwagner_away is now known as jwagner18:12
cloudnullodyssey4me: thats kinda of a bummer. kilo doesnt have the changes we merged yesterday for more gate logs18:17
cloudnull:(18:17
cloudnullodyssey4me:  how did the module work out ?18:17
*** annashen has quit IRC18:19
*** annashen has joined #openstack-ansible18:22
*** KLevenstein has quit IRC18:22
odyssey4mecloudnull done and dusted - it works and does what we need, I'm done with struggling... we can revisit that method when ansible 2 ships18:24
odyssey4methanks for the help18:24
cloudnullanytime, good to know it worked out.18:28
*** javeriak_ has joined #openstack-ansible18:34
*** javeriak has quit IRC18:38
*** javeriak_ has quit IRC18:46
*** TheIntern has quit IRC18:47
*** wmlynch has quit IRC18:48
*** abitha has joined #openstack-ansible18:49
openstackgerritMatthew Thode proposed stackforge/os-ansible-deployment: Update defaults for db_timeout/max_pool_size for nova/neutron/keystone  https://review.openstack.org/20567518:58
*** KLevenstein has joined #openstack-ansible19:00
openstackgerritMatthew Thode proposed stackforge/os-ansible-deployment: Update defaults for db_timeout/max_pool_size for nova/neutron/keystone  https://review.openstack.org/20567819:01
palendaeprometheanfire: looks like your pool and timeout values are swapped between master and juno19:04
prometheanfireok, lemme check19:05
palendaemaster - keystone_database_max_pool_size: 120, juno - keystone_db_max_pool_size: 3019:05
prometheanfireoh, will fix in juno19:05
openstackgerritMatthew Thode proposed stackforge/os-ansible-deployment: Update defaults for db_timeout/max_pool_size for nova/neutron/keystone  https://review.openstack.org/20567819:06
prometheanfirepalendae: ^19:07
*** daneyon_ has quit IRC19:13
*** galstrom is now known as galstrom_zzz19:14
*** daneyon has joined #openstack-ansible19:14
*** Mudpuppy_ has joined #openstack-ansible19:14
*** Mudpuppy has quit IRC19:15
*** Mudpuppy_ has quit IRC19:16
*** fawadkhaliq has quit IRC19:21
*** fawadkhaliq has joined #openstack-ansible19:22
*** bitblt has quit IRC19:22
*** weezS has quit IRC19:27
*** TheIntern has joined #openstack-ansible19:40
*** galstrom_zzz is now known as galstrom19:41
*** galstrom is now known as galstrom_zzz19:44
*** annashen has quit IRC20:10
*** galstrom_zzz is now known as galstrom20:11
openstackgerritMerged stackforge/os-ansible-deployment: Moved user_group_vars to defaults  https://review.openstack.org/20432020:19
*** annashen has joined #openstack-ansible20:23
*** fawadk has joined #openstack-ansible20:46
openstackgerritKevin Carter proposed stackforge/os-ansible-deployment-specs: Limit the distribution of .my.cnf  https://review.openstack.org/20375420:46
openstackgerritKevin Carter proposed stackforge/os-ansible-deployment-specs: Added spec to upgrade MariaDB to v10  https://review.openstack.org/20370820:47
openstackgerritKevin Carter proposed stackforge/os-ansible-deployment-specs: Added spec to remove upstream repo dependency  https://review.openstack.org/20370620:48
*** fawadkhaliq has quit IRC20:49
*** galstrom is now known as galstrom_zzz20:50
*** KLevenstein has quit IRC20:50
*** KLevenstein has joined #openstack-ansible20:51
*** weezS has joined #openstack-ansible20:57
*** TheIntern has quit IRC20:59
*** KLevenstein has quit IRC21:01
*** weezS has quit IRC21:19
openstackgerritMiguel Grinberg proposed stackforge/os-ansible-deployment: Keystone Federation Service Provider Configuration  https://review.openstack.org/19439521:36
*** prad has quit IRC21:40
*** tlian has quit IRC21:42
*** dabernie_ has joined #openstack-ansible21:46
*** annashen has quit IRC21:49
*** danb__ has quit IRC21:49
*** annashen has joined #openstack-ansible22:09
openstackgerritMiguel Grinberg proposed stackforge/os-ansible-deployment: Add sample Keystone Federation SP configuration for ADFS  https://review.openstack.org/20373622:35
*** fawadk has quit IRC22:45
*** spotz is now known as spotz_zzz22:48
*** jwagner is now known as jwagner_away22:49
*** annashen has quit IRC23:11
*** markvoelker has quit IRC23:15
*** daneyon has quit IRC23:33
*** daneyon has joined #openstack-ansible23:33
*** miguelgrinberg has joined #openstack-ansible23:49
*** daneyon has quit IRC23:49
*** daneyon has joined #openstack-ansible23:49
*** jmccrory has quit IRC23:54
*** jmccrory has joined #openstack-ansible23:54

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