*** salv-orlando has quit IRC | 00:03 | |
*** tzn has quit IRC | 00:16 | |
*** salv-orl_ has quit IRC | 00:36 | |
*** mbound_ has quit IRC | 00:40 | |
*** dims has joined #kolla | 00:44 | |
*** dims has quit IRC | 01:02 | |
*** sdake_ has joined #kolla | 01:03 | |
*** sdake has quit IRC | 01:04 | |
openstackgerrit | hardik proposed openstack/kolla: Added dockerfiles for mistral. https://review.openstack.org/258890 | 01:19 |
---|---|---|
openstackgerrit | hardik proposed openstack/kolla: Added dockerfiles for mistral. https://review.openstack.org/258890 | 01:20 |
*** kjelly has quit IRC | 01:23 | |
*** salv-orlando has joined #kolla | 01:37 | |
*** mbound_ has joined #kolla | 01:41 | |
*** mbound_ has quit IRC | 01:46 | |
*** tfukushima has joined #kolla | 01:53 | |
*** dims has joined #kolla | 02:07 | |
*** jasonsb has joined #kolla | 02:07 | |
*** jasonsb has quit IRC | 02:07 | |
*** jasonsb has joined #kolla | 02:09 | |
*** salv-orlando has quit IRC | 02:12 | |
*** sdake_ has quit IRC | 02:47 | |
*** dave-mccowan has quit IRC | 02:51 | |
*** jasonsb has quit IRC | 03:01 | |
*** sdake has joined #kolla | 03:04 | |
*** stvnoyes has quit IRC | 03:04 | |
*** stvnoyes has joined #kolla | 03:05 | |
*** sdake_ has joined #kolla | 03:07 | |
*** sdake has quit IRC | 03:09 | |
*** ssurana has joined #kolla | 03:18 | |
*** coolsvap|away is now known as coolsvap | 03:23 | |
openstackgerrit | Swapnil Kulkarni (coolsvap) proposed openstack/kolla: Add trove to aux in build.py https://review.openstack.org/259829 | 03:28 |
*** dims has quit IRC | 03:32 | |
*** coolsvap is now known as coolsvap|away | 03:33 | |
*** coolsvap|away is now known as coolsvap | 03:40 | |
*** klint has joined #kolla | 03:43 | |
Guest55431 | hi is anyone around who I can talk to about mariadb module? I have found an issue with multinode | 04:25 |
*** Guest55431 is now known as _RA | 04:26 | |
_RA | I have a fix | 04:27 |
*** tfukushima has quit IRC | 04:37 | |
*** tfukushima has joined #kolla | 04:38 | |
*** tfukushima has quit IRC | 04:43 | |
*** tfukushima has joined #kolla | 04:53 | |
*** tfukushima has quit IRC | 04:58 | |
*** ssurana has quit IRC | 05:08 | |
*** tfukushima has joined #kolla | 05:31 | |
*** yuanying has joined #kolla | 05:56 | |
*** nihilifer has joined #kolla | 06:00 | |
*** _RA has quit IRC | 06:17 | |
*** sdake_ has quit IRC | 07:17 | |
*** gfidente has joined #kolla | 07:29 | |
*** gfidente has joined #kolla | 07:29 | |
*** kjelly has joined #kolla | 07:35 | |
*** unicell has quit IRC | 07:38 | |
*** unicell has joined #kolla | 07:38 | |
*** akwasnie has joined #kolla | 07:52 | |
*** akwasnie has quit IRC | 08:03 | |
*** salv-orlando has joined #kolla | 08:11 | |
*** salv-orlando has quit IRC | 08:14 | |
*** Jeffrey4l has quit IRC | 08:15 | |
*** Jeffrey4l has joined #kolla | 08:22 | |
*** unicell1 has joined #kolla | 08:23 | |
*** unicell has quit IRC | 08:24 | |
*** kproskurin has joined #kolla | 08:29 | |
*** kproskurin has quit IRC | 08:32 | |
*** kproskurin has joined #kolla | 08:34 | |
*** shardy has joined #kolla | 08:37 | |
*** mbound_ has joined #kolla | 08:53 | |
*** cloudnautique has quit IRC | 08:55 | |
*** athomas has joined #kolla | 09:01 | |
*** akwasnie has joined #kolla | 09:07 | |
*** akwasnie has quit IRC | 09:28 | |
*** salv-orlando has joined #kolla | 09:34 | |
*** openstack has joined #kolla | 15:35 | |
*** sdake has joined #kolla | 15:36 | |
*** sdake has quit IRC | 15:45 | |
*** sdake has joined #kolla | 15:48 | |
*** Jeffrey4l has quit IRC | 15:49 | |
Guest9750 | Thanks <ajafo> 1.5.0 worked now it failed further but it seems to be related to build | 15:51 |
*** sdake_ has joined #kolla | 15:52 | |
*** sdake has quit IRC | 15:53 | |
ajafo | Guest9750: n/p | 15:53 |
*** dave-mccowan has quit IRC | 15:53 | |
*** cloudnautique has joined #kolla | 15:55 | |
*** cloudnautique has quit IRC | 15:55 | |
*** cloudnautique has joined #kolla | 15:56 | |
openstackgerrit | Artur Zarzycki proposed openstack/kolla: Ubuntu binary containers. https://review.openstack.org/260069 | 15:59 |
dmsimard | SamYaple: looks like there are issues in Mitaka (at least RDO from what I can tell) due to Kolla using mysqldb versus pymsql | 16:00 |
*** sdake has joined #kolla | 16:00 | |
dmsimard | SamYaple: upstream is going full pymysql, puppet-openstack already made the move | 16:01 |
*** blahRus has joined #kolla | 16:01 | |
dmsimard | getting failed migrations in jobs right now, i.e, http://logs.openstack.org/17/258017/7/check/gate-kolla-dsvm-deploy-centos-binary/6a2bf73/console.html#_2015-12-21_15_42_27_405 | 16:01 |
*** smartshader has joined #kolla | 16:02 | |
*** sdake_ has quit IRC | 16:02 | |
dmsimard | from poking around, I can't see where kolla would be explicitely installing anything else (mysqldb) to try and change that | 16:03 |
*** dave-mccowan has joined #kolla | 16:07 | |
SamYaple | dmsimard: we should make the move too, patch incoming | 16:10 |
dmsimard | SamYaple: what, already ? | 16:10 |
dmsimard | It looks like it involves explicitely installing pymysql and changing the connection strings in the conf files | 16:10 |
SamYaple | dmsimard: yea will take two seconds | 16:10 |
dmsimard | SamYaple: ok i'll rebase on top of it to see what happens, you're awesome <3 | 16:13 |
SamYaple | dmsimard: there wont be testing on my end just yet, only testing in the gate until i get some more free time later today | 16:14 |
openstackgerrit | Sam Yaple proposed openstack/kolla: Convert to pymysql https://review.openstack.org/260080 | 16:16 |
SamYaple | syntax looks correct there, well see what the gate says | 16:16 |
sdake | hey folks I'm on pto this week | 16:17 |
sdake | I will be in wednesday to cut mitaka-1 | 16:17 |
sdake | but otherwise, expect me to be spotty in and out | 16:18 |
nihilifer | SamYaple: what about binary installation? are there packages for pymysql? | 16:21 |
openstackgerrit | Artur Zarzycki proposed openstack/kolla: Ubuntu binary containers. https://review.openstack.org/260069 | 16:26 |
dmsimard | SamYaple: don't think gate will pass, the package name is not the right one | 16:28 |
dmsimard | er, yeah, I kinda meant to make the same comment as nihilifer - I put my comment in the pip section | 16:29 |
dmsimard | the pip install was hidden as part of the skipped common lines in the diff :/ | 16:30 |
SamYaple | nihilifer: i just threw it up a second ago, i can add that thanks | 16:34 |
openstackgerrit | Sam Yaple proposed openstack/kolla: Convert to pymysql https://review.openstack.org/260080 | 16:36 |
SamYaple | nihilifer: re: https://review.openstack.org/#/c/259624/ | 16:49 |
SamYaple | nihilifer: ansible _requires_ somethings that break pep8 | 16:49 |
SamYaple | we could choose to ignore those specific tests, but ignoring the folder is what we have been doing up until this point | 16:50 |
SamYaple | personally I would prefer just to ignore the breaking tests (like H101 i believe is one) and open the ansible code up to almost full pep8 tests | 16:50 |
nihilifer | hmmm... but many things are breaking there? | 16:51 |
nihilifer | except of wildcard import? | 16:51 |
nihilifer | i can check it in a free time of course | 16:51 |
SamYaple | right well its written in the coding style of ansible | 16:53 |
SamYaple | thats the whole deal | 16:53 |
SamYaple | we agreed to do it the ansible way which doesnt follow pep8 at all, if we want to change that (and I am in favor of that), we need to ignore the required, but breaking things ansible does | 16:54 |
SamYaple | its not just teh wildcard imports | 16:54 |
openstackgerrit | Sam Yaple proposed openstack/kolla: Simplify config creation https://review.openstack.org/259624 | 16:58 |
nihilifer | if only wildcard is a problem, then i'd propose to do just "# noqa" on them | 16:59 |
nihilifer | if something else, then we probably to ignore moar things in tox.ini | 17:00 |
SamYaple | nihilifer: its not the only thing | 17:00 |
SamYaple | i remember at least 1 other | 17:00 |
SamYaple | does "# noqa" make tox ignore it? | 17:00 |
nihilifer | SamYaple: afaik, yes | 17:01 |
SamYaple | ok so here is what i propose | 17:01 |
SamYaple | a new patchset based on this one where we filter just a few tests from tox and check all the ansible modules | 17:01 |
SamYaple | the tests we would filter would be the things ansible requires to work | 17:01 |
SamYaple | but past that the files are still checked | 17:01 |
SamYaple | H303 and F403 will be broken for sure | 17:03 |
*** akwasnie has joined #kolla | 17:03 | |
nihilifer | SamYaple: cool, let's try this | 17:05 |
openstackgerrit | Sam Yaple proposed openstack/kolla: pep8 the ansible modules https://review.openstack.org/260101 | 17:05 |
SamYaple | nihilifer: ^ there you go. that will break 20 ways til sunday, but ill update it with coding fixes in a minute | 17:05 |
nihilifer | thx | 17:06 |
*** akwasnie has quit IRC | 17:20 | |
Guest9750 | While doing kolla-ansible deploy got this | 17:33 |
Guest9750 | TASK: [common | Starting Ansible container] *********************************** failed: [localhost] => {"changed": true, "failed": true} msg: Docker API Error: Cannot start container bf1e1e384c90fa676b0cb03d315800034ce9fd5e41e56e667c2a4bb30d972c32: [8] System error: not a directory FATAL: all hosts have already failed -- aborting | 17:33 |
*** kproskurin has quit IRC | 17:33 | |
*** unicell1 has quit IRC | 17:33 | |
SamYaple | Guest9750: ive seen that once or twice before. An issue with docker | 17:38 |
*** akwasnie has joined #kolla | 17:38 | |
SamYaple | if i recall the only way I could fix it was to purge the /var/lib/docker folder, but first I would recommend just removing the container in question and restarting | 17:39 |
*** akwasnie has quit IRC | 17:39 | |
Guest9750 | @SamYaple do I need to build again then? | 17:40 |
SamYaple | Guest9750: if you remove the container, no, if you remove the /var/lib/docker folder you would | 17:41 |
Guest9750 | okay | 17:41 |
SamYaple | its a docker problem here, not a kolla one | 17:41 |
Guest9750 | I removed the particular container but same issue persists | 17:44 |
Guest9750 | I guess have to remove /var/lib/docker | 17:44 |
*** athomas has quit IRC | 17:53 | |
*** mbound_ has quit IRC | 17:55 | |
*** salv-orl_ has joined #kolla | 18:00 | |
*** salv-orlando has quit IRC | 18:03 | |
*** barthalion has joined #kolla | 18:08 | |
*** athomas has joined #kolla | 18:10 | |
*** gfidente is now known as gfidente|afk | 18:14 | |
*** unicell has joined #kolla | 18:23 | |
*** tzn has joined #kolla | 18:26 | |
*** unicell has quit IRC | 18:27 | |
*** unicell has joined #kolla | 18:34 | |
*** unicell has quit IRC | 18:34 | |
*** unicell1 has joined #kolla | 18:34 | |
*** ssurana has joined #kolla | 18:49 | |
*** shardy is now known as shardy_afk | 18:58 | |
openstackgerrit | Sidharth Surana proposed openstack/kolla: Make galeradb bootstraping robust https://review.openstack.org/254961 | 18:58 |
*** mbound_ has joined #kolla | 19:09 | |
*** mbound_ has quit IRC | 19:11 | |
*** mbound_ has joined #kolla | 19:11 | |
*** tzn has quit IRC | 19:17 | |
openstackgerrit | David Moreau Simard proposed openstack/kolla: Convert to pymysql https://review.openstack.org/260080 | 19:48 |
openstackgerrit | David Moreau Simard proposed openstack/kolla: Make the yum repositories configurable in the base image https://review.openstack.org/258017 | 19:48 |
dmsimard | Aw crap, I didn't mean to do that | 19:48 |
barthalion | git review of death | 19:48 |
dmsimard | meant to rebase my patch on the of the pymysql review :( | 19:49 |
dmsimard | SamYaple: ^ didn't change anything in the pymysql patchset, it's probably just rebased on top of master | 19:49 |
nihilifer | you did "git review" without "-R"? or something more wild? ;) | 19:49 |
dmsimard | nihilifer: I rebased manually | 19:50 |
* dmsimard frowns in shame | 19:52 | |
dmsimard | whew, at least gerrit recognized that it was just a rebase | 19:53 |
*** tzn has joined #kolla | 19:54 | |
*** dwalsh has quit IRC | 19:55 | |
*** zeus` has joined #kolla | 19:56 | |
zeus` | hi all!! | 19:57 |
zeus` | I'm looking for some code for the ansible-ceilometer since there's no code to run the ceilometer just the docker files, or we have to update the config files by hand to enable ceilometer on nova and cinder? | 19:59 |
dmsimard | dependencies were clearer in the old gerrit UI :( | 20:00 |
openstackgerrit | David Moreau Simard proposed openstack/kolla: Make the yum repositories configurable in the base image https://review.openstack.org/258017 | 20:00 |
*** ssurana has quit IRC | 20:08 | |
SamYaple | dmsimard: not to worry. itll be fine | 20:11 |
*** ssurana has joined #kolla | 20:19 | |
openstackgerrit | Sam Yaple proposed openstack/kolla: pep8 the ansible modules https://review.openstack.org/260101 | 20:29 |
openstackgerrit | Sam Yaple proposed openstack/kolla: Simplify config creation https://review.openstack.org/259624 | 20:29 |
*** ashestakov has joined #kolla | 20:34 | |
*** neilus has joined #kolla | 20:44 | |
openstackgerrit | Sidharth Surana proposed openstack/kolla: Make galeradb bootstraping robust https://review.openstack.org/254961 | 21:14 |
*** shardy_afk is now known as shardy | 21:19 | |
openstackgerrit | Sam Yaple proposed openstack/kolla: pep8 the ansible modules https://review.openstack.org/260101 | 21:19 |
openstackgerrit | Sam Yaple proposed openstack/kolla: pep8 the ansible modules https://review.openstack.org/260101 | 21:24 |
openstackgerrit | Sam Yaple proposed openstack/kolla: Simplify config creation https://review.openstack.org/259624 | 21:24 |
openstackgerrit | Sidharth Surana proposed openstack/kolla: Make galeradb bootstraping robust https://review.openstack.org/254961 | 21:26 |
*** dims_ has quit IRC | 21:33 | |
*** dims has joined #kolla | 21:33 | |
openstackgerrit | Merged openstack/kolla: Add trove to aux in build.py https://review.openstack.org/259829 | 21:37 |
ashestakov | coolsvap: ping | 21:39 |
*** dims has quit IRC | 21:43 | |
openstackgerrit | Merged openstack/kolla: Fix retrieving api_interface https://review.openstack.org/247999 | 21:44 |
*** athomas has quit IRC | 21:48 | |
*** dims has joined #kolla | 21:49 | |
dmsimard | SamYaple: for the any() block, it's purpose is to set the defaults if no parameters are set | 21:52 |
dmsimard | I guess I could get rid of it entirely and put the default logic wherever the config from file is loaded instead | 21:53 |
SamYaple | dmsimard: i understand that, but if you look at it you are testing the rpm_repo_url param in the any function, since you _always_ use rpm_repo_url anyway, why test it? | 21:55 |
dmsimard | the rpm_repo_url is outside of the if becase it will always run since a default is set | 21:55 |
SamYaple | so why test it? | 21:55 |
dmsimard | because if rpm_repo_url is set, I don't want to use the default | 21:55 |
dmsimard | but I have no way to tell if a value is set other than testing all three values | 21:56 |
dmsimard | (unless I'm mistaken) | 21:56 |
SamYaple | so all three values must be set? | 21:56 |
dmsimard | if no values are set in the three vars, I want to set the default | 21:56 |
dmsimard | if at least one is set, don't use the default | 21:56 |
SamYaple | right, but if i set rpm_file and rpm_repo_file but _NOT_ rpm_repo_url, rpm_repo_url will never get set | 21:57 |
dmsimard | and that's fine | 21:57 |
SamYaple | no its not, because it wont get a default | 21:57 |
SamYaple | read the code | 21:57 |
dmsimard | if there are no rpm_repo_url, it shouldn't be setting any | 21:58 |
dmsimard | it's a default to be used only if no repositories are set at all | 21:58 |
dmsimard | let me rephrase that | 21:58 |
SamYaple | what it looks like you need to do is set the rpm_repo_url as the default value for the variable and do an 'if rpm_file and rpm_repo_url:' instead of that any() | 22:00 |
dmsimard | If there is a rpm_file set (i.e, trunk.rdoproject/release.rpm), the only repository will be that one single rpm_file. rpm_repo_url will be empty and that's fine, it will not be setting up any repositories from URL'd .repos. | 22:00 |
dmsimard | however, if I don't have any settings for all three parameters, I want to set a sane default | 22:01 |
dmsimard | it's quite possible my logic (in the code) is flawed, I'll try to see if I can make it better | 22:01 |
SamYaple | well that can be worked into argparse stuff | 22:01 |
dmsimard | but I had to remove the args from argparse :P | 22:02 |
SamYaple | no you didnt | 22:02 |
SamYaple | you still parse them with argparse | 22:02 |
SamYaple | oh wait nvm wrong patchset | 22:02 |
SamYaple | yea youre right | 22:03 |
dmsimard | you remind me that I screwed up though, I should remove those keys from the defaults var | 22:03 |
dmsimard | since I removed the args | 22:03 |
SamYaple | so let me ask, do you need to use rpm_file _and_ rpm_repo_file at the same time? | 22:03 |
dmsimard | I don't *need* to, but it should work | 22:04 |
SamYaple | im not sure the difference between the two then | 22:04 |
dmsimard | given a, b, c, I should be able to use any combination | 22:04 |
dmsimard | rpm_file is any .rpm file | 22:04 |
SamYaple | oh. hmm | 22:04 |
dmsimard | like this: https://www.rdoproject.org/repos/rdo-release.rpm or /tmp/rdo-release.rpm | 22:04 |
SamYaple | then why have an if statement at all? | 22:05 |
dmsimard | rpm_repo_file is a .repo file, like this: http://trunk.rdoproject.org/centos7/delorean-deps.repo | 22:05 |
SamYaple | just use a for loop | 22:05 |
SamYaple | if the variable is empty, the for loop doesnt do anything | 22:05 |
dmsimard | when a config isn't set in configparser, what does it yield for a key ? Is it set (i.e, defaultdict) or does it give None ? | 22:06 |
SamYaple | doesnt matter, if its an empty string/list/dict or None it still skips the for loop | 22:07 |
dmsimard | hmm, checking | 22:07 |
SamYaple | try it out real quick | 22:07 |
SamYaple | for i in '': | 22:07 |
SamYaple | print('nothing) | 22:07 |
SamYaple | it wont print | 22:07 |
SamYaple | same with [],{},None | 22:08 |
dmsimard | It can iterate over an empty string, an empty list but not none | 22:08 |
*** dims_ has joined #kolla | 22:08 | |
dmsimard | keyerror none is not iterable | 22:08 |
dmsimard | but I can default them to an empty string instead of none I guess | 22:08 |
*** dims has quit IRC | 22:08 | |
SamYaple | i think they are default to '' | 22:10 |
SamYaple | youre right about iterable and None being bad | 22:11 |
*** shardy has quit IRC | 22:12 | |
*** dims has joined #kolla | 22:12 | |
dmsimard | yeah the for loops work fine, but how do I set up the repo_url only if none of the three settings are set without a loop ? | 22:13 |
*** dims_ has quit IRC | 22:13 | |
SamYaple | Set it in the default dict with the appropriate default (it will get overridden by the config file) | 22:17 |
dmsimard | okay, I'll try to test that | 22:18 |
*** sdake has quit IRC | 22:21 | |
openstackgerrit | David Moreau Simard proposed openstack/kolla: Make the yum repositories configurable in the base image https://review.openstack.org/258017 | 22:23 |
*** dims has quit IRC | 22:29 | |
*** jtriley has quit IRC | 22:40 | |
*** tzn has quit IRC | 22:49 | |
*** neilus has quit IRC | 22:51 | |
*** neilus has joined #kolla | 22:52 | |
*** neilus has quit IRC | 22:52 | |
*** neilus has joined #kolla | 22:52 | |
*** ashestakov has quit IRC | 22:53 | |
*** blahRus has quit IRC | 23:01 | |
*** neilus has quit IRC | 23:01 | |
*** neilus has joined #kolla | 23:01 | |
*** Jeffrey4l has joined #kolla | 23:15 | |
*** neilus has quit IRC | 23:21 | |
*** dims has joined #kolla | 23:21 | |
*** neilus has joined #kolla | 23:22 | |
*** tzn has joined #kolla | 23:24 | |
*** tzn has quit IRC | 23:30 | |
*** dims has quit IRC | 23:30 | |
*** dims has joined #kolla | 23:32 | |
*** ssurana has quit IRC | 23:32 | |
*** sdake has joined #kolla | 23:45 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!