*** elopez has quit IRC | 00:01 | |
*** elopez_ has quit IRC | 00:01 | |
*** sdake has quit IRC | 00:12 | |
*** darrenc_afk is now known as darrenc | 00:13 | |
*** tomoe_ has joined #openstack-ansible | 00:24 | |
*** raddaoui_ has quit IRC | 00:25 | |
*** raddaoui has quit IRC | 00:25 | |
*** johnmilton has quit IRC | 00:33 | |
*** johnmilton has joined #openstack-ansible | 00:34 | |
*** tomoe_ has quit IRC | 00:42 | |
*** tomoe_ has joined #openstack-ansible | 00:42 | |
*** elopez has joined #openstack-ansible | 00:52 | |
*** elopez_ has joined #openstack-ansible | 00:52 | |
*** tomoe_ has quit IRC | 00:53 | |
*** tomoe_ has joined #openstack-ansible | 00:53 | |
*** jiteka has quit IRC | 01:08 | |
*** jiteka has joined #openstack-ansible | 01:14 | |
*** tomoe_ has quit IRC | 01:21 | |
*** tomoe_ has joined #openstack-ansible | 01:22 | |
*** Nepoc has quit IRC | 01:54 | |
*** johnmilton has quit IRC | 02:18 | |
*** tomoe_ has quit IRC | 02:48 | |
*** Gayathri has joined #openstack-ansible | 03:02 | |
Gayathri | Hi All | 03:20 |
---|---|---|
Gayathri | I am using openstack-ansible to install openstack | 03:21 |
Gayathri | I ran upto setup-hosts.yml | 03:21 |
Gayathri | when i try to run the playbook individually for any service like memcached, keystone | 03:22 |
Gayathri | It gets struck near pip install or Update apt sources | 03:23 |
Gayathri | failed: [node4_memcached_container-592e5a97] => {"attempts": 5, "failed": true} msg: Task failed as maximum retries was encountered | 03:23 |
Gayathri | Is it because its not able to make a connection to the container in target node from deployment node? | 03:24 |
Gayathri | Manually I am able to do ssh connection from deployment to target | 03:24 |
Gayathri | Please help on this | 03:24 |
*** elopez has quit IRC | 03:50 | |
*** elopez_ has quit IRC | 03:50 | |
*** elopez has joined #openstack-ansible | 03:51 | |
*** elopez_ has joined #openstack-ansible | 03:51 | |
SamYaple | Gayathri: this is likely not the best time to get help on this issue. You should ping the channel again in 4-10 hours from how (10 hours U.S. will be awake on Monday) | 03:52 |
Gayathri | okie sure | 03:55 |
*** Gayathri has quit IRC | 04:07 | |
*** dstanek has quit IRC | 04:31 | |
*** dstanek has joined #openstack-ansible | 04:33 | |
*** tomoe_ has joined #openstack-ansible | 04:47 | |
*** tomoe_ has quit IRC | 04:48 | |
*** tomoe_ has joined #openstack-ansible | 04:48 | |
*** javeriak has joined #openstack-ansible | 06:22 | |
*** phiche has joined #openstack-ansible | 06:33 | |
*** phiche1 has joined #openstack-ansible | 06:33 | |
*** phiche has quit IRC | 06:37 | |
*** swati_ has joined #openstack-ansible | 06:47 | |
swati_ | Hi...how to enable v1 and v2 support for a particular openstack component? which file exactly to make the changes? | 06:48 |
*** cemmason1 has quit IRC | 06:54 | |
*** cemmason has joined #openstack-ansible | 06:54 | |
*** phiche1 has quit IRC | 06:55 | |
*** phiche has joined #openstack-ansible | 07:04 | |
*** javeriak_ has joined #openstack-ansible | 07:06 | |
*** javeriak has quit IRC | 07:10 | |
*** gparaskevas has joined #openstack-ansible | 07:32 | |
ralakus | - | 08:02 |
*** sdake has joined #openstack-ansible | 08:20 | |
odyssey4me | swati_ v1 or or v2 support for what exactly? | 08:27 |
odyssey4me | d34dh0r53 stevelle andymccr hughsaunders mattt cloudnull whoever's in first, we need another vote on https://review.openstack.org/277167 and https://review.openstack.org/277166 to unblock the liberty/kilo gates please | 08:29 |
mattt | odyssey4me: sure sec | 09:00 |
*** openstackgerrit has quit IRC | 09:02 | |
*** openstackgerrit has joined #openstack-ansible | 09:02 | |
*** mgoddard has joined #openstack-ansible | 09:05 | |
*** javeriak has joined #openstack-ansible | 09:05 | |
jiteka | morning | 09:07 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible: Gate: Set extra pypi index to OpenStack-CI repositories https://review.openstack.org/265867 | 09:07 |
odyssey4me | o/ jiteka | 09:07 |
jiteka | \o | 09:07 |
*** javeriak_ has quit IRC | 09:08 | |
odyssey4me | thanks mattt | 09:08 |
*** spotz_zzz is now known as spotz | 09:21 | |
*** javeriak has quit IRC | 09:27 | |
swati_ | Hello Jesse, for designate, some commands are provided by version v1 and some by v2 | 09:33 |
swati_ | I took a look at glance and cinder, for which both v1 and v2 api support is enabled | 09:34 |
swati_ | https://github.com/openstack/openstack-ansible/blob/master/playbooks/roles/os_cinder/templates/cinder.conf.j2 | 09:34 |
swati_ | I did the same thing, v1 commands are running but not v2...........http://docs.openstack.org/developer/designate/rest.html | 09:37 |
*** javeriak has joined #openstack-ansible | 09:39 | |
*** tomoe_ has quit IRC | 09:44 | |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible: Gate: Set extra pypi index to OpenStack-CI repositories https://review.openstack.org/265867 | 09:53 |
openstackgerrit | Merged openstack/openstack-ansible: Add filter & lookup plugins to tests https://review.openstack.org/277167 | 09:55 |
*** swati_ has quit IRC | 09:55 | |
openstackgerrit | Merged openstack/openstack-ansible: Add filter & lookup plugins to tests https://review.openstack.org/277166 | 10:07 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible: Updates all repo SHAs to open up work on 12.0.7 https://review.openstack.org/276752 | 10:09 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible: Use http request to check cinder api availability https://review.openstack.org/276784 | 10:09 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible: Updates all repo SHAs to open up work on 11.2.10 https://review.openstack.org/276753 | 10:09 |
odyssey4me | it seems that swati_ disappeared before I could answer | 10:10 |
*** electrofelix has joined #openstack-ansible | 10:18 | |
*** tomoe_ has joined #openstack-ansible | 10:29 | |
*** rgogunskiy has joined #openstack-ansible | 10:31 | |
*** javeriak_ has joined #openstack-ansible | 10:32 | |
*** tomoe_ has quit IRC | 10:33 | |
*** tomoe_ has joined #openstack-ansible | 10:36 | |
*** javeriak has quit IRC | 10:36 | |
*** tomoe_ has quit IRC | 10:40 | |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible: Remove MySQL-python from Aodh pip requirements https://review.openstack.org/277339 | 10:54 |
*** javeriak_ has quit IRC | 10:55 | |
*** sdake has quit IRC | 11:00 | |
*** tomoe_ has joined #openstack-ansible | 11:02 | |
*** tomoe_ has quit IRC | 11:06 | |
*** electrofelix has quit IRC | 11:11 | |
*** electrofelix has joined #openstack-ansible | 11:12 | |
*** javeriak has joined #openstack-ansible | 11:19 | |
*** tomoe_ has joined #openstack-ansible | 11:19 | |
*** tomoe_ has quit IRC | 11:23 | |
*** tomoe_ has joined #openstack-ansible | 11:26 | |
*** tomoe_ has quit IRC | 11:29 | |
*** tomoe_ has joined #openstack-ansible | 11:29 | |
*** rgogunskiy has quit IRC | 11:38 | |
*** tomoe_ has quit IRC | 11:40 | |
ralakus | I want to use OSA for my install enviroment. I have found this link which helps a bit. http://docs.openstack.org/developer/openstack-ansible/developer-docs/extending.html | 11:48 |
*** tomoe_ has joined #openstack-ansible | 11:48 | |
ralakus | Is there a sample project which use OSA to install openstack? This could be better in many ways | 11:48 |
*** tomoe_ has quit IRC | 11:49 | |
*** tomoe_ has joined #openstack-ansible | 11:50 | |
*** jaypipes has joined #openstack-ansible | 11:56 | |
odyssey4me | ralakus OSA can be installed on its own, and there are many ways to add additional functionality to it | 12:05 |
odyssey4me | the extending dev docs needs an overhaul | 12:05 |
odyssey4me | ralakus what're you hoping to achieve? | 12:06 |
ralakus | I have additional modules to install and need to make updates on the configuration but I want to achieve it without changing OSA so that I can continue to sync with latest changes easily. If I fork OSA and make changes there it is not managable in long run. | 12:09 |
*** weshay_xchat has quit IRC | 12:10 | |
ralakus | I am confused in etc, tests and scripts folder. How can I reuse them but integrate my own changes without modifiying these folders | 12:12 |
openstackgerrit | Merged openstack/openstack-ansible: Use http request to check cinder api availability https://review.openstack.org/276784 | 12:20 |
odyssey4me | ralakus ah ok - a few tricks and things to know | 12:22 |
odyssey4me | the tests folder is only for testing - we use it for gate checks and building development environments | 12:23 |
odyssey4me | the etc folder contains sample configurations and a set of defaults | 12:23 |
odyssey4me | it is expected that you would change things over time and when updating your environment you'd need to check your /etc/openstack_deploy/{env.d,user_secrets.yml} configuration against the updates in the repo | 12:25 |
odyssey4me | including additional ansible roles can be done by having your own version of https://github.com/openstack/openstack-ansible/blob/master/ansible-role-requirements.yml, then setting the env var ANSIBLE_ROLE_FILE ( see https://github.com/openstack/openstack-ansible/blob/master/scripts/bootstrap-ansible.sh#L27 ) to your custom role requirements file location before you do your bootstrap-ansible.sh after every update - | 12:26 |
odyssey4me | this will ensure that you're updating all your roles every time you want to | 12:26 |
odyssey4me | you can have playbooks anywhere you like - you just need to setup your ansible.cfg to point at the various role/plugin locations | 12:28 |
odyssey4me | our master branch looks quite different from the liberty/kilo branch | 12:28 |
odyssey4me | the reason is that we're splitting each role into its own repository | 12:28 |
odyssey4me | each role can be used on its own, without needing the rest of the stack | 12:29 |
ralakus | many thanks | 12:41 |
*** weshay_xchat has joined #openstack-ansible | 12:43 | |
*** targon has joined #openstack-ansible | 12:44 | |
*** rgogunskiy has joined #openstack-ansible | 12:44 | |
*** spotz is now known as spotz_zzz | 12:45 | |
*** javeriak has quit IRC | 12:45 | |
*** javeriak has joined #openstack-ansible | 12:46 | |
openstackgerrit | Merged openstack/openstack-ansible: Updates all repo SHAs to open up work on 11.2.10 https://review.openstack.org/276753 | 12:49 |
*** sdake has joined #openstack-ansible | 12:52 | |
odyssey4me | ralakus if you can keep notes in an etherpad or something with your questions/challenges, then you can easily link to them and we can also learn from them and use them to improve the developer documentation :) | 12:53 |
openstackgerrit | Merged openstack/openstack-ansible: Updates all repo SHAs to open up work on 12.0.7 https://review.openstack.org/276752 | 12:54 |
ralakus | odyssey4me sure :) | 12:56 |
*** sdake has quit IRC | 12:58 | |
ralakus | A seperate project which uses OSA but builds AIO (All in one) should make the boundry between "things to change" and "things which are reusable" Just my two cents for now :) | 12:59 |
*** Bofu2U has joined #openstack-ansible | 13:02 | |
ralakus | I mean a sperate GitHub project for AIO which just uses OSA, to be more clear. | 13:02 |
*** tomoe_ has quit IRC | 13:05 | |
mhayden | morning | 13:13 |
odyssey4me | o/ mhayden | 13:13 |
mhayden | odyssey4me: it appears you caught up on your email backlog :) | 13:14 |
odyssey4me | mhayden yeah, unfortunately it included asking for any questions we wanted to ask in the user survey... and I completely missed the deadline :/ | 13:14 |
* odyssey4me has adjusted his email filters appropriately | 13:15 | |
*** sdake has joined #openstack-ansible | 13:20 | |
*** javeriak has quit IRC | 13:25 | |
mhayden | haha, no worries :) | 13:27 |
*** sdake_ has joined #openstack-ansible | 13:33 | |
*** sdake has quit IRC | 13:36 | |
*** permalac has joined #openstack-ansible | 13:44 | |
*** retreved has joined #openstack-ansible | 13:47 | |
*** b3rnard0_away is now known as b3rnard0 | 13:49 | |
*** KLevenstein has joined #openstack-ansible | 13:51 | |
*** weshay_xchat has quit IRC | 13:52 | |
*** sdake_ has quit IRC | 13:57 | |
*** sdake has joined #openstack-ansible | 13:58 | |
*** weshay_xchat has joined #openstack-ansible | 13:58 | |
*** weshay_xchat is now known as weshay | 13:58 | |
*** sdake has quit IRC | 13:59 | |
*** sdake has joined #openstack-ansible | 14:00 | |
*** rgogunskiy has quit IRC | 14:01 | |
odyssey4me | mhayden FYI https://review.openstack.org/277178 | 14:10 |
odyssey4me | it looks like it very possibly actually cut the gate check job down by 5-10 mins too. I think our RAX jobs typically run until 1hr10m right? | 14:11 |
mhayden | something like that | 14:11 |
mhayden | lemme gander | 14:11 |
mhayden | wait, this shaves off that much time?! | 14:11 |
*** scarlisle has joined #openstack-ansible | 14:12 | |
*** johnmilton has joined #openstack-ansible | 14:13 | |
*** johnmilton has quit IRC | 14:13 | |
*** johnmilton has joined #openstack-ansible | 14:13 | |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible: [WIP] Gate: Set pip index and extra-index to OpenStack-CI repositories https://review.openstack.org/265867 | 14:14 |
*** tomoe_ has joined #openstack-ansible | 14:14 | |
odyssey4me | mhayden well, it makes sense actually - think about it | 14:15 |
odyssey4me | in every single role we do an apt-get update | 14:15 |
odyssey4me | and we do it when building the container image too | 14:15 |
mhayden | true | 14:15 |
mhayden | we do those actions a bunch of times | 14:15 |
odyssey4me | every time that gets done, that has to pull down and extract the indexes | 14:15 |
odyssey4me | the more indexes it has to pull down, the more time is added | 14:16 |
*** woodard has joined #openstack-ansible | 14:16 | |
odyssey4me | if we could perhaps have a switch that enabled/disabled the apt-get update in everyy role (enabled by default) which we could disable in the gate, then that could save us a bunch of time | 14:17 |
* mhayden tips his hat to jmccrory for digging into nova's release notes on config drive :) | 14:17 | |
mhayden | odyssey4me: very good point on disabling that in the gate | 14:17 |
odyssey4me | it could also be useful to a deployer to disable apt-get updates on a playbook run optionally | 14:17 |
*** tomoe_ has quit IRC | 14:18 | |
odyssey4me | I do wonder whether Ansible's fixed the apt module's bug regarding detecting whether the cache should be updated or not | 14:19 |
*** severion has quit IRC | 14:19 | |
odyssey4me | we only added those tasks in there because of the bug | 14:19 |
*** v1k0d3n has joined #openstack-ansible | 14:19 | |
prometheanfire | the config drive override finally go away? | 14:20 |
odyssey4me | hmmm: https://github.com/ansible/ansible-modules-core/issues/1497 | 14:21 |
odyssey4me | ah, cloudnull needs to rebase his PR https://github.com/ansible/ansible-modules-core/pull/1517 | 14:22 |
prometheanfire | so, 1.9.5 maybe? | 14:22 |
*** tomoe_ has joined #openstack-ansible | 14:24 | |
odyssey4me | mhayden hmm, here's a possibly better implementation to work around the apt cache thing: https://coderwall.com/p/0xtstw/doing-an-apt-get-update-in-ansible-only-if-a-condition-is-met | 14:25 |
odyssey4me | cloudnull your thoughts on ^ ? | 14:25 |
prometheanfire | he's not in yet, maybe wfh? | 14:27 |
*** tomoe_ has quit IRC | 14:28 | |
*** targon has quit IRC | 14:30 | |
*** KLevenstein has quit IRC | 14:44 | |
odyssey4me | mhayden jmccrory I've volunteered you guys to moderate sessions for the OSA Mid Cycle. If that's an issue then let me know. :) re: https://etherpad.openstack.org/p/openstack-ansible-mitaka-midcycle | 14:46 |
odyssey4me | Note to everyone that the opportunity is there to propose work sessions, and the opportunity is also there to vote on proposed sessions. Pl;ease do so. | 14:47 |
*** tomoe_ has joined #openstack-ansible | 14:49 | |
prometheanfire | lol | 14:50 |
prometheanfire | odyssey4me: was anything able to be done about the survey? | 14:50 |
openstackgerrit | Hugh Saunders proposed openstack/openstack-ansible: Ensure repo servers are synced https://review.openstack.org/277430 | 14:51 |
odyssey4me | prometheanfire too late, I had best keep up with emails from now on | 14:52 |
prometheanfire | lol | 14:52 |
prometheanfire | worth a try | 14:52 |
odyssey4me | I have adjusted my email filters accordigly. :/ | 14:52 |
*** sdake has quit IRC | 14:52 | |
mhayden | odyssey4me: ah, looking over the etherpad | 14:56 |
*** Mudpuppy has joined #openstack-ansible | 15:00 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 15:01 | |
*** egonzalez has joined #openstack-ansible | 15:03 | |
*** jaypipes has quit IRC | 15:09 | |
*** ametts has joined #openstack-ansible | 15:14 | |
*** Nepoc has joined #openstack-ansible | 15:15 | |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible: [WIP] Gate: Set pip index and extra-index to OpenStack-CI repositories https://review.openstack.org/265867 | 15:16 |
*** Bjoern has joined #openstack-ansible | 15:17 | |
*** spotz_zzz is now known as spotz | 15:17 | |
*** galstrom_zzz is now known as galstrom | 15:19 | |
spotz | morning | 15:20 |
odyssey4me | o/ spotz | 15:20 |
*** raddaoui has joined #openstack-ansible | 15:21 | |
*** raddaoui_ has joined #openstack-ansible | 15:21 | |
*** raddaoui__ has joined #openstack-ansible | 15:22 | |
odyssey4me | pabelanger when you're in, I'd like to chat about what we can do about https://review.openstack.org/275676 please | 15:22 |
*** baker has joined #openstack-ansible | 15:22 | |
pabelanger | odyssey4me: sure. Just wrapping up some stuff. Also, feel free to get the infra stuff merged if needed. Don't let me hold you up. I don't see an issue moving that way | 15:24 |
cloudnull | morning | 15:26 |
*** egonzalez has quit IRC | 15:28 | |
spotz | o/ | 15:28 |
odyssey4me | pabelanger I'm just wondering - if the minimum tox version is an issue for that method of configuring, should we have your roles simply move all lint checks into the 'linters' target? | 15:31 |
v1k0d3n | morning, is there any openstack-ansible documentation on configuring/modifying neutron to accept floating from a DHCP server, rather than the default 172.x.x.x address space? | 15:31 |
*** egonzalez has joined #openstack-ansible | 15:31 | |
odyssey4me | v1k0d3n I'm not sure that Neutron provides foor that option just yet? | 15:31 |
cloudnull | odyssey4me: rebased that PR to Ansible | 15:32 |
odyssey4me | cloudnull ta - your thoughts on my comments in https://review.openstack.org/277178 ? | 15:32 |
v1k0d3n | odyssey4me: well, i do it currently with another RDO setup...but the deployments are different. openstack-ansible uses the host for natting/routing everything in an AIO. | 15:33 |
v1k0d3n | trying to think how i would give out "public" ip's for openstack-ansible.... | 15:34 |
pabelanger | odyssey4me: Yup, that is how I see it. Drop existing setup and just switch to linters testenv in tox. | 15:34 |
*** jaypipes has joined #openstack-ansible | 15:34 | |
v1k0d3n | i realize this is all just my understanding this deployment better...i'm trying to replace RDO with the OS-ansible project. | 15:34 |
pabelanger | odyssey4me: which, is if the case for the version of tox. We can merge the infra changes, and I can just update the roles to the new entry point | 15:34 |
cloudnull | v1k0d3n: you can set dhcp options https://github.com/openstack/openstack-ansible/blob/master/playbooks/roles/os_neutron/templates/dhcp_agent.ini.j2 and dnsmasq options here https://github.com/openstack/openstack-ansible/blob/master/playbooks/roles/os_neutron/templates/dnsmasq-neutron.conf.j2 | 15:34 |
odyssey4me | v1k0d3n the Neutron DHCP range is configurable, based on how you setup a project network - that's outside of OSA | 15:34 |
cloudnull | v1k0d3n: if you need to change up the dhcp agent you can do so by seting the config here neutron_dhcp_agent_ini_overrides | 15:35 |
cloudnull | odyssey4me: looking now | 15:35 |
odyssey4me | v1k0d3n ie you can use the config_override mechanism to implement whatever you like using user space config: http://docs.openstack.org/developer/openstack-ansible/install-guide/configure-openstack.html | 15:36 |
odyssey4me | pabelanger ok cool, I'll go ahead with that then - thanks | 15:36 |
cloudnull | v1k0d3n: in your RDO install, what did you have to do to do offload the DHCP service from neutron ? | 15:36 |
v1k0d3n | cloudnull: odyssey4me: thank you both! i think that's exactly the information i was looking for. perfect! | 15:37 |
pabelanger | odyssey4me: np | 15:37 |
v1k0d3n | cloudnull: RDO has a walk-through for it...this is what i wrote up on it....(copying...one sec)... | 15:37 |
cloudnull | odyssey4me: that seems like a sensible chang e | 15:37 |
cloudnull | gated in ~1 hour | 15:38 |
cloudnull | which is nice | 15:38 |
v1k0d3n | http://www.jinkit.com/openstack-for-your-environment/ | 15:38 |
v1k0d3n | cloudnull: it's this part... | 15:38 |
v1k0d3n | [user@galvatron01 ~]# openstack-config --set /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini ovs bridge_mappings extnet:br-ex | 15:38 |
*** phalmos has joined #openstack-ansible | 15:41 | |
v1k0d3n | i want to find out how to get the environment to match what i did with RDO, so it can be a complete drop-in replacement (setup-wise) to the RDO documentation i wrote up on my blog. | 15:42 |
v1k0d3n | then i want to update my documentation to describe the same...i started that blog post here: http://www.jinkit.com/openstack-ansible/ | 15:42 |
v1k0d3n | i'm also working with ansible on a simple tower deployment using variables for a bunch of tasks...if this is something that can be configured into the tower deployment, than i will add the changes into this project... | 15:44 |
v1k0d3n | cloudnull: but we just started the project this weekend....https://github.com/v1k0d3n/tower-openstack | 15:45 |
cloudnull | seems like you will do an AIO deployment but setup the br-* devices to plugin to your existing network. | 15:47 |
cloudnull | interesting . | 15:47 |
cloudnull | I'd love to see tower in the mix | 15:47 |
v1k0d3n | i'm working with the ansible guys on it. | 15:48 |
v1k0d3n | i have to admit, i have a bit of a learning curve to come up to speed... | 15:48 |
odyssey4me | pabelanger Does this look fine to you? https://review.openstack.org/277455 - the idea will be to remove the old lint targets once the -infra change merges | 15:48 |
v1k0d3n | but i'm trying. pretty driven. | 15:48 |
cloudnull | let us know how we can gelp | 15:49 |
*** KLevenstein has joined #openstack-ansible | 15:49 | |
cloudnull | *help | 15:49 |
v1k0d3n | cloudnull: 6 months ago, i was a firewall guy. wanted a change so i started learning this all on my own, and used the blog to show that i was learning. now, i have a completely different career...so i owe everything to projects like this! | 15:49 |
*** mikelk has joined #openstack-ansible | 15:50 | |
v1k0d3n | well, i can always add you guys as contributors if you want. tyler is helping too, but he said he didn't want to own the project (he's helped me a ton though; the guy's at ansible have been awesome)! | 15:51 |
v1k0d3n | he's learning openstack, and i am learning ansible.... | 15:51 |
v1k0d3n | but the way i figure...if this get's big and helpful enough, you guys can always add it as an option to your project. | 15:51 |
v1k0d3n | i wanted to get you guy's attention with a tower project ;) | 15:52 |
*** egonzalez has quit IRC | 15:52 | |
*** egonzalez has joined #openstack-ansible | 15:53 | |
odyssey4me | pabelanger and https://review.openstack.org/277460 :) | 15:53 |
*** automagically has left #openstack-ansible | 15:53 | |
odyssey4me | v1k0d3n we'd be happy to help - getting into this channel was a great way to get that going :) | 15:53 |
*** automagically has joined #openstack-ansible | 15:53 | |
odyssey4me | I know that a lot of people would be interested in making that work. | 15:54 |
v1k0d3n | odyssey4me: that's awesome news! i would be so happy if you guys found this to be useful...and if others started using it. :) | 15:54 |
v1k0d3n | the goal is to leave all the upstreams untouched, but build on top of it to allow Tower to completely customize the deployments of openstack-ansible, so that users can select or declare options that are normally manual. it should simplify customized deployments. | 16:02 |
*** izaakk has joined #openstack-ansible | 16:02 | |
evrardjp | hello | 16:03 |
evrardjp | v1k0d3n: this is great news | 16:03 |
v1k0d3n | :) glad you guys like it. i was surprised it wasn't already done before... | 16:04 |
evrardjp | if you're talking with ansible guys, do you know if tower is gonna be open sourced sometimes? I did a bet on that :D | 16:04 |
evrardjp | v1k0d3n: the issue would be to have the dynamic inventory of the creation of the lxc guests | 16:05 |
*** jthorne has joined #openstack-ansible | 16:05 | |
evrardjp | I was planning to write a custom inventory system | 16:05 |
evrardjp | I'm lacking time 'though | 16:05 |
evrardjp | v1k0d3n: how did you work on the lxc container inventory management with tower? Do you have some kind of auto discovery? | 16:06 |
evrardjp | or a module for parsing the lxc-ls -f ? | 16:06 |
pabelanger | odyssey4me: nice, where is the patch for infra? | 16:07 |
*** tomoe_ has quit IRC | 16:07 | |
evrardjp | v1k0d3n: also about the work with tower, openstack-ansible used to be monolithic, that's maybe also why nobody went outside of the system. Now that we are moving to independant roles repositories, it's gonna be far easier | 16:07 |
evrardjp | odyssey4me: about "if we could perhaps have a switch that enabled/disabled the apt-get update in everyy role (enabled by default) which we could disable in the gate, then that could save us a bunch of time" | 16:08 |
*** michaelgugino has joined #openstack-ansible | 16:08 | |
evrardjp | odyssey4me: this doesn't make sense. apt-get update shouldn't be in the role in that case | 16:08 |
evrardjp | it should be done on a pre_tasks level | 16:09 |
evrardjp | with a when for example | 16:09 |
evrardjp | this way the role stays clean, and you have your feature | 16:09 |
v1k0d3n | evrardjp: for now everything is untouched. low-hanging fruit first, so what the intent is, is to declare what hosts get what roles and let tower go out and build that. then we'll start declaring add/delete of the hosts, and so on. | 16:09 |
v1k0d3n | not trying to solve all issues. | 16:09 |
v1k0d3n | the hope is that the more people who help contribute to this though (way smarter people than us) will be able to solve some of the more complex issues later. | 16:10 |
evrardjp | v1k0d3n: tower could be the modular solution that some people are looking for | 16:10 |
v1k0d3n | that's my hope! | 16:11 |
odyssey4me | pabelanger I've just pushed it - https://review.openstack.org/277479 | 16:11 |
v1k0d3n | please, if anyone wants to help...(you're all smarter than i am with this deployment) let me know | 16:11 |
v1k0d3n | i can add contributors | 16:11 |
evrardjp | odyssey4me: if you want me to change the roles to cleanup the apt_get update, I'd be happy to help | 16:11 |
evrardjp | this is quickly done, I think I can find time for that | 16:11 |
evrardjp | v1k0d3n: I'm curious, but I'm not sure I will have enough time | 16:12 |
pabelanger | odyssey4me: +1 | 16:12 |
pabelanger | I'll update my roles shortly | 16:12 |
evrardjp | v1k0d3n: could you give me the link to your repo? | 16:12 |
v1k0d3n | evrardjp: ... i get it. | 16:12 |
odyssey4me | evrardjp that'd be great - I've added some comments to https://review.openstack.org/277178 with regards to my thoughts. | 16:12 |
v1k0d3n | https://github.com/v1k0d3n/tower-openstack | 16:12 |
v1k0d3n | evrardjp: ^^^' | 16:12 |
*** javeriak has joined #openstack-ansible | 16:13 | |
evrardjp | odyssey4me: ahah they are using a pre_task on your coderwall link! That's what I think is best :p | 16:14 |
logan- | do you propose moving the repo adds to pre-tasks also? because many of the roles add custom repos which require repo caching after addition | 16:15 |
*** javeriak has quit IRC | 16:16 | |
*** javeriak has joined #openstack-ansible | 16:16 | |
odyssey4me | evrardjp but that risks ending up with the role, when independently used, failing due to an old cache | 16:16 |
odyssey4me | evrardjp and yeah, what logan- said | 16:16 |
*** raddaoui_ has quit IRC | 16:16 | |
evrardjp | changing/updating a repo deserves a update of the cache | 16:17 |
evrardjp | doing a role that has everything in its repos doesn't IMO | 16:17 |
*** raddaoui__ has quit IRC | 16:17 | |
odyssey4me | evrardjp yeah, so basically I'm thinking if a repo was added (task results in changed status), then update the cache forcibly | 16:18 |
*** raddaoui has quit IRC | 16:18 | |
odyssey4me | otherwise check the status of the cache, and only update it if it's more than x old (an hour, perhaps?) | 16:18 |
evrardjp | yes, most of the time cache management should be done only once, and we should, for example check on the last update of the cache | 16:18 |
evrardjp | odyssey4me: that's the purpose of the cache_valid_time | 16:19 |
evrardjp | when it works :p | 16:19 |
odyssey4me | evrardjp yep, except that there's a bug with that in the Ansible module | 16:19 |
evrardjp | that's workaroundable without having to do many updates of the cache during one play | 16:20 |
odyssey4me | evrardjp but think about this - in a gate check we build a container image, which includes doing a cache update | 16:20 |
odyssey4me | then the container image is used to build containers | 16:20 |
*** javeriak has quit IRC | 16:20 | |
evrardjp | so the image is up to date | 16:20 |
odyssey4me | unless there is a repo config change after that, there isn't a reason to update the cache again | 16:21 |
odyssey4me | during a gate check at least | 16:21 |
evrardjp | I completely agree | 16:21 |
odyssey4me | or an AIO build | 16:21 |
*** javeriak has joined #openstack-ansible | 16:21 | |
logan- | with how osa works i think the caching concerns are more across plays, not just single-play repeats... not sure how many of those there are but probably a lot less than each service role doing apt updates | 16:21 |
evrardjp | that's why I think a pre_task with conditionals should be perfectly fine | 16:21 |
odyssey4me | heh, another completely different way to do this could be to use a handler perhaps - if the apt-get install fails, update the cache and retry? | 16:21 |
evrardjp | logan-: ssh connection issues, retries of tasks on apt could happen | 16:22 |
evrardjp | why would it fail ? if the cache has been updated, there shouldn't have any issue, right? | 16:22 |
evrardjp | or else, we can use a conditional to force updating the cache | 16:23 |
odyssey4me | evrardjp what happens if the repo is changed during the build? | 16:23 |
evrardjp | and in order to avoid having many variables to force updating the cache (1 per role), you define this on the play level | 16:23 |
evrardjp | odyssey4me: the real question is about the probability of this to appear and not using a conditional to update the cache, right? | 16:24 |
*** alextricity has joined #openstack-ansible | 16:25 | |
odyssey4me | evrardjp I'd prefer not to have a user var conditional - I'd rather that the cache freshness worked properly | 16:25 |
*** alextricity is now known as alextricity25_ | 16:25 | |
odyssey4me | ie I'd rather we implemented the stat to check the age and did the update if it was over a specific time old | 16:25 |
odyssey4me | that's my personal view | 16:25 |
evrardjp | it's a perfectly decent workaround of the initial bug | 16:26 |
evrardjp | I think it's worth checking | 16:26 |
evrardjp | however, what's the limit you'll specify ? | 16:26 |
odyssey4me | pabelanger for your viewing pleasure: https://review.openstack.org/#/q/status:open+project:%255Eopenstack/ansible-role.*+topic:tox-linters | 16:27 |
evrardjp | how old should be considered worth a refresh? Do you want the deployer to decide? | 16:27 |
evrardjp | in that case, you'll end up with lots of variables (1 per role) | 16:27 |
pabelanger | odyssey4me: if you remove the depends-on header with 277479 that can merge first, then we can push ansible roles update. Other wise, we'll need 2 patches to land linters, 1 to add, another to remove old envs. | 16:27 |
evrardjp | that's why I think the workaround should also be done smartly | 16:27 |
odyssey4me | evrardjp we could just use a non-namespace var for this - similar to verbose/debug | 16:27 |
pabelanger | odyssey4me: which is fine to me | 16:27 |
odyssey4me | pabelanger alright, done | 16:28 |
evrardjp | odyssey4me: not sure what you mean by this? A variable defined on the playbook level? | 16:28 |
evrardjp | (or included in multiple playbooks with a file?) | 16:29 |
odyssey4me | evrardjp an example: https://github.com/openstack/openstack-ansible/blob/master/playbooks/roles/os_glance/defaults/main.yml#L17-L18 | 16:29 |
evrardjp | That's what I was afraid | 16:29 |
odyssey4me | ie all playbooks use the same var name - it keeps it simple and I think makes sense in this case | 16:30 |
odyssey4me | another option here is to move all apt install tasks into a role, then making the role a dependency for all roles that do apt installs if the pkg_mgr is apt :) | 16:31 |
evrardjp | this could be considered as a convention of openstack-ansible, which is perfectly fine if well documented | 16:31 |
odyssey4me | but I think that's overkill in this case | 16:31 |
evrardjp | that's weird | 16:31 |
evrardjp | having a role for installing packages doesn't really make sense, it's like having a method instead of a purpose | 16:31 |
evrardjp | but yeah, I'm maybe too orthogonal | 16:32 |
logan- | that would really cut down on a lot of duplicated logic in the roles. handling repo additions if necessary there, the apt cache updating logic, etc. | 16:32 |
evrardjp | logan-: yes but the logic makes sense when someone will just consume one role, independently of others | 16:33 |
evrardjp | if I only want to install keystone, I don't want to have 2 roles, 1 for apt where I'll have to define lots of variables to only install keystone, and the other to configure the keystone role... | 16:34 |
evrardjp | but I understand | 16:34 |
*** raddaoui__ has joined #openstack-ansible | 16:34 | |
logan- | you already have package related deps for that like pip_install, pip_lock_down, etc so it is not exactly foreign | 16:34 |
*** raddaoui has joined #openstack-ansible | 16:34 | |
*** raddaoui_ has joined #openstack-ansible | 16:34 | |
evrardjp | logan-: true | 16:34 |
logan- | i don't know if it best but it is an interesting thought for sure | 16:35 |
evrardjp | I like the discussion because I see benefits in the two approaches :) | 16:35 |
odyssey4me | interesting- for apt I'm not sure we win much, but for pip installs perhaps that's a better subject to consider the option with | 16:35 |
odyssey4me | the now the apt bits are 3-4 tasks (?) which isn't much | 16:36 |
odyssey4me | s/the/right/ | 16:36 |
evrardjp | I think the best approach for re-usability would be to work on each role, and make sure they are the most efficient, and bug free | 16:38 |
evrardjp | introducing dependencies is sometimes worrying and painful | 16:38 |
pabelanger | odyssey4me: great | 16:39 |
evrardjp | until ansible fixes the cache timer, we could implement the manual workaround | 16:39 |
evrardjp | with a mention of the bug/PR, this way we can track when to remove it | 16:39 |
odyssey4me | evrardjp yep, that's my thinking - I'd like to apply the patch that way as it'll be backportable too | 16:41 |
*** egonzalez has quit IRC | 16:44 | |
evrardjp | maybe we could also just wait for the latest changes, the last comments on this https://github.com/ansible/ansible-modules-core/pull/1517 went a few hours ago | 16:46 |
evrardjp | let's discuss this tomorrow :D | 16:47 |
evrardjp | I'll create a commit if everybody wants to | 16:47 |
odyssey4me | evrardjp please do :) | 16:47 |
odyssey4me | we can't tell when Ansible will fix it, and if the fix will go into the 1.9 series | 16:48 |
*** cloudtrainme has joined #openstack-ansible | 16:48 | |
evrardjp | sure that was my point | 16:48 |
evrardjp | but it's maybe too early to tell? It's a severe bug, maybe they will fix it in a few minutes and retag a new stable version! | 16:49 |
evrardjp | :D | 16:49 |
evrardjp | of this 1 year old PR :p | 16:49 |
odyssey4me | :p | 16:49 |
evrardjp | I have to go, don't hesitate to ping me tomorrow | 16:50 |
openstackgerrit | Major Hayden proposed openstack/openstack-ansible: Docs: force cfg drive + libvirtd tls/tcp/auth https://review.openstack.org/276881 | 16:54 |
odyssey4me | cloudnull / sigmavirus24 when compiling wheels, does pip check its index and extra-index with equal weight? or does it take from the index if it finds something, and only look at the extra-index if it doesn't find it in the index? | 16:54 |
*** mikelk has quit IRC | 16:54 | |
sigmavirus24 | odyssey4me: I honestly don't know | 16:55 |
sigmavirus24 | I would suspect first-found wins though | 16:55 |
sigmavirus24 | odyssey4me: you can ask in #pypa-dev though | 16:55 |
odyssey4me | I'm suspecting that - lemme switch these two around and see what happens | 16:55 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible: [WIP] Gate: Set pip index and extra-index to OpenStack-CI repositories https://review.openstack.org/265867 | 16:57 |
*** gparaskevas has quit IRC | 16:57 | |
*** phiche has quit IRC | 17:00 | |
*** permalac has quit IRC | 17:02 | |
*** pegmanm_ has joined #openstack-ansible | 17:02 | |
*** pegmanm has quit IRC | 17:04 | |
*** mgoddard has quit IRC | 17:06 | |
cloudnull | odyssey4me: its first round | 17:07 |
*** mgoddard has joined #openstack-ansible | 17:07 | |
cloudnull | extra index is just that, another index that will be checked when resolving a constraint. and the package used will be the one that is the best match | 17:07 |
odyssey4me | cloudnull this is why you have the rpc-repo wheel index first, and pypi second, right? | 17:08 |
openstackgerrit | Major Hayden proposed openstack/openstack-ansible: Docs: force cfg drive + libvirtd tls/tcp/auth https://review.openstack.org/276881 | 17:08 |
cloudnull | odyssey4me: yes. wihch was intended such that it will perfer a pre-built wheel instead of the source package and compile | 17:10 |
odyssey4me | cloudnull it appears that this is not how it was designed to work :) | 17:11 |
odyssey4me | it seems that it should prefer the wheel to anything else, as long as they're both the same version | 17:11 |
openstackgerrit | Major Hayden proposed openstack/openstack-ansible: Docs: Keystone SSL configuration https://review.openstack.org/277498 | 17:11 |
*** michaelgugino has quit IRC | 17:12 | |
*** raddaoui_ has quit IRC | 17:13 | |
*** raddaoui has quit IRC | 17:14 | |
*** raddaoui__ has quit IRC | 17:15 | |
*** phiche has joined #openstack-ansible | 17:15 | |
*** baker has quit IRC | 17:17 | |
openstackgerrit | Major Hayden proposed openstack/openstack-ansible: Docs: Fact caching https://review.openstack.org/277503 | 17:25 |
*** michaelgugino has joined #openstack-ansible | 17:27 | |
*** elopez_ has quit IRC | 17:28 | |
*** elopez has quit IRC | 17:28 | |
michaelgugino | Does percona-xtrabackup need to be installed with galera_client? | 17:29 |
michaelgugino | is each individual service configured to backup it's own db? | 17:29 |
cloudnull | michaelgugino: no it doesnt need to be installed with the client role | 17:31 |
cloudnull | logan-: put a PR together to remove that | 17:31 |
cloudnull | https://review.openstack.org/#/c/277186/ | 17:31 |
cloudnull | odyssey4me: it seems to be working that way ? | 17:32 |
cloudnull | it is pulling in our wheels from rpc-repo and building things that are missing from there | 17:32 |
michaelgugino | that is a relief. I'm planning on converting that role to multi-os next, as it's blocking pretty much everything else I want to work on. | 17:32 |
cloudnull | ++ nice! | 17:33 |
cloudnull | you should be able to use that PR as a dependency | 17:33 |
palendae | I *think* the percona-xtrabackup stuff is how galera does clustering | 17:33 |
michaelgugino | everything else in that role is pretty straight forward, but the xtrabackup is hard coded to a specific version for trusty. | 17:33 |
cloudnull | and work from that point . | 17:33 |
michaelgugino | the same logic is included in galera_server as in client. | 17:33 |
michaelgugino | but, if we only need xtrabackup on the server version of the role, then I can eliminate it from client. | 17:34 |
alextricity25_ | cloudnull: Just a heads up, I'm going to submit a patchset to dynamic_inventory to remove the 'continaer_cidr' check in cidr_networks | 17:34 |
michaelgugino | Okay, I see someone is ahead of me with that PR. Let's get that merged ;) | 17:35 |
cloudnull | michaelgugino: you should be able to change https://github.com/openstack/openstack-ansible-galera_server/blob/master/defaults/main.yml#L88-L89 | 17:35 |
*** baker has joined #openstack-ansible | 17:36 | |
cloudnull | and set a RHEL version | 17:36 |
cloudnull | https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.2.13/binary/redhat/7/x86_64/percona-xtrabackup-22-2.2.13-1.el7.x86_64.rpm | 17:36 |
odyssey4me | cloudnull yep, I'm working on https://review.openstack.org/265867 to try and improve gate performance | 17:36 |
cloudnull | ^ something similar to that | 17:36 |
odyssey4me | cloudnull our pip conf is a bit of an issue for infra, and I was digging into how we configure it earlier | 17:37 |
odyssey4me | cloudnull it seems to me that we'd be better off using a template that contains the config bits, and a list of extra indexes (more than one is supported), and using config_override for special things if needed | 17:38 |
odyssey4me | our pip config locations are also 'legacy' according to pips user guide | 17:38 |
michaelgugino | yeah, I've been looking at the percona stuff all day. I'm less worried about CentOS 7 as I am 15.10 | 17:38 |
michaelgugino | Wily has no xtrabackup-22 | 17:38 |
michaelgugino | only xtrabackup and xtrabackup-24 | 17:39 |
cloudnull | michaelgugino: does the trusty/vivid deb not work ? | 17:39 |
michaelgugino | it works, but it can't get the deps it needs from the repos | 17:39 |
cloudnull | bummer | 17:40 |
cloudnull | odyssey4me: whats the new location ? | 17:40 |
cloudnull | if .pip is "legacy" | 17:40 |
*** phiche has quit IRC | 17:40 | |
odyssey4me | cloudnull https://pip.pypa.io/en/stable/user_guide/#config-file | 17:40 |
palendae | Is this for 8? | 17:41 |
odyssey4me | .config for per-user and /etc/pip.conf for site-wide | 17:41 |
odyssey4me | palendae nope, for 7 too | 17:41 |
palendae | k | 17:41 |
palendae | Wasn't sure when they changed it | 17:41 |
michaelgugino | cloudnull: xtrabackup-22 requires libgcrypt11 | 17:41 |
palendae | Also per-venv | 17:41 |
odyssey4me | I noticed this a while ago | 17:41 |
cloudnull | seems like $HOME/.pip/pip.conf is still supported | 17:41 |
odyssey4me | but it hasn't been too much of an issue | 17:41 |
michaelgugino | that's not available outside trusty, I had to manually download that deb | 17:41 |
palendae | cloudnull: It is, per user | 17:41 |
odyssey4me | yeah, it is - as a 'legacy' option | 17:42 |
palendae | Oooh | 17:42 |
palendae | I see | 17:42 |
palendae | .config/pip | 17:42 |
palendae | vs .pip | 17:42 |
michaelgugino | I would rather see future versions just use whatever percona is providing, such as v24 for Wily | 17:42 |
*** elopez has joined #openstack-ansible | 17:43 | |
openstackgerrit | Miguel Alex Cantu (alextricity25) proposed openstack/openstack-ansible: Remove container_cidr check from cidr_networks https://review.openstack.org/277511 | 17:43 |
cloudnull | michaelgugino: we did that for a while using the main OS repos and later the percona ones however it broke randomy whenever they pushed an update that was wrong or whatever. . . | 17:43 |
cloudnull | which is why we went to downloading the deb directly | 17:43 |
odyssey4me | I'm not entirely sure why we're using https://github.com/openstack/openstack-ansible-pip_lock_down/blob/master/files/pip-link-build.py to build pip.conf either - when we could do much the same with a simple template... what makes this method better cloudnull ? | 17:43 |
michaelgugino | I don't have a problem downloading the deb directly, but we should increment to v24 for Wily (and 16.04 when it launches) or whatever the latest is | 17:44 |
cloudnull | odyssey4me: its the funky config file that pip expects. | 17:45 |
cloudnull | like, list items on newlines | 17:45 |
cloudnull | not using a comma or [] | 17:45 |
cloudnull | if thats better now or fixed then we can see about removing it | 17:46 |
palendae | Would http://jinja.pocoo.org/docs/dev/templates/#join not do that? | 17:47 |
palendae | my_list|join('\n') | 17:47 |
cloudnull | palendae: yes, but you need >=4 spaces before the item entry | 17:47 |
*** jthorne has quit IRC | 17:48 | |
palendae | Ah, yeah | 17:48 |
cloudnull | so my_list|join('\n ') | 17:48 |
cloudnull | maybe ? | 17:48 |
odyssey4me | perhaps | 17:48 |
cloudnull | and a new line under the item | 17:48 |
cloudnull | odyssey4me: I think the better question is, whats wrong with i t? | 17:48 |
cloudnull | what problem needs to be solved to make it work with infra? | 17:49 |
odyssey4me | cloudnull one thing that I think is wrong with the current method is that it's not self-cleaning | 17:49 |
*** raddaoui_ has joined #openstack-ansible | 17:49 | |
*** raddaoui__ has joined #openstack-ansible | 17:49 | |
cloudnull | odyssey4me: how? | 17:49 |
*** mgoddard_ has joined #openstack-ansible | 17:49 | |
*** raddaoui has joined #openstack-ansible | 17:49 | |
*** mgoddard has quit IRC | 17:49 | |
odyssey4me | ie if you remove a source, it leaves the link file behind - thus the link to the old source still gets compiled in unless you go and clean up that file | 17:49 |
cloudnull | seems like you would remove link or change link contents and it would regen | 17:49 |
odyssey4me | using a template would be self cleaning | 17:50 |
odyssey4me | but that's an aside anyway | 17:50 |
odyssey4me | the primary issue I had this morning was trying to figure out how it worked - it's not self explanatory | 17:50 |
*** elopez has quit IRC | 17:51 | |
cloudnull | https://github.com/openstack/openstack-ansible-pip_lock_down/blob/master/files/pip-link-build.py#L18-L37 | 17:51 |
cloudnull | :) | 17:51 |
*** elopez has joined #openstack-ansible | 17:51 | |
odyssey4me | I saw that. It made me want to burn things in a fire. | 17:52 |
*** phiche has joined #openstack-ansible | 17:52 | |
odyssey4me | :) | 17:52 |
cloudnull | code is docs | 17:52 |
cloudnull | :) | 17:52 |
cloudnull | hahahahaha | 17:52 |
odyssey4me | so anyway | 17:53 |
cloudnull | what problem needs to be solved ? | 17:53 |
*** alextricity25_ has quit IRC | 17:53 | |
odyssey4me | infra is asking everyone to be more considerate | 17:53 |
cloudnull | less build time or instances? | 17:53 |
cloudnull | also how does this help that ? | 17:53 |
odyssey4me | and our gate jobs are taking too long anyway - they won't approve an increase in the time limit unless we've proven that we're a good citizen :) | 17:53 |
*** jiteka has quit IRC | 17:53 | |
odyssey4me | so we start with using their pypi & wheel mirrors, then move to their almost ready apt mirrors, then look into using the stuff they cache onto the images, etc | 17:54 |
odyssey4me | so https://review.openstack.org/265867 is an attempt to use the pypi/wheel mirrors, which will hopefully work - if not today, then tomorrow | 17:55 |
*** mgoddard_ has quit IRC | 17:55 | |
odyssey4me | they needed to make a change on the wheel repo to ensure that the directory names are normalised | 17:55 |
*** fawadkhaliq has joined #openstack-ansible | 17:56 | |
odyssey4me | but effectively they populate /etc/pip.conf on the image we use - and it'd be real nice if we could simply slurp it up and spit it into the right place for it to be used effectively | 17:56 |
odyssey4me | right now, though, we only provide for the index and extra-index for the repo build process | 17:57 |
cloudnull | what is AFS_SLUG ? | 17:57 |
*** phiche has quit IRC | 17:57 | |
odyssey4me | it renders as this: ubuntu-14.04-x86_64 | 17:58 |
odyssey4me | the ideal for us is to read the file verbatim and push it into the repo server I think | 17:58 |
*** retreved has quit IRC | 17:58 | |
*** sigmavirus24 is now known as sigmavirus24_awa | 17:59 | |
*** agireud has quit IRC | 18:00 | |
*** wtcross has joined #openstack-ansible | 18:01 | |
cloudnull | odyssey4me: looks like that only supports ubuntu currently? | 18:02 |
cloudnull | http://mirror.nyj01.internap.openstack.org/wheel/ubuntu-14.04-x86_64/ | 18:02 |
*** agireud has joined #openstack-ansible | 18:02 | |
odyssey4me | cloudnull yeah, will get to that bit later - for now that's all we need | 18:02 |
cloudnull | seems http://mirror.ord.openstack.org/wheel/ is missing it ? | 18:03 |
cloudnull | dfw | 18:03 |
cloudnull | too | 18:03 |
odyssey4me | I don't think that -infra actually uses those regions... but regardless... | 18:05 |
odyssey4me | how can we best consume their configuraitons? | 18:05 |
cloudnull | they do | 18:05 |
cloudnull | but they added the vendor to it | 18:05 |
cloudnull | so its | 18:05 |
cloudnull | http://mirror.ord.rax.openstack.org/wheel/ | 18:05 |
*** cemmason has quit IRC | 18:05 | |
odyssey4me | ah yes | 18:05 |
cloudnull | http://mirror.iad.rax.openstack.org/wheel/ | 18:05 |
*** mgoddard has joined #openstack-ansible | 18:06 | |
*** tomoe_ has joined #openstack-ansible | 18:07 | |
*** funeutron has joined #openstack-ansible | 18:08 | |
odyssey4me | shouldn't we get rid of this now? https://github.com/openstack/openstack-ansible/blob/master/playbooks/inventory/group_vars/hosts.yml#L61-L66 | 18:09 |
odyssey4me | we already have a pip major version lockdown | 18:09 |
odyssey4me | we could probably also do the get pip thing smarter, so we don't get those ugly ignored errors happening in the playbook run | 18:10 |
openstackgerrit | Kevin Carter proposed openstack/openstack-ansible: TESTING DONT MERGE https://review.openstack.org/277520 | 18:10 |
*** raddaoui has quit IRC | 18:12 | |
*** tomoe_ has quit IRC | 18:12 | |
*** raddaoui_ has quit IRC | 18:12 | |
*** raddaoui__ has quit IRC | 18:13 | |
odyssey4me | cloudnull FYI https://github.com/openstack-infra/project-config/blob/master/nodepool/scripts/configure_mirror.sh#L29-L36 | 18:13 |
cloudnull | nice! | 18:13 |
cloudnull | just got that :) | 18:13 |
odyssey4me | unfortunately the wheel mirror names aren't normalised yet - I guess that'll have to wait until tomorrow | 18:15 |
*** pegmanm has joined #openstack-ansible | 18:19 | |
cloudnull | odyssey4me: i tried running a pip.conf through the config_template | 18:20 |
cloudnull | http://cdn.pasteraw.com/m09c6rmymiilzekmvzkhtses48t5rpb | 18:20 |
cloudnull | and it doesnt pickup the list ops still | 18:20 |
cloudnull | so... thats a no go | 18:20 |
odyssey4me | cloudnull if you add find-links multiple times? | 18:20 |
odyssey4me | hmm | 18:21 |
*** pegmanm__ has joined #openstack-ansible | 18:21 | |
*** pegmanm_ has quit IRC | 18:21 | |
odyssey4me | maybe you should discuss how best to work with this with dstufft in #pypa-dev ? | 18:21 |
cloudnull | if i get rid of the quotes it works | 18:23 |
odyssey4me | alternatively it should be simple enough to make the template do them in a list as we discussed earlier? | 18:23 |
cloudnull | http://cdn.pasteraw.com/pfli9m8cup98aw54aovk6mq4tgsesyc | 18:23 |
cloudnull | and [] for that matter | 18:23 |
odyssey4me | yep, that matches the examples given | 18:23 |
*** pegmanm has quit IRC | 18:23 | |
odyssey4me | I take it that we would simply provide this into our repo container? whereas all other containers/hosts point to the local repo | 18:24 |
cloudnull | we could simply slurp the global config that infra uses and use that wholesale | 18:24 |
cloudnull | within the repo container | 18:24 |
odyssey4me | oh, I see what you're doing - you're using the hosts's config as a template? | 18:24 |
cloudnull | and leave everything else alone | 18:24 |
cloudnull | i am | 18:25 |
odyssey4me | that's genius | 18:25 |
cloudnull | i was trying rather. | 18:25 |
odyssey4me | well, yeah - simply copying that file into the repo container would work | 18:25 |
cloudnull | but it would be simple enough to push the host config into the repo server because thats where all the building happens anyways | 18:25 |
odyssey4me | yup | 18:26 |
cloudnull | but trying to merge the configs for the rest of the stack is going to be a pain ... | 18:26 |
cloudnull | :\ | 18:26 |
odyssey4me | well, there is no need to do that - everything else should point at the repo server anyway | 18:26 |
*** eil397 has joined #openstack-ansible | 18:29 | |
*** eil397 has quit IRC | 18:35 | |
*** eil397 has joined #openstack-ansible | 18:36 | |
*** retreved has joined #openstack-ansible | 18:41 | |
*** retreved has quit IRC | 18:43 | |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-pip_install: Check for repo server before trying to use it https://review.openstack.org/277529 | 18:43 |
*** retreved has joined #openstack-ansible | 18:43 | |
*** daneyon has joined #openstack-ansible | 18:47 | |
*** jthorne has joined #openstack-ansible | 18:49 | |
*** jthorne has quit IRC | 18:50 | |
odyssey4me | for those interested in learning more about how openstack-ci jobs are defined: http://jaegerandi.blogspot.de/2016/02/creating-new-test-jobs-in-openstack-ci.html and http://jaegerandi.blogspot.de/2016/02/templates-in-openstacks-zuul.html | 18:51 |
*** jthorne has joined #openstack-ansible | 18:51 | |
*** daneyon_ has joined #openstack-ansible | 18:55 | |
*** daneyon has quit IRC | 18:58 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 19:02 | |
*** d_code has joined #openstack-ansible | 19:07 | |
d_code | I just stumbled across the openstack-ansible repo on GitHub. I see the instructions discuss using Debian, but is it possible to use CentOS? | 19:08 |
d_code | if not, how tightly coupled is the current repo to a Debian system? i.e., how much effort do you think it would take to support also CentOS if I were to do the work | 19:09 |
cloudnull | d_code: we currently only support Ubuntu 14.04 | 19:09 |
cloudnull | however work is just starting on cent7 | 19:09 |
*** michaelgugino has quit IRC | 19:10 | |
d_code | :-/ | 19:10 |
d_code | well..that’s good news | 19:10 |
*** CheKoLyN has joined #openstack-ansible | 19:11 | |
*** phiche has joined #openstack-ansible | 19:11 | |
odyssey4me | d_code if you're keen on getting in on the work, the etherpad tracking it is in https://wiki.openstack.org/wiki/Meetings/openstack-ansible#Agenda_for_next_meeting | 19:13 |
odyssey4me | join the meeting, and the discussion :) | 19:13 |
d_code | odyssey4me: not at all opposed…I’m pretty new to OpenStack though quite experienced in automation (ansible, chef, others) and overall virtualization and containers (mostly docker, though) | 19:18 |
d_code | and a solid understanding of Enterprise Linux | 19:18 |
*** rgogunskiy has joined #openstack-ansible | 19:20 | |
*** raddaoui__ has joined #openstack-ansible | 19:21 | |
*** raddaoui_ has joined #openstack-ansible | 19:21 | |
*** raddaoui has joined #openstack-ansible | 19:21 | |
*** electrofelix has quit IRC | 19:26 | |
openstackgerrit | Major Hayden proposed openstack/openstack-ansible: Docs: Fact caching https://review.openstack.org/277503 | 19:37 |
*** baker has quit IRC | 19:38 | |
*** fawadkhaliq has quit IRC | 19:40 | |
*** mgoddard has quit IRC | 19:41 | |
*** cloudtrainme has quit IRC | 19:42 | |
openstackgerrit | Major Hayden proposed openstack/openstack-ansible: Docs: force cfg drive + libvirtd tls/tcp/auth https://review.openstack.org/276881 | 19:42 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-pip_install: Check for repo server before trying to use it https://review.openstack.org/277529 | 19:44 |
odyssey4me | d_code happy to have you on board - we're all learning in different ways as we go - nothing is sacred, so feel free to dive in :) | 19:47 |
v1k0d3n | hey guys, really basic question here...since i am new to this project (like only a couple weeks new). what's the best way to restart services for...let's say neutron? i am used to using init on RDO, but with the added complexity of lxc, should i just restart the containers, or services in the containers, or are their graceful scripts included with the project? | 19:47 |
odyssey4me | v1k0d3n treat the containers as you would a standard host | 19:47 |
v1k0d3n | perfect! that's what i was hoping. | 19:48 |
odyssey4me | v1k0d3n so the best way to restart a service is to use ansible :) | 19:48 |
v1k0d3n | that's what i was going to use :) | 19:48 |
v1k0d3n | thank you! | 19:48 |
v1k0d3n | so, btw...you guys like that tower project idea? | 19:48 |
odyssey4me | v1k0d3n ie execute something like this from /opt/openstack-ansible/playbooks (to get access to the inventory): ansible <group name> -m shell -a "service <servicename> restart" | 19:49 |
v1k0d3n | i talk to tyler, who's helping me come up to speed with tower and he's super-stoked to get a little attention on it! | 19:49 |
v1k0d3n | *talked | 19:49 |
odyssey4me | v1k0d3n love the idea - a lot of our deployments are mid to large sized... so tower is a great fit | 19:49 |
odyssey4me | if we need to do some adjustments to make it work better with tower, then we're happy to figure that out | 19:50 |
v1k0d3n | so ultimately if this work continues, where's the best place for this to "live"? | 19:50 |
odyssey4me | v1k0d3n keep notes in an etherpad if you can, then you can have a slot in the weekly community meeting to raise attention to it | 19:50 |
v1k0d3n | and should i add contributors or do something else? i want to allow others to help if they see needs... | 19:51 |
odyssey4me | that way we can all help you tweak your approach if need be, or get the patches in early if they're needed | 19:51 |
odyssey4me | v1k0d3n in github is fine, but I'd suggest adding an item to the agenda in https://wiki.openstack.org/wiki/Meetings/openstack-ansible#Agenda_for_next_meeting under 'Topics for Discussion' with a link to the etherpad and the repo | 19:52 |
odyssey4me | that gets your work exposure | 19:52 |
odyssey4me | then, if possible, attend the thu meetings and present progress, any current challenges and any help wanted | 19:52 |
odyssey4me | it's an open community, so only people who want to get down to code and have an environment to test with will get into it... but most of this community will happily discuss and advise off the cuff :) | 19:53 |
odyssey4me | v1k0d3n d_code if you'd like a reminder about the weekly meeting, feel free to add yourself to https://wiki.openstack.org/wiki/Meetings/openstack-ansible#Regular_attendees | 19:56 |
odyssey4me | that list is used for an IRC ping notification | 19:56 |
odyssey4me | ok all, I'm out for the night | 19:56 |
v1k0d3n | do we add ourselves to this page? | 19:57 |
v1k0d3n | ah, i see...ok...yes | 19:57 |
v1k0d3n | awesome info! thank you! | 19:57 |
*** raddaoui_ has quit IRC | 19:58 | |
*** raddaoui has quit IRC | 19:59 | |
odyssey4me | v1k0d3n :) any time - many of us use ZNC IRC bouncers, so you're always able to ask any question... someone will eventually reply, although it may sometimes be a few hours later... sleeping is a necessary human function ;) | 20:00 |
*** raddaoui__ has quit IRC | 20:00 | |
odyssey4me | we do have coverage over the US and UK, with a few members in the APAC region too... | 20:00 |
odyssey4me | anyway, night night all | 20:00 |
*** javeriak has quit IRC | 20:01 | |
*** baker has joined #openstack-ansible | 20:03 | |
*** d_code has left #openstack-ansible | 20:03 | |
*** eil397 has quit IRC | 20:06 | |
*** wtcross has quit IRC | 20:11 | |
*** cloudtrainme has joined #openstack-ansible | 20:12 | |
*** baker has quit IRC | 20:15 | |
*** baker has joined #openstack-ansible | 20:17 | |
*** wtcross has joined #openstack-ansible | 20:22 | |
*** dolpher has quit IRC | 20:26 | |
*** dolpher has joined #openstack-ansible | 20:26 | |
*** dolpher has quit IRC | 20:31 | |
*** cloudtrainme has quit IRC | 20:32 | |
*** dolpher has joined #openstack-ansible | 20:32 | |
*** baker has quit IRC | 20:33 | |
*** baker has joined #openstack-ansible | 20:34 | |
*** raddaoui has joined #openstack-ansible | 20:35 | |
*** raddaoui_ has joined #openstack-ansible | 20:35 | |
*** raddaoui__ has joined #openstack-ansible | 20:35 | |
*** cloudtrainme has joined #openstack-ansible | 20:40 | |
*** cloudtrainme has quit IRC | 20:44 | |
*** dslevin1 has joined #openstack-ansible | 20:45 | |
*** baker has quit IRC | 20:47 | |
*** cloudtrainme has joined #openstack-ansible | 20:50 | |
*** baker has joined #openstack-ansible | 20:53 | |
*** baker has quit IRC | 20:56 | |
*** wtcross has quit IRC | 20:56 | |
*** baker has joined #openstack-ansible | 20:56 | |
*** cloudtrainme has quit IRC | 20:57 | |
*** cloudtrainme has joined #openstack-ansible | 21:01 | |
*** baker has quit IRC | 21:02 | |
*** cloudtrainme has quit IRC | 21:06 | |
*** johnmilton has quit IRC | 21:06 | |
*** johnmilton has joined #openstack-ansible | 21:07 | |
*** baker has joined #openstack-ansible | 21:07 | |
*** eil397 has joined #openstack-ansible | 21:10 | |
*** cloudtrainme has joined #openstack-ansible | 21:10 | |
*** cloudtrainme has quit IRC | 21:10 | |
*** wtcross has joined #openstack-ansible | 21:13 | |
*** eil397 has quit IRC | 21:15 | |
*** cloudtrainme has joined #openstack-ansible | 21:16 | |
*** eil397 has joined #openstack-ansible | 21:17 | |
*** wtcross has quit IRC | 21:17 | |
*** wtcross has joined #openstack-ansible | 21:19 | |
*** Bjoern has quit IRC | 21:20 | |
*** woodard_ has joined #openstack-ansible | 21:20 | |
*** baker has quit IRC | 21:21 | |
*** baker has joined #openstack-ansible | 21:21 | |
*** woodard_ has quit IRC | 21:22 | |
*** woodard_ has joined #openstack-ansible | 21:22 | |
*** woodard has quit IRC | 21:24 | |
*** johnmilton has quit IRC | 21:26 | |
*** cloudtrainme has quit IRC | 21:32 | |
*** galstrom is now known as galstrom_zzz | 21:36 | |
*** cloudtrainme has joined #openstack-ansible | 21:36 | |
*** galstrom_zzz is now known as galstrom | 21:39 | |
*** dslevin1 has quit IRC | 21:41 | |
*** baker has quit IRC | 21:41 | |
*** raddaoui__ has quit IRC | 21:43 | |
*** raddaoui_ has quit IRC | 21:43 | |
*** raddaoui has quit IRC | 21:43 | |
*** cloudtrainme has quit IRC | 21:45 | |
*** cloudtrainme has joined #openstack-ansible | 21:47 | |
*** wtcross has quit IRC | 21:48 | |
*** baker has joined #openstack-ansible | 21:49 | |
openstackgerrit | Kevin Carter proposed openstack/openstack-ansible-plugins: Updated config parsing for listOPS https://review.openstack.org/277579 | 21:50 |
*** weezS has joined #openstack-ansible | 21:52 | |
openstackgerrit | Major Hayden proposed openstack/openstack-ansible: Docs: Nova iscsi multipath https://review.openstack.org/277584 | 21:58 |
*** ametts has quit IRC | 21:58 | |
*** KLevenstein has quit IRC | 22:01 | |
*** daledude_ has joined #openstack-ansible | 22:01 | |
daledude_ | ca anyone assist with a liberty 12.0.6 install problem. I get the following error for all compute node for this task: TASK: [os_nova | Register a fact for the nova pub key] ************************ | 22:03 |
daledude_ | fatal: [compute3] => One or more undefined variables: 'dict object' has no attribute 'stdout' | 22:03 |
*** wtcross has joined #openstack-ansible | 22:04 | |
*** woodard_ has quit IRC | 22:07 | |
*** wtcross has quit IRC | 22:08 | |
*** galstrom is now known as galstrom_zzz | 22:11 | |
*** weshay has quit IRC | 22:14 | |
*** galstrom_zzz is now known as galstrom | 22:15 | |
*** galstrom is now known as galstrom_zzz | 22:17 | |
*** galstrom_zzz is now known as galstrom | 22:21 | |
*** raddaoui has joined #openstack-ansible | 22:23 | |
*** raddaoui__ has joined #openstack-ansible | 22:23 | |
*** raddaoui_ has joined #openstack-ansible | 22:23 | |
*** phalmos has quit IRC | 22:23 | |
*** Mudpuppy_ has joined #openstack-ansible | 22:26 | |
*** weshay has joined #openstack-ansible | 22:27 | |
*** galstrom is now known as galstrom_zzz | 22:27 | |
*** weshay has quit IRC | 22:28 | |
*** Mudpuppy has quit IRC | 22:29 | |
*** Mudpuppy_ has quit IRC | 22:30 | |
*** jthorne has quit IRC | 22:30 | |
*** jthorne has joined #openstack-ansible | 22:33 | |
*** weshay_xchat has joined #openstack-ansible | 22:34 | |
*** retreved has quit IRC | 22:41 | |
*** daledude_ has quit IRC | 22:44 | |
*** wtcross has joined #openstack-ansible | 22:46 | |
*** wtcross has quit IRC | 22:50 | |
*** jthorne has quit IRC | 22:52 | |
*** baker has quit IRC | 22:53 | |
*** raddaoui_ has quit IRC | 22:54 | |
*** funeutron has quit IRC | 22:54 | |
*** baker has joined #openstack-ansible | 22:55 | |
*** weshay_xchat has quit IRC | 22:55 | |
*** baker has quit IRC | 22:55 | |
*** raddaoui__ has quit IRC | 22:56 | |
*** raddaoui has quit IRC | 22:56 | |
*** dweaver has quit IRC | 22:57 | |
*** dweaver has joined #openstack-ansible | 22:57 | |
*** cloudtrainme has quit IRC | 22:58 | |
*** cloudtrainme has joined #openstack-ansible | 23:00 | |
*** elopez has quit IRC | 23:02 | |
*** sigmavirus24 is now known as sigmavirus24_awa | 23:04 | |
*** dweaver has quit IRC | 23:10 | |
*** dweaver has joined #openstack-ansible | 23:11 | |
*** elopez has joined #openstack-ansible | 23:12 | |
*** phiche has quit IRC | 23:19 | |
*** dweaver has quit IRC | 23:23 | |
*** CheKoLyN has quit IRC | 23:23 | |
*** dweaver has joined #openstack-ansible | 23:24 | |
*** wtcross has joined #openstack-ansible | 23:27 | |
*** tomoe_ has joined #openstack-ansible | 23:27 | |
*** scarlisle has quit IRC | 23:30 | |
*** tomoe_ has quit IRC | 23:32 | |
*** wtcross has quit IRC | 23:32 | |
*** dweaver has quit IRC | 23:36 | |
*** dweaver has joined #openstack-ansible | 23:37 | |
*** can8dnSix has joined #openstack-ansible | 23:39 | |
*** spotz is now known as spotz_zzz | 23:47 | |
*** can8dnSix has quit IRC | 23:48 | |
*** wtcross has joined #openstack-ansible | 23:49 | |
*** dweaver has quit IRC | 23:49 | |
*** dweaver has joined #openstack-ansible | 23:50 | |
*** cloudtrainme has quit IRC | 23:51 | |
*** wtcross has quit IRC | 23:53 | |
*** pegmanm has joined #openstack-ansible | 23:54 | |
*** pegmanm__ has quit IRC | 23:57 | |
*** retreved has joined #openstack-ansible | 23:59 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!