Thursday, 2015-04-02

javeriakhey anyone notice that little microsoft help paperclip on the openstack pages today00:05
javeriaki guess its for april fools00:06
*** hj-hp has quit IRC00:14
*** hj-hp has joined #openstack-ansible00:20
*** sdake has quit IRC00:32
*** Mudpuppy_ has quit IRC00:32
*** Mudpuppy has joined #openstack-ansible00:33
*** hj-hp has quit IRC00:33
*** Mudpuppy has quit IRC00:38
*** hj-hp has joined #openstack-ansible00:45
*** hj-hp has quit IRC00:47
*** nosleep77 has quit IRC00:50
cloudnullJaveriak its the return of clippie. =)00:51
stevelleI'm quite ready for it to go away already00:51
cloudnull+100:55
javeriak.... why would they do that...01:00
*** vmtrooper has joined #openstack-ansible01:02
*** vmtrooper has quit IRC01:07
*** vmtrooper has joined #openstack-ansible01:07
*** stevemar has joined #openstack-ansible01:16
*** logan2 has quit IRC01:19
*** logan2 has joined #openstack-ansible01:21
palendaejaveriak: April Fool's fun I guess01:27
*** vmtrooper has quit IRC01:56
*** vmtrooper has joined #openstack-ansible01:57
*** vmtrooper has quit IRC02:01
*** sdake has joined #openstack-ansible02:16
*** sdake has quit IRC02:17
*** sdake has joined #openstack-ansible02:21
*** darrenc is now known as darrenc_afk02:42
*** darrenc_afk is now known as darrenc02:59
*** Mudpuppy has joined #openstack-ansible03:05
*** sdake has quit IRC03:10
*** Mudpuppy has quit IRC03:10
*** vmtrooper has joined #openstack-ansible03:45
*** vmtrooper has quit IRC03:50
*** mahito has quit IRC03:58
*** mahito has joined #openstack-ansible04:05
*** javeriak has quit IRC04:06
*** javeriak has joined #openstack-ansible04:07
*** javeriak has quit IRC04:09
*** fawadkhaliq has joined #openstack-ansible04:11
prometheanfireheh, nice04:33
*** mahito has quit IRC05:03
*** mahito has joined #openstack-ansible05:08
*** javeriak has joined #openstack-ansible05:10
*** vmtrooper has joined #openstack-ansible05:34
*** vmtrooper has quit IRC05:39
*** fawadkhaliq has quit IRC05:42
svgGood morning; I'd like to start looking to the proper way to implement cephsupport as an optional config in rpc (only on the openstack side, not the ceph cluster implementation itself); i'd like to discuss teh different things that need to be done, and the right wat to add this, when someone has time :)05:56
*** fawadkhaliq has joined #openstack-ansible06:00
*** fawadk has joined #openstack-ansible06:05
*** fawadkhaliq has quit IRC06:09
*** ishant has joined #openstack-ansible06:13
*** fawadkhaliq has joined #openstack-ansible06:16
*** fawadk has quit IRC06:19
*** javeriak has quit IRC07:02
*** javeriak has joined #openstack-ansible07:04
*** javeriak has quit IRC07:13
*** vmtrooper has joined #openstack-ansible07:23
*** vmtrooper has quit IRC07:28
*** stevemar has quit IRC07:30
openstackgerritMatt Thompson proposed stackforge/os-ansible-deployment: Heat config changes for kilo  https://review.openstack.org/16794707:32
*** markvoelker has quit IRC08:18
openstackgerritMatt Thompson proposed stackforge/os-ansible-deployment: Fix bug in playbooks/library/neutron  https://review.openstack.org/17004608:45
*** markvoelker has joined #openstack-ansible08:49
*** markvoelker has quit IRC08:55
*** vmtrooper has joined #openstack-ansible09:12
*** vmtrooper has quit IRC09:17
openstackgerritgit-harry proposed stackforge/os-ansible-deployment: Add network.yml monitoring playbook  https://review.openstack.org/17006209:54
*** ishant has quit IRC10:28
*** ishant has joined #openstack-ansible10:29
*** mahito has quit IRC10:30
*** fawadkhaliq has quit IRC10:45
openstackgerritMatt Thompson proposed stackforge/os-ansible-deployment: Fix bug in playbooks/library/neutron  https://review.openstack.org/17004610:48
*** markvoelker has joined #openstack-ansible10:52
*** markvoelker has quit IRC10:57
*** vmtrooper has joined #openstack-ansible11:00
*** vmtrooper has quit IRC11:06
*** fawadkhaliq has joined #openstack-ansible11:46
*** fawadkhaliq has quit IRC11:51
*** markvoelker has joined #openstack-ansible11:53
*** galstrom_zzz is now known as galstrom11:58
*** markvoelker has quit IRC11:58
*** subscope has quit IRC11:59
svgping ^^12:09
andymccrhey svg12:13
svgI'd like to start looking to the proper way to implement cephsupport as an optional config in rpc (only on the openstack side, not the ceph cluster implementation itself); i'd like to discuss teh different things that need to be done, and the right way to do that :)12:14
svgunrelated: overview of the inventory in treeview: http://sprunge.us/gXfA12:14
*** subscope has joined #openstack-ansible12:15
*** sdake has joined #openstack-ansible12:15
andymccrsvg: i think what needs to be done to add ceph support would be to adjust the glance/nova/keystone/cinder confs to allow the appropriate settings to be set as part of the anisble run12:16
svgyes, editing the templtes, is the easiest thing I guess12:17
svgI'm still trying to understand how the inventory works etc12:17
andymccryeh i think adding support wouldnt be too complicated.12:17
andymccrthe inventory as in the openstack_inventory.json?12:17
svgafaics, the wouldn't be any extra12:17
svgafaics, the wouldn't be any extra 'ceph" containers12:17
andymccri dont think you'd need any extra inventory because ansible wouldnt be managing ceph itself12:18
andymccrjust how the openstack services interact with ceph12:18
svgandymccr: yes as per the json12:18
andymccra brief overview is that the inventory is created by taking the openstack_user_config.yml and the openstack_environment file which are "mixed" together to create the inventory (using the dynamic_inventory.py script)12:19
svgwell, given that certain config files that need extra parameters for ceph are managed by this project, I'd expect this neeed to be integrated12:19
svgso the files you mentioned, would need extra options for ceph12:19
andymccrsvg: thats correct, but the inventory can stay the same, id anticipate the changes would be in "user_variables.yml" and the various defaults/template files for the projects12:19
andymccrso user_variables is generally where conf options are set. the user_config is usually where hosts and host config are defined for the openstack services12:20
svgThen I'd need to write some roles for that, and  those need to be mapped on the right containers12:20
andymccrsvg: im not too sure you'd need to do that12:20
andymccrsince its all just changes to glance/keystone/nova/cinder settings that already exist12:20
andymccryou just need to ensure that those values can be set12:21
andymccryou wouldnt be installing any new services12:21
andymccrunless there is more than just conf options changes12:21
andymccrin which case you might need additional roles12:21
andymccrbut the way the roles are setup there is 1 role per service, so you would more likely need new "tasks" within an existing role (for example os-cinder role)12:21
svgok, as far as those files are concerned you are right, but I also need to deploy /etc/ceph/ceph.conf, deploy authentication files and do some configuration in libvirt12:22
andymccrif ceph isn't managed by ansible itself, would ceph.conf fall within that?12:23
svgalso, ceph needs some packages, repferably from the upstream apt repo, which depends on cephs version - needs to be configureable - so I'd need to add repo's too12:24
andymccrhmm]12:24
andymccrok that is more complicated than i anticipated12:24
*** sdake_ has joined #openstack-ansible12:25
svgI'm not talking about ,maging and deploying the ceph custer, only configuring the openstack components top use the cluster12:25
svgceph.conf is the exact same file that gets deployed on all ceph nodes12:25
svgSo, as ceoph would be optional, just the same way swift is, I'd expect to provide a similar implementation12:26
andymccrahh i see12:26
andymccrreading through the ceph docs quickly12:26
andymccrso yes it sounds like perhaps a "ceph_client" role would be needed12:26
andymccrand perhaps a separate play to "add ceph support"12:27
svgtheoretically, best doc would be http://ceph.com/docs/master/rbd/rbd-openstack/12:27
andymccrwhich would then run the ceph_client role12:27
svgtheoretically, I understand openstack can have multiple backends (or at least glance?)12:28
*** sdake has quit IRC12:28
andymccrcinder can also afaik12:28
*** markvoelker has joined #openstack-ansible12:29
svgright now the template for glance checks the default_store var, and implemenst options for file OR swift12:29
svgAFAICS, swift gets triggered by defining storage hosts in openstack_user_config.yml I believe12:30
andymccrinstalling swift does yes, but i think the var for glance is still set manually12:30
svghm, I see a var glance_default_store that gets tested if == swift, but nowhere that is being set - so that must be the manual option12:31
andymccryeh it defaults to "file"12:32
andymccrin the defaults/main.yml for os_glance12:32
andymccrso if you want to use swift as the backend you need to manually specify it in user_variables.yml12:32
svgi found it in user_variables.ym12:33
svgyup12:34
andymccrand then you need to specify a whole bunch of other settings - e.g. it allows you to use a swift deploy that isn't managed by ansible12:34
andymccr(auth url, user/tenant etc)12:34
cloudnullMorning.12:36
andymccrmorning cloudnull!12:37
andymccrfeel free to chime in if im missing something on the ceph stuff above cloudnull ;D12:37
cloudnullHow's it andymccr?12:37
* cloudnull reading 12:37
andymccrnot bad not bad! how about you? long weekend inc, so all is good12:37
svghi cloudnull12:37
cloudnullHi svg12:38
cloudnullLong weekend is where its at !12:38
andymccrright!?!12:38
cloudnullAndymccr everything you've said so far seems spot on.12:39
andymccrexcellent! Yeah its pretty doable, but we may need a "client" role in conjunction with variable setup in ansible12:40
cloudnullA client role is probably the best approach for the ceph specific bits and then add rbd cars to the various services.12:40
cloudnull*vars12:40
svgso i see there is also cinder_backends to set up the cinder specifics12:41
andymccrsvg: yeh that'd have to be adjusted in the cinder role to either make the setting up of those backends more generic or in such a way that ceph could be one of those backends12:41
svgI'm a bit cofused seeing some ansible stuff that checks a certain key within cinder_backends, but that key does not exist in all examples12:49
*** vmtrooper has joined #openstack-ansible12:49
svge.g cinder_backends[item.0]['volume_backend_name']12:50
andymccrsvg: so the cinder_backends are defined in the user_config for the storage hosts12:51
andymccri think the example conf shows lvm settings for the lvm backend12:52
svgin rpc_deployment/inventory/group_vars/cinder_all.yml it's 'backend_name' (perhaps that is a typo)12:53
svgand also, the user examples have key limit_container_types: cinder_volume; unless I'm missing something, the with_items: cinder_backends|dictsort will provide an item without volume_backend_name12:54
*** vmtrooper has quit IRC12:54
svgI would expect the last task in  rpc_deployment/roles/cinder_device_add/tasks/device_add.yml to fail on that?12:55
andymccri think thats gone in master at least. but yeh that looks like a typo12:55
andymccrlooks like that is #'d out though12:55
andymccrso it won't fail since its not actually set12:55
*** fawadkhaliq has joined #openstack-ansible12:56
svg(yeah, I need this poc to work in 10.1.2, so I'm starting hacking  on that tree)12:56
andymccrahh ok cool12:56
andymccrso that var isnt actually set in the cinder_all.yml group_vars its #'d out, but you should set it in etc/rpc_deploy/rpc_user_config.yml storage_hosts section.12:57
svgyes, but I looked at it as a possible example, so I gues iyt's a typo12:59
andymccri blame cloudnull :)12:59
svgstill, don't see how the limit_container_types: value gets handled in rpc_deployment/roles/cinder_device_add/tasks/device_add.yml12:59
svgO, I see13:01
svgthe inventory scripts pops it out13:01
andymccryeh i think it gets handled by the inventory.py when creating the inventory file13:01
svgI, womdering how you guys came up with all these alternative ideas to handle 'inventory13:02
svgalso, the focus on vars, and only little use of inventory group/host vars was unexpected to me13:03
svg(not saying it's bad)13:03
svgI'm the first to acknowlegde I want be able to handle more logic in the inventory13:04
andymccri think once we defined that it was going to be containerize we had to come up with a way to define the hosts better13:04
andymccrbecause having to create a tonne of containers and then set them as hosts would be quite hard13:04
cloudnullSvg one thing I'd eventually like to see is some sorry of an inventory management system outside what we have in the dynamic_inventory.py and the json file. I've not thought a lot about it, but would like to see it more cleanly configured using a more distributed system.13:10
svgcloudnull: can you elaborate a it, not sure what excatly you 're aiming at13:11
cloudnullIe inventory in a distributed db which a client could be configured to manage the inventory allowing additional host / group var entries.13:12
*** galstrom is now known as galstrom_zzz13:14
svgoh, You're talking about ansible in genaral13:14
cloudnullIn that way you'd almost get multi region inventory for free. And the deployment host wouldn't be limited to a single node.13:14
cloudnullYes the ansible inventory.13:15
svgI have been thinking myself on that subject a lot actually; more specifially on how to manage variables, and avoid pitfalls of group_vars inheritance13:15
*** subscope has quit IRC13:16
*** subscope has joined #openstack-ansible13:16
cloudnullIn early prototypes of all this we tried using a lot of group vars  which turned out to be fraught with peril, ask due to inheritance.13:17
svgSome friends that have been contributing on ansible have the same feeling, we actually hope to get together to brainstorm on it, and perhaps make that a project13:17
cloudnullThat'd be awesome!13:17
svgcloudnull: yes, I see you still user 1.6.x which has some serious bugs in it on that matter13:17
svg1.7 is far better, if I may say so myself :)13:17
cloudnullYea in 9/10 we were stuck at 1.6.x because 1.7 had delegation issues.13:18
cloudnullIn master we are running 1.8.2 presently.13:18
svgthe inventory manages a depth parameter in parent-child relations of group, and that weighs the precedence; before 1.7 that parameter was often plainly wrong13:19
cloudnullBut 1.9 is the new hotness ;)13:19
svgyeah, at $cust we still are on 1.7.2, but I have been running 1.7.2 till 1.9.0 to test our scripts, and most if not all works nicely13:20
svgthe only reason I sty in the 1.7 tree, is that 1.8 became dead slow for us13:20
svgbut thats' because my inventory has someting like 70k variables...13:21
cloudnullThat's a lot of vars13:22
cloudnullWhen we move to 1.9 we can drop our lxc module because we got it merged upstream.13:23
cloudnullWhich will be nice not to have to carry any longer.13:24
svglast question for now: do you handle any specific rules to determine whether variables go into vars, or into group_vars?13:26
svgI see some repo urls are in group_vars/all.yml13:26
svgwhilst others are in e.g. vars/repo_packages/...13:27
svgI can imagine certain people (like we) to now want to depend on external resources, nd needing to mirror everything locally13:27
svgI might e.g be te,pted to put the rabbitmq deb package into a local repository, instead of just wgetting it, but that 'd need some changes on how it gets installed y ansible13:28
cloudnullIn the roles everything has a default (in master). The groupvars are what we feel could be used for production. But if you wanted to override all of that you could and I'd recommend doing that in the user_variables.yml file.13:29
svgalso, some *_repo_url's have things like "stable main" hardcod, and that could change on a local mirror (we use aptly)13:29
cloudnullAs that for can be encrypted using vault and will take the most precedence when referenced on the cli.13:29
svgO, that's the 'global_overrides:' thing?13:30
cloudnullYes. User_variables.yml will override everything.13:31
cloudnullAs it pertains to variables.13:31
svgsorry, I referred to global_overrides:  in rpc_user_config.yml13:31
cloudnullThe openstack-ansible wrapper will source yml files in the /etc/openstack_deploy directory.13:32
andymccrcloudnull: just an fyi svg is using the 10.x branch so its rpc_deploy sections. but i think what you said above still applies13:33
cloudnullGlobal_overrides is a method to add variables to the inventory.13:33
cloudnullWhich will take precedence over most things but items in user_variables will always win13:34
svgCan I conclude that this way of setting up handling of vars is coming from ansible's inventory model that has bugs and limitation?13:35
cloudnullYes. Its very much following ansibles inventory model.13:35
cloudnullWhich is why we have limited group config in inventory, set specific items in the meta values for hosts and rely mostly on variables set outside inventory.13:36
svgfollowing it? I'd say, you use it less. (as I see/name things, inventory is about group and host vars, plain 'vars' (files, extra vars, ..) are imho more on the playbook side13:37
svgBut that's a way of looking at it of coursee :)13:37
cloudnullFor sure.13:38
svgOk, thanks a lot for all these insights, helps a lot to understand rpc's structure. No let's try to hack on that ceph support...13:38
svgthx & ttyl13:38
*** sdake has joined #openstack-ansible13:39
cloudnullAnytime svg talk to you soon.13:39
*** sdake_ has quit IRC13:43
*** fawadk has joined #openstack-ansible13:47
*** fawadkhaliq has quit IRC13:48
*** sdake_ has joined #openstack-ansible13:51
*** fawadkhaliq has joined #openstack-ansible13:52
*** fawadk has quit IRC13:53
*** sdake has quit IRC13:55
*** subscope has quit IRC13:57
*** sigmavirus24_awa is now known as sigmavirus2414:01
*** subscope has joined #openstack-ansible14:15
*** Mudpuppy has joined #openstack-ansible14:16
*** Mudpuppy has quit IRC14:18
*** Mudpuppy has joined #openstack-ansible14:19
palendaemattt: Thanks for your reply to my email - I did not realize you were checking the console log14:23
palendaeThough I have certainly been able to SSH into instances once I set up the security group stuff14:23
*** stevemar has joined #openstack-ansible14:26
*** fawadk has joined #openstack-ansible14:37
*** hj-hp has joined #openstack-ansible14:37
*** vmtrooper has joined #openstack-ansible14:38
*** fawadkhaliq has quit IRC14:41
*** ishant has quit IRC14:43
*** vmtrooper has quit IRC14:44
*** fawadk has quit IRC15:03
*** hj-hp has quit IRC15:06
*** fawadkhaliq has joined #openstack-ansible15:30
*** galstrom_zzz is now known as galstrom15:31
*** jwagner_away is now known as jwagner15:31
*** hj-hp has joined #openstack-ansible15:35
openstackgerritMatt Thompson proposed stackforge/os-ansible-deployment: Fix typo in neutron.conf.j2  https://review.openstack.org/17017715:37
*** sdake has joined #openstack-ansible15:38
openstackgerritMatt Thompson proposed stackforge/os-ansible-deployment: Fix typo in neutron.conf.j2  https://review.openstack.org/17017715:38
stevellemattt: good eyes15:39
andymccreagle eyed!15:39
*** sdake_ has quit IRC15:42
Sam-I-Ammattt: how the heck did that get in there15:46
Sam-I-Amof course, this all needs to change again15:46
*** sacharya has joined #openstack-ansible15:50
mattti was so happy thinking i may have solved the networking issue, but alas that didn't do it ;P15:51
matttit is def. a bug tho15:51
matttand i no longer see the 404 as outlined in https://gist.githubusercontent.com/mattt416/81dbf106107c21a0edab/raw/37002b1379b3275f0fa30aec64adabbedbdd2c2e/gistfile1.txt15:52
matttso unfortunately w/ that patch my instances still do not get IPs :(15:52
openstackgerritHugh Saunders proposed stackforge/os-ansible-deployment: Test instance connectivity in compute scenarios  https://review.openstack.org/17018715:52
palendaemattt: So needy15:53
Sam-I-Ammattt: so... vif confirmation wasnt working?15:56
Sam-I-Amis vif plugging = false ?15:56
cloudnullmeeting in a few: cloudnull, mattt, andymccr, d34dh0r53, hughsaunders, b3rnard0, palendae, Sam-I-Am, odyssey4me, serverascode, rromans, mancdaz, dolphm, _shaps_, BjoernT, claco, echiu, dstanek15:56
matttSam-I-Am: vif_plugging ?15:58
matttcloudnull: have to jet in a few mins, will not be able to make meeting due to clocks going forward :(15:58
cloudnullnp.15:59
Sam-I-Ammattt: yeah, that thing16:00
matttSam-I-Am: i don't see that under nova or neutron16:00
* mattt is afk16:00
Sam-I-Ammattt: vif_plugging_is_fatal = False16:02
Sam-I-Amthats probably why your networks worked anyway16:02
Sam-I-Amseems to be a default in the nova.conf.j216:02
Sam-I-Amcloudnull: i thought this was configurable somewhere16:03
*** galstrom is now known as galstrom_zzz16:09
*** galstrom_zzz is now known as galstrom16:11
*** Bjoern__ has joined #openstack-ansible16:20
*** javeriak has joined #openstack-ansible16:21
*** vmtrooper has joined #openstack-ansible16:27
*** sdake has quit IRC16:29
*** sdake has joined #openstack-ansible16:30
*** Bjoern__ is now known as BjoernT16:31
*** vmtrooper has quit IRC16:32
*** fawadkhaliq has quit IRC16:35
*** jwagner is now known as jwagner_away16:44
*** sdake_ has joined #openstack-ansible16:46
*** daneyon has quit IRC16:49
*** sdake has quit IRC16:50
*** fawadkhaliq has joined #openstack-ansible16:53
openstackgerritSteve Lewis proposed stackforge/os-ansible-deployment: WIP Update Glance service to Kilo  https://review.openstack.org/17021117:02
*** mahipal has joined #openstack-ansible17:06
*** cbaesema has quit IRC17:15
*** cbaesema has joined #openstack-ansible17:19
*** galstrom is now known as galstrom_zzz17:24
*** sdake has joined #openstack-ansible17:43
*** jwagner_away is now known as jwagner17:45
*** sdake_ has quit IRC17:46
openstackgerritSteve Lewis proposed stackforge/os-ansible-deployment: WIP Update Glance service to Kilo  https://review.openstack.org/17021117:47
*** galstrom_zzz is now known as galstrom18:02
*** vmtrooper has joined #openstack-ansible18:16
*** sdake_ has joined #openstack-ansible18:19
*** javeriak has quit IRC18:19
*** javeriak has joined #openstack-ansible18:19
*** vmtrooper has quit IRC18:21
*** sdake has quit IRC18:23
*** server730 has joined #openstack-ansible18:24
server730hi, i have vagrant vms that im trying to use the playbooks on, they randomly loose connectivity midway through the first host-setup playbook, and sometimes just go into an aborted state18:27
server730they are fine before starting and i can still ping them from deploy even after the playbooks give ssh errors18:30
server730unless they go into abort18:30
*** daneyon has joined #openstack-ansible18:51
*** galstrom is now known as galstrom_zzz19:05
*** fawadkhaliq has quit IRC19:19
*** sdake has joined #openstack-ansible19:21
*** sdake_ has quit IRC19:24
cloudnullserver730: its likely an issue with containers being unreachable due to resource issues. Asnible uses SSH for connections and when running an AIO with < 8GB ram we've seen the connections drop. We did create an SSH retry connection module that should resolve a lot of that but if you need, in ansible.cfg you can set that higher.19:32
cloudnullserver730: which branch are you running ?19:33
server730master19:33
cloudnullthe ssh retry is in there and is the default connection module.19:34
server730I also configured it to create 3 infra's, but I am finding that one or the other goes into an aborted state in the first playbook19:35
cloudnullaborted due to connections issues or something else?19:35
cloudnullare you able to provide a stacktrace on when / where it fails ?19:36
cloudnullalso have you, in your 3 infra nodes, setup all of the network interfaces to all communicate to one another ?19:36
server730the playbook output gives SSH errors as usual, but when I go check vagrant status, I see the problematic node shows an aborted state19:37
cloudnullIE https://github.com/stackforge/os-ansible-deployment/tree/master/etc/network19:37
server730yes I followed the example of the first infra and gave the rest similar network configurations19:38
server730I find that it goes into that state usually after the Container Restart task19:38
cloudnullare your infra nodes running out of resources ?19:39
cloudnullare all of the containers running ?19:39
cloudnullif you do an lxc-ls -f19:40
cloudnullyou can see if the conatiners are running with the various networks as they've been defined witihn your openstack_user_variables.yml file.19:40
server730resources might very well be an issue as I'm doing everything on one physical machine19:41
cloudnullif you're looking to just kick the tires you can do it all in one node using the gate commit check script.19:42
cloudnullwhich will do everything on one node but creates clusters for things like galera , rabbitmq and a few others.19:43
cloudnullcheck https://github.com/stackforge/os-ansible-deployment/blob/master/scripts/gate-check-commit.sh <- this is how we do our gate jobs.19:44
cloudnulla fresh install of Ubuntu 14.04, clone master, run script. it should do the needful for testing everything.19:44
cloudnulland will give you a functional cluster, all be it on one node.19:45
cloudnullserver730: also worth a read https://github.com/stackforge/os-ansible-deployment/blob/master/development-stack.rst19:46
server730cloudnull: thanks I'll take a look at these resources19:47
cloudnullnp hit us up if you have any questions.19:48
server730will do.19:48
*** vmtrooper has joined #openstack-ansible20:05
*** vmtrooper has quit IRC20:11
*** sdake_ has joined #openstack-ansible20:20
*** sdake has quit IRC20:24
openstackgerritJacob Wagner proposed stackforge/os-ansible-deployment: Fixes cinder backend support for backends without a volume_group key  https://review.openstack.org/17027420:43
openstackgerritSudarshan Acharya proposed stackforge/os-ansible-deployment: WIP: Managing policy file with default file and user variables.  https://review.openstack.org/16810420:45
openstackgerritMiguel Alejandro Cantu proposed stackforge/os-ansible-deployment-specs: Add spec for BP implement-ceilometer  https://review.openstack.org/16941720:50
*** BjoernT has left #openstack-ansible20:50
openstackgerritMiguel Alejandro Cantu proposed stackforge/os-ansible-deployment-specs: Add spec for BP implement-ceilometer  https://review.openstack.org/16941720:52
*** galstrom_zzz is now known as galstrom20:52
server730ok so I've been trying ti run the gate-check-commit.sh and keep getting a [ Status: Failure ] at the end, no further info on whats wrong20:53
cloudnullin the scroll back do you see anything that would indicate what the issue is? did it fail on some tempest part? also in the /openstack/log/ansible_logging directory theres a verbose ansible log which should help to debug the failures.20:57
openstackgerritSudarshan Acharya proposed stackforge/os-ansible-deployment: WIP: Managing policy file with default file and user variables.  https://review.openstack.org/16810421:01
*** sdake_ is now known as sdake21:02
svgcloudnull: still around?21:07
cloudnullyesir21:07
openstackgerritKevin Carter proposed stackforge/os-ansible-deployment: Updated log file entries for neutron  https://review.openstack.org/17028421:09
svgwe talked about inbventory earlier today, just wanted to let you know, if you have questions on (python lib wise) ansible.inventory, or thoughts or whatever, it's the part I am quite familiar with, and have particular interest with.21:11
svgSo far, little new things happened there, and I hope after v2, there will be some serious work onde on it.21:11
svgdone21:11
svgYour insight and experience might be valuable and interesting, and how that can evolve to serve this project better21:12
svgjust fyi...21:12
cloudnullthats awesome!21:13
cloudnulli'd love to participate in something that makes inventory more scalable/manageable.21:14
server730sorry to interrupt your conversaton guys, cloudnull: the ansible_log is empty and the only error i have found in the scroll back is "fatal error: yaml.h: No such file or directory compilation terminated."21:15
cloudnullso ill definitely reach out to you once we embark on the "make inventory moar better" adventure.21:15
svgsuper!21:16
cloudnullserver730: that would seem that your box is missing yaml.21:17
cloudnullyou running ubuntu 14.04?21:17
server730cloudnull: yep21:18
*** sdake_ has joined #openstack-ansible21:18
openstackgerritMerged stackforge/os-ansible-deployment-specs: Add modularize-neutron-plays specification  https://review.openstack.org/16918921:18
server730cloudnull: the development-stack.rst doesnt talk about installing any dependency packages first..?21:18
cloudnullthe "./scripts/gate-check-commit.sh" should do that for you.21:19
sigmavirus24Is there another core who wants to workflow https://review.openstack.org/#/c/166986/ ?21:19
cloudnullserver730: from the box run the "./scripts/teardown.sh" script which will cleanup/reset the machine. Then rerun "./scripts/gate-check-commit.sh"  and let me know if it still fails.21:21
*** sdake has quit IRC21:22
server730cloudnull: yes i tried that as well, no luck [ Error Info - 275 0 ]21:23
*** sdake has joined #openstack-ansible21:23
cloudnull"Error Info - 275 0" is that all you have as a return ?21:24
server730cloudnull: yes that's all it says before failure21:26
cloudnullso lets step through a bit of this.21:26
*** sdake_ has quit IRC21:27
cloudnullcan you run the ./scripts/bootstrap-ansible.sh21:27
server730cloudnull: done21:34
*** jlvillal has quit IRC21:34
cloudnullno failures ?21:34
*** jmeridth has quit IRC21:34
server730cloudnull: mope21:35
cloudnullok. now.21:35
cloudnullrm logs && ./scripts/bootstrap-aio.sh21:35
*** docaedo has quit IRC21:35
cloudnull^ removes log link in your working directory and then rebootstraps the all in one hosts.21:35
server730ok this took slightly longer but is also done, no errors21:36
*** docaedo has joined #openstack-ansible21:37
*** persia_ has joined #openstack-ansible21:37
*** persia_ has quit IRC21:37
*** persia_ has joined #openstack-ansible21:37
server730cloudnull: should i re-run the gate-check-commit now?21:38
cloudnullno.21:38
cloudnullcd playbooks21:38
*** erikmwilson has quit IRC21:38
*** bgmccollum has quit IRC21:38
*** aslaen has quit IRC21:38
*** hughsaunders has quit IRC21:38
*** lbragstad has quit IRC21:38
*** persia has quit IRC21:38
cloudnullopenstack-ansible setup-everything.yml21:38
cloudnullcheck tht21:39
*** bgmccollum has joined #openstack-ansible21:39
*** erikmwilson has joined #openstack-ansible21:39
*** jlvillal has joined #openstack-ansible21:39
*** aslaen has joined #openstack-ansible21:39
cloudnullopenstack-ansible haproxy-install.yml setup-everything.yml21:39
*** lbragstad has joined #openstack-ansible21:39
server730cloudnull: Error -> got an unexpected keyword argument 'vault_password'21:39
cloudnullhave you encrypted your config files ?21:40
server730cloudnull: not that I'm aware of21:40
*** jmeridth has joined #openstack-ansible21:40
server730I just cloned it awhile ago21:40
*** hughsaunders has joined #openstack-ansible21:40
cloudnullthat error came from "openstack-ansible haproxy-install.yml setup-everything.yml" command ?21:41
server730cloudnull: no just -> openstack-ansible setup-everything.yml21:41
server730and yes for the later now too21:42
cloudnullwe're not using vault anywhere.21:42
cloudnullthat would come from something in your config that is being parsed that has a vault setup.21:42
*** Mudpuppy_ has joined #openstack-ansible21:42
server730cloudnull: this is the full output:21:43
cloudnullansible-playbooks -e @/etc/openstack_deploy/user_variables.yml haproxy-install.yml setup-everything.yml21:43
cloudnull^ try that if you dont mind21:43
server730File "/usr/local/bin/ansible-playbook", line 160, in main; inventory = ansible.inventory.Inventory(options.inventory, vault_password=vault_pass); TypeError: __init__() got an unexpected keyword argument 'vault_password'21:44
*** sacharya has quit IRC21:45
server730cloudnull: same error with the full playbook command as well21:45
cloudnullalso can you run "ansible --version" ?21:45
cloudnulli remember that error in ansible <= 1.5.x21:45
cloudnulldid you install ansible via the apt packages ?21:46
cloudnulllet me see if i can find the bug im thinking of.21:46
*** Mudpuppy has quit IRC21:46
server730cloudnull: ok this is odd, i have checked version before, but now it says AttributeError: 'module' object has no attribute 'DEFAULT_LOAD_CALLBACK_PLUGINS'21:47
*** jwagner is now known as jwagner_away21:48
server730cloudnull: and the version should be 1.9, yes i installed through apt21:49
cloudnullah. ansible is a bad state .21:50
cloudnullwe install ansible from source.21:50
cloudnulland our source install defaults to 1.8.x21:50
cloudnullapt-get remove --purge ansible21:50
cloudnulland then rerun the bootstrap-ansible.sh script21:50
cloudnullthat should resolve ansible being angry.21:51
server730ansible is now 1.8.2, and bootsrap failed [ Error Info - 275 0 ] [ Status: Failure ]21:52
svgsounds like a borken/mixed up pip/other install21:53
svgcloudnull: https://twitter.com/svg/status/58374831930809548921:53
*** vmtrooper has joined #openstack-ansible21:54
cloudnullserver730 seems like there is some pip vs apt cruft which is conflicting on your host.21:55
* cloudnull svg reading 21:55
server730svg: yes I guess easiest way is to now install a fresh ubuntu, I didnt actuallt start with a fresh ubuntu, i was using it for the vagrant-ansible workflow so I just removed the VMs and tried running the aio scripts21:56
openstackgerritSteve Lewis proposed stackforge/os-ansible-deployment: Enable offline compression for resource files  https://review.openstack.org/17029821:57
server730cloudnull: thanks for your help, I will try with a new setup21:57
cloudnullsorry i couldn't help you make it go . but if you try again please let us know what happens and if you have further questions.21:58
*** vmtrooper has quit IRC21:59
svgserver730: that's a typical ansible install problem, fresh oinstall should solve it22:07
*** Mudpuppy_ has quit IRC22:12
openstackgerritSteve Lewis proposed stackforge/os-ansible-deployment: Move SYMLINK_DIR declaration to bootstrap-aio.sh  https://review.openstack.org/17030322:14
openstackgerritMerged stackforge/os-ansible-deployment: Set Glance large_object vars as ansible variables  https://review.openstack.org/16969322:16
*** sigmavirus24 is now known as sigmavirus24_awa22:27
*** hj-hp has quit IRC22:38
openstackgerritMerged stackforge/os-ansible-deployment: Set Glance large_object vars as ansible variables  https://review.openstack.org/16971722:38
*** hj-hp has joined #openstack-ansible22:41
openstackgerritMerged stackforge/os-ansible-deployment: Fixes cinder backend support for backends without a volume_group key  https://review.openstack.org/17027422:46
*** hj-hp has quit IRC22:56
*** galstrom is now known as galstrom_zzz23:00
*** server730 has quit IRC23:21
*** hj-hp has joined #openstack-ansible23:26
*** sdake_ has joined #openstack-ansible23:27
*** sdake has quit IRC23:30
*** sdake has joined #openstack-ansible23:33
*** sdake_ has quit IRC23:37
*** hj-hp has quit IRC23:39
*** vmtrooper has joined #openstack-ansible23:43
*** vmtrooper has quit IRC23:48
openstackgerritMiguel Alejandro Cantu proposed stackforge/os-ansible-deployment-specs: Add spec for BP implement-ceilometer  https://review.openstack.org/16941723:54

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