*** rcarrillocruz has quit IRC | 00:23 | |
*** afred312 has quit IRC | 00:29 | |
*** afred312 has joined #openstack-ansible | 00:31 | |
*** rcarrillocruz has joined #openstack-ansible | 00:38 | |
*** armaan has joined #openstack-ansible | 00:48 | |
*** bauruine has quit IRC | 01:01 | |
*** radeks has joined #openstack-ansible | 01:04 | |
*** afred312 has quit IRC | 01:05 | |
*** afred312 has joined #openstack-ansible | 01:15 | |
*** armaan has quit IRC | 01:34 | |
*** radeks has quit IRC | 01:37 | |
*** markvoelker has quit IRC | 01:43 | |
*** markvoelker has joined #openstack-ansible | 01:44 | |
*** afred312 has quit IRC | 01:48 | |
*** afred312 has joined #openstack-ansible | 01:50 | |
*** jonher_ has joined #openstack-ansible | 01:54 | |
*** jonher has quit IRC | 01:56 | |
*** jonher has joined #openstack-ansible | 01:56 | |
*** jonher_ has quit IRC | 01:58 | |
*** astami has joined #openstack-ansible | 02:13 | |
*** afred312 has quit IRC | 02:24 | |
*** astami has quit IRC | 02:31 | |
*** cuzz has joined #openstack-ansible | 02:33 | |
*** afred312 has joined #openstack-ansible | 02:33 | |
*** jamesdenton has quit IRC | 02:43 | |
openstackgerrit | Bjoern Teipel proposed openstack/openstack-ansible-ops master: Adding mnaio qemu file backends https://review.openstack.org/549097 | 02:44 |
---|---|---|
*** afred312 has quit IRC | 03:07 | |
*** threestrands_ has joined #openstack-ansible | 03:12 | |
*** afred312 has joined #openstack-ansible | 03:14 | |
*** threestrands has quit IRC | 03:16 | |
*** ANKITA_ has joined #openstack-ansible | 03:24 | |
ANKITA | Hi, while addition of a new infra node in the osa env following on addition of new infra node while following steps as per https://docs.openstack.org/openstack-ansible/pike/admin/maintenance-tasks/scale-environment.html on exe of cmd openstack-ansible setup-everything.yml --limit @/root/add_host.limit -vvv faces an error last week was @ RUNNING HANDLER [haproxy_server : Restart rsyslog] http://paste.openstack.org/show/688 | 03:45 |
ANKITA | d node was not able to communicate to external lbvip later had fixed it & had formatted the node and retried but still am facing an error: http://paste.openstack.org/show/691149/ also the o/p of cmd journalctl -xe shows that PAM session fails to find user and host | 03:46 |
*** afred312 has quit IRC | 03:48 | |
*** afred312 has joined #openstack-ansible | 03:55 | |
*** udesale has joined #openstack-ansible | 04:21 | |
*** afred312 has quit IRC | 04:29 | |
*** afred312 has joined #openstack-ansible | 04:31 | |
openstackgerrit | Kevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_container_create master: Add minimal functional gate https://review.openstack.org/547158 | 04:53 |
*** masber has joined #openstack-ansible | 04:56 | |
*** afred312 has quit IRC | 05:05 | |
openstackgerrit | Kevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_container_create master: Add minimal functional gate https://review.openstack.org/547158 | 05:09 |
*** afred312 has joined #openstack-ansible | 05:09 | |
openstackgerrit | Kevin Carter (cloudnull) proposed openstack/openstack-ansible-tests master: Update the test path for plugins https://review.openstack.org/549204 | 05:24 |
ANKITA_ | has any one added an infra node to their env? | 05:31 |
ANKITA_ | or faced issue for the same? | 05:33 |
ANKITA_ | am following steps as per https://docs.openstack.org/openstack-ansible/pike/admin/maintenance-tasks/scale-environment.html on exe of cmd openstack-ansible setup-everything.yml --limit @/root/add_host.limit -vvv | 05:34 |
ANKITA_ | http://paste.openstack.org/show/691149/ | 05:34 |
*** afred312 has quit IRC | 05:43 | |
openstackgerrit | Kevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_container_create master: Add minimal functional gate https://review.openstack.org/547158 | 05:47 |
*** masber has quit IRC | 05:49 | |
*** afred312 has joined #openstack-ansible | 05:53 | |
openstackgerrit | Kevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_container_create master: Add minimal functional gate https://review.openstack.org/547158 | 05:58 |
*** udesale_ has joined #openstack-ansible | 06:03 | |
*** udesale__ has joined #openstack-ansible | 06:05 | |
*** udesale has quit IRC | 06:07 | |
*** udesale_ has quit IRC | 06:09 | |
*** markvoelker has quit IRC | 06:10 | |
openstackgerrit | Merged openstack/openstack-ansible stable/queens: Add base kit scenario https://review.openstack.org/549317 | 06:11 |
*** afred312 has quit IRC | 06:26 | |
*** afred312 has joined #openstack-ansible | 06:36 | |
*** eumel8 has joined #openstack-ansible | 06:46 | |
openstackgerrit | Kevin Carter (cloudnull) proposed openstack/openstack-ansible-plugins master: Reduce interactions by nearly 50% https://review.openstack.org/549692 | 06:48 |
*** eumel8 has quit IRC | 06:50 | |
*** masber has joined #openstack-ansible | 06:52 | |
*** threestrands_ has quit IRC | 06:57 | |
*** dariko has joined #openstack-ansible | 07:01 | |
openstackgerrit | Kevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_container_create master: Add minimal functional gate https://review.openstack.org/547158 | 07:04 |
*** dariko has quit IRC | 07:07 | |
evrardjp | Hello everyone. I'm sick today, so I will try to sleep instead of working. Have a good day everyone! | 07:08 |
cloudnull | feel better evrardjp | 07:09 |
cloudnull | rest up | 07:09 |
evrardjp | I blame jmccrory ! | 07:09 |
evrardjp | :) | 07:09 |
cloudnull | also send jmccrory a thank you note :) | 07:10 |
cloudnull | :P | 07:10 |
cloudnull | hahaha | 07:10 |
evrardjp | hahaha | 07:10 |
*** afred312 has quit IRC | 07:10 | |
evrardjp | It was nice meeting you all. | 07:10 |
cloudnull | ++ feel better. | 07:10 |
evrardjp | thx. | 07:10 |
*** markvoelker has joined #openstack-ansible | 07:11 | |
*** afred312 has joined #openstack-ansible | 07:13 | |
*** radeks has joined #openstack-ansible | 07:16 | |
*** radeks has quit IRC | 07:21 | |
openstackgerrit | Kevin Carter (cloudnull) proposed openstack/openstack-ansible-nspawn_container_create master: Add minimal functional gate https://review.openstack.org/547158 | 07:28 |
*** gkadam has joined #openstack-ansible | 07:28 | |
openstackgerrit | Kevin Carter (cloudnull) proposed openstack/openstack-ansible-plugins master: Reduce interactions by nearly 50% https://review.openstack.org/549692 | 07:32 |
*** Sha000000 has quit IRC | 07:40 | |
*** mardim has quit IRC | 07:43 | |
*** mardim has joined #openstack-ansible | 07:46 | |
*** lvdombrkr has joined #openstack-ansible | 07:47 | |
*** afred312 has quit IRC | 07:47 | |
*** armaan has joined #openstack-ansible | 07:48 | |
*** ANKITA_ has quit IRC | 07:56 | |
*** afred312 has joined #openstack-ansible | 07:57 | |
*** pcaruana has joined #openstack-ansible | 08:05 | |
odyssey4me | JohnnyOSA that may happen due to stale facts - if you're using limits then make sure to include lxc_hosts when targeting containers... or run the setup task on all hosts prior to executing the limited play | 08:08 |
odyssey4me | pabelanger Yep, we have a custom ssh connection plugin which does remote lxc/chroot/nspawn container attachment by connecting to the host, then entering the container namespace (for lxc/nspawn). SSH connections only ever happen to the host. We managed to get that right in Ocata, but have left ssh in our containers for operations' sake... in time we'll likely remote it. | 08:12 |
odyssey4me | *remove | 08:12 |
*** dariko has joined #openstack-ansible | 08:13 | |
odyssey4me | cloudnull nice catch on the adjustment to the connection plugin by the way | 08:13 |
odyssey4me | it looks like we have much broken in master though :/ | 08:13 |
odyssey4me | evrardjp rest well, hope you feel better soon! | 08:18 |
*** afred312 has quit IRC | 08:31 | |
*** ANKITA_ has joined #openstack-ansible | 08:34 | |
ANKITA | am following steps as per https://docs.openstack.org/openstack-ansible/pike/admin/maintenance-tasks/scale-environment.html on exe of cmd openstack-ansible setup-everything.yml --limit @/root/add_host.limit -vvv err: http://paste.openstack.org/show/691149/ | 08:39 |
*** afred312 has joined #openstack-ansible | 08:39 | |
odyssey4me | ANKITA and what happens if you don't use the limit? | 08:40 |
openstackgerrit | Merged openstack/openstack-ansible-os_gnocchi stable/newton: Change default gnocchi ceph pool name to metrics https://review.openstack.org/549621 | 08:40 |
*** hamza21 has joined #openstack-ansible | 08:41 | |
ANKITA_ | i might overwrite the values in other nodes as per warning in documentation... | 08:41 |
odyssey4me | ANKITA that documentation is quite dated and may need modification | 08:41 |
ANKITA_ | hence have not yet tried it | 08:41 |
odyssey4me | and you won't be overwriting anything | 08:41 |
odyssey4me | the only things being overwritten are things you may have changed by hand, and that's not something that should be done | 08:42 |
ANKITA_ | ok so shall i try openstack-ansible setup-everything.yml? | 08:43 |
odyssey4me | that documentation is hopelessly over complicating doing simple tasks - we're working on updating and simplifyinf it | 08:43 |
ANKITA_ | or try each playbook exclusively? | 08:43 |
*** mbuil has joined #openstack-ansible | 08:43 | |
odyssey4me | yes, using the setup-hosts, setup-infra, setup-openstack plays are the standard deploy and update playbooks | 08:44 |
odyssey4me | try not to use limits | 08:44 |
ANKITA_ | thanks for guidance | 08:44 |
ANKITA_ | will try it right away | 08:44 |
*** epalper has joined #openstack-ansible | 08:51 | |
*** olivierbourdon38 has joined #openstack-ansible | 08:54 | |
openstackgerrit | Manuel Buil proposed openstack/openstack-ansible-os_neutron master: Provide a dynamic repo for ODL https://review.openstack.org/549288 | 08:56 |
*** bauruine has joined #openstack-ansible | 08:57 | |
*** dariko has quit IRC | 08:57 | |
*** dariko has joined #openstack-ansible | 08:57 | |
*** armaan has quit IRC | 08:58 | |
*** armaan has joined #openstack-ansible | 08:59 | |
ANKITA_ | hi odyssey4me TASK [rabbitmq_server : Fix /etc/hosts] failed in setup-infrastructure.yml err: http://paste.openstack.org/show/691462/ | 09:02 |
odyssey4me | ANKITA_ either your facts are stale, or you have broken config | 09:02 |
odyssey4me | https://docs.openstack.org/openstack-ansible/queens/admin/troubleshooting.html#cached-ansible-facts-issues | 09:03 |
ANKITA_ | let me check that | 09:03 |
ANKITA_ | thanks | 09:03 |
Taseer | odyssey4me: can you please review this => https://review.openstack.org/#/c/548170/ | 09:07 |
Taseer | it is blocking the OSA <-> congress patch | 09:07 |
odyssey4me | Taseer that won't be blocking it - those will only affect the role tests. | 09:10 |
Taseer | odyssey4me: it blocks saying that congress_service_password is not define in defaults | 09:11 |
odyssey4me | Taseer commented in review for both patches. | 09:11 |
Taseer | odyssey4me: ok thanks, let me see | 09:12 |
*** afred312 has quit IRC | 09:13 | |
openstackgerrit | Merged openstack/openstack-ansible-os_gnocchi stable/ocata: Change default gnocchi ceph pool name to metrics https://review.openstack.org/549620 | 09:15 |
openstackgerrit | Merged openstack/openstack-ansible-os_gnocchi stable/pike: Change default gnocchi ceph pool name to metrics https://review.openstack.org/549619 | 09:15 |
openstackgerrit | Merged openstack/openstack-ansible-os_gnocchi stable/queens: Change default gnocchi ceph pool name to metrics https://review.openstack.org/549618 | 09:15 |
*** jbadiapa has quit IRC | 09:16 | |
*** gkadam has quit IRC | 09:16 | |
*** gkadam has joined #openstack-ansible | 09:17 | |
*** afred312 has joined #openstack-ansible | 09:19 | |
*** jhesketh has quit IRC | 09:20 | |
*** neillc has quit IRC | 09:20 | |
*** neillc has joined #openstack-ansible | 09:21 | |
*** jhesketh has joined #openstack-ansible | 09:22 | |
openstackgerrit | Taseer Ahmed proposed openstack/openstack-ansible-os_congress master: Congress role enhancements https://review.openstack.org/548170 | 09:25 |
openstackgerrit | Taseer Ahmed proposed openstack/openstack-ansible master: Integrate Congress with OSA. https://review.openstack.org/503971 | 09:31 |
openstackgerrit | Jonathan Rosser proposed openstack/openstack-ansible-haproxy_server master: Unify extra package download with other OSA roles https://review.openstack.org/549497 | 09:32 |
*** electrofelix has joined #openstack-ansible | 09:34 | |
openstackgerrit | Taseer Ahmed proposed openstack/openstack-ansible master: Integrate Congress with OSA. https://review.openstack.org/503971 | 09:40 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_ceilometer stable/newton: Update paste, policy and rootwrap configurations 2018-03-05 https://review.openstack.org/549716 | 09:43 |
*** hamza21 has quit IRC | 09:48 | |
jrosser | odyssey4me: something else brok for deploy behind a bastion https://github.com/ansible/ansible/pull/36910 | 09:48 |
*** hamza21 has joined #openstack-ansible | 09:50 | |
*** afred312 has quit IRC | 09:52 | |
*** rosmaita has joined #openstack-ansible | 09:52 | |
*** afred312 has joined #openstack-ansible | 09:55 | |
odyssey4me | jrosser heh, and a summary dismissal - I guess that'll be another port back | 09:57 |
odyssey4me | interesting to see they're effectively EOLing Ansible 2.3 soon | 09:57 |
odyssey4me | given that's pike for us, I guess we may need to start trying to align with n and n+1 versions of ansible instead of only n as we do now | 09:58 |
*** foutatoro has joined #openstack-ansible | 09:58 | |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/newton: Update role SHA's to include additional fixes https://review.openstack.org/549722 | 10:00 |
jrosser | odyssey4me: sadface at the blatant dismissal. i'll have a patch for that on our ansible fork today | 10:01 |
*** admin0 has joined #openstack-ansible | 10:02 | |
odyssey4me | jrosser yeah, I guess I can't blame them for wanting to move forward more quickly - I find myself wondering how the packaged distributions are managing this sort of thing | 10:03 |
*** lvdombrkr has quit IRC | 10:03 | |
andymccr | you could ship a separate ssh connection plugin i guess? instead of forking ansible - but yeah that is pretty lame | 10:06 |
foutatoro | hi all, I would like to know if we can deploy an openstack multi-site (including Tricircle) with OSAD | 10:08 |
odyssey4me | foutatoro I don't know what tricircle is, but you can do multi-site using regions. Each region is deployed with its own inventory and is its own installation - completely independent. Setting up regions to talk to each other is just setting up keystone catalog entries. Most people doing this will have a single keystone region with a replicated DB across multiple sites, then have multiple resource regions. | 10:10 |
odyssey4me | You can also do cells if you want them to all be a single system instead. | 10:11 |
odyssey4me | Another option is to use federation. | 10:11 |
odyssey4me | ah, I see that tri-circle is an add on top of regions - we don't currently have a role or any other instrumentation for that... if you'd like it, then we'd love the contribution | 10:12 |
jrosser | andymccr: we could potentially 'fix' the ansible bug in the osa connection plugin if thats acceptable | 10:13 |
odyssey4me | jrosser that may end up being a license violation | 10:14 |
odyssey4me | it's probably better to just do what you're doing - use a fork with the fixes you want | 10:14 |
odyssey4me | if we get a broader community interest in those patches, then perhaps that fork could be public in github, and we can point OSA at it ;) | 10:15 |
jrosser | odyssey4me: its already public :) https://github.com/bbc/ansible/tree/hotfixed-2.3 | 10:16 |
*** yolanda has joined #openstack-ansible | 10:19 | |
openstackgerrit | Merged openstack/openstack-ansible-os_congress master: Congress role enhancements https://review.openstack.org/548170 | 10:20 |
*** lvdombrkr has joined #openstack-ansible | 10:22 | |
*** rosmaita has left #openstack-ansible | 10:22 | |
foutatoro | odyssey4me: thanks. with the multi-region deployment can we manage all regions from one single dashbord (or API) or each one has its own | 10:24 |
foutatoro | where can I find info about multi-site deployement in the wiki | 10:25 |
*** hamza21 has quit IRC | 10:26 | |
*** afred312 has quit IRC | 10:29 | |
odyssey4me | foutatoro there is none - one should be familiar with a single site deployment, then experiment with how one would do multi-site deployment in a way that works for you | 10:31 |
*** cuzz has quit IRC | 10:33 | |
*** afred312 has joined #openstack-ansible | 10:38 | |
odyssey4me | jrosser ah, awesome - thanks! | 10:45 |
*** gillesMo has joined #openstack-ansible | 10:46 | |
*** alefra has joined #openstack-ansible | 10:51 | |
*** jbadiapa has joined #openstack-ansible | 10:51 | |
alefra | Hi, i've a problemm with lbaasv2 and barbican, when i create a ssl termination neutron return this error : LookupError: Container https://openstack.local:9311/v1/containers/56c00006-3af8-4da1-b6ea-ce602b8a155d could not be found. | 10:53 |
alefra | i've added acl to neutron user to container and certificates | 10:53 |
*** ivve has quit IRC | 10:58 | |
*** masuberu has joined #openstack-ansible | 10:59 | |
*** stuartgr has joined #openstack-ansible | 11:00 | |
*** masber has quit IRC | 11:01 | |
*** stuartgr has left #openstack-ansible | 11:02 | |
*** udesale_ has joined #openstack-ansible | 11:03 | |
*** udesale__ has quit IRC | 11:06 | |
*** udesale_ has quit IRC | 11:09 | |
*** ivve has joined #openstack-ansible | 11:10 | |
hwoarang | good morning | 11:11 |
odyssey4me | o/ hwoarang - back home I take it? | 11:12 |
hwoarang | yep | 11:12 |
*** afred312 has quit IRC | 11:12 | |
hwoarang | everything ok with your flights in the end? | 11:12 |
*** dariko has quit IRC | 11:13 | |
odyssey4me | yeah - had a delay leaving dublin... apparently one plane broke down on the taxi path so they had to clear that out, causing massive outbound delays | 11:13 |
odyssey4me | but, got home in the end - no stress, just boredom :p | 11:13 |
hwoarang | :) | 11:15 |
*** Sha000000 has joined #openstack-ansible | 11:16 | |
jrosser | odyssey4me: this seems to work in the ssh plugin https://github.com/openstack/openstack-ansible-plugins/compare/stable/pike...james-portman:patch-1 | 11:19 |
jrosser | its entirely different code from the ansible bugfix, i'm ok with either carrying our patch in an ansible fork, or something like that in the plugin | 11:20 |
odyssey4me | jrosser hmm, perhaps cloudnull or evrardjp can advise how to turn that into something that can be toggled in our plugin | 11:20 |
jrosser | depends if anyone else would benefit from it being in the plugin | 11:20 |
*** Sha000000 has quit IRC | 11:21 | |
jrosser | also it only needs to apply to selective branches which makes it a bit ugly | 11:21 |
*** afred312 has joined #openstack-ansible | 11:21 | |
odyssey4me | does that totally disable the connection check, or is the connection executed in some other way if that's in place? | 11:21 |
*** jamespo has joined #openstack-ansible | 11:22 | |
hwoarang | hmm jobs seem to fail with networking issues | 11:24 |
jamespo | Just having a look about transport_test() method at the moment | 11:24 |
jrosser | odyssey4me: jamespo will have more of a dig at this ^ | 11:25 |
odyssey4me | hwoarang Yeah, I've also seen some failures on the lxc jobs with the connection plugin change that merged last week. Unfortunately I'm a little tied up with other work right now so I'm hoping that cloudnull can perhaps help dig through those as they're outside of my domain of expertise. | 11:27 |
jamespo | Just getting a link but I think it should be OK, the transport_test is just ran additionally to ping test (ping being Ansible ping - http://docs.ansible.com/ansible/latest/ping_module.html) | 11:27 |
odyssey4me | jamespo oh, so it actually does two tests and this is only nuking one of them? | 11:27 |
jamespo | https://github.com/ansible/ansible/blob/stable-2.3/lib/ansible/plugins/action/wait_for_connection.py#L105 | 11:28 |
odyssey4me | ah yes, ok makes sense | 11:28 |
jamespo | Yes, looks like if transport_test is defined then it is used first, then "ping" module is used after anyway so it should make a proper SSH connection still | 11:28 |
odyssey4me | well, I think the best would be to allow that patch to be opt-in somehow... maybe through an environment variable or something that can be easily set on the deploy host | 11:29 |
jamespo | I guess someone made it as a nicer/more simple way to retry a connection. It would also show that the server was up and listening on SSH even if you couldn't authenticate, so would be a bit nicer, but obviously breaks for bastion users | 11:29 |
openstackgerrit | Markos Chandras (hwoarang) proposed openstack/openstack-ansible-openstack_hosts master: Revert "Revert "SUSE: Switch OpenStack repo to Queens"" https://review.openstack.org/549740 | 11:30 |
*** dariko has joined #openstack-ansible | 11:31 | |
openstackgerrit | Markos Chandras (hwoarang) proposed openstack/openstack-ansible-rabbitmq_server master: [DNM] - Testing rabbitmq https://review.openstack.org/504249 | 11:31 |
jamespo | Could I change to patch to optionally call the parent class transport_test or not? `return super(SSH.Connection, self).transport_test(connect_timeout)` | 11:32 |
odyssey4me | jamespo perhaps - I'm not much good at python, so I'd rather defer to others who know better | 11:33 |
odyssey4me | it may be best to just submit a review, then we discuss it in the review | 11:34 |
*** Taseer has quit IRC | 11:35 | |
*** ivve has quit IRC | 11:39 | |
*** ANKITA_ has quit IRC | 11:40 | |
*** Taseer has joined #openstack-ansible | 11:52 | |
*** afred312 has quit IRC | 11:54 | |
openstackgerrit | Taseer Ahmed proposed openstack/openstack-ansible master: Integrate Congress with OSA. https://review.openstack.org/503971 | 11:54 |
*** masber has joined #openstack-ansible | 11:55 | |
odyssey4me | hwoarang and anyone else around - if you have a moment to review this role SHA bump for newton I'd appreciate it: https://review.openstack.org/549722 | 11:55 |
*** ivve has joined #openstack-ansible | 11:55 | |
*** masuberu has quit IRC | 11:55 | |
odyssey4me | hwoarang is https://review.openstack.org/548992 to resolve some of the timeouts we're seeing in the gate? I just noticed a deploy completing, but hanging... and I suspect it's the dstat stuff? | 11:56 |
hwoarang | let me check | 11:56 |
hwoarang | odyssey4me: possibly... | 11:57 |
*** Sha000000 has joined #openstack-ansible | 11:57 | |
odyssey4me | looking at the times, it might just have been a slow host too | 11:58 |
hwoarang | if you have a log i could look at it | 11:58 |
hwoarang | dstat normally hands at the end of the job | 11:58 |
hwoarang | if that's what you are seeing | 11:58 |
hwoarang | right before ending the run.yml playbook | 11:58 |
odyssey4me | the jobs is http://logs.openstack.org/97/549497/3/experimental/openstack-ansible-integrated-deploy-aio/c53ad59/ but it would appear that it was just a slow host :/ | 11:59 |
*** afred312 has joined #openstack-ansible | 12:03 | |
hwoarang | yeah it's quite likely | 12:07 |
hwoarang | i blame spectre and meltdown ;p | 12:08 |
odyssey4me | ja | 12:08 |
odyssey4me | I guess we may have to switch to testing differently sooner than I'd hoped. | 12:08 |
odyssey4me | hwoarang I see those opensuse add repo failures. Perhaps there's a similar bug in the way ansible is doing it, and perhaps it should be broken out into two steps, something like https://github.com/openstack/openstack-ansible-openstack_hosts/commit/e647596930fb898e13630a449722f3a75160e0be | 12:20 |
odyssey4me | oh, but "Error message: Could not resolve host: download.opensuse.org" is quite different | 12:21 |
hwoarang | odyssey4me: i asked on infra but it looks like a dns issue or something else (maybe networking related because it always happens inside containers) | 12:22 |
hwoarang | maybe networkd related :( | 12:22 |
cloudnull | afternoons | 12:23 |
odyssey4me | could be | 12:23 |
odyssey4me | o/ cloudnull - I see your sleep patterns are broken | 12:23 |
cloudnull | they are | 12:23 |
odyssey4me | here's an easy review to start your day, even before coffee :p https://review.openstack.org/549722 | 12:23 |
* cloudnull sitting at the airport finally headed home | 12:23 | |
cloudnull | hwoarang: do you have any idea why we're seeing http://logs.openstack.org/92/549692/2/check/openstack-ansible-functional-opensuse-423/45b5a07/job-output.txt.gz#_2018-03-05_07_46_20_051980 ? | 12:24 |
hwoarang | cloudnull: that's what i was discussing with odyssey4me | 12:25 |
cloudnull | ah | 12:25 |
cloudnull | ok | 12:25 |
hwoarang | no clue but the mirrors seem fine | 12:25 |
hwoarang | could be dns/foobar after networkd got in? | 12:25 |
cloudnull | could be | 12:25 |
cloudnull | I don't have a opensuse box to test with. | 12:25 |
cloudnull | also I'm at the airport | 12:26 |
hwoarang | i dont see these things locally but i am still looking | 12:26 |
cloudnull | we used to have the resolver logs http://logs.openstack.org/92/549692/2/check/openstack-ansible-functional-opensuse-423/45b5a07/logs/ | 12:29 |
cloudnull | but I'm not seeing them | 12:29 |
odyssey4me | hwoarang are you wanting to merge https://review.openstack.org/549740 - if not, probably best to -w it | 12:36 |
*** afred312 has quit IRC | 12:37 | |
hwoarang | right. need to resolve this network failure asap | 12:39 |
mhayden | happy monday | 12:39 |
nsingh | while installing playbook i am getting "no host matched".. where should i verify about it. | 12:40 |
*** Sha000000 has quit IRC | 12:40 | |
*** afred312 has joined #openstack-ansible | 12:45 | |
cloudnull | ok, well i'm boarding. hwoarang odyssey4me if you find anything out let me know. | 12:52 |
cloudnull | happy to help out once in flight | 12:52 |
hwoarang | yeah i m looking now | 12:55 |
hwoarang | mhayden: can you remove the W from https://review.openstack.org/#/c/549740/ ? | 12:55 |
mhayden | si | 12:55 |
mhayden | done sir | 12:55 |
hwoarang | thank you! | 12:55 |
odyssey4me | mhayden as a FYI on the lint test thing - while merging it will break some repositories, it won't wedge the gate... each role test only does the lint test against itself... it ignores the others | 13:01 |
mhayden | okay | 13:01 |
odyssey4me | https://github.com/openstack/openstack-ansible-tests/commit/4bb840d2deec944c9add2858fcdb4b083edd7bde | 13:01 |
* mhayden is hesitant after the last fiasco i created ;) | 13:01 | |
odyssey4me | we created that because of the last fiasco you created ;) | 13:01 |
odyssey4me | it was a holiday gift to evrardjp - he was so tired of unwedging gates | 13:02 |
mhayden | yay | 13:04 |
mhayden | okay, so i'm seeing openstack_hosts putting bare metal stuff into containers: http://logs.openstack.org/41/548641/2/check/openstack-ansible-deploy-aio_lxc-ubuntu-xenial/f5eb7cf/job-output.txt.gz#_2018-03-03_03_03_57_435752 | 13:04 |
mhayden | it almost seems like the is_container check is reversed... it's matching containers and not the physical node (aio1) | 13:05 |
* mhayden is doing some head scratching | 13:05 | |
openstackgerrit | Markos Chandras (hwoarang) proposed openstack/openstack-ansible-lxc_container_create master: [DNM] - Testing openSUSE lxc_container_create role https://review.openstack.org/500051 | 13:06 |
*** Sha0000 has joined #openstack-ansible | 13:06 | |
odyssey4me | hmm, perhaps https://github.com/openstack/openstack-ansible-openstack_hosts/blob/c0ca5d619e655c35ce88e5f7135811b1252fea02/defaults/main.yml#L27 isn't returning the right thing? | 13:06 |
mhayden | possibly -- imma whip up a debug patch | 13:06 |
mhayden | also we need to update that line for nspawn | 13:06 |
mhayden | not sure what the virt_type fact returns there -- cloudnull might have seen it | 13:07 |
odyssey4me | mhayden it looks like it's hard set for the play: https://github.com/openstack/openstack-ansible/blob/a588c7bab4d5154ec8ec4d06702b85f3054e998b/playbooks/containers-nspawn-create.yml | 13:08 |
mhayden | okay | 13:09 |
openstackgerrit | Major Hayden proposed openstack/openstack-ansible-openstack_hosts master: [TEST] Testing is_container variable https://review.openstack.org/549752 | 13:09 |
*** udesale has joined #openstack-ansible | 13:10 | |
*** Sha0000 has quit IRC | 13:10 | |
openstackgerrit | Major Hayden proposed openstack/openstack-ansible-lxc_container_create master: [TEST] Testing is_container variable https://review.openstack.org/549753 | 13:10 |
*** udesale has quit IRC | 13:11 | |
*** Sha000000 has joined #openstack-ansible | 13:11 | |
*** udesale has joined #openstack-ansible | 13:12 | |
mhayden | on my queens deployment, openstack-hosts correctly targets the physical hosts only | 13:14 |
openstackgerrit | Major Hayden proposed openstack/openstack-ansible-openstack_hosts master: Remove kernel modules: scsi_dh + x_tables https://review.openstack.org/549754 | 13:18 |
*** afred312 has quit IRC | 13:19 | |
openstackgerrit | Major Hayden proposed openstack/openstack-ansible-openstack_hosts master: [TEST] Testing is_container variable https://review.openstack.org/549752 | 13:19 |
openstackgerrit | Major Hayden proposed openstack/openstack-ansible-lxc_container_create master: [TEST] Testing is_container variable https://review.openstack.org/549753 | 13:19 |
*** afred312 has joined #openstack-ansible | 13:20 | |
*** mbuil has quit IRC | 13:23 | |
*** markvoelker has quit IRC | 13:24 | |
*** markvoelker has joined #openstack-ansible | 13:24 | |
*** dave-mccowan has joined #openstack-ansible | 13:27 | |
*** Sha000000 has quit IRC | 13:35 | |
*** mbuil has joined #openstack-ansible | 13:36 | |
*** dave-mccowan has quit IRC | 13:38 | |
*** ianychoi has joined #openstack-ansible | 13:41 | |
openstackgerrit | Major Hayden proposed openstack/openstack-ansible stable/queens: CentOS 7 integrated gate optimization https://review.openstack.org/549320 | 13:42 |
openstackgerrit | Major Hayden proposed openstack/openstack-ansible stable/queens: Use aio_basekit scenario for OpenSUSE https://review.openstack.org/549321 | 13:42 |
openstackgerrit | Markos Chandras (hwoarang) proposed openstack/openstack-ansible-tests master: test-log-collect.sh: Collect networkd information https://review.openstack.org/549764 | 13:45 |
*** dave-mccowan has joined #openstack-ansible | 13:45 | |
*** hwoarang has quit IRC | 13:47 | |
*** hwoarang has joined #openstack-ansible | 13:47 | |
openstackgerrit | Markos Chandras (hwoarang) proposed openstack/openstack-ansible-lxc_container_create master: [DNM] - Testing openSUSE lxc_container_create role https://review.openstack.org/500051 | 13:47 |
*** shardy has joined #openstack-ansible | 13:48 | |
*** mwe1 has quit IRC | 13:50 | |
*** rpittau has joined #openstack-ansible | 13:50 | |
*** mwe1 has joined #openstack-ansible | 13:51 | |
*** gkadam has quit IRC | 13:52 | |
*** Sha0000 has joined #openstack-ansible | 13:52 | |
*** Sha0000 has quit IRC | 13:52 | |
*** afred312 has quit IRC | 13:53 | |
openstackgerrit | Markos Chandras (hwoarang) proposed openstack/openstack-ansible-rabbitmq_server master: [DNM] - Testing rabbitmq https://review.openstack.org/504249 | 13:54 |
*** afred312 has joined #openstack-ansible | 13:54 | |
*** throwsb1 has joined #openstack-ansible | 13:57 | |
*** kstev has joined #openstack-ansible | 13:58 | |
*** foutatoro has quit IRC | 14:00 | |
*** woodard has quit IRC | 14:03 | |
*** woodard has joined #openstack-ansible | 14:03 | |
*** kstev1 has joined #openstack-ansible | 14:05 | |
openstackgerrit | Merged openstack/openstack-ansible stable/newton: Update role SHA's to include additional fixes https://review.openstack.org/549722 | 14:06 |
*** kstev has quit IRC | 14:07 | |
*** hw_wutianwei has joined #openstack-ansible | 14:08 | |
openstackgerrit | Markos Chandras (hwoarang) proposed openstack/openstack-ansible-rabbitmq_server master: [DNM] - Testing rabbitmq https://review.openstack.org/504249 | 14:11 |
*** lbragstad has joined #openstack-ansible | 14:16 | |
*** Sha0000 has joined #openstack-ansible | 14:22 | |
admin0 | hi all ..someone here has experience with OSA + DPDK ? | 14:23 |
*** kstev1 has quit IRC | 14:26 | |
*** afred312 has quit IRC | 14:28 | |
*** SmearedBeard has quit IRC | 14:29 | |
*** afred312 has joined #openstack-ansible | 14:33 | |
*** afred312 has quit IRC | 14:41 | |
*** afred312 has joined #openstack-ansible | 14:42 | |
*** Sha000000 has joined #openstack-ansible | 14:43 | |
*** masuberu has joined #openstack-ansible | 14:44 | |
*** esberglu has joined #openstack-ansible | 14:46 | |
*** sar has joined #openstack-ansible | 14:46 | |
*** masber has quit IRC | 14:48 | |
PTO | How do I configure haproxy_extra_services? http://paste.openstack.org/show/691819/ | 14:49 |
*** Taseer_ has joined #openstack-ansible | 14:53 | |
*** woodard_ has joined #openstack-ansible | 14:53 | |
*** hw_wutianwei1 has joined #openstack-ansible | 14:55 | |
*** ashak_ has joined #openstack-ansible | 14:57 | |
*** _ioni has joined #openstack-ansible | 14:57 | |
odyssey4me | PTO you can just add the extra services into /etc/openstack_deploy/group_vars looking something like https://github.com/rcbops/rpc-openstack/blob/e3deb35ec0c6aecb28059c8aba44a0ff353afb78/etc/openstack_deploy/group_vars/all/osa.yml#L71-L95 | 14:57 |
*** woodard has quit IRC | 14:57 | |
*** ioni has quit IRC | 14:57 | |
*** ashak has quit IRC | 14:57 | |
*** hw_wutianwei has quit IRC | 14:57 | |
*** lihi has quit IRC | 14:57 | |
*** hw_wutianwei1 is now known as hw_wutianwei | 14:57 | |
*** Taseer_ has quit IRC | 14:58 | |
odyssey4me | PTO otherwise you can do what you're doing there, but I think your indentation might be off | 14:58 |
*** lihi has joined #openstack-ansible | 14:58 | |
*** Taseer_ has joined #openstack-ansible | 14:59 | |
Taseer_ | Hi, is this failure random => http://logs.openstack.org/71/503971/34/check/openstack-ansible-deploy-aio_lxc-ubuntu-xenial/1555932/job-output.txt.gz#_2018-03-05_13_58_28_831101 ?? | 14:59 |
*** raginbaji has quit IRC | 15:00 | |
*** raginbajin has joined #openstack-ansible | 15:03 | |
*** SmearedBeard has joined #openstack-ansible | 15:04 | |
alefra | hi when i try to deploy octavia i obtain the following errors | 15:05 |
alefra | fatal: [infra3_octavia_server_container-ef4d1b5d]: FAILED! => { | 15:05 |
alefra | "failed": true, | 15:05 |
alefra | "msg": "'octavia_neutron_management_network_uuid' is undefined" | 15:05 |
alefra | } | 15:05 |
alefra | fatal: [infra2_octavia_server_container-b0a87909]: FAILED! => { | 15:05 |
alefra | "failed": true, | 15:05 |
alefra | "msg": "'octavia_neutron_management_network_uuid' is undefined" | 15:05 |
alefra | } | 15:05 |
alefra | container on infra1 works fine | 15:06 |
PTO | odyssey4me: I guess you could also configure user_variables.yml with the ekstra service. Im trying to update the playbooks in the openstack-ansible-ops which provide an elk stack for openstack-ansible. What is best practice? use the group_vars or the user_variables? | 15:07 |
odyssey4me | PTO, yes - adding it to user_variables will also work | 15:07 |
odyssey4me | either way is fine - it really depends on how you prefer to manage your variables and if you need to scope them to specific groups | 15:08 |
odyssey4me | user_variables are global, but you can scope group_vars to specific groups | 15:09 |
odyssey4me | for example, if you put them into group_vars/haproxy.yml then those vars only get sent to the haproxy hosts... which saves some memory when you're executing the other plays | 15:10 |
*** woodard_ has quit IRC | 15:11 | |
openstackgerrit | Markos Chandras (hwoarang) proposed openstack/openstack-ansible-lxc_hosts master: templates: lxc-system-manage: Send correct DNS over dhcp https://review.openstack.org/549784 | 15:12 |
openstackgerrit | Markos Chandras (hwoarang) proposed openstack/openstack-ansible-rabbitmq_server master: [DNM] - Testing rabbitmq https://review.openstack.org/504249 | 15:12 |
*** galstrom_zzz is now known as galstrom | 15:13 | |
*** armaan has quit IRC | 15:15 | |
*** vnogin has joined #openstack-ansible | 15:15 | |
*** armaan has joined #openstack-ansible | 15:16 | |
PTO | odyssey4me: Thanks. Will the haproxy-install.yml --tags=haproxy-config reconfiure the service endpoints? | 15:16 |
odyssey4me | Taseer_ it looks like the job timed out before finishing running tempest | 15:16 |
hwoarang | cloudnull: for the record, the suse problem is that containers get 127.0.0.1 as nameserver so they can't resolve any domains | 15:17 |
odyssey4me | PTO yep | 15:17 |
odyssey4me | hwoarang aha, that's a regression - good find! | 15:17 |
hwoarang | cloudnull: they seem to inherit the DNS from the host but i dont know why it manifested right now since the dnsmasq config hasn't changed | 15:17 |
odyssey4me | hwoarang we may have previously masked it in another way | 15:17 |
hwoarang | so i proposed this https://review.openstack.org/549784 but i am skeptical | 15:17 |
hwoarang | possibly :( | 15:18 |
odyssey4me | hwoarang while you're there - here's a quick one for you: https://review.openstack.org/547771 | 15:19 |
hwoarang | odyssey4me: isn't 'tag: always' implied for all tasks? | 15:19 |
odyssey4me | hwoarang nope | 15:20 |
hwoarang | ah ok | 15:20 |
*** Taseer_ has quit IRC | 15:20 | |
hwoarang | got the docs wrong | 15:20 |
*** galstrom is now known as galstrom_zzz | 15:24 | |
*** vnogin has quit IRC | 15:24 | |
*** vnogin has joined #openstack-ansible | 15:27 | |
PTO | odyssey4me: How to I update the host inventory view by the inventory-manage.py command? I have a faulty IP of a container in the list, which breaks my haproxy configuration | 15:27 |
odyssey4me | PTO I'm pretty sure --help tells you what options are available | 15:28 |
PTO | odyssey4me: no suck option in inventory-manage.py - or which tool do you imply? | 15:29 |
PTO | *such | 15:29 |
odyssey4me | PTO oh really? | 15:29 |
PTO | odyssey4me: there is a --clear-ips which will whipe the list. This will not update it | 15:30 |
odyssey4me | https://docs.openstack.org/openstack-ansible/pike/reference/manage-inventory.html | 15:30 |
*** vnogin has quit IRC | 15:31 | |
odyssey4me | I guess there's no option to change the IP using the tool, so you'll have to search & replace the json file. Back it up before you do! | 15:31 |
*** Smeared_Beard has joined #openstack-ansible | 15:32 | |
*** SmearedBeard has quit IRC | 15:33 | |
PTO | odyssey4me: Thanks, and a --clear-ips will then trigger a new facts gathering on the next playbook execution? | 15:33 |
*** masber has joined #openstack-ansible | 15:33 | |
odyssey4me | PTO I have no idea. | 15:33 |
odyssey4me | I'm not really familiar with the tool. | 15:34 |
*** openstackgerrit has quit IRC | 15:34 | |
odyssey4me | Typically it's used to remove hosts/containers as far as I know. | 15:34 |
*** armaan has quit IRC | 15:36 | |
*** armaan has joined #openstack-ansible | 15:36 | |
*** masuberu has quit IRC | 15:36 | |
PTO | odyssey4me: i just tried to do so. It did a fact update and repopulated the inventory. However, the ansible_host ip for the container is still wrong. | 15:36 |
mattt | PTO: cached perhaps ? | 15:36 |
PTO | or me being stupid - I have use this line user_variables.yml to point at my container. The ansible_host ip in the haproxy config is wrong: haproxy_backend_nodes: "{{ groups['kibana'] | default([]) }}" | 15:38 |
*** jwitko has joined #openstack-ansible | 15:43 | |
*** _ioni is now known as ioni | 15:45 | |
*** ioni has joined #openstack-ansible | 15:45 | |
*** masber has quit IRC | 15:46 | |
*** woodard has joined #openstack-ansible | 15:48 | |
*** Sha000000 has quit IRC | 15:48 | |
*** PTO has quit IRC | 15:52 | |
*** kstev has joined #openstack-ansible | 15:54 | |
*** Sha000000 has joined #openstack-ansible | 15:57 | |
*** galstrom_zzz is now known as galstrom | 15:58 | |
*** chyka has joined #openstack-ansible | 16:00 | |
*** SmearedBeard has joined #openstack-ansible | 16:05 | |
*** Sha000000 has quit IRC | 16:06 | |
*** Smeared_Beard has quit IRC | 16:07 | |
*** Sha000000 has joined #openstack-ansible | 16:08 | |
*** electrofelix has quit IRC | 16:10 | |
*** geb has joined #openstack-ansible | 16:10 | |
geb | hi folks | 16:10 |
odyssey4me | PTO if you've changed the IP address, then the cached facts are probably wrong | 16:11 |
odyssey4me | https://docs.openstack.org/openstack-ansible/queens/admin/troubleshooting.html#cached-ansible-facts-issues | 16:11 |
*** openstackgerrit has joined #openstack-ansible | 16:16 | |
openstackgerrit | Merged openstack/openstack-ansible-lxc_hosts master: Implement always tag for required fact https://review.openstack.org/547771 | 16:16 |
*** chyka has quit IRC | 16:18 | |
*** chyka has joined #openstack-ansible | 16:19 | |
*** admin0 has quit IRC | 16:21 | |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-lxc_hosts stable/queens: Implement always tag for required fact https://review.openstack.org/549808 | 16:23 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-lxc_hosts stable/pike: Implement always tag for required fact https://review.openstack.org/549809 | 16:24 |
*** Sha000000 has quit IRC | 16:24 | |
*** chyka_ has joined #openstack-ansible | 16:25 | |
*** chyka has quit IRC | 16:25 | |
geb | I am trying to run openstack-ansible. I fetched the 17.0.0.0rc1 version, ran scripts/bootstrap-ansible.sh & scripts/bootstrap-aio.sh. scripts/bootstrap-aio.sh fails on host_root_space_available_bytes even if i have >200Gb available in /, would someone help me to investigate why / how to fix ? | 16:27 |
*** vnogin has joined #openstack-ansible | 16:27 | |
*** udesale has quit IRC | 16:29 | |
geb | I am totaly new with ansible and openstack but : the command used in ./tests/roles/bootstrap-host/tasks/check-requirements.yml, df -BK / | awk '!/^Filesystem/ {print $4}' | sed 's/K//' was returning two lines ("blocks" and the size), adding a | tail -n1 at the end of this command (to only keep the relevant line) seems to have fixed the problem. | 16:36 |
geb | So ... maybe is it a bug ..? | 16:36 |
*** olivierbourdon38 has quit IRC | 16:38 | |
openstackgerrit | Markos Chandras (hwoarang) proposed openstack/openstack-ansible-lxc_hosts master: tasks: lxc_apparmor: Relax the ping profile https://review.openstack.org/549814 | 16:39 |
openstackgerrit | Markos Chandras (hwoarang) proposed openstack/openstack-ansible-lxc_hosts master: templates: lxc-system-manage: Send correct DNS over dhcp https://review.openstack.org/549784 | 16:40 |
*** lvdombrkr has quit IRC | 16:41 | |
*** tahmed has joined #openstack-ansible | 16:42 | |
geb | obviously awk '!/^Filesystem/ {print $4}' only works for en_US and other english locales. Maybe forcing to english with a LANG=C could be cleaner than using | tail. | 16:43 |
openstackgerrit | Markos Chandras (hwoarang) proposed openstack/openstack-ansible-lxc_container_create master: tests: Use domain names for external network testing https://review.openstack.org/549817 | 16:44 |
tahmed | odyssey4me: is this random, or will it persist ? => http://logs.openstack.org/71/503971/34/check/openstack-ansible-deploy-aio_lxc-ubuntu-xenial/1555932/job-output.txt.gz#_2018-03-05_13_58_28_831101 | 16:45 |
*** armaan_ has joined #openstack-ansible | 16:46 | |
odyssey4me | tahmed look two lines down, the job timed out | 16:46 |
odyssey4me | RUN END RESULT_TIMED_OUT | 16:46 |
odyssey4me | you can thank meltdown/spectre for the additional slowness of jobs | 16:47 |
openstackgerrit | Markos Chandras (hwoarang) proposed openstack/openstack-ansible-lxc_hosts master: tasks: lxc_apparmor: Relax the ping profile https://review.openstack.org/549814 | 16:47 |
*** armaan has quit IRC | 16:48 | |
*** fusmu has joined #openstack-ansible | 16:48 | |
*** epalper has quit IRC | 16:48 | |
openstackgerrit | German Eichberger proposed openstack/openstack-ansible master: Moves Octavia gate from experimental to required https://review.openstack.org/545020 | 16:52 |
tahmed | odyssey4me: I will take it as something random, and rebase the patch again | 16:54 |
odyssey4me | tahmed no need to rebase - just recheck | 16:54 |
tahmed | odyssey4me: ok | 16:55 |
*** radeks has joined #openstack-ansible | 16:58 | |
JohnnyOSA | odyssey4me: just catching up on messages now. Thanks for the tip on stale facts likely causing the errors I was seeing on the weekend. | 17:02 |
*** MikeC has joined #openstack-ansible | 17:04 | |
odyssey4me | JohnnyOSA yep, if you're changing storage/networking/hostnames/ip addresses/etc and re-running plays between them, the cache is likely not going to dynamically update with each re-run and you may have to force it | 17:04 |
*** dariko has quit IRC | 17:08 | |
*** dariko has joined #openstack-ansible | 17:09 | |
JohnnyOSA | odyssey4me: good to know :). | 17:10 |
JohnnyOSA | Am I remembering correctly that the Queen's OSA would include a playbook eventually to install an ELK stack as an upgrade to the rsyslog container option? | 17:10 |
JohnnyOSA | Think I had read that somewhere. | 17:11 |
*** fusmu_ has joined #openstack-ansible | 17:12 | |
odyssey4me | JohnnyOSA not queens - that was planned, but never quite done... there is an old thing in the ops repo, but the stuff that'll hopefully make it into Rocky will be better | 17:12 |
*** fusmu has quit IRC | 17:15 | |
*** sar has quit IRC | 17:20 | |
openstackgerrit | Jimmy McCrory proposed openstack/openstack-ansible-os_nova master: Rearrange cell mapping tasks https://review.openstack.org/547072 | 17:21 |
*** alefra has quit IRC | 17:21 | |
openstackgerrit | Jimmy McCrory proposed openstack/openstack-ansible-os_nova master: Rearrange cell mapping tasks https://review.openstack.org/547072 | 17:21 |
JohnnyOSA | odyssey4me: ok great... | 17:24 |
*** galstrom is now known as galstrom_zzz | 17:26 | |
*** tahmed has quit IRC | 17:34 | |
mbuil | hey guys, when running a role, I'd like to be able to pass a variable to that role, only if that variable is defined. If it is not defined, then I'd like the role to fetch the variable from its vars/main.yml or defaults/main.yml. I tried to do it with the filter default(omit) but when the variable does not have a value, the role does not read the variable from its vars or defaults and it just complains that the variable does not have a value. Is | 17:39 |
mbuil | it possible to achieve what I want? | 17:39 |
odyssey4me | mbuil nope - you could try using set_fact though to set a variable if your conditions are met | 17:39 |
odyssey4me | mbuil if you've got a review up and can point out where you're stuck, then perhaps we can help find another way... otherwise ^ | 17:41 |
openstackgerrit | Manuel Buil proposed openstack/openstack-ansible-os_neutron master: Provide a dynamic repo for ODL https://review.openstack.org/549288 | 17:43 |
mbuil | odyssey4me: ok, thanks. This is the patch ==> https://review.openstack.org/#/c/549288/3 | 17:43 |
odyssey4me | mbuil oh no, the meta role execution doesn't have much flexibility | 17:43 |
odyssey4me | it may be better to move that to the tasks as a import_role task | 17:44 |
odyssey4me | include_role I mean | 17:44 |
mbuil | odyssey4me: ok, it seems to me that nobody likes to execute things in the meta directory :) | 17:45 |
andymccr | logan-: https://github.com/openstack/openstack-ansible/blob/6edc6b440644f1f853e60bc9b809f34f6a54fda8/inventory/group_vars/ceph_all.yml#L54-L66 im thinking this will not work quite how we want, since it'll generate rgw conf per host on mons - osds - mgrs etc | 17:45 |
odyssey4me | mbuil 'cos is sucks real bad | 17:45 |
odyssey4me | *it | 17:45 |
mbuil | nevertheless, regarding the default(omit) problem, there is no real solution right? | 17:45 |
odyssey4me | you lose so much control and flexibility | 17:45 |
andymccr | logan-: i'll put a PR in lemme know what you think. | 17:46 |
odyssey4me | mbuil nope - the meta can only read vars from the defaults, or those fed in from the playbook | 17:46 |
openstackgerrit | Merged openstack/openstack-ansible-haproxy_server master: Unify extra package download with other OSA roles https://review.openstack.org/549497 | 17:46 |
odyssey4me | it *might* be able to read from vars/main too, but I don't think so | 17:46 |
mbuil | odyssey4me: but what if I change the code to the tasks as include_role? | 17:47 |
*** vnogin has quit IRC | 17:47 | |
*** jbadiapa has quit IRC | 17:47 | |
odyssey4me | mbuil it may not work quite as it is, but you'll be able to set_fact before it to prepare the things you want to pass in | 17:47 |
odyssey4me | the alternative is to make the included role handle the var being empty | 17:48 |
odyssey4me | include_role is better anyway, as it will skip the tasks properly as a dynamic inclusion - right now if the conditions aren't met then all the tasks are skipped which chews up deploy time | 17:48 |
odyssey4me | do an include_tasks off main with the conditions set out in the meta, then in the task file set the facts you need and do include_role | 17:49 |
mbuil | odyssey4me: ok, you convinced me with the include_role :). I'll create a patch to change that | 17:49 |
geb | Folks, sorry to interrupt you, but did you see what i wrote about ./tests/roles/bootstrap-host/tasks/check-requirements.yml ? The command used to check the disk size in 17.0.0.0rc1 is $LANG dependent and could fail when $LANG is set to an non english locale. If you beleive it is a bug i'll be happy to report it. | 17:49 |
openstackgerrit | Gaudenz Steinlin proposed openstack/openstack-ansible-haproxy_server master: Options to enable SSL for backend connections https://review.openstack.org/549834 | 17:50 |
mbuil | odyssey4me: regarding the variable, if I pass an empty variable, will the role then fetch the value from its default or vars? Or will it try to execute the tasks with an empty value? | 17:50 |
odyssey4me | geb I think we know about that, which is why we specify UTF-8 somewhere in the docs - we'd be happy to see patches to fix it, so you could also register a bug in the hopes that someone picks it up | 17:50 |
openstackgerrit | Gaudenz Steinlin proposed openstack/openstack-ansible-haproxy_server master: Fix parameter name in defaults https://review.openstack.org/549835 | 17:51 |
*** shardy has quit IRC | 17:51 | |
geb | odyssey4me, ok thanks you. Will submit one. Would somebody want to tell me which fields to add in the bug or want to be ccd ? | 17:52 |
mbuil | odyssey4me: My plan B would be copying the value defined in the role and adding it also in os_neutron as default. For example: suse_rpm_repo_url: "{{ odl_repo_url | default(foo/bar.repo) }}". But then I need to maintain it twice: in os_neutron and in the role (opendaylight). The url usually changes every 3 months, so it is not terrible | 17:53 |
odyssey4me | mbuil is there a reason it must be maintained in the os_neutron role? | 17:57 |
odyssey4me | why not just have it in the ODL role defaults, then in group_vars when necessary to override | 17:57 |
mbuil | odyssey4me: right. But how do I pass it to the role only when defined in group_vars? I was thinking about using default(omit) but then it does not fetch the variable from ODL role defaults | 18:00 |
*** gillesMo has quit IRC | 18:01 | |
*** jbadiapa has joined #openstack-ansible | 18:03 | |
openstackgerrit | Merged openstack/openstack-ansible stable/queens: CentOS 7 integrated gate optimization https://review.openstack.org/549320 | 18:03 |
openstackgerrit | Merged openstack/openstack-ansible stable/queens: Use aio_basekit scenario for OpenSUSE https://review.openstack.org/549321 | 18:03 |
*** armaan_ has quit IRC | 18:05 | |
*** armaan has joined #openstack-ansible | 18:05 | |
odyssey4me | mbuil if the role defaults are set to something usable generally, then they shouldn't need to be overridden | 18:06 |
odyssey4me | if they need to be overridden for test purposes, then have the tests implement an override file and use --extra-vars to override in the tests | 18:06 |
odyssey4me | we do that in all our roles | 18:06 |
odyssey4me | we override a bunch of stuff for testing in openstack-infra, but set the defaults for production deploys in role defaults | 18:07 |
mbuil | odyssey4me: I need to run. I'll drop you an email with a better explanation of what exactly I want to achieve :) | 18:11 |
odyssey4me | mbuil no worries - have a great evening! | 18:12 |
*** mbuil has quit IRC | 18:24 | |
openstackgerrit | Andy McCrae proposed openstack/openstack-ansible master: Avoid putting rgw conf on ALL hosts https://review.openstack.org/549840 | 18:26 |
*** hamza21 has joined #openstack-ansible | 18:38 | |
odyssey4me | alright, that's me out for the night - cheerio all! | 18:39 |
*** Sha000000 has joined #openstack-ansible | 18:41 | |
mhayden | enjoy the evenin' odyssey4me | 18:47 |
*** poopcat has joined #openstack-ansible | 19:00 | |
*** fusmu_ has quit IRC | 19:01 | |
*** esberglu has quit IRC | 19:05 | |
*** esberglu has joined #openstack-ansible | 19:06 | |
openstackgerrit | Andy McCrae proposed openstack/openstack-ansible master: Avoid putting rgw conf on ALL hosts https://review.openstack.org/549840 | 19:10 |
andymccr | logan-: ^ for your perusal - that should clean it up. | 19:13 |
andymccr | and also since you added someof them, those rgw settings have been removed from ceph-ansible: https://github.com/ceph/ceph-ansible/commit/fcba2c801a122b7ce8ec6a5c27a70bc19589d177 so if you check those they only exist in like group_vars and defaults but dont do anything | 19:14 |
*** zerick has quit IRC | 19:30 | |
*** zerick has joined #openstack-ansible | 19:31 | |
*** MikeC has quit IRC | 19:34 | |
*** dave-mccowan has quit IRC | 19:49 | |
logan- | o/ andymccr yeah good catch | 19:56 |
logan- | regarding the vars.. we should have tasks in the playbook that manage the endpoints and stuff and use those vars | 19:58 |
logan- | so the ceph side should be configured using config_template just fine right? do we have any unused vars | 19:58 |
openstackgerrit | Markos Chandras (hwoarang) proposed openstack/openstack-ansible-lxc_hosts master: tasks: lxc_apparmor: Relax the ping profile https://review.openstack.org/549814 | 20:04 |
*** dariko has quit IRC | 20:22 | |
*** dariko has joined #openstack-ansible | 20:22 | |
*** hw_wutianwei has quit IRC | 20:31 | |
*** hw_wutianwei has joined #openstack-ansible | 20:31 | |
*** dave-mccowan has joined #openstack-ansible | 20:43 | |
*** galstrom_zzz is now known as galstrom | 20:54 | |
*** hamza21 has quit IRC | 20:58 | |
*** idlemind has quit IRC | 21:11 | |
openstackgerrit | Markos Chandras (hwoarang) proposed openstack/openstack-ansible-tests master: test-log-collect.sh: Collect networkd information https://review.openstack.org/549764 | 21:14 |
*** galstrom is now known as galstrom_zzz | 21:21 | |
*** mbuil has joined #openstack-ansible | 21:31 | |
*** idlemind has joined #openstack-ansible | 21:37 | |
openstackgerrit | Markos Chandras (hwoarang) proposed openstack/openstack-ansible-lxc_container_create master: templates: networkd: UseDNS requires systemd-resolved https://review.openstack.org/549877 | 21:43 |
openstackgerrit | Markos Chandras (hwoarang) proposed openstack/openstack-ansible-lxc_container_create master: templates: networkd: Drop Link=ARP from networkd configuration https://review.openstack.org/549878 | 21:43 |
*** mbuil has quit IRC | 21:44 | |
openstackgerrit | Markos Chandras (hwoarang) proposed openstack/openstack-ansible-tests master: test-log-collect.sh: Collect networkd information https://review.openstack.org/549764 | 21:44 |
*** threestrands_ has joined #openstack-ansible | 21:45 | |
*** ansmith has joined #openstack-ansible | 21:51 | |
*** woodard has quit IRC | 21:57 | |
*** pcaruana has quit IRC | 21:57 | |
spotz | Bets on the S release being Stein?:) | 21:59 |
openstackgerrit | Markos Chandras (hwoarang) proposed openstack/openstack-ansible-lxc_container_create master: templates: networkd: Drop Link=ARP from networkd configuration https://review.openstack.org/549878 | 22:00 |
openstackgerrit | Markos Chandras (hwoarang) proposed openstack/openstack-ansible-lxc_container_create master: tests: Use domain names for external network testing https://review.openstack.org/549817 | 22:00 |
*** dariko has quit IRC | 22:18 | |
*** radeks has quit IRC | 22:20 | |
*** throwsb1 has quit IRC | 22:37 | |
*** jwitko has quit IRC | 22:38 | |
openstackgerrit | Merged openstack/openstack-ansible-haproxy_server master: Fix parameter name in defaults https://review.openstack.org/549835 | 22:39 |
openstackgerrit | Merged openstack/openstack-ansible-lxc_hosts master: tasks: lxc_apparmor: Relax the ping profile https://review.openstack.org/549814 | 22:40 |
*** kjz has joined #openstack-ansible | 22:59 | |
*** kjz has left #openstack-ansible | 23:00 | |
*** jbadiapa has quit IRC | 23:00 | |
*** jwitko has joined #openstack-ansible | 23:02 | |
*** jbadiapa has joined #openstack-ansible | 23:06 | |
*** jappleii__ has joined #openstack-ansible | 23:09 | |
*** jappleii__ has quit IRC | 23:12 | |
*** threestrands_ has quit IRC | 23:12 | |
*** armaan has quit IRC | 23:12 | |
*** threestrands has joined #openstack-ansible | 23:12 | |
*** threestrands has quit IRC | 23:12 | |
*** threestrands has joined #openstack-ansible | 23:12 | |
*** masber has joined #openstack-ansible | 23:17 | |
*** jonher has quit IRC | 23:17 | |
openstackgerrit | Paul Belanger proposed openstack/ansible-hardening master: Update to fedora-27 for testing https://review.openstack.org/549887 | 23:21 |
*** masuberu has joined #openstack-ansible | 23:23 | |
openstackgerrit | Paul Belanger proposed openstack/ansible-hardening master: Update to fedora-27 for testing https://review.openstack.org/549887 | 23:25 |
*** masber has quit IRC | 23:26 | |
*** kstev has quit IRC | 23:27 | |
*** pmannidi has joined #openstack-ansible | 23:39 | |
*** hw_wutianwei has quit IRC | 23:41 | |
*** hw_wutianwei has joined #openstack-ansible | 23:42 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!