*** spzala has joined #openstack-dev | 00:02 | |
FatDarrel | getting an error Unable to communicate with identity service: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Not Authorized"}}. (HTTP 401) | 00:03 |
---|---|---|
*** vipul is now known as vipul|away | 00:05 | |
*** dontalton has quit IRC | 00:05 | |
*** Yada has quit IRC | 00:06 | |
*** vipul|away is now known as vipul | 00:07 | |
*** pixelbeat_ has quit IRC | 00:08 | |
*** adjohn_ has joined #openstack-dev | 00:10 | |
*** lloydde_ has quit IRC | 00:13 | |
*** adjohn has quit IRC | 00:14 | |
*** aeperezt has quit IRC | 00:16 | |
jamielennox | bknudson: that error you're seeing on https://review.openstack.org/#/c/27878/ is because mysql doesn't save microseconds in the db, so comparing what went in to what came out is wrong. | 00:16 |
bknudson | jamielennox: you've seen the same thing? | 00:17 |
jamielennox | bknudson: do you think it is reasonable to trim all token expiry to the nearest second to handle this? | 00:17 |
openstackgerrit | A change was merged to openstack/keystone: Remove unused CONF.pam.url https://review.openstack.org/27714 | 00:17 |
jamielennox | yea, i was so focused on postgres that i forgot to run mysql | 00:17 |
openstackgerrit | A change was merged to openstack/python-keystoneclient: Remove duplicate test definitions https://review.openstack.org/27268 | 00:17 |
bknudson | in the testcase, I wouldn't have a problem with that. | 00:17 |
jamielennox | in general? | 00:17 |
jamielennox | i can't imagine what difference microseconds will make in token expiry at all, but it's a much further reaching change | 00:18 |
*** lloydde has joined #openstack-dev | 00:18 | |
bknudson | jamielennox: could just the testcase be changed to trim the timestamp? | 00:19 |
jamielennox | yea, that's fine, i'll just keep it there then | 00:19 |
bknudson | I think it was just one testcase failing. | 00:20 |
bknudson | jamielennox: it seemed to be complaining about unicode strings rather than regular strings. | 00:20 |
bknudson | - {'a': 'b', | 00:21 |
bknudson | + {u'a': u'b', | 00:21 |
bknudson | ? + + | 00:21 |
jamielennox | that's just the way the diff is printing | 00:21 |
bknudson | ok. | 00:21 |
jamielennox | u'a' == 'a' | 00:21 |
jamielennox | so it will match | 00:21 |
*** terryh has quit IRC | 00:22 | |
bknudson | jamielennox: looks like the interesting part is [truncated]... "datetime(2013, 5, 9, 22, [truncated]" | 00:22 |
jamielennox | yea | 00:22 |
jamielennox | i just ran it on mysql | 00:22 |
jamielennox | old {'a': 'b', 'user_id': 'testuserid', 'expires': datetime.datetime(2013, 5, 10, 0, 22, 23, 295432), 'user': {'id': 'testuserid'}, 'id_hash': '2669ab52da734dab8dede537fecda854', 'id': '2669ab52da734dab8dede537fecda854', 'trust_id': None} | 00:22 |
jamielennox | new {u'a': u'b', 'user_id': u'testuserid', 'expires': datetime.datetime(2013, 5, 10, 0, 22, 23), u'user': {u'id': u'testuserid'}, u'id_hash': u'2669ab52da734dab8dede537fecda854', 'id': u'2669ab52da734dab8dede537fecda854', 'trust_id': None} | 00:22 |
jamielennox | so the unicode prints in the diff but it's the microseconds in expires making it fail | 00:23 |
jamielennox | how this is the only test that actually fails on this is the surprising part for me | 00:24 |
bknudson | is it even testing timestamps? | 00:24 |
*** Zah_ has joined #openstack-dev | 00:24 | |
*** jvrbanac has quit IRC | 00:25 | |
jamielennox | it's doing assertEqual on the two dictionaries, so it'll test each element i guess | 00:26 |
jamielennox | most of the other tests relating to expires are purposefully setting a time | 00:26 |
*** jergerber has quit IRC | 00:26 | |
jamielennox | that or only testing that the ids are equal | 00:27 |
*** salv-orlando has quit IRC | 00:27 | |
bknudson | if it's not explicitly a timestamp test, then I don't think anyone would have a problem with the test change. | 00:27 |
*** spzala has quit IRC | 00:28 | |
*** jergerber has joined #openstack-dev | 00:28 | |
FatDarrel | got an error here : ERROR : Error during puppet run : err: /Stage[main]/Nova::Keystone::Auth/Keystone_service[nova]: Could not evaluate: Execution of '/usr/bin/keystone --token 1931eb879a1c42928fe97a7eed7aa87a --endpoint http://127.0.0.1:35357/v2.0/ service-list' returned 1: Unable to communicate with identity service: {"error": {"message": "An unexpected error prevented the server from fulfilling your request. (ProgrammingErro | 00:29 |
FatDarrel | (1146, \"Table 'keystone.service' doesn't exist\") 'SELECT service.id AS service_id, service.type AS service_type, service.extra AS service_extra \\nFROM service' ()", "code": 500, "title": "Internal Server Error"}}. (HTTP 500) | 00:29 |
FatDarrel | why is keystone failing such? | 00:29 |
jamielennox | yea it's just testing that want went into the identity_api with create should be the same as what came out with a list, so dropping microseconds shouldn't matter | 00:30 |
*** zzs has left #openstack-dev | 00:32 | |
jamielennox | FatDarrel: I can't speak for what puppet is doing, but it looks like it didn't set up the database | 00:32 |
FatDarrel | that is weird it should've | 00:32 |
jamielennox | have a look in the DB keystone is connecting to and just make sure the tables are there | 00:33 |
FatDarrel | aargh | 00:33 |
*** lloydde has quit IRC | 00:35 | |
*** ayoung-afk is now known as ayoung | 00:35 | |
ayoung | jamielennox, can't trim to the second | 00:35 |
*** lloydde has joined #openstack-dev | 00:36 | |
ayoung | jamielennox, I am getting more annoyed at MySQL all the time. Is there a different column type we should be using to get the smaller precision? | 00:36 |
jamielennox | friends don't let friends use mysql | 00:37 |
ayoung | jamielennox, the microseconds are kindof artificial. If someone is creating a token in a tight loop, the microsecond precions keeps them distinct | 00:37 |
ayoung | we had that problem with unit tests | 00:37 |
ayoung | jamielennox, I'm starting to think the DB world is split in to two Postgresql, and all the rest | 00:38 |
ayoung | jamielennox, we also have a check in keystone/test.py .... I'll link | 00:38 |
FatDarrel | jamielennox: what should I be looking for? | 00:38 |
FatDarrel | also why does thing have so many pieces | 00:39 |
jamielennox | https://dev.mysql.com/doc/refman/5.1/en/datetime.html | 00:39 |
ayoung | https://github.com/openstack/keystone/blob/master/keystone/test.py#L335 | 00:39 |
jamielennox | FatDarrel: at the moment i would just confirm that there is a couple of tables in there, particularly service | 00:39 |
jamielennox | ayoung: lol, yea i have seen that test | 00:40 |
*** lloydde has quit IRC | 00:40 | |
FatDarrel | i deleted the tables | 00:41 |
FatDarrel | doesn't db sync do that | 00:41 |
jamielennox | i don't know if doing it that way is any easier than just removing microseconds, though it may be a bit more explicity | 00:41 |
jamielennox | FatDarrel: db sync should bring the Db up to the latest version | 00:42 |
*** bdpayne has quit IRC | 00:42 | |
*** ladquin_brb has quit IRC | 00:43 | |
ayoung | jamielennox, so I take it token tests are failing due to chopped micrseconds then? | 00:46 |
jamielennox | ayoung: I re uped the patch | 00:46 |
jamielennox | check the bottom of https://review.openstack.org/#/c/27878/6/tests/test_backend.py | 00:46 |
ayoung | jamielennox, ugh.... | 00:47 |
ayoung | FatDarrel, can you connect to the mysql database from the command line? | 00:48 |
FatDarrel | ayoung: ok | 00:48 |
jamielennox | ayoung: i think that is just about as clean as popping both expiries from the dict then comparing them with the close enough test then testing the dict | 00:48 |
FatDarrel | ran db sync all is ok now horizon doesn't work | 00:48 |
FatDarrel | i set packstack to use 127.0.0.1 | 00:48 |
ayoung | jamielennox, yeah, but it removes the reason we were doing microseconds in the first place. | 00:48 |
*** cyeoh_ is now known as cyeoh | 00:49 | |
jamielennox | why? what difference does it make? | 00:49 |
ayoung | jamielennox, distinguisches between two tokens made quickly... | 00:49 |
jamielennox | you are doing a get_token by id, i guess it might make a difference in a list | 00:49 |
ayoung | jamielennox, I suspect that with that change, we might actually see failures in sqlite | 00:50 |
*** zul has quit IRC | 00:50 | |
ayoung | I suspect the reason it works for that is because mysql is so slow | 00:50 |
FatDarrel | so it looks like packstack is working to install but setting the installation to 127.0.0.1 | 00:50 |
ayoung | jamielennox, actually, it fails on storing the token | 00:50 |
FatDarrel | causes horizon to break | 00:50 |
jamielennox | works for me in sqlite | 00:50 |
ayoung | jamielennox, it is an intermittent failure | 00:51 |
jamielennox | that doesn't make sense | 00:51 |
ayoung | it will fail on certain tests when the tokens are created too closely together, less than a second apart | 00:51 |
ayoung | you are only changing it for one test | 00:51 |
ayoung | but it will fail on mysql randomly | 00:52 |
jamielennox | you're not doing 2 timestamps though, you're saving the token once, getting the data back about what was saved, doing the get and making sure what was saved is the same | 00:52 |
jamielennox | i can't see how you could have that time change in any way | 00:52 |
ayoung | and, if we changed everything to truncat, sqlite will start failing | 00:52 |
ayoung | jamielennox, nah, what you did is dealing with a symptom | 00:52 |
ayoung | other tests will fail, I suspect | 00:52 |
jamielennox | ok, so other tests | 00:53 |
ayoung | not all the time, but randomly, which makes gating hard | 00:53 |
ayoung | yeah | 00:53 |
jamielennox | i haven't run the full suite against mysql for a while | 00:53 |
jamielennox | takes to bloody long | 00:53 |
ayoung | aye | 00:53 |
ayoung | bknudson, mielennox, so if you don;t make that change, does the mysql test fail consistantly, or just periodically? | 00:54 |
FatDarrel | just trying to make an openstack vm that I can move around and have it installed so that people can use it locally | 00:55 |
FatDarrel | ok off to class talk to you guys later | 00:55 |
bknudson | ayoung: It's failed every time I run it. Maybe it would work once every million times when the microsecond is 0? I didn't try it. | 00:55 |
ayoung | bknudson, ok, we'll commit with that fix. Is that the only one that fails? | 00:56 |
bknudson | ayoung: yes, that was the only one. | 00:56 |
jamielennox | yea, it's going to fail every time | 00:56 |
jamielennox | and that seems to be the only one | 00:57 |
ayoung | bknudson, OK, I think we might take a new approach in the future. I'll talk with dolphm about it, but if mysql doesn't persist the microseconds, then we shouldn't count on them. We can change our appaorach to say "no more than one token per second" which is, if you think about it, too small a value anyway. We shoud rate limit it further.... | 00:57 |
jamielennox | do you know which tests will fail with mysql and the expiry time? I've got the token tests running against mysql in a loop and nothing yet | 00:58 |
bknudson | one token per user per second? | 00:58 |
ayoung | bknudson, yeah | 00:58 |
ayoung | I think we can just let that fail. | 00:58 |
bknudson | ayoung: maybe a separate column for microseconds. | 00:58 |
ayoung | bknudson, nah, we should just rate limit. It should be a multiple of seconds at a minimum | 00:59 |
*** sean_s has joined #openstack-dev | 00:59 | |
ayoung | bknudson, there were other requests for rate limiting, to fend of DOS type attacks anyway | 00:59 |
bknudson | ayoung: clients seem to request a lot of tokens for some reason. they don't reuse them and then complain that keystone is slow. | 01:00 |
ayoung | bknudson, yeahp | 01:01 |
bknudson | unfortunately, they complain to me. It's hard to tell them to stop doing it that way. | 01:01 |
bknudson | ayoung: how many tokens would you expect are needed in a running system? | 01:02 |
ayoung | jamielennox, https://bugs.launchpad.net/keystone/+bug/1178041 include a commit line Bug 1178041 | 01:02 |
uvirtbot | Launchpad bug 1178041 in keystone "unit tests fail on mysql due to timestamp dropping microseconds" [Undecided,New] https://launchpad.net/bugs/1178041 | 01:02 |
uvirtbot | Launchpad bug 1178041 in keystone "unit tests fail on mysql due to timestamp dropping microseconds" [Undecided,New] | 01:02 |
*** FatDarrel has quit IRC | 01:03 | |
*** maoy has quit IRC | 01:04 | |
*** reed has quit IRC | 01:05 | |
ayoung | bknudson, if someone is making more than one identical token per second, they are attacking | 01:05 |
ayoung | jamielennox, I cannot tell you how happy this change makes me, though. | 01:05 |
lifeless | ayoung: really ? | 01:05 |
jamielennox | ayoung: done, but you'd never encounter that bug without the fixes that this change brings anyway | 01:06 |
ayoung | lifeless, really. Happy as a little schoolgirl on Shprockets! | 01:06 |
lifeless | ayoung: what makes a token identical, out of interest ? | 01:06 |
lifeless | ayoung: [the really was to attacking at 1/sec] | 01:06 |
ayoung | lifeless, time, project, user | 01:06 |
lifeless | ayoung: so identical per second is (project, user) pairs ? | 01:06 |
ayoung | lifeless, yeah | 01:06 |
ayoung | lifeless, it generates a JSON document that then gets hashed | 01:06 |
lifeless | ok | 01:06 |
ayoung | we didn't want to have to salt it | 01:07 |
lifeless | so the reason I jumped in | 01:07 |
ayoung | what is it with the self deprecating screen nicks tonight anyway? | 01:07 |
lifeless | is because bringing up large clusters will create thousands of unique credentials, and I worried that delegated tokens might trigger your attack heuristic | 01:07 |
lifeless | ayoung: well, I got this when I was a teen ager, uhm 1993 | 01:07 |
lifeless | ayoung: so its not so much self deprecating as burnt-in | 01:08 |
ayoung | lifeless, if it makes you feel better, I haven't been a teenager since Bush Sr was president | 01:08 |
lifeless | ayoung: I have no idea when that was :) | 01:09 |
ayoung | you weren;t known as lifeless.... | 01:09 |
lifeless | :) | 01:09 |
*** yidclare has quit IRC | 01:09 | |
lifeless | ayoung: ok. so - why not salt? | 01:09 |
ayoung | lifeless, so, I think it is better to let token creation fail. > 1 / second for the same user, for the same project is suspect | 01:10 |
ayoung | and salting has its own problems, not guaranteed to work distributed. | 01:10 |
ayoung | lifeless, ideally, you would run multiple keystone servers, just all talking to the same database. Salting then is not going to really get you uniqueness | 01:11 |
lifeless | ayoung: so if we're bringing up a 5000 node cluste, we have to manually ratelimit the tokens we hand out to nodes? | 01:11 |
*** maoy has joined #openstack-dev | 01:11 | |
lifeless | or create separate users rather than delegating access ? | 01:11 |
lifeless | or do I have the wrong end of the stick entirely? | 01:12 |
ayoung | lifeless, probably not. I mean, it has to be identical token requests to make this a problem. | 01:12 |
ayoung | nodes tend to use admin/static tokens, not uid/password pairs | 01:12 |
*** maoy has quit IRC | 01:12 | |
ayoung | lifeless, it is worth thinkin about. | 01:12 |
*** zb has joined #openstack-dev | 01:13 | |
lifeless | ayoung: so we're bringing up nodes with heat; we're going to be making tokens dynamically | 01:13 |
ayoung | lifeless, postgres | 01:13 |
lifeless | ayoung: because having multiple machines running the same tokens makes dealing with compromise harder | 01:13 |
*** alop has quit IRC | 01:13 | |
ayoung | lifeless, well, I tend to agree with you; the microsecond thing was the way we were dealing with it until now. | 01:14 |
lifeless | ayoung: microsecond I'd be less concerned about, its hard for even a distributed system to reliably collide at microsecond scale | 01:14 |
lifeless | and a busy loop with random backoff for a few seconds on any particular request can cope well. | 01:15 |
bknudson | ayoung: would we get a conflict in the DB? Maybe it's not a unique constraint. | 01:15 |
lifeless | ayoung: I'm curious about the issues with salts; is it that another keystone can't verify a just-handed-out-salt ? or that you might collide the salt with another machine? | 01:16 |
*** zaneb has quit IRC | 01:16 | |
*** bknudson has quit IRC | 01:16 | |
ayoung | I like " busy loop with random backoff " maybe built in to keystone itself | 01:18 |
ayoung | lifeless, I think we'll still have collisions with salts, unless we do a draconian sync across machines, and I think that is not called for. | 01:19 |
lifeless | ayoung: how many bit salts were you thinking of? Something like snowflake is collision immune | 01:20 |
ayoung | lifeless, feel free to provide input on the bug I filed above | 01:20 |
ayoung | https://bugs.launchpad.net/keystone/+bug/1178041 | 01:20 |
uvirtbot | Launchpad bug 1178041 in keystone "unit tests fail on mysql due to timestamp dropping microseconds" [Undecided,New] | 01:20 |
*** jjmb has joined #openstack-dev | 01:23 | |
*** terry7 has quit IRC | 01:28 | |
jamielennox | ayoung: is there a need to have id in the data when you are doing a token create with (id, data)? | 01:28 |
ayoung | jamielennox, only if you want to be able to find it again. | 01:29 |
jamielennox | shouldn't it just come from the id | 01:29 |
*** jaypipes has quit IRC | 01:29 | |
ayoung | jamielennox, id is the hash of the token. One of the ways we allow token validation, even for pki tokens, is to fall back to querying based on the hash | 01:29 |
ayoung | we could embed the Id inside of it, but then they would need to still do the popen to read the data, | 01:30 |
jamielennox | so current review, looking at https://review.openstack.org/#/c/27878/7/keystone/token/backends/kvs.py | 01:30 |
*** comay has quit IRC | 01:30 | |
jamielennox | i have to do that as the id that is provided is not necessarily the same as what will be saved to the DB | 01:31 |
jamielennox | the unique_id thing | 01:31 |
*** acfleury has quit IRC | 01:32 | |
jamielennox | bknudson had a comment https://review.openstack.org/#/c/27878/5/tests/test_backend.py | 01:32 |
*** jhesketh__ has quit IRC | 01:32 | |
jamielennox | about me changing the nature of the test, he's right i hadn't understood how the extra worked | 01:33 |
*** jhesketh__ has joined #openstack-dev | 01:33 | |
*** ladquin has joined #openstack-dev | 01:33 | |
jamielennox | same file L1983, if i simply remove id from data won't it simply use the token_id being passed? this pattern is repeated all over the place, and i'm not sure why the replication | 01:35 |
lifeless | ayoung: are you familiar with snowflakes design ? | 01:35 |
lifeless | ayoung: it's a distributed unique number generator [guessable but unique] | 01:35 |
ayoung | jamielennox, yes, the logic should be pushed up to the manager...we weren;t really pushing that pattern in the past, so the replication was done in the individual backends. Needs to be refactored | 01:36 |
*** torandu has quit IRC | 01:37 | |
ayoung | lifeless, until now we had no need for it. We could implement something comparable if required. But we weren't doing anything that broke just distributing keystone (at least, not knowingly) | 01:37 |
lifeless | ayoung: commented on the bug for you | 01:37 |
ayoung | lifeless, thanks | 01:37 |
*** torandu has joined #openstack-dev | 01:38 | |
*** ladquin is now known as ladquin_away | 01:39 | |
ayoung | jamielennox, we might not want to use that bug number in the fix, or we might have to split it, if we need to maintain a finer granularity. I suspect, though, that we should be OK with 1 second... | 01:39 |
ayoung | jamielennox, once you get the sql one done, you'll need to rebase https://review.openstack.org/#/c/28387/ | 01:42 |
ayoung | there is a button for it right there on gerrit, but only the submitter has it. | 01:42 |
ayoung | so I can;'t push the button for you. | 01:42 |
ayoung | note that the "depends on" shows it to be outdated. | 01:42 |
jamielennox | ok, i was considering abandoning that and breaking it down | 01:44 |
jamielennox | at the moment no one seems game to even comment on it | 01:44 |
jamielennox | which is understandable, it's too big to follow | 01:44 |
jamielennox | ayoung: drop the bug id then? | 01:45 |
*** erkules has quit IRC | 01:45 | |
*** portante|ltp has joined #openstack-dev | 01:45 | |
ayoung | yeah, I think so/. bug id is going to be used for the real fix | 01:45 |
*** rykario has joined #openstack-dev | 01:45 | |
ayoung | jamielennox, I think you need to break down the big commit....it is too hard to follow, and it doesn't really seem to buy much. | 01:46 |
ayoung | Not a bad exercise, though, you probably understand Keystone better than most now for having done that. And maybe we'll use that as a target for how things should look in the future | 01:47 |
ayoung | I was going to bring it up at tuesdays meeting, but tuesday got bogged down in LDAP domain issues | 01:47 |
ayoung | jamielennox, checking out for the night | 01:47 |
jamielennox | yea, the problem is that particularly the rearrange stuff might be hard to push through if it doesn't bring anything | 01:47 |
jamielennox | ayoung: quick questoin on presenting it | 01:48 |
ayoung | go for it | 01:48 |
jamielennox | if i go about a big rearrange in tests what sort of size should i be looking for with the patches | 01:48 |
jamielennox | 1 big rearrange patch | 01:48 |
jamielennox | or like extract backend tests | 01:48 |
jamielennox | extract legacy tests | 01:48 |
jamielennox | extract v2 tests | 01:48 |
lifeless | jamielennox: anything over ~300 lines is really quite hard for reviewers. | 01:48 |
ayoung | well, smaller is always easier to review, but maybe write up a blueprint of the overall end state | 01:49 |
lifeless | its a nonlinear function and some reviewers have a different threshold | 01:49 |
ayoung | explain what and why, and then people have context prior to looking at the review | 01:49 |
jamielennox | it's more that it will be quite a large depends on stack and a lot of moving things without real addition | 01:50 |
jamielennox | those seem to be difficult to pass | 01:50 |
jamielennox | eg termie's no on tests -> keystone.tests | 01:50 |
jamielennox | but the bp makes sense, provides a way to tie all the patches together | 01:51 |
*** soody has joined #openstack-dev | 01:51 | |
ayoung | jamielennox, yeah, and it will let people put in some input as well...write it up, and present the case for both the reorg and the extraction of eventlet/replace with webtest | 01:51 |
* ayoung now has to figure out what broke with the migrations on the credentials patch | 01:52 | |
jamielennox | i'm good to keep those 2 concepts seperate, the rearrange should happen first but it's useful event if the eventlet thing doesn't happen | 01:52 |
jamielennox | anyway, will do, talk to you later | 01:53 |
ayoung | sounds good. jamielennox btw, I think I want to hand off the "tie token to X509/ Kerberos" to you after you iron out these issues. I think I have enough other stuff on my plate that I can't commit to getting that done, but I think it is strategic | 01:54 |
ayoung | we can discuss in detail later, I just wanted to give you an early warning | 01:54 |
jamielennox | yea, that's fine i was thinking i'd probably be doing at least the X509 part of that | 01:55 |
ayoung | jamielennox, glad to hear it. | 01:55 |
ayoung | jamielennox, btw, one of my proudest hacks is ./run_tests.sh -8 | 01:56 |
ayoung | jamielennox, it is the short form of the pep8 check, one entry per line | 01:56 |
ayoung | a nice to have hack for big patches | 01:56 |
jamielennox | which is not listed in the --help | 01:56 |
ayoung | thought I had added it, guess not. | 01:57 |
ayoung | I'll add it. | 01:57 |
jamielennox | vim tells me if there are pep8 problems, unfortunately in some places there are so many like unused import and unused variable that they get lost | 01:58 |
*** Mandell has quit IRC | 01:58 | |
ayoung | jamielennox I wonder if we can add that check optionally to our pep8 | 01:58 |
*** freedomhui has joined #openstack-dev | 01:59 | |
ayoung | jamielennox, I wonder if something in my patch broke under 2.6 | 02:00 |
ayoung | http://logs.openstack.org/28372/3/check/gate-keystone-python26-centos6/88/console.html.gz | 02:00 |
jamielennox | i might have a look what the difference between my version / run_test is and see. I've got a little script i use for doing database tests that i use instead of run_test | 02:00 |
*** sthaha has joined #openstack-dev | 02:00 | |
ayoung | really starting to wish that devstack used puppet instead of doing it all by hand. It would be so much more maintainable | 02:02 |
jamielennox | that's the centos gate, i don't think that passes in general | 02:03 |
*** jasondotstar has joined #openstack-dev | 02:03 | |
clarkb | however it should be made to pass | 02:03 |
clarkb | because oneiric will hopefully go away tomorrow. I thought fungi said all master branches for the core proejcts were passing on centos | 02:03 |
clarkb | fungi: ^ | 02:03 |
clarkb | (oneiric is eol tomorrow so we don't want to keep those slaves around) | 02:04 |
*** gongysh has joined #openstack-dev | 02:04 | |
*** bing_bu has joined #openstack-dev | 02:04 | |
fungi | mmm | 02:04 |
fungi | they... were | 02:05 |
ayoung | jamielennox i think it is my patch. It was passing before. | 02:05 |
fungi | did keystone break there again? | 02:05 |
fungi | ahh | 02:05 |
*** danwent has quit IRC | 02:05 | |
ayoung | jamielennox, on https://review.openstack.org/#/c/27878/6..8/tests/test_backend.py why areyou pooping user_id | 02:05 |
ayoung | popping | 02:05 |
*** erkules has joined #openstack-dev | 02:05 | |
fungi | ayoung: yeah, as of tomorrow it'll start breaking again. ubuntu is abandoning oneiric as of tomorrow, and with it python 2.6. centos is our way out | 02:05 |
*** rykario has quit IRC | 02:06 | |
jamielennox | https://review.openstack.org/#/c/27878/5..8/tests/test_backend.py | 02:06 |
jamielennox | ayoung: wasn't me | 02:06 |
jamielennox | damn it, this one: https://review.openstack.org/#/c/27878/3..8/tests/test_backend.py | 02:07 |
*** hartsocks has left #openstack-dev | 02:08 | |
jamielennox | point is if you look at the full diff the pop user_id was there before me | 02:08 |
jamielennox | I'm not sure why it's done, but it was working so i left it | 02:09 |
ayoung | jamielennox, good enough | 02:09 |
ayoung | jamielennox, I tend to just look at the diff between two patches if they come in close together. Doesn't always work | 02:09 |
jamielennox | i seemed to have a bit of a day of it yesterday that everything i put up for review had an issue i found after | 02:10 |
ayoung | fungi, so the breakage I saw on my test was due to centos, not my patch> | 02:10 |
ayoung | ? | 02:10 |
jamielennox | that patch is up to 8 and it's only had 1 other person comment on it | 02:10 |
ayoung | jamielennox, never fear. we'll get others to beat on it tomorrow | 02:10 |
*** beagles has quit IRC | 02:11 | |
fungi | i'll take a look but i think dprince had gotten enough fixes into keystone master that unit tests were working for it on centos last week | 02:11 |
*** aeperezt has joined #openstack-dev | 02:11 | |
ayoung | jamielennox, I think this one is the record https://review.openstack.org/#/c/20289/ | 02:12 |
fungi | this is the danger with non-voting gate jobs, but we unfortunately have to start somewhere. tough to stay on top of without per-test latching | 02:12 |
ayoung | fungi, I'm sure the red hatters in the audience will stay on top of it | 02:12 |
jamielennox | ayoung: lol, that's a lot. Substantially bigger change but | 02:13 |
ayoung | fungi, we kindof have a vested interest in it | 02:13 |
*** sean_s has quit IRC | 02:13 | |
ayoung | jamielennox, and there was a follow on patch that had all of the tests for it, with almost as many reviews | 02:13 |
*** anniec has quit IRC | 02:14 | |
*** freedomhui has quit IRC | 02:14 | |
fungi | erg, yeah gate-keystone-python26-centos6 has been failing on master all day at least, so it broke again at some point | 02:15 |
jamielennox | ayoung: thanks :) https://bugs.launchpad.net/bugs/1177777 | 02:16 |
uvirtbot | Launchpad bug 1177777 in keystone "Only MII tokens get properly hashed" [Undecided,New] | 02:16 |
fungi | trying to keep them all working across a couple dozen projects when people are allowed to merge changes that break them is not exactly easy, and i don't relish that we'll instabreak all projects which get themselves into that state when we have to cut over to testing on that platform tomorrow | 02:16 |
ayoung | fungi, Do you need some help getting the Centos thing hunted down? | 02:19 |
*** nunosantos has quit IRC | 02:20 | |
jamielennox | ayoung: regarding guang-yee's comments on the token flush patch, do you think we worry about the grace_period thing for now or just do the docs and resubmit | 02:20 |
fungi | ayoung: possibly. i'm trying to find where it was last succeeding on master | 02:20 |
ayoung | jamielennox, grace period is a follow on feature request | 02:21 |
fungi | in hopes of narrowing down which change broke it | 02:21 |
ayoung | fungi, do we have a good error message for what was failing? | 02:21 |
ayoung | I don;t see it in the logs...still looking | 02:21 |
fungi | i can get one... just a sec | 02:21 |
*** rcleere has joined #openstack-dev | 02:21 | |
ayoung | AuthorizationFailure: Authorization Failed: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP Unable to establish connection to http://localhost:39... isn't a lot to go on | 02:22 |
clarkb | fungi: use the logstash luke | 02:22 |
fungi | eep, looking at http://logs.openstack.org/28387/4/check/gate-keystone-python26-centos6/78/console.html.gz for example there's a whole slew of failures (that same patchset succeeded py26 unit tests on ubuntu oneiric). i could have sworn keystone master was working on centos/rhel last week, but maybe i was mistaken | 02:24 |
*** bmclaughlin has quit IRC | 02:26 | |
*** gyee has quit IRC | 02:26 | |
*** rowleyaj has joined #openstack-dev | 02:27 | |
ayoung | fungi, they are all from the same root source | 02:27 |
ayoung | Keystone not starting | 02:27 |
ayoung | guessing we are doing something python2.7 ish | 02:27 |
ayoung | but the stack trace showing what failed is missing | 02:27 |
ayoung | fungi, clarkb need the keystone log from a devstack startup | 02:28 |
*** freedomhui has joined #openstack-dev | 02:28 | |
*** sthaha has quit IRC | 02:28 | |
clarkb | ayoung: its there | 02:28 |
ayoung | link? | 02:28 |
clarkb | ayoung: can you link to a failure of some sort? | 02:28 |
fungi | ayoung: devstack startup? the centos failures are on unit tests instead | 02:28 |
ayoung | fungi, yeah, but the keystone server side is what is failing, and we are not getting that in the log | 02:29 |
ayoung | it is the client calling into the server that fails there | 02:29 |
clarkb | but devstack is not involved in unittests | 02:29 |
ayoung | clarkb, see the other test failures, though, and there should be devstack/keystone issues | 02:29 |
ayoung | for example... | 02:29 |
clarkb | ayoung: link please... | 02:29 |
*** markmcclain has joined #openstack-dev | 02:29 | |
ayoung | http://logs.openstack.org/28372/3/check/gate-tempest-devstack-vm-full/15119/ | 02:29 |
ayoung | that was from my patch, and I assumed it was something I did, (i'm changing a migration) but I can't find the keystone log | 02:30 |
clarkb | ayoung: http://logs.openstack.org/28372/3/check/gate-tempest-devstack-vm-full/15119/logs/screen-key.txt.gz | 02:30 |
ayoung | clarkb, thanks | 02:30 |
ayoung | (root): 2013-05-08 21:43:48,962 CRITICAL logging wrapper Unregistered dependency: credentials_api | 02:30 |
ayoung | yeah, that is me | 02:30 |
ayoung | should be specific to my patch, then, and not your root problem | 02:31 |
ayoung | clarkb, OK, lets look at one that failed the gate on centos not due to my changes.... | 02:31 |
ayoung | do you have one? | 02:31 |
clarkb | ayoung: fwiw the logs/ dir on those tempest results pages have all kinds of logs captured for you in them | 02:31 |
ayoung | clarkb, I knew that, just couldn't find them under duress. | 02:32 |
* ayoung can't hack the pressure | 02:32 | |
*** freedomhui has left #openstack-dev | 02:32 | |
clarkb | ayoung: 27878, 28372, 28197, 27364 all fail the centos unittests | 02:33 |
ayoung | clarkb, OK, keystone seems to be serving on http://logs.openstack.org/27364/11/check/gate-tempest-devstack-vm-full/15123/logs/screen-key.txt.gz | 02:34 |
ayoung | lets see... | 02:34 |
ayoung | http://logs.openstack.org/27364/11/check/gate-keystone-python26-centos6/89/console.html.gz OK that shows the failure | 02:35 |
ayoung | clarkb, not enough eggs to make an omlette | 02:36 |
ayoung | I'll need a centos/rhel box to debug | 02:36 |
ayoung | let me see if I have one | 02:37 |
ayoung | clarkb, OK, I have a rhel 6.4 VM firing up. I'll try to run the unit tests on there in a few | 02:38 |
clarkb | awesome, thanks | 02:38 |
*** yaguang has joined #openstack-dev | 02:39 | |
*** markmcclain has quit IRC | 02:39 | |
clarkb | ayoung: you might just try running the tests with keystone master and not on any particular change | 02:41 |
*** freedomhui has joined #openstack-dev | 02:43 | |
fungi | yeah, i get the impression master should be exhibiting the same failures (though i haven't disengaged one of our centos 6.3 jenkins slaves to confirm that for certain) | 02:43 |
*** sthaha has joined #openstack-dev | 02:47 | |
ayoung | clarkb, just dealing with getting a yum setup, will do a git checkout in a moment | 02:47 |
*** cmark_ has joined #openstack-dev | 02:48 | |
*** noslzzp has quit IRC | 02:50 | |
*** cmark has quit IRC | 02:51 | |
*** torandu has quit IRC | 02:52 | |
*** torandu has joined #openstack-dev | 02:52 | |
*** noslzzp has joined #openstack-dev | 02:52 | |
*** koolhead17 has joined #openstack-dev | 02:54 | |
*** soody has quit IRC | 02:56 | |
*** ctracey has quit IRC | 02:56 | |
*** winston-d has joined #openstack-dev | 02:59 | |
*** ctracey has joined #openstack-dev | 03:01 | |
*** SergeyLukjanov has joined #openstack-dev | 03:01 | |
*** novas0x2a|laptop has quit IRC | 03:04 | |
*** ashwini has quit IRC | 03:04 | |
*** winston-d has quit IRC | 03:06 | |
ayoung | clarkb, fungi I have to crash for tonight. Give me a shout if things are still borked up tomorrow and I'll keep looking | 03:06 |
fungi | ayoung: okay, thanks for taking a look | 03:07 |
ayoung | fungi, my keystone is failing running the tests with ImportError: No module named argparse | 03:08 |
ayoung | when building the venv, so It must be something pretty basic. | 03:08 |
*** reed has joined #openstack-dev | 03:08 | |
clarkb | ayoung: are you using tox? | 03:08 |
clarkb | tox is what jenkins would use. `tox -epy26` | 03:08 |
fungi | mmm, yeah that implies that we're missing a requires entry for argparse (not part of stdlib until 2.7) | 03:09 |
*** soody has joined #openstack-dev | 03:10 | |
*** mikal has quit IRC | 03:10 | |
*** pleia2 has quit IRC | 03:11 | |
ayoung | fungi, nah, just that my vm is limited and I am pointing at the wrong yum repo | 03:11 |
*** mikal has joined #openstack-dev | 03:11 | |
*** uvirtbot has quit IRC | 03:11 | |
*** ianw has quit IRC | 03:11 | |
*** pleia2 has joined #openstack-dev | 03:11 | |
clarkb | the install venv script wouldn't affect jenkins (that is where argparse is imported) | 03:11 |
clarkb | I would use tox | 03:11 |
fungi | oh, well as clarkb suggests if you use tox it should install all listed requirements into a venv for you automagically, yes | 03:12 |
ayoung | clarkb, I user ./run_test.sh which builds the venv, but that needs argparse to even work right. My vm needs something else | 03:12 |
matiu | does anyone know if keystone has a 'reauthenticate' sort of thing, where I give it an expired token, and it renews it for me (but without me having the password) | 03:12 |
ayoung | matiu, it most certainly does not | 03:12 |
matiu | yeah, so if I have an expired token on the server, I'm can't continue to process the request ? | 03:13 |
ayoung | matiu, correct | 03:13 |
matiu | I'm having trouble where the request comes in, we start a nova build | 03:13 |
matiu | then when glance gets its turn the token is e | 03:13 |
matiu | expired .. | 03:14 |
ayoung | matiu, how long are your tokens good for, and how long does the build take? | 03:14 |
matiu | as it was like 24 hours after creation | 03:14 |
matiu | build can take 15 mins | 03:14 |
matiu | I'm thinking to add an option in the keystoneclient middleware | 03:14 |
*** ianw has joined #openstack-dev | 03:14 | |
ayoung | matiu, nothing will help you there | 03:14 |
matiu | so that if the token is 15 minutes from expiry, it'll just wipe it out | 03:14 |
*** freedomhui has left #openstack-dev | 03:15 | |
ayoung | you can;t get a new token with a longer lifespan than the origianal token | 03:15 |
ayoung | unless you have password | 03:15 |
matiu | it already has code in there, for wiping out tokens that are 30 seconds from expiry | 03:15 |
matiu | yeah, so my plan is to fail the request at the start | 03:15 |
ayoung | OK, so sounds like you have what you need | 03:15 |
matiu | and force the client to re-auth | 03:15 |
ayoung | matiu, is this grizzly? | 03:15 |
matiu | thanks for the sanity check ayoung | 03:15 |
matiu | it's trunk | 03:15 |
*** adjohn_ has quit IRC | 03:15 | |
ayoung | matiu, use a trust instead | 03:15 |
ayoung | if you can | 03:16 |
matiu | it's like from last November | 03:16 |
matiu | what's trust ? | 03:16 |
ayoung | its a constrained delegation | 03:16 |
matiu | do you have any links for that ? | 03:16 |
ayoung | instead of using the origianl token, you create a trust and use that to fetch a new one. | 03:16 |
ayoung | yeah...one sec | 03:16 |
matiu | thanks so much ayoung | 03:17 |
ayoung | matiu, https://github.com/openstack/identity-api/blob/master/openstack-identity-api/src/markdown/identity-api-v3-os-trust-ext.md | 03:17 |
matiu | ah, so that's not released yet eh ? | 03:17 |
ayoung | this is what that feature was built for, matiu but it has not been consumed much yet, so you might be breaking new ground | 03:17 |
ayoung | its in grizzly, so it is released | 03:17 |
*** rowleyaj has left #openstack-dev | 03:17 | |
matiu | ah sweet | 03:17 |
ayoung | you are welcome. It ate up a good two months of my life | 03:18 |
matiu | Thanks ayoung . You're awesome | 03:18 |
ayoung | no, barely above average | 03:18 |
ayoung | matiu, I am going to be signing off here. fire me an email if you need more info. ayoung@redhat.com | 03:19 |
matiu | have a great night ayoung | 03:19 |
*** CaptTofu has quit IRC | 03:21 | |
*** ijw has quit IRC | 03:25 | |
*** ayoung has quit IRC | 03:29 | |
*** stevemar has joined #openstack-dev | 03:31 | |
*** soody has quit IRC | 03:32 | |
*** anniec has joined #openstack-dev | 03:33 | |
openstackgerrit | A change was merged to openstack/keystone: Replace password to "***" in the debug message https://review.openstack.org/26487 | 03:36 |
*** uvirtbot has joined #openstack-dev | 03:36 | |
*** soody has joined #openstack-dev | 03:36 | |
*** anniec_ has joined #openstack-dev | 03:39 | |
*** anniec has quit IRC | 03:40 | |
*** anniec_ is now known as anniec | 03:40 | |
*** Mandell has joined #openstack-dev | 03:46 | |
*** soody has quit IRC | 03:52 | |
*** melwitt has quit IRC | 03:52 | |
*** danwent has joined #openstack-dev | 03:54 | |
*** soody has joined #openstack-dev | 03:54 | |
*** jergerber has quit IRC | 03:54 | |
*** soody has quit IRC | 04:04 | |
*** soody has joined #openstack-dev | 04:05 | |
*** jimfehlig has quit IRC | 04:05 | |
*** SergeyLukjanov has quit IRC | 04:07 | |
*** jasondotstar has quit IRC | 04:10 | |
*** winston-d has joined #openstack-dev | 04:13 | |
*** abhishekkr has quit IRC | 04:14 | |
*** anniec has quit IRC | 04:18 | |
*** bdpayne has joined #openstack-dev | 04:21 | |
*** soody has quit IRC | 04:24 | |
*** rcleere has quit IRC | 04:26 | |
*** nati_ueno has joined #openstack-dev | 04:31 | |
*** soody has joined #openstack-dev | 04:32 | |
*** koolhead17 has quit IRC | 04:33 | |
*** swaT30 has quit IRC | 04:34 | |
*** aeperezt has quit IRC | 04:41 | |
*** stevemar has quit IRC | 04:44 | |
*** abhishekkr has joined #openstack-dev | 04:44 | |
*** koolhead17 has joined #openstack-dev | 04:46 | |
*** mynamiesdeleted is now known as mynameisdeleted2 | 04:51 | |
*** glikson has joined #openstack-dev | 04:52 | |
*** ijw has joined #openstack-dev | 04:55 | |
*** topol has joined #openstack-dev | 04:55 | |
*** sandywalsh has quit IRC | 04:58 | |
*** zaitcev has quit IRC | 04:59 | |
*** prekarat has joined #openstack-dev | 05:04 | |
*** bdpayne has quit IRC | 05:07 | |
*** sacharya has quit IRC | 05:11 | |
*** bdpayne has joined #openstack-dev | 05:12 | |
*** soody has quit IRC | 05:14 | |
*** nati_ueno has quit IRC | 05:17 | |
*** Gman2 has joined #openstack-dev | 05:20 | |
*** lloydde has joined #openstack-dev | 05:20 | |
*** freedomhui has joined #openstack-dev | 05:24 | |
*** abhishekkr_ has joined #openstack-dev | 05:27 | |
*** abhishekkr has quit IRC | 05:30 | |
*** crandquist has joined #openstack-dev | 05:31 | |
openstackgerrit | A change was merged to openstack/cinder: Copy the RHEL6 eventlet workaround from Oslo https://review.openstack.org/28022 | 05:34 |
*** Zah_ has quit IRC | 05:35 | |
*** vipul is now known as vipul|away | 05:35 | |
*** Mandell has quit IRC | 05:35 | |
*** sandywalsh has joined #openstack-dev | 05:36 | |
*** LiLin has joined #openstack-dev | 05:36 | |
*** LiLin has left #openstack-dev | 05:36 | |
*** freedomhui has quit IRC | 05:38 | |
*** Aarti has joined #openstack-dev | 05:38 | |
*** navid_ has joined #openstack-dev | 05:38 | |
*** freedomhui has joined #openstack-dev | 05:40 | |
*** vipul|away is now known as vipul | 05:41 | |
*** freedomhui has quit IRC | 05:41 | |
*** freedomhui has joined #openstack-dev | 05:42 | |
*** vartom11110 has joined #openstack-dev | 05:43 | |
*** ijw has quit IRC | 05:44 | |
*** dguitarbite has joined #openstack-dev | 05:52 | |
*** vartom11110 has quit IRC | 05:52 | |
*** souvik has joined #openstack-dev | 05:56 | |
*** brunnhilde has quit IRC | 05:57 | |
*** yaguang is now known as yaguang_afk | 05:57 | |
*** Zah_ has joined #openstack-dev | 05:58 | |
*** prekarat has quit IRC | 06:07 | |
*** garyk has joined #openstack-dev | 06:09 | |
*** jhesketh__ has quit IRC | 06:19 | |
*** adjohn has joined #openstack-dev | 06:20 | |
*** prekarat has joined #openstack-dev | 06:20 | |
*** jprovazn has joined #openstack-dev | 06:21 | |
*** juice_otg has joined #openstack-dev | 06:23 | |
*** adjohn has quit IRC | 06:23 | |
*** juice_ot_ has joined #openstack-dev | 06:24 | |
*** danwent has quit IRC | 06:26 | |
*** freedomhui has joined #openstack-dev | 06:27 | |
*** juice_otg has quit IRC | 06:28 | |
*** kenperkins has quit IRC | 06:29 | |
*** topol has quit IRC | 06:32 | |
*** cmark_ has quit IRC | 06:33 | |
*** cmark has joined #openstack-dev | 06:33 | |
*** koolhead17 has quit IRC | 06:36 | |
*** giroro_ has joined #openstack-dev | 06:36 | |
*** juice_ot_ has quit IRC | 06:37 | |
*** Ruetobas has quit IRC | 06:39 | |
*** maploin has joined #openstack-dev | 06:41 | |
*** maploin has quit IRC | 06:41 | |
*** maploin has joined #openstack-dev | 06:41 | |
*** michchap has quit IRC | 06:43 | |
*** michchap has joined #openstack-dev | 06:43 | |
*** yuanz has joined #openstack-dev | 06:45 | |
*** vipul is now known as vipul|away | 06:48 | |
*** vipul|away is now known as vipul | 06:48 | |
*** koolhead17 has joined #openstack-dev | 06:48 | |
*** mkollaro has joined #openstack-dev | 06:48 | |
*** mkollaro has quit IRC | 06:48 | |
*** nati_ueno has joined #openstack-dev | 06:49 | |
*** glikson has quit IRC | 06:51 | |
*** dguitarbite has quit IRC | 06:53 | |
*** jcoufal has joined #openstack-dev | 06:54 | |
*** jclift has joined #openstack-dev | 06:55 | |
*** reidrac has joined #openstack-dev | 06:56 | |
*** PooBee has joined #openstack-dev | 06:56 | |
*** jtomasek has joined #openstack-dev | 06:56 | |
*** PooBee has left #openstack-dev | 06:57 | |
*** yongli has joined #openstack-dev | 06:58 | |
*** bdpayne has quit IRC | 06:59 | |
*** mindpixel has joined #openstack-dev | 06:59 | |
*** lloydde has quit IRC | 07:01 | |
*** sarob has quit IRC | 07:04 | |
*** dguitarbite has joined #openstack-dev | 07:04 | |
*** sarob has joined #openstack-dev | 07:04 | |
*** freedomhui has quit IRC | 07:06 | |
*** bing_bu has quit IRC | 07:06 | |
*** afazekas has joined #openstack-dev | 07:06 | |
*** utlemming has joined #openstack-dev | 07:07 | |
*** baba has quit IRC | 07:08 | |
*** megha has joined #openstack-dev | 07:08 | |
*** megha is now known as baba | 07:09 | |
*** giulivo has joined #openstack-dev | 07:13 | |
*** mmagr has joined #openstack-dev | 07:14 | |
*** glikson has joined #openstack-dev | 07:16 | |
*** eglynn has joined #openstack-dev | 07:17 | |
*** bing_bu has joined #openstack-dev | 07:18 | |
*** FnordDownUnder has quit IRC | 07:19 | |
*** shardy_afk is now known as shardy | 07:20 | |
*** m4xmr has joined #openstack-dev | 07:23 | |
*** m4xmr has left #openstack-dev | 07:24 | |
*** eglynn has quit IRC | 07:25 | |
*** johnthetubaguy has joined #openstack-dev | 07:28 | |
*** mkollaro has joined #openstack-dev | 07:29 | |
*** salv-orlando has joined #openstack-dev | 07:29 | |
*** juice_otg has joined #openstack-dev | 07:31 | |
*** lloydde has joined #openstack-dev | 07:31 | |
*** adjohn has joined #openstack-dev | 07:34 | |
*** aloga has joined #openstack-dev | 07:36 | |
*** ndipanov has joined #openstack-dev | 07:38 | |
*** adjohn has quit IRC | 07:38 | |
*** eglynn has joined #openstack-dev | 07:39 | |
*** lloydde has quit IRC | 07:41 | |
*** Mandell has joined #openstack-dev | 07:41 | |
*** souvik has quit IRC | 07:42 | |
*** prekarat1 has joined #openstack-dev | 07:43 | |
*** juice_otg has quit IRC | 07:44 | |
*** mkollaro has quit IRC | 07:47 | |
*** prekarat has quit IRC | 07:47 | |
*** utlemming has quit IRC | 07:50 | |
*** psedlak has joined #openstack-dev | 07:52 | |
*** boris-42 has joined #openstack-dev | 07:52 | |
*** jaume has joined #openstack-dev | 07:52 | |
*** jaume is now known as dev_sa | 07:53 | |
*** afazekas has quit IRC | 07:54 | |
*** michchap has quit IRC | 07:54 | |
*** afazekas has joined #openstack-dev | 07:54 | |
*** michchap has joined #openstack-dev | 07:54 | |
*** prekarat has joined #openstack-dev | 07:57 | |
*** prekarat1 has quit IRC | 07:58 | |
*** boris-42 has quit IRC | 08:01 | |
*** jpich has joined #openstack-dev | 08:02 | |
*** ndipanov has quit IRC | 08:03 | |
*** jcoufal has quit IRC | 08:05 | |
*** jcoufal has joined #openstack-dev | 08:06 | |
*** kpavel has joined #openstack-dev | 08:06 | |
*** bing_bu has quit IRC | 08:06 | |
*** afazekas has quit IRC | 08:10 | |
*** prekarat has quit IRC | 08:15 | |
*** freedomhui has joined #openstack-dev | 08:17 | |
*** athomas has joined #openstack-dev | 08:19 | |
*** ndipanov has joined #openstack-dev | 08:19 | |
*** mynameisdeleted2 has quit IRC | 08:21 | |
*** mynameisdeleted2 has joined #openstack-dev | 08:21 | |
*** prekarat has joined #openstack-dev | 08:22 | |
*** afazekas has joined #openstack-dev | 08:22 | |
*** lucasagomes has joined #openstack-dev | 08:22 | |
*** prekarat has quit IRC | 08:22 | |
*** prekarat has joined #openstack-dev | 08:22 | |
*** derekh has joined #openstack-dev | 08:26 | |
*** nati_ueno has quit IRC | 08:26 | |
*** nati_ueno has joined #openstack-dev | 08:27 | |
*** nati_ueno has quit IRC | 08:31 | |
*** lloydde has joined #openstack-dev | 08:32 | |
*** gnorth has quit IRC | 08:32 | |
*** bing_bu has joined #openstack-dev | 08:32 | |
*** alpha_ori has quit IRC | 08:32 | |
*** alpha_ori has joined #openstack-dev | 08:32 | |
*** tkammer has joined #openstack-dev | 08:35 | |
*** AnilV4 has quit IRC | 08:36 | |
*** lloydde has quit IRC | 08:36 | |
*** markmc has joined #openstack-dev | 08:39 | |
*** Mandell has quit IRC | 08:41 | |
*** AnilV4 has joined #openstack-dev | 08:41 | |
*** jruzicka has joined #openstack-dev | 08:46 | |
*** sarob has quit IRC | 08:49 | |
*** sarob has joined #openstack-dev | 08:49 | |
*** danpb has joined #openstack-dev | 08:51 | |
*** tkammer has quit IRC | 08:52 | |
*** roz has quit IRC | 08:54 | |
*** sarob has quit IRC | 08:54 | |
*** winston-d has quit IRC | 08:54 | |
openstackgerrit | A change was merged to openstack/quantum: Don't run metadata proxy when it is not needed https://review.openstack.org/26431 | 08:55 |
*** belmoreira has joined #openstack-dev | 08:57 | |
*** pixelbeat_ has joined #openstack-dev | 08:59 | |
*** afazekas has quit IRC | 09:01 | |
*** souvik has joined #openstack-dev | 09:05 | |
*** tkammer has joined #openstack-dev | 09:05 | |
*** prekarat has quit IRC | 09:07 | |
*** ndipanov has quit IRC | 09:08 | |
*** boris-42 has joined #openstack-dev | 09:12 | |
*** ndipanov has joined #openstack-dev | 09:22 | |
*** roz has joined #openstack-dev | 09:24 | |
*** bing_bu has quit IRC | 09:29 | |
*** lloydde has joined #openstack-dev | 09:33 | |
*** lloydde has quit IRC | 09:37 | |
roz | I submitted a change and jenkis jobs ran (more than 12 hours ago) but I can't see SmokeStack, do I need to take any actions? | 09:42 |
roz | and second question some jenkins jobs are reporting a FAILURE but they are non-voting jobs. What that means? | 09:43 |
*** jhesketh_ has joined #openstack-dev | 09:45 | |
johnthetubaguy | depends on the job I think, could be a pylint error | 09:46 |
johnthetubaguy | it should link to the error log | 09:46 |
roz | one of them are errors in tempest tests, I'd like to understand which errors are considered "safe" | 09:47 |
*** maploin has quit IRC | 09:49 | |
johnthetubaguy | I think it depends why it failed, have to read the logs really | 09:50 |
johnthetubaguy | but I think that tempest one is just not proving reliable yet, hence its optional | 09:50 |
johnthetubaguy | its probably fine | 09:50 |
johnthetubaguy | but there are experts on this, and that is not me! | 09:51 |
roz | ok thanks for your response. | 09:51 |
*** johnthetubaguy1 has joined #openstack-dev | 09:51 | |
*** prekarat has joined #openstack-dev | 09:52 | |
*** afazekas has joined #openstack-dev | 09:55 | |
*** johnthetubaguy has quit IRC | 09:55 | |
*** yaguang_afk has quit IRC | 10:07 | |
*** athomas has quit IRC | 10:08 | |
*** athomas has joined #openstack-dev | 10:11 | |
*** baba has quit IRC | 10:13 | |
*** mkollaro has joined #openstack-dev | 10:14 | |
*** koolhead17 has quit IRC | 10:16 | |
*** koolhead17 has joined #openstack-dev | 10:16 | |
*** alexpilotti has joined #openstack-dev | 10:20 | |
*** SergeyLukjanov has joined #openstack-dev | 10:21 | |
*** Aarti has quit IRC | 10:23 | |
*** johnthetubaguy1 is now known as johnthetubaguy | 10:26 | |
*** baba has joined #openstack-dev | 10:31 | |
*** lloydde has joined #openstack-dev | 10:33 | |
*** dprince has joined #openstack-dev | 10:34 | |
*** lloydde has quit IRC | 10:38 | |
*** mindpixel has joined #openstack-dev | 10:41 | |
*** koolhead17 has quit IRC | 10:45 | |
*** koolhead17 has joined #openstack-dev | 10:46 | |
*** jcoufal has quit IRC | 10:46 | |
*** souvik has quit IRC | 10:47 | |
*** jhesketh_ has quit IRC | 10:49 | |
*** jcoufal has joined #openstack-dev | 10:49 | |
*** jhesketh_ has joined #openstack-dev | 10:50 | |
*** dprince has quit IRC | 10:50 | |
*** rkukura has quit IRC | 10:55 | |
openstackgerrit | A change was merged to openstack/nova: Removes unnecessary check for admin context in evacuate. https://review.openstack.org/28551 | 10:55 |
*** deuterium has joined #openstack-dev | 10:56 | |
*** beagles has joined #openstack-dev | 10:59 | |
*** topol has joined #openstack-dev | 11:03 | |
*** freedomhui has quit IRC | 11:04 | |
*** SergeyLukjanov has quit IRC | 11:04 | |
*** jhesketh_ has quit IRC | 11:07 | |
*** prekarat has quit IRC | 11:09 | |
*** giulivo has quit IRC | 11:10 | |
*** sride has joined #openstack-dev | 11:13 | |
*** souvik has joined #openstack-dev | 11:14 | |
*** gongysh has quit IRC | 11:16 | |
*** Yada has joined #openstack-dev | 11:16 | |
*** drewlander has joined #openstack-dev | 11:25 | |
*** SergeyLukjanov has joined #openstack-dev | 11:29 | |
*** freedomhui has joined #openstack-dev | 11:30 | |
*** pcm__ has joined #openstack-dev | 11:31 | |
*** dprince has joined #openstack-dev | 11:32 | |
*** ijw has joined #openstack-dev | 11:33 | |
*** lloydde has joined #openstack-dev | 11:33 | |
*** dguitarbite has quit IRC | 11:38 | |
*** lloydde has quit IRC | 11:38 | |
*** matiu has quit IRC | 11:38 | |
*** mikal has quit IRC | 11:39 | |
*** CaptTofu has joined #openstack-dev | 11:40 | |
*** mikal has joined #openstack-dev | 11:41 | |
*** tkammer has quit IRC | 11:52 | |
*** wiliam_ has joined #openstack-dev | 11:57 | |
*** sandywalsh has quit IRC | 11:57 | |
*** SergeyLukjanov has quit IRC | 11:58 | |
*** SergeyLukjanov has joined #openstack-dev | 11:59 | |
*** networkstatic has quit IRC | 12:00 | |
*** wiliam_ is now known as wiliam | 12:01 | |
*** READ10 has joined #openstack-dev | 12:02 | |
*** ijw has quit IRC | 12:05 | |
*** wiliam has quit IRC | 12:08 | |
*** wiliam has joined #openstack-dev | 12:09 | |
*** dev_sa has quit IRC | 12:09 | |
*** wiliam is now known as waa | 12:10 | |
*** sandywalsh has joined #openstack-dev | 12:10 | |
*** sandywalsh has quit IRC | 12:10 | |
*** sandywalsh has joined #openstack-dev | 12:10 | |
*** flaper87 has joined #openstack-dev | 12:12 | |
*** m4xmr has joined #openstack-dev | 12:13 | |
*** m4xmr has left #openstack-dev | 12:13 | |
*** digitalsanctum has joined #openstack-dev | 12:14 | |
*** lpmulligan has joined #openstack-dev | 12:16 | |
*** tzumainn has joined #openstack-dev | 12:19 | |
*** CaptTofu has quit IRC | 12:25 | |
*** primeministerp has quit IRC | 12:25 | |
*** mjfork has joined #openstack-dev | 12:27 | |
*** SergeyLukjanov has quit IRC | 12:28 | |
*** anniec has joined #openstack-dev | 12:30 | |
*** anniec_ has joined #openstack-dev | 12:33 | |
*** lloydde has joined #openstack-dev | 12:34 | |
*** anniec has quit IRC | 12:35 | |
*** anniec_ is now known as anniec | 12:35 | |
*** AlanClark has quit IRC | 12:35 | |
*** bknudson has joined #openstack-dev | 12:35 | |
*** jjmb has quit IRC | 12:36 | |
*** SergeyLukjanov has joined #openstack-dev | 12:37 | |
*** adalbas has joined #openstack-dev | 12:38 | |
*** acfleury has joined #openstack-dev | 12:38 | |
*** ndipanov has quit IRC | 12:38 | |
*** lloydde has quit IRC | 12:40 | |
*** primeministerp has joined #openstack-dev | 12:44 | |
*** navid_ has quit IRC | 12:45 | |
*** CaptTofu has joined #openstack-dev | 12:49 | |
*** freedomhui has quit IRC | 12:50 | |
*** sacharya has joined #openstack-dev | 12:50 | |
*** digitalsanctum has quit IRC | 12:50 | |
*** ndipanov has joined #openstack-dev | 12:51 | |
*** digitalsanctum has joined #openstack-dev | 12:52 | |
*** martine has joined #openstack-dev | 12:57 | |
*** mindpixel has quit IRC | 12:57 | |
*** kbringard has joined #openstack-dev | 12:58 | |
*** adalbas has quit IRC | 12:58 | |
*** acfleury has quit IRC | 12:58 | |
*** eharney has quit IRC | 13:03 | |
*** lauria has joined #openstack-dev | 13:03 | |
*** tkammer has joined #openstack-dev | 13:04 | |
*** pfreund has joined #openstack-dev | 13:09 | |
*** lpmulligan has quit IRC | 13:10 | |
*** jayg|g0n3 is now known as jayg | 13:11 | |
*** acfleury has joined #openstack-dev | 13:12 | |
*** adalbas has joined #openstack-dev | 13:12 | |
*** souvik has quit IRC | 13:12 | |
*** radez_g0n3 is now known as radez | 13:13 | |
*** michchap_ has joined #openstack-dev | 13:15 | |
*** michchap has quit IRC | 13:15 | |
*** salv-orlando has quit IRC | 13:16 | |
*** alunduil has quit IRC | 13:21 | |
*** morazi has joined #openstack-dev | 13:22 | |
*** Gman2 has quit IRC | 13:22 | |
*** lpmulligan has joined #openstack-dev | 13:22 | |
*** bmclaughlin has joined #openstack-dev | 13:23 | |
*** rnirmal has joined #openstack-dev | 13:24 | |
*** sride has quit IRC | 13:25 | |
*** ladquin_away is now known as ladquin | 13:28 | |
*** mkollaro1 has joined #openstack-dev | 13:28 | |
*** mkollaro has quit IRC | 13:28 | |
*** portante|ltp has quit IRC | 13:29 | |
*** afazekas_ has joined #openstack-dev | 13:29 | |
*** afazekas_ has quit IRC | 13:29 | |
*** afazekas_ has joined #openstack-dev | 13:30 | |
*** giulivo has joined #openstack-dev | 13:30 | |
*** afazekas has quit IRC | 13:31 | |
*** giulivo has quit IRC | 13:33 | |
*** jecarey has joined #openstack-dev | 13:33 | |
*** bswartz has quit IRC | 13:34 | |
*** lloydde has joined #openstack-dev | 13:34 | |
*** giulivo has joined #openstack-dev | 13:35 | |
*** deuterium has quit IRC | 13:35 | |
*** navid_ has joined #openstack-dev | 13:38 | |
*** lloydde has quit IRC | 13:39 | |
*** ayoung has joined #openstack-dev | 13:40 | |
*** eharney has joined #openstack-dev | 13:40 | |
*** sthaha has quit IRC | 13:43 | |
*** sthaha has joined #openstack-dev | 13:43 | |
*** sthaha has joined #openstack-dev | 13:43 | |
*** rkukura has joined #openstack-dev | 13:44 | |
*** morazi has quit IRC | 13:45 | |
*** morazi has joined #openstack-dev | 13:45 | |
*** deuterium has joined #openstack-dev | 13:48 | |
*** aelkikhia has joined #openstack-dev | 13:48 | |
*** deuterium has joined #openstack-dev | 13:49 | |
*** sthaha has quit IRC | 13:50 | |
*** boris-42 has quit IRC | 13:50 | |
*** markmcclain has joined #openstack-dev | 13:50 | |
*** dguitarbite has joined #openstack-dev | 13:51 | |
*** stevemar has joined #openstack-dev | 13:51 | |
*** sacharya has quit IRC | 13:52 | |
*** aelkikhia has left #openstack-dev | 13:52 | |
*** AlanClark has joined #openstack-dev | 13:52 | |
*** sthaha has joined #openstack-dev | 13:53 | |
eharney | http://docs.openstack.org/developer/cinder/ has a broken link to "Cinder 2011.2 docs" | 13:53 |
*** jimfehlig has joined #openstack-dev | 13:53 | |
*** jjmb has joined #openstack-dev | 13:54 | |
*** maoy has joined #openstack-dev | 13:55 | |
*** markmc has quit IRC | 13:56 | |
*** cloudchimp has joined #openstack-dev | 13:58 | |
*** jasondotstar has joined #openstack-dev | 13:59 | |
*** HenryG has joined #openstack-dev | 13:59 | |
*** utlemming has joined #openstack-dev | 14:01 | |
*** jjmb has quit IRC | 14:02 | |
*** jjmb has joined #openstack-dev | 14:03 | |
*** topol has quit IRC | 14:03 | |
*** bswartz has joined #openstack-dev | 14:03 | |
*** ttx has quit IRC | 14:03 | |
*** rcleere has joined #openstack-dev | 14:04 | |
ladquin | eharney, thanks for the heads up! | 14:05 |
*** redbeard2 has joined #openstack-dev | 14:05 | |
*** ttx has joined #openstack-dev | 14:06 | |
*** ttx has quit IRC | 14:06 | |
*** ttx has joined #openstack-dev | 14:06 | |
*** mrodden has joined #openstack-dev | 14:06 | |
*** alunduil has joined #openstack-dev | 14:06 | |
*** jjmb has quit IRC | 14:06 | |
*** swaT30 has joined #openstack-dev | 14:07 | |
*** kenperkins has joined #openstack-dev | 14:08 | |
*** acfleury has quit IRC | 14:09 | |
*** adalbas has quit IRC | 14:10 | |
*** gordc has joined #openstack-dev | 14:10 | |
*** jvrbanac has joined #openstack-dev | 14:12 | |
*** ayoung has quit IRC | 14:12 | |
*** galstrom_zzz is now known as galstrom | 14:14 | |
*** networkstatic has joined #openstack-dev | 14:17 | |
*** salv-orlando has joined #openstack-dev | 14:19 | |
*** ttx has quit IRC | 14:20 | |
*** ttx has joined #openstack-dev | 14:21 | |
*** ttx has quit IRC | 14:21 | |
*** ttx has joined #openstack-dev | 14:21 | |
*** adalbas has joined #openstack-dev | 14:23 | |
*** acfleury has joined #openstack-dev | 14:24 | |
*** aelkikhia1 has joined #openstack-dev | 14:25 | |
*** utlemming has quit IRC | 14:25 | |
*** galstrom is now known as galstrom_zzz | 14:26 | |
*** ayoung has joined #openstack-dev | 14:27 | |
*** jaypipes has joined #openstack-dev | 14:28 | |
*** acfleury has quit IRC | 14:28 | |
*** bmclaughlin has quit IRC | 14:29 | |
*** Aarti has joined #openstack-dev | 14:31 | |
*** wwallnrr__ has quit IRC | 14:32 | |
*** hartsocks has joined #openstack-dev | 14:32 | |
*** garyk has quit IRC | 14:33 | |
*** spzala has joined #openstack-dev | 14:33 | |
*** datsun180b has joined #openstack-dev | 14:35 | |
*** ndipanov has quit IRC | 14:36 | |
*** topol has joined #openstack-dev | 14:36 | |
*** zyluo has joined #openstack-dev | 14:39 | |
*** terryh has joined #openstack-dev | 14:40 | |
*** diogogmt has joined #openstack-dev | 14:41 | |
*** FunnyLookinHat has joined #openstack-dev | 14:42 | |
*** dolphm has joined #openstack-dev | 14:42 | |
*** bmclaughlin has joined #openstack-dev | 14:42 | |
*** cdsvrd has joined #openstack-dev | 14:43 | |
*** aelkikhia has joined #openstack-dev | 14:45 | |
*** souvik has joined #openstack-dev | 14:45 | |
*** diogogmt has quit IRC | 14:47 | |
*** ndipanov has joined #openstack-dev | 14:48 | |
*** aelkikhia1 has quit IRC | 14:48 | |
*** diogogmt has joined #openstack-dev | 14:49 | |
*** boris-42 has joined #openstack-dev | 14:50 | |
*** SergeyLukjanov has quit IRC | 14:50 | |
*** salv-orlando_ has joined #openstack-dev | 14:50 | |
*** bmclaughlin has quit IRC | 14:50 | |
*** andrewbogott_afk is now known as andrewbogott | 14:50 | |
*** mrodden has quit IRC | 14:50 | |
*** FunnyLookinHat has quit IRC | 14:52 | |
*** salv-orlando has quit IRC | 14:53 | |
*** bmclaughlin has joined #openstack-dev | 14:53 | |
*** salv-orlando_ is now known as salv-orlando | 14:54 | |
*** FunnyLookinHat has joined #openstack-dev | 14:54 | |
*** zaitcev has joined #openstack-dev | 14:55 | |
*** derekh has quit IRC | 14:56 | |
*** otherwiseguy has joined #openstack-dev | 14:57 | |
*** garyk has joined #openstack-dev | 14:58 | |
*** woodspa has quit IRC | 14:58 | |
*** yidclare has joined #openstack-dev | 14:58 | |
spzala | dolphm: good morning, Dolph! there? | 15:00 |
*** danwent has joined #openstack-dev | 15:00 | |
*** souvik has quit IRC | 15:00 | |
dolphm | spzala: o | 15:00 |
dolphm | o/ | 15:00 |
spzala | dolphm: I sent an email about my scheduled vacation next week (5/13 to 5/17), not sure if you had chance too look at it..so wanted to let you know. :) | 15:01 |
*** woodspa has joined #openstack-dev | 15:01 | |
spzala | dolphm: also I updated the patch https://review.openstack.org/#/c/27364/ | 15:01 |
spzala | dolphm: not sure if we are going with the approach but if you can take a look at it :) | 15:01 |
spzala | dolphm: I guess if we don't reach to a conclusion by this week, I should handover it to you or someone else considering my vacation next week? | 15:02 |
dolphm | spzala: we can patch your patch if necessary, no worries | 15:02 |
dolphm | spzala: did you see my comments about the domain crud operations? | 15:03 |
dolphm | spzala: it doesn't make sense to only revise list_domains() | 15:03 |
spzala | dolphm: OK, that sounds great..thanks! | 15:03 |
*** mmagr has quit IRC | 15:04 | |
spzala | dolphm: hmmm.. I modified crud operation in the latest patch based on your comments | 15:04 |
*** mkollaro1 has quit IRC | 15:04 | |
*** katylava has joined #openstack-dev | 15:05 | |
spzala | dolphm: please let me know if I missed anything on your comments | 15:06 |
*** navid_ has quit IRC | 15:07 | |
*** salv-orlando has quit IRC | 15:07 | |
*** mrodden has joined #openstack-dev | 15:07 | |
*** aelkikhia has left #openstack-dev | 15:07 | |
*** reidrac has quit IRC | 15:08 | |
dolphm | spzala: i'm not seeing any changes to create_domain, get_domain, update_domain or delete_domain | 15:09 |
dolphm | oh, you're making those changes in DomainApi... | 15:09 |
*** alop has joined #openstack-dev | 15:09 | |
spzala | dolphm: yes | 15:09 |
dolphm | spzala: why do list_domains in the driver and everything else in DomainApi? | 15:10 |
*** markmcclain has quit IRC | 15:10 | |
spzala | dolphm: I think that's similar to user, projects, roles.. list_domains (or list_*) uses a common/core method | 15:11 |
HenryG | I submitted a review and put "Fixes bug #B" in the Commit Message, but elsewhere in the Commit Message I also mentioned another bug #A. It seems Gerrit picked the wrong bug (bug #A) for the topic. What's the best way to fix this? | 15:11 |
spzala | dolphm: so there is no specific code in DomainApi for list_domains | 15:12 |
*** jcoufal has quit IRC | 15:12 | |
spzala | dolphm: hope it makes sense, unless I misunderstood your question. | 15:12 |
*** jamespage_ has joined #openstack-dev | 15:13 | |
*** aloga has quit IRC | 15:13 | |
*** souvik has joined #openstack-dev | 15:13 | |
*** drewlander has quit IRC | 15:14 | |
dolphm | spzala: so, the [Object]Api classes are very specific to LDAP, whereas everything in the Identity driver class isn't; the additional checks you are adding would make more sense in the higher layer | 15:15 |
*** flaper87 has quit IRC | 15:15 | |
*** brunnhilde has joined #openstack-dev | 15:15 | |
spzala | dolphm: OK, agree with that. I wold move that in the DomainApi. | 15:16 |
*** mkollaro has joined #openstack-dev | 15:17 | |
*** utlemming has joined #openstack-dev | 15:17 | |
*** jamespage_ has quit IRC | 15:17 | |
dolphm | spzala: in the DomainApi == out of the DomainApi? | 15:18 |
*** sthaha has quit IRC | 15:19 | |
*** SergeyLukjanov has joined #openstack-dev | 15:19 | |
spzala | dolphm: hmmm.. sorry didn't get it. you mean move the logic for "== DEFAULT_DOMAIN" to Identity? | 15:19 |
dolphm | yes | 15:20 |
*** lloydde has joined #openstack-dev | 15:20 | |
dolphm | up with list_domains (the code there feels correct) | 15:20 |
openstackgerrit | A change was merged to openstack/nova: Fix variable referenced before assginment in vmwareapi code. https://review.openstack.org/28512 | 15:20 |
openstackgerrit | A change was merged to openstack/quantum: Imported Translations from Transifex https://review.openstack.org/28666 | 15:20 |
*** giulivo has quit IRC | 15:21 | |
*** zul has joined #openstack-dev | 15:21 | |
*** sacharya has joined #openstack-dev | 15:22 | |
*** pabelanger_ has joined #openstack-dev | 15:23 | |
*** pabelanger_ has quit IRC | 15:23 | |
*** pabelanger_ has joined #openstack-dev | 15:23 | |
*** pabelanger has quit IRC | 15:23 | |
*** pabelanger_ is now known as pabelanger | 15:23 | |
spzala | dolphm: OK, sounds good.. makes sense. | 15:24 |
*** pabelanger_ has joined #openstack-dev | 15:24 | |
spzala | dolphm: so don't change anything in list_domains ? | 15:24 |
spzala | dolphm: I like the idea of moving == in Identity...that way we won't be calling domainapi unnecessary | 15:27 |
*** Mandell has joined #openstack-dev | 15:27 | |
*** zyluo has quit IRC | 15:27 | |
*** adjohn has joined #openstack-dev | 15:30 | |
*** utlemming has quit IRC | 15:31 | |
topol | dolphm, +1 | 15:31 |
*** utlemming has joined #openstack-dev | 15:33 | |
*** ayoung has quit IRC | 15:33 | |
*** jprovazn has quit IRC | 15:33 | |
*** terryh has quit IRC | 15:33 | |
*** epende has joined #openstack-dev | 15:36 | |
*** abhishekkr_ has quit IRC | 15:37 | |
*** mlavalle has joined #openstack-dev | 15:38 | |
*** freedomhui has joined #openstack-dev | 15:38 | |
*** crandquist has joined #openstack-dev | 15:39 | |
*** hemna has joined #openstack-dev | 15:39 | |
epende | Anyone know where to change the default db driver from mongodb to sqlalchemy in ceilometer? | 15:39 |
epende | for the reporting api | 15:40 |
*** lloydde has quit IRC | 15:40 | |
*** lloydde has joined #openstack-dev | 15:43 | |
dolphm | spzala: regarding list_domains, i don't think so | 15:44 |
spzala | dolphm: OK, cool. I will leave it as it is. | 15:45 |
*** epim has joined #openstack-dev | 15:46 | |
*** ociuhandu has quit IRC | 15:46 | |
*** bdpayne has joined #openstack-dev | 15:49 | |
*** Mandell has quit IRC | 15:50 | |
*** ayoung has joined #openstack-dev | 15:50 | |
*** galstrom_zzz is now known as galstrom | 15:53 | |
*** devoid has joined #openstack-dev | 15:53 | |
*** salv-orlando has joined #openstack-dev | 15:53 | |
openstackgerrit | A change was merged to openstack/keystone: Revoke tokens on user delete (bug 1166670) https://review.openstack.org/28677 | 15:54 |
uvirtbot | Launchpad bug 1166670 in keystone/grizzly "Deleted user can still create instances" [High,In progress] https://launchpad.net/bugs/1166670 | 15:54 |
*** armax has joined #openstack-dev | 15:54 | |
*** devoid has left #openstack-dev | 15:56 | |
*** abhishekkr_ has joined #openstack-dev | 15:58 | |
*** gordc has quit IRC | 15:59 | |
*** sarob has joined #openstack-dev | 15:59 | |
*** ayoung has quit IRC | 16:00 | |
*** ayoung has joined #openstack-dev | 16:01 | |
*** sarob_ has joined #openstack-dev | 16:01 | |
*** jcoufal has joined #openstack-dev | 16:01 | |
*** gyee has joined #openstack-dev | 16:02 | |
*** souvik has quit IRC | 16:03 | |
*** sarob has quit IRC | 16:04 | |
*** drewlander has joined #openstack-dev | 16:06 | |
*** salv-orlando has quit IRC | 16:06 | |
*** souvik has joined #openstack-dev | 16:07 | |
*** mdenny has joined #openstack-dev | 16:07 | |
*** dguitarbite has quit IRC | 16:08 | |
ayoung | bknudson, malini_ can you confirm that you are OK with the changes to https://review.openstack.org/#/c/27364/11 | 16:10 |
*** souvik_ has joined #openstack-dev | 16:10 | |
ayoung | I'll gate my approval on yours. | 16:10 |
*** kpavel has quit IRC | 16:10 | |
*** souvik has quit IRC | 16:11 | |
*** souvik_ is now known as souvik | 16:11 | |
*** danwent has quit IRC | 16:11 | |
*** tkammer has quit IRC | 16:13 | |
*** dolphm has quit IRC | 16:13 | |
bknudson | ayoung: I'll take a look today, but getting pulled to look at another problem. | 16:13 |
*** apevec has joined #openstack-dev | 16:14 | |
*** danwent has joined #openstack-dev | 16:16 | |
*** Samos123_ has quit IRC | 16:16 | |
*** gordc has joined #openstack-dev | 16:16 | |
apevec | ayoung, ping - I didn't see reply on http://lists.openstack.org/pipermail/openstack-stable-maint/2013-May/000674.html | 16:17 |
apevec | ayoung, you're ok delaying backport to 2013.1.2 ? | 16:18 |
*** dprince has quit IRC | 16:19 | |
*** salv-orlando has joined #openstack-dev | 16:20 | |
*** pfreund has quit IRC | 16:20 | |
*** Samos123 has joined #openstack-dev | 16:20 | |
*** yidclare has quit IRC | 16:21 | |
ayoung | apevec, "ok?" no, I'm not. LDAP is broken. Failing to backport will mean that we delay people moving to grizzly | 16:22 |
*** dolphm has joined #openstack-dev | 16:22 | |
ayoung | apevec, however, I might be "resigned" | 16:22 |
spzala | ayoung: thanks! Dolphm recommended to move some logic from DomainApi to Identity .. I have made those changes and running a quick test. Will be updating the patch in few | 16:22 |
*** drewlander has quit IRC | 16:22 | |
*** zul has quit IRC | 16:22 | |
spzala | ayoung: no change in the logic itself though | 16:22 |
*** lloydde has quit IRC | 16:22 | |
*** waa has quit IRC | 16:22 | |
dolphm | spzala: thanks! | 16:23 |
dolphm | ayoung: resigned from what? | 16:23 |
apevec | ayoung, well, master patch has not merged yet | 16:23 |
spzala | dolphm: np. thank you for the looking at the changes quickly and feedback. | 16:23 |
*** networkstatic has quit IRC | 16:23 | |
apevec | ayoung, and 2013.1.2 is due June 6 | 16:24 |
*** abhishekkr_ has quit IRC | 16:24 | |
*** danpb has quit IRC | 16:24 | |
apevec | it's significant patch, better give it some soak time on master | 16:24 |
*** utlemming has quit IRC | 16:26 | |
*** jamespage_ has joined #openstack-dev | 16:27 | |
*** zul has joined #openstack-dev | 16:28 | |
*** jamespage_ has quit IRC | 16:30 | |
*** mrodden has quit IRC | 16:31 | |
cdsvrd | Hi | 16:31 |
roz | for one of my changes jenkins ran correctly (24-ish hours ago) but smokeStack didn't. I think i need that, to trigger it again I need to submit a new patch set? | 16:31 |
cdsvrd | (Sorry for english) I would like to test horizon on gentoo | 16:32 |
ayoung | dolphm, "resigned to" not "resigned from" | 16:32 |
cdsvrd | and i have an "Address family not supported by protocol" | 16:33 |
cdsvrd | after authentication | 16:33 |
*** cmark_ has joined #openstack-dev | 16:33 | |
dolphm | ayoung: i joined right before that message, so i'm totally lacking context | 16:33 |
ayoung | apevec, I am not "ok" with it but I am "resigned to" it. | 16:34 |
ayoung | dolphm, ha | 16:34 |
ayoung | LDAP being brokn and not fixed in stable this go round | 16:34 |
*** mrodden has joined #openstack-dev | 16:34 | |
dolphm | ah | 16:34 |
*** SergeyLukjanov has quit IRC | 16:34 | |
dolphm | yeah, we missed the boat on 2013.1.1 | 16:34 |
ayoung | dolphm, however, I have been hacking apart the identity API, and I am getting more and more happy with that concept. I think it is going to work, and work well. | 16:34 |
*** lucasagomes has quit IRC | 16:35 | |
ayoung | It will be a fairly big number of lines of code patch, but they should mostly be moving from one file to another | 16:35 |
cdsvrd | I think it is novaclient exception | 16:35 |
cdsvrd | File "/usr/lib64/python2.7/site-packages/novaclient/client.py" in request | 16:35 |
ayoung | the credential split is a good first hack. shows what some of the issues will be | 16:35 |
cdsvrd | 2013.1 | 16:36 |
*** glikson has quit IRC | 16:36 | |
*** adjohn has quit IRC | 16:36 | |
*** jruzicka has quit IRC | 16:37 | |
*** cmark has quit IRC | 16:37 | |
cdsvrd | http://pastebin.com/U9FfmzUz | 16:37 |
cdsvrd | python socket compatibity ? | 16:38 |
cdsvrd | ipv6 ? | 16:38 |
cdsvrd | Any idea ? | 16:38 |
*** digitalsanctum has quit IRC | 16:38 | |
spzala | ayoung: dolphm: just updated the patch. | 16:39 |
ayoung | spzala, looking | 16:39 |
spzala | ayoung: thanks | 16:39 |
apevec | ayoung, dolphm - ok, I've removed 2013.1.1 from bug 1168726 | 16:39 |
ayoung | malini_, bknudson ^^ | 16:40 |
uvirtbot | Launchpad bug 1168726 in keystone/grizzly "default_domain_id breaks the ability to map keystone to ldap" [Critical,In progress] https://launchpad.net/bugs/1168726 | 16:40 |
spzala | ayoung: stepping out for a quick lunch with team but will be back soon. | 16:40 |
*** salv-orlando has quit IRC | 16:40 | |
*** digitalsanctum has joined #openstack-dev | 16:40 | |
apevec | dolphm, ayoung - I'll put it as "known issue" in 2013.1.1 relnotes, do you have any text suggestion? | 16:40 |
dolphm | apevec: i have a related line in the grizzly release notes https://wiki.openstack.org/wiki/ReleaseNotes/Grizzly#OpenStack_Identity_.28Keystone.29 | 16:41 |
dolphm | apevec: "Read-only LDAP deployments..." | 16:41 |
cdsvrd | http://dpaste.com/1129884/ | 16:41 |
apevec | dolphm, thanks, I'll link to that | 16:41 |
*** salv-orlando has joined #openstack-dev | 16:42 | |
apevec | dolphm, and thanks for adding "fixed in" there | 16:42 |
apevec | good idea! | 16:42 |
openstackgerrit | A change was merged to openstack-dev/devstack: Update the package name of qpid in the fedora platform https://review.openstack.org/28524 | 16:42 |
openstackgerrit | A change was merged to openstack/nova: Fixes typo in server-evacuate-req.xml https://review.openstack.org/28674 | 16:43 |
openstackgerrit | A change was merged to openstack-dev/devstack: Set MYSQL_HOST parameter to better support multi-node mode. https://review.openstack.org/28527 | 16:43 |
cdsvrd | Is it right place ? | 16:43 |
*** garyk has quit IRC | 16:43 | |
ayoung | spzala, in https://review.openstack.org/#/c/27364/13/tests/test_backend_ldap.py I see two functions at the bottom that look like they were copied from elsewhwer. What is up with them? | 16:44 |
ayoung | test_authenticate_no_metadata and test_user_crud | 16:44 |
openstackgerrit | A change was merged to openstack-dev/devstack: Add Debian OS support in DevStack https://review.openstack.org/28215 | 16:45 |
openstackgerrit | A change was merged to openstack/quantum: in dhcp_agent, always use quantum.conf root_helper https://review.openstack.org/28630 | 16:45 |
*** ndipanov has quit IRC | 16:45 | |
sdague | dolphm: I stuck it in the reviews but can we do the master changes for tempest first, then cherry pick, like backports in other projects | 16:47 |
sdague | also, a bug would be awesome | 16:47 |
*** salv-orlando has quit IRC | 16:47 | |
*** anniec has quit IRC | 16:47 | |
*** ndipanov has joined #openstack-dev | 16:47 | |
jpich | cdsvrd: #openstack or http://ask.openstack.org might be a better place to ask. I'm not familiar with that particular error myself, good luck! | 16:48 |
dolphm | sdague: yes, i started with folsom only because that's where the test failure was; opened as WIP due to no bug / haven't actually verified this is the cause of my failure (it just stuck out to me) | 16:49 |
sdague | ok, cool | 16:49 |
sdague | dolphm: regardless, they are good fixes | 16:49 |
sdague | the upstream code is wrong, and your fixes are right, just want to do them in an order to make sure we don't fix a bug in stable and leave it in master | 16:50 |
*** johnthetubaguy has quit IRC | 16:50 | |
dolphm | sure | 16:50 |
*** salv-orlando has joined #openstack-dev | 16:51 | |
*** jpich has quit IRC | 16:51 | |
*** markmcclain has joined #openstack-dev | 16:53 | |
*** terry7 has joined #openstack-dev | 16:54 | |
*** sarob_ has quit IRC | 16:54 | |
*** eglynn has quit IRC | 16:56 | |
*** garyk has joined #openstack-dev | 16:58 | |
*** yidclare has joined #openstack-dev | 17:01 | |
*** ashwini has joined #openstack-dev | 17:01 | |
*** afazekas_ is now known as afazekas | 17:02 | |
*** aloga has joined #openstack-dev | 17:03 | |
*** adjohn has joined #openstack-dev | 17:05 | |
*** mkollaro has quit IRC | 17:05 | |
*** nati_ueno has joined #openstack-dev | 17:05 | |
*** zodiak has joined #openstack-dev | 17:08 | |
*** jamespage_ has joined #openstack-dev | 17:08 | |
*** salv-orlando has quit IRC | 17:11 | |
openstackgerrit | A change was merged to openstack/horizon: Fixing Floating IP capitalization bug https://review.openstack.org/28604 | 17:11 |
*** dprince has joined #openstack-dev | 17:11 | |
*** adjohn has quit IRC | 17:12 | |
*** FatDarrel has joined #openstack-dev | 17:12 | |
*** danwent has quit IRC | 17:17 | |
*** salv-orlando has joined #openstack-dev | 17:17 | |
*** athomas has quit IRC | 17:17 | |
*** drewlander has joined #openstack-dev | 17:18 | |
*** networkstatic has joined #openstack-dev | 17:23 | |
*** aeperezt has joined #openstack-dev | 17:23 | |
*** networkstatic has quit IRC | 17:24 | |
*** Mandell has joined #openstack-dev | 17:24 | |
*** danwent has joined #openstack-dev | 17:25 | |
*** athomas has joined #openstack-dev | 17:26 | |
*** yidclare has quit IRC | 17:26 | |
*** abhishekkr_ has joined #openstack-dev | 17:27 | |
*** souvik has quit IRC | 17:27 | |
*** jbresnah has quit IRC | 17:27 | |
*** cmark_ has quit IRC | 17:27 | |
*** aloga has quit IRC | 17:27 | |
*** cmark has joined #openstack-dev | 17:28 | |
*** yidclare has joined #openstack-dev | 17:28 | |
*** SergeyLukjanov has joined #openstack-dev | 17:30 | |
*** HenryG has quit IRC | 17:32 | |
openstackgerrit | A change was merged to openstack-dev/grenade: Remove errant echo_summary calls https://review.openstack.org/27994 | 17:36 |
*** zul has quit IRC | 17:37 | |
*** psedlak has quit IRC | 17:38 | |
*** jamespage_ has quit IRC | 17:40 | |
*** digitalsanctum has joined #openstack-dev | 17:43 | |
*** afazekas has quit IRC | 17:43 | |
*** dims has quit IRC | 17:45 | |
*** Ryan_Lane has joined #openstack-dev | 17:45 | |
*** alop has quit IRC | 17:47 | |
spzala | ayoung: yes, i copied them from test_backend. After the changes for ignore domain_id it was breaking the test for those two functions | 17:47 |
ayoung | spzala, are they straight copies, or copied then modified? | 17:48 |
spzala | ayoung: no , I need to modify them | 17:48 |
spzala | ayoung: what I modified is | 17:48 |
dolphm | ayoung: https://bugs.launchpad.net/keystone/+bug/1177136 | 17:48 |
uvirtbot | Launchpad bug 1177136 in keystone "Unit tests fail when trying to install python-memcache 1.50" [Undecided,In progress] | 17:48 |
spzala | spzala: added "enabled" based on the emulation setting | 17:49 |
ayoung | spzala, ok, cool. I can bless | 17:49 |
*** dims has joined #openstack-dev | 17:49 | |
spzala | ayoung: :) | 17:49 |
spzala | ayoung: Thank you! | 17:49 |
*** martine has quit IRC | 17:49 | |
*** glikson has joined #openstack-dev | 17:50 | |
*** jamespage_ has joined #openstack-dev | 17:50 | |
*** Mandell has quit IRC | 17:53 | |
*** zzs has joined #openstack-dev | 17:54 | |
*** Mandell has joined #openstack-dev | 17:54 | |
*** rnirmal has quit IRC | 17:55 | |
*** jamespage_ has quit IRC | 17:57 | |
*** mlavalle has quit IRC | 17:58 | |
*** terryh has joined #openstack-dev | 18:01 | |
*** markmcclain has quit IRC | 18:01 | |
*** HenryG has joined #openstack-dev | 18:02 | |
*** markmcclain has joined #openstack-dev | 18:07 | |
*** mdomsch has joined #openstack-dev | 18:12 | |
*** Mandell has quit IRC | 18:14 | |
*** ladquin is now known as ladquin_brb | 18:14 | |
*** tzumainn has quit IRC | 18:14 | |
*** salv-orlando has quit IRC | 18:15 | |
bknudson | spzala: I see that dolphm had a bunch of comments in previous patch sets that weren't responded to. | 18:16 |
*** eglynn has joined #openstack-dev | 18:16 | |
bknudson | e.g. "i'd rather not reduce test coverage with any of these ContainsSubset changes; can the test be made more specific?" | 18:16 |
bknudson | seems pretty important to not reduce test coverage. | 18:16 |
apevec | ttx, ok, 2013.1.1 is ready for tagging - just one question about https://wiki.openstack.org/wiki/StableBranchRelease#Versioning | 18:17 |
apevec | ttx, that's no more in Grizzly right? | 18:17 |
*** reed has quit IRC | 18:18 | |
apevec | mordred, ^^^ FINAL = True is gone since your change to use oslo version, right? | 18:19 |
*** vartom11110 has joined #openstack-dev | 18:19 | |
apevec | mordred, so I just tag ? | 18:19 |
*** jtomasek has quit IRC | 18:19 | |
spzala | bknudson: hmmm... | 18:19 |
mordred | apevec: yes. EXCEPT - I believe you'll also need to make a commit that has a change to setup.py that changes 2013.1.1 to 2013.1.2 after the tag is made | 18:20 |
mordred | but | 18:20 |
*** mlavalle has joined #openstack-dev | 18:20 | |
mordred | I hestitate to say I'm 100% correct with ttx | 18:20 |
apevec | morazi, yes, bump version is the next commit after version tag | 18:20 |
*** lloydde has joined #openstack-dev | 18:21 | |
morazi | mordred, ^^ I'm suspicious I was the victim of nick collision there | 18:21 |
apevec | oops sorry morazi | 18:22 |
apevec | everybody should have unique first 3 letters :) | 18:22 |
mordred | hehe | 18:23 |
*** Mandell has joined #openstack-dev | 18:24 | |
morazi | hehe, indeed | 18:24 |
morazi | apevec, no worries | 18:24 |
spzala | bknudson: I did reply to those comments on tests. I had chat with DolphM this morning and he didn't bring it up so thought he is okay with it. | 18:25 |
spzala | bknudson: can we have that as "todo"? just a thought | 18:25 |
bknudson | spzala: sure. Since I'm interested maybe I'll take a look at it. | 18:27 |
*** comay has joined #openstack-dev | 18:27 | |
spzala | bknudson: thanks. I am up for working on it,so you can pass the work to me once you take a look if you want. | 18:28 |
bknudson | I thought you were on vacation? | 18:28 |
*** melwitt has joined #openstack-dev | 18:29 | |
*** yidclare has quit IRC | 18:30 | |
*** jaypipes has quit IRC | 18:31 | |
*** baba has quit IRC | 18:32 | |
*** megha has joined #openstack-dev | 18:32 | |
morganfainberg | ayoung: ping | 18:34 |
*** zul has joined #openstack-dev | 18:34 | |
spzala | bknudson: :) no..I will be on vacation next week | 18:35 |
ayoung | morganfainberg, wazzup? | 18:36 |
*** jaypipes has joined #openstack-dev | 18:36 | |
morganfainberg | ayoung: was trying to parse your comment on the token purging code. I am doing an append (previous behavior) on at time of revocation. the only times I parse the list is when we need to flush. | 18:37 |
ayoung | morganfainberg, so, while termie is correct, it doesn't change the fact that we still need to list the tokens by user etc | 18:37 |
morganfainberg | ayoung: in revocation? | 18:38 |
termie | ayoung: you build a list, brah | 18:38 |
termie | ayoung: at write time | 18:38 |
ayoung | termie, and I said that you are correct | 18:38 |
termie | ayoung: not at read time | 18:38 |
ayoung | termie, but to build the list, we need to enumerate the tokens for the user | 18:38 |
ayoung | so "when" it happens needs to change. | 18:39 |
*** vartom11111 has joined #openstack-dev | 18:39 | |
termie | ayoung: technically, it would be cheapest to just send the service the new clock | 18:40 |
termie | ayoung: instead of a revocation list | 18:40 |
termie | ayoung: so they can validate the same way we do | 18:40 |
termie | clock is what you were referring to as "score" | 18:40 |
ayoung | termie, so the service would cached the "clock" on a per user basis? | 18:41 |
morganfainberg | oh ayoung sorry, mis-read the name(s) thought you commented vs termie :P | 18:41 |
morganfainberg | should have ping'd him first ;) | 18:41 |
ayoung | Or, one a second would fetch the entire clock list for all users? | 18:41 |
*** pixelbeat_ has quit IRC | 18:42 | |
*** martine has joined #openstack-dev | 18:42 | |
ayoung | "one a second" where did that come from, not even sure what that was supposed to mean. sorry | 18:42 |
*** vartom11110 has quit IRC | 18:42 | |
arosen | nati_ueno: ping | 18:42 |
nati_ueno | arosen: pong | 18:43 |
*** danwent has quit IRC | 18:43 | |
arosen | nati_ueno: quick question, why do we need: class OVSHybridIptablesFirewallDriver(IptablesFirewallDriver): | 18:43 |
termie | ayoung: what are your thoughts on how long this timeout is | 18:43 |
arosen | nati_ueno: none of the plugins use that for the devstack configurations | 18:43 |
*** eharney has quit IRC | 18:43 | |
nati_ueno | hmm i supposed it is used in the devstack. OVSHybridIptablesFirewallDriver is for OVS | 18:44 |
nati_ueno | let me check | 18:44 |
arosen | nati_ueno: doh your right.. | 18:44 |
*** vartom11111 has quit IRC | 18:44 | |
arosen | lib/quantum_plugins/ovs_base: iniset /$Q_PLUGIN_CONF_FILE SECURITYGROUP firewall_driver quantum.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver | 18:44 |
termie | ayoung: if it is one second, for example, it is not going to save a heck of a lot of time | 18:44 |
*** amerine has quit IRC | 18:44 | |
ayoung | termie, there are a couple times outs. On the remote services side, they fetch the revocation list, I would guees about once a minute. The tokens in the memcached backend woud live, I guess, the TTL of the token | 18:44 |
ayoung | termie, even one a second might make a difference under load, but I was thinking once a minute. | 18:44 |
nati_ueno | arosen: ah yes. bridge configuration is different, so we need specific driver for OVS | 18:45 |
termie | ayoung: and under your current ideas what is being fetched every minute? | 18:45 |
*** Yada has quit IRC | 18:45 | |
ayoung | termie, the updated list of revoked tokens. | 18:45 |
ayoung | termie, and, yes, you are right, that list should not be reproduced everytime | 18:46 |
ayoung | painfully obvious now | 18:46 |
*** novas0x2a|laptop has joined #openstack-dev | 18:46 | |
ayoung | but should instead be updated when the tokens are revoked | 18:46 |
*** mkollaro has joined #openstack-dev | 18:46 | |
*** eharney has joined #openstack-dev | 18:46 | |
*** eharney has quit IRC | 18:46 | |
*** eharney has joined #openstack-dev | 18:46 | |
termie | ayoung: some other questions to ask, how frequently do you htink tokens will be revoked? | 18:46 |
ayoung | termie, very infrequently | 18:47 |
*** amerine has joined #openstack-dev | 18:47 | |
termie | ayoung: so let's say, hypothetically, our "revocation" list is a list of users with their clocks | 18:47 |
morganfainberg | ayoung / termie: if the tokens are being revoked quickly, there is probably another problem such as too long lived tokens. I'd hope they are infrequently revoked | 18:47 |
termie | ayoung: most users will be at 0 and not included in this clock | 18:47 |
termie | s/clock/list/ | 18:47 |
arosen | nati_ueno: hrm that's unfortunate. The only different between the two is _get_device_name() I wonder if there if there is anyway to just built that logic into the IpTablesFirewallDriver() so we don't need to have to closes. | 18:48 |
ayoung | termie, OK...and once all of a users revoked tokens would have timed out, we would remove those users from the list as well...to keep the list from always growing | 18:48 |
ayoung | termie, I like it... | 18:48 |
arosen | nati_ueno: and how _port_chain_name() is handled. | 18:49 |
termie | k, i'm going back to code reviews, talk amongst yourselves | 18:49 |
arosen | nati_ueno: thx for the info though. | 18:49 |
ayoung | termie, I'll certainly do that for Havana. I need to figure out how to get that to work for Grizzly. | 18:50 |
ayoung | g stable | 18:50 |
openstackgerrit | A change was merged to openstack/tempest: Do super()'s tearDowns last (bug 1178337) https://review.openstack.org/28683 | 18:50 |
uvirtbot | Launchpad bug 1178337 in tempest "super's tearDown called too early" [Undecided,In progress] https://launchpad.net/bugs/1178337 | 18:50 |
*** danwent has joined #openstack-dev | 18:50 | |
nati_ueno | arosen: yeah you are right. may be we need to refactor how to handle interface name | 18:50 |
nati_ueno | arosen: I'm hoping ml2 will have standard way to handle device name (nic name) | 18:51 |
morganfainberg | ayoung: well let me know if you need any help with that, i'm feeling like i'm missing part of the convo, so i can circle back once a direction is a bit more clear (or i've had time to digest the convo a bit more) | 18:51 |
*** lloydde has quit IRC | 18:51 | |
termie | morganfainberg: what are you missing? | 18:51 |
ayoung | morganfainberg here's the deal. For a given user, we keep a 'clock' which starts at 0 | 18:51 |
ayoung | when a token is revoked, we up the score | 18:51 |
ayoung | each token also has a clock value on it | 18:51 |
*** redondos has joined #openstack-dev | 18:52 | |
termie | ayoung: when the user is changed we up the score | 18:52 |
ayoung | if the clock value on the token is less than the clock value on the user, the token is invalid | 18:52 |
termie | not when a token is revoked | 18:52 |
*** eharney has quit IRC | 18:52 | |
morganfainberg | termie: i think this is what i was missing, pulling out the meaning between both sides. i am getting it now. | 18:52 |
ayoung | termie, right...upping the score is what revokes the token, although I think we would up the score also on a "revoke token" call, no? | 18:53 |
ayoung | "advance the clock" | 18:53 |
termie | ayoung: you will revoke all tokens | 18:53 |
termie | ayoung: for a given user | 18:53 |
ayoung | termie, yes, I understand that. That may well be acceptable. If it isn't, I don't think we could use the clock approach. | 18:54 |
*** eharney has joined #openstack-dev | 18:54 | |
morganfainberg | termie: that seems counter-intuitive for revoking a specific token vs. all. does it mean we no longer support the individual token .delete() function and make it tied to the clock exclusively? | 18:55 |
termie | morganfainberg: i think revoking individual tokens is probably a pointless exercise | 18:55 |
termie | y'all are welcome to come up with a compelling use case, but i'm voting yagni | 18:55 |
*** yidclare has joined #openstack-dev | 18:56 | |
morganfainberg | termie: that makes your proposal significantly easier and clearer. | 18:56 |
*** yidclare has quit IRC | 18:56 | |
morganfainberg | i don't see anything that really makes use of delete at this point across the code base, so i dno't think thats an unreasonable change | 18:56 |
morganfainberg | (besides the "revoke all tokens" code) | 18:57 |
morganfainberg | which is covered. | 18:57 |
spzala | dolphm: I replied your comments on tests for patch 10 but I realized I never 'published' the my reply,..so they seating there as draft. | 18:58 |
dolphm | spzala: have you published them now? | 18:58 |
spzala | dolphm: just did it | 18:59 |
ayoung | so we can drop the memcached record that has all of the users tokens in it, as we don't need to list tokens for a user except to revoke them. I'm not sure that we can do all of this in the context of Grizzly stable, though. It fundamentally changes the format of the revocation list, and that means auth_token middleware is going to have to change. We might need morganfainberg 's patch as a stop gap measure, and then do the clock appr | 18:59 |
ayoung | oach for Havana | 18:59 |
spzala | dolphm: sorry about that. I was under impression that you have looked at them and since you didn't bring that topic this morning, I thought you were okay with it. | 18:59 |
termie | dolphm: am i not able to -2 things you write? or is it a branch thing? https://review.openstack.org/#/c/28423/ (not that i wanted to -2 it but i noticed i couldn't) | 18:59 |
*** sgordon has quit IRC | 18:59 | |
ayoung | morganfainberg, unless you can wait until Havana | 18:59 |
ayoung | termie, we can't +2 -2 stable branch | 19:00 |
termie | ayoung: i am mostly unconcerned for grizzly, i'll let dolphm sweat over that stuff | 19:00 |
morganfainberg | ayoung: i will be using this code in my version of grizzly, but i figure if i've hit this problem someone else has. I totally agree havana is the right place to make the clock change. | 19:00 |
spzala | dolphm: bknudson mentioned about it too. I suggested if we can take that as 'ToDo' but please let me know what you think once you at my reply. | 19:00 |
termie | ayoung: why is that? re: -2 | 19:00 |
termie | spzala: TODO is the proper terminology :) | 19:01 |
morganfainberg | I'm totally good with scrapping the master proposal and working on havana clock approach with you guys. | 19:01 |
*** alop has joined #openstack-dev | 19:01 | |
ayoung | termie, it is just a different group for that branch. It has to go into master before then, and then the stable maintainers can say "backport or no" | 19:01 |
ayoung | I've never bugged for it. | 19:01 |
spzala | termie: Hello! my first time talking to you. | 19:01 |
spzala | termie: LOL | 19:01 |
termie | spzala: don't make it a habit ;) | 19:02 |
spzala | termie: no not at all | 19:02 |
ayoung | morganfainberg, OK, I'm going to write up the "clock" approach. Are you interested in helping with the implementation? | 19:02 |
morganfainberg | ayoung: absolutly | 19:03 |
termie | morganfainberg: the vodka version of agreeing | 19:03 |
*** freedomhui has quit IRC | 19:04 | |
ayoung | termie, BTW, I totally get it on the Cassandra backend. I assume you would want the clock approach implemented as a common code as a prereq? | 19:04 |
morganfainberg | termie: Absolut Python? Absolut Agreement? | 19:05 |
openstackgerrit | A change was merged to openstack/nova: Change type of cells.deleted from boolean to integer. https://review.openstack.org/28567 | 19:05 |
*** zul has quit IRC | 19:05 | |
termie | ayoung: not sure what cassandra has to do with it, but yes it can and probably should be common code | 19:05 |
spzala | termie: this is needed quick patch so that's why thought of 'todo' :) but won't make it a habit | 19:06 |
spzala | dolphm: I need to leave to be at school bus stop to pick up my son. I will be back online soon. | 19:07 |
morganfainberg | ayoung: if it wasn't going to be common code, i'd advocate that it should be. it doesn't make sense not to be. | 19:08 |
morganfainberg | ayoung: bad grammer, it makes sense it should, and would be an incorrect approach if it wasn't common. | 19:08 |
openstackgerrit | A change was merged to openstack/nova: Add pointer to compute driver matrix wiki page. https://review.openstack.org/28684 | 19:08 |
openstackgerrit | A change was merged to openstack/quantum: Improve checking of return values for functions in linuxbridge agent plugin https://review.openstack.org/27847 | 19:08 |
openstackgerrit | A change was merged to openstack/quantum: Fetch routers ports for metadata access from DB https://review.openstack.org/28317 | 19:08 |
*** vipul is now known as vipul|away | 19:09 | |
*** vipul|away is now known as vipul | 19:09 | |
*** jcoufal has quit IRC | 19:09 | |
termie | spzala: i just meant that "ToDo" is ugly | 19:09 |
termie | spzala: and would hate to see it accidentally show up ever again | 19:09 |
ayoung | morganfainberg, https://blueprints.launchpad.net/keystone/+spec/clock-for-revoke-tokens | 19:10 |
*** dolphm has quit IRC | 19:12 | |
*** spzala has quit IRC | 19:12 | |
ayoung | termie, I meant that Cassandra as a persistent KVS is a valuable backend to have. | 19:13 |
*** Ryan_Lane has quit IRC | 19:13 | |
*** nati_ueno has quit IRC | 19:13 | |
termie | ayoung: i agree | 19:13 |
morganfainberg | ayoung: that looks good. so is the clock part of the KVS store or is the clock an attribute on the actual user (as in the clock never "resets" to 0) | 19:13 |
*** Ryan_Lane has joined #openstack-dev | 19:13 | |
*** sgordon has joined #openstack-dev | 19:13 | |
termie | morganfainberg: user | 19:13 |
ayoung | morganfainberg, I don't want it on the user object, as we might have read only users from LDAP | 19:13 |
ayoung | so I'll punt on a complete answer yet | 19:13 |
termie | ayoung: ldap is magic and needs a supplementary datastore anyway, we don't know when ldap users change | 19:14 |
apevec | russellb, vishy - found few stable/grizzly commits w/o bug# e.g. https://review.openstack.org/26803 | 19:14 |
apevec | russellb, you said there "While it seems like an optimization, this was a part of a patch series that addressed a significant performance related regression in grizzly." | 19:14 |
*** electrichead has joined #openstack-dev | 19:14 | |
apevec | russellb, was there LP# for that? | 19:14 |
*** epende has quit IRC | 19:15 | |
russellb | apevec: dansmith ^ ? | 19:15 |
apevec | so it can show up in list of fixed issues in 2013.1.1 | 19:15 |
russellb | ^^ high message compression there | 19:15 |
uvirtbot | russellb: Error: "^" is not a valid command. | 19:15 |
ayoung | termie, yeah, LDAP doesn't do notifications, but I think that is something we just have to live with. Not sure there is a good solution there. | 19:15 |
russellb | dansmith: was there a bug on the system_metadata stuff? | 19:15 |
dansmith | yeah | 19:15 |
dansmith | is it not in the commit? | 19:15 |
enikanorov_ | markmcclain: Hi. could you please take a look at https://review.openstack.org/#/c/28257/ again? The link to the wiki has been posted there. | 19:15 |
apevec | it might have been series | 19:15 |
apevec | so this particular patch doesn't have it | 19:16 |
dansmith | just a sec | 19:16 |
apevec | dansmith, https://review.openstack.org/26803 | 19:16 |
markmcclain | enikanorov_: I'm meeting with some folks now, but I'll take a look in bit | 19:16 |
enikanorov_ | thanks! | 19:16 |
apevec | dansmith, ah nm it's topic name :) | 19:16 |
dansmith | apevec: https://bugs.launchpad.net/nova/+bug/1164737 | 19:17 |
dansmith | heh | 19:17 |
uvirtbot | Launchpad bug 1164737 in nova/grizzly "Instance joins with system_metadata are critically slow" [Critical,Fix committed] | 19:17 |
termie | ayoung: document the things ldap won't do for you and punt it to the curb | 19:17 |
apevec | dansmith, thanks | 19:17 |
dansmith | yep | 19:17 |
*** lloydde has joined #openstack-dev | 19:18 | |
topol | ayoung, I thought we said that folks would have custom code for handling LDAP notifications and we just would eventually provide some notification methods for them to use | 19:18 |
ayoung | topol, minor, minority there. I don;t think we can count on that | 19:18 |
ayoung | so, no, I didn't say that, I recall saying some LDAP server have notifications, but you can't count on it | 19:19 |
topol | (topol so close to eating incredibly good italian food soon....) | 19:19 |
ayoung | and if we need that behaviour, we have to poll | 19:19 |
topol | ayoung agreed | 19:19 |
fungi | ayoung: dprince: going back over all the centos jobs we have configured, if you're still trying to narrow down the keystone breakage i have some timeframe details which could help... | 19:19 |
ayoung | topol, you need to change your nick to topolino.\ | 19:19 |
ayoung | fungi, do you have a known good commit? | 19:19 |
ayoung | I can do a git bisect if you do | 19:20 |
topol | yes, translates to little mouse in italian | 19:20 |
*** lloydde has quit IRC | 19:20 | |
fungi | ayoung: dprince: seems the issue is affecting stable/grizzly as well, and began after May 3, 2013 6:06:08 AM | 19:20 |
topol | been called that many times | 19:20 |
ayoung | topol, more so since Cars 2, I assume | 19:20 |
*** lloydde has joined #openstack-dev | 19:20 | |
topol | indeed | 19:20 |
termie | topol: i think you found your casual nick friday name | 19:20 |
fungi | ayoung: dprince: so that's narrowed to a stable branch patch in a 24-hour period. can't be too many to sift through there | 19:21 |
ayoung | fungi, stable branch? I thought this was breaking on master? | 19:21 |
fungi | ayoung: apparently it's both master and grizzly | 19:21 |
fungi | ayoung: we initially noticed it on master last night | 19:22 |
fungi | ayoung: but it had presumably been going on for about a week in that state | 19:22 |
ayoung | fungi, do you have a good commit hash? | 19:22 |
fungi | ayoung: i'll get you one, just a sec | 19:22 |
fungi | ayoung: Checking out Revision 3aa0f45466c17d8e375595c273a27b10fea5c91c (origin/stable/grizzly) | 19:23 |
morganfainberg | termie / ayoung: one last question, so when we modify roles for the user / grants / groups / etc, we will increment clock and revoke all tokens? does this seem a bit far reaching (invalidate all tokens and force a reauthenticate). it would be problematic to accomplish via something like Horizon if tyou're changing your own user (e.g. in an "administrative" context). | 19:23 |
fungi | ayoung: that's the nightly which succeeded for 2013-05-03 | 19:23 |
*** garyk has quit IRC | 19:23 | |
*** vipul is now known as vipul|away | 19:24 | |
ayoung | morganfainberg, I think it is fair, but I will sleep on it | 19:24 |
morganfainberg | ayoung: ok | 19:24 |
morganfainberg | sounds good. | 19:24 |
morganfainberg | thanks! :) | 19:24 |
ayoung | fungi, how about for master? | 19:25 |
fungi | ayoung: master's a little tougher to nail down because all i have are check jobs, no periodics | 19:26 |
termie | morganfainberg: if you change your user it is not a lot to ask you to log back in | 19:26 |
ayoung | fungi, OK, I'll try it off stable | 19:26 |
termie | morganfainberg: it is more of a problem if horizon tries to do some operation immediately after changing the user | 19:26 |
termie | morganfainberg: but that is something horizon will need to fix | 19:26 |
ayoung | fungi, just to confirm 3aa0f45466c17d8e375595c273a27b10fea5c91c was good? | 19:28 |
fungi | ayoung: dprince: ooh! actually hold off with the bisect. there were no changes between that hash and the one which failed the next night | 19:28 |
fungi | ayoung: it was good on that sha, but then the next night it failed on the same exact sha. i smell an external python library upgrading somewhere | 19:29 |
fungi | gonna diff the pip freeze output from both logs here in a moment | 19:29 |
termie | ayoung: background info on "credentials | 19:29 |
termie | ayoung: " please | 19:29 |
ayoung | fungi yeah, that commit is failing, as are a bunch older than it | 19:30 |
ayoung | I'm testing using ./run_tests.sh -x test_keystoneclient:KcMasterTestCase.test_admin_requires_adminness | 19:30 |
fungi | ayoung: right, almost certainly a moving dependency somewhere. i'll know in a bit | 19:30 |
ayoung | can't get a decent debug log out of it, though, as only the client logging is shown. | 19:30 |
ayoung | termie, so the V3 API is attempting to cover what was previously done in the EC2 extension, and we now have a "credentials" list in the identity backend. It doesn't really belong there. It means that, among other things, we will never have an LDAP implementation. | 19:32 |
termie | ayoung: i guess what i would like to see is where the discussion of implementing the credentials api happened | 19:33 |
openstackgerrit | A change was merged to openstack/nova: xenapi: cleanup vdi when disk too big exception raised https://review.openstack.org/28664 | 19:33 |
termie | ayoung: like the BP or somesuch | 19:33 |
dprince | fungi: so you think this is an environmental change? | 19:34 |
*** sandywalsh has quit IRC | 19:34 | |
fungi | ayoung: looks like the failures coincide with introduction of dnspython==1.10.0 as a dependency (there was no dnspython in the pip freeze from the working run) | 19:34 |
ayoung | termie you'll have to beat up dolphm about that. I think the discussion happened about a year ago or more. I don't think there was a separate BP for Crednetilas from the rest of the V3 API. | 19:34 |
dprince | fungi: back in a bit... | 19:34 |
ayoung | fungi, ACHA! | 19:34 |
termie | ayoung: k | 19:34 |
ayoung | fungi, so...let me see what happens if I remove dns python from my venv... | 19:35 |
ayoung | fungi, ... and that makes sense | 19:35 |
fungi | ayoung: it may get pulled back in again. i'm looking now to see what started depending on it | 19:35 |
ayoung | dnspython pulls in IPv6 support, which is b0rk3d beyond belief in Eventlet | 19:35 |
fungi | yes, as mikal will happily tell you | 19:35 |
fungi | i think he lost a couple weeks of his life to that recently | 19:36 |
openstackgerrit | A change was merged to openstack/quantum: Create a common function for method _parse_network_vlan_ranges used by plugins. https://review.openstack.org/28656 | 19:38 |
ayoung | fungi, what pull;s that in? | 19:39 |
fungi | i can't tell. the pip install stdout/stderr don't seem to be echoed in the log | 19:39 |
ayoung | I see it in the tox and venv, but it doesn't seem to be explicitly required in tools | 19:39 |
ayoung | fungi, I can wipe mine out and regen, and captuer the output..1 sec | 19:39 |
fungi | thanks. that's what i was about to resort to doing anyway | 19:40 |
apevec | ayoung, ipv6 was disabled recently in https://review.openstack.org/#/q/Ib7a5a5f0dcac82229b7b7fb3df4b1ef141586c5f,n,z | 19:40 |
apevec | ayoung, but looks like not completely enough? | 19:40 |
*** jbresnah has joined #openstack-dev | 19:40 | |
ayoung | apevec, I thik the problem is happening starting up the server to run the unit tests that come in via a web request | 19:41 |
*** PaulM has joined #openstack-dev | 19:41 | |
apevec | fungi, what about disabling ipv6 on slave machines? | 19:42 |
stevemar | termie: ping | 19:42 |
termie | stevemar: not here | 19:42 |
termie | stevemar: i replied to your email man, ISN'T THAT ENOUGH | 19:42 |
termie | stevemar: what's up | 19:42 |
stevemar | termie: :) had some more q's | 19:42 |
termie | stevemar: pro-tip, work from the version before the last commit | 19:43 |
termie | stevemar: whatever that means in this WIP world | 19:43 |
*** rnirmal has joined #openstack-dev | 19:44 | |
stevemar | termie: the first part of the email - so for the consumer, UUID is the key, but in create_request_token you were passing in the consumer_key to get the consumer | 19:44 |
stevemar | termie: shouldn't that be the UUID? | 19:44 |
*** mkollaro has quit IRC | 19:44 | |
stevemar | termie: but from the request, we only know the consumer_key, not the UUID | 19:45 |
*** sandywalsh has joined #openstack-dev | 19:46 | |
topol | dolphm, QQ regarding spzala's most recent patch. He can work on how to fix the reduce test coverage issue. But for my own edification, if this is mainly for a backport, doesnt that imply that the code is fairly stable at this point and thus won't change much? And since his change only touches the LDAP backend its scope is reduced? So if you put both of those together why is the reduced... | 19:46 |
topol | ...test coverage so scary at this point in the already released code's lifecycle? | 19:46 |
*** digitalsanctum has quit IRC | 19:47 | |
*** salv-orlando has joined #openstack-dev | 19:48 | |
clarkb | keystone folks it would be super duper if https://review.openstack.org/#/c/28592/ and its child change could get reviewed | 19:48 |
termie | stevemar: they are the same thing | 19:49 |
termie | stevemar: the keys are just strings | 19:49 |
termie | stevemar: it should be the uuid | 19:49 |
* stevemar facepalm | 19:50 | |
termie | stevemar: do what i say not what i code :p | 19:50 |
stevemar | termie: 2nd q in the email - i was worried i didn't explain it well enough, i'll try again here :) | 19:50 |
*** salv-orlando_ has joined #openstack-dev | 19:51 | |
termie | stevemar: the first part of the answer seems like it should be obvious: no backend exists | 19:51 |
termie | stevemar: unless you've written one | 19:51 |
stevemar | termie: yep yep | 19:52 |
*** pabelanger has quit IRC | 19:52 | |
stevemar | termie: i was wondering how these guys are generated: | 19:52 |
stevemar | 1c. ... and is given a generated string with a funny format:: | 19:52 |
stevemar | 19:52 | |
stevemar | oauth_token=1234-{suitably_secure_hash:saltybits+'1234'+'5678'} | 19:52 |
stevemar | &oauth_token_secret=bar-secret | 19:52 |
stevemar | termie: just some hash, on the consumer key? anything specific? | 19:53 |
*** salv-orlando has quit IRC | 19:53 | |
*** salv-orlando_ is now known as salv-orlando | 19:53 | |
termie | stevemar: can be whatever you'd like at the moment, just hash a uuid or the like | 19:53 |
stevemar | termie: ahh okay | 19:53 |
termie | stevemar: not related to the consumer key | 19:53 |
stevemar | termie: okay, that is do-able | 19:54 |
*** salv-orlando_ has joined #openstack-dev | 19:54 | |
stevemar | termie: i think that is cool for now, i can make some head way | 19:55 |
stevemar | termie: ty! | 19:55 |
termie | stevemar: what it will eventually be is: some salt, probably based on the user, a string that is public like 1234, and the request-verifier | 19:55 |
termie | stevemar: so the hash is a combination of those three things, when they try to get the access token they need to hand us the verifier so we can regenerate the whole string | 19:56 |
termie | stevemar: and verify that the user actually gave them the verifier | 19:57 |
termie | stevemar: for the simple case right now you can ignore the verifier or just make the verifier a big uuid that you've hashed | 19:57 |
*** salv-orlando has quit IRC | 19:57 | |
*** salv-orlando_ is now known as salv-orlando | 19:57 | |
stevemar | termie: hmmm, okay, i'll try the latter for now | 19:58 |
*** savid has joined #openstack-dev | 19:59 | |
*** pcm__ has quit IRC | 20:00 | |
savid | Hi guys, just curious, has the possibility of being able to modify nova policy via API call ever been considered by the community? | 20:00 |
*** HenryG has quit IRC | 20:03 | |
*** vipul|away is now known as vipul | 20:03 | |
ayoung | fungi, out of curiosity, on that machine, is there a pip log file? Mine wants to put it under /root/.pip | 20:05 |
fungi | ayoung: well, those slaves get reused for all sorts of tests so any pip log for the jenkins user is likely to be really, really long... but i'll take a look | 20:05 |
*** dprince has quit IRC | 20:05 | |
*** topol has quit IRC | 20:06 | |
*** asgreene has joined #openstack-dev | 20:06 | |
*** lloydde has quit IRC | 20:07 | |
*** glikson has quit IRC | 20:07 | |
ayoung | fungi, I have it running now, but my last run was on the wrong machine, and it failed out...jusrt wondering if it was faster for you to look...parallelizing | 20:07 |
ayoung | Downloading/unpacking dnspython>=1.10.0 (from swift->-r /opt/stack/keystone/tools/test-requires (line 30)) | 20:07 |
ayoung | Downloading dnspython-1.10.0.zip (212Kb): 212Kb downloaded | 20:07 |
ayoung | Running setup.py egg_info for package dnspython | 20:07 |
fungi | ayoung: yup, ~jenkins/.pip/pip.log has quite a bit of history. i should be able to find the job timestamp for a point of reference | 20:08 |
fungi | but it'll probably be the same as what you're finding. let's see | 20:08 |
ayoung | fungi, it is all swift's fault | 20:09 |
ayoung | line 30 is | 20:09 |
ayoung | http://tarballs.openstack.org/swift/swift-master.tar.gz#egg=swift | 20:09 |
*** yidclare has joined #openstack-dev | 20:09 | |
clarkb | is keystone installing swift? o_O | 20:09 |
ayoung | clarkb, # swift_auth test dependencies | 20:10 |
*** [1]glikson has joined #openstack-dev | 20:10 | |
fungi | incestuous dependencies indeed | 20:10 |
clarkb | ayoung: seems like a good place for a mock :) | 20:11 |
*** [1]glikson is now known as glik | 20:11 | |
*** bmclaughlin has quit IRC | 20:12 | |
fungi | mmm, actually i can't tell for sure that's what's happening on the slave, since pip running in the jobs seems not to log to pip.log after all (~jenkins/.pip/pip.log was last modified april 29 for the slave where that periodic job ran today) | 20:12 |
*** toanster has quit IRC | 20:12 | |
fungi | but if swift started depending on dnspython around may 3rd or 4th, that would also be telling | 20:13 |
* fungi fires up the ol' git blamethrower | 20:13 | |
*** AlanClark has quit IRC | 20:13 | |
*** glik has quit IRC | 20:15 | |
fungi | ayoung: https://review.openstack.org/#/c/27428/8/tools/pip-requires | 20:15 |
swifterdarrell | fungi: ayoung: Swift did add a dep on dnspython | 20:15 |
*** spzala has joined #openstack-dev | 20:16 | |
ayoung | swifterdarrell, yes, we see that | 20:16 |
fungi | landed in master on the 3rd, corresponding with when these tests started to fail | 20:16 |
swifterdarrell | this bit/will bite packages (including myself a day or so ago) | 20:16 |
openstackgerrit | A change was merged to openstack-dev/grenade: Fix setup-grenade to pass user and host as parameter https://review.openstack.org/28081 | 20:16 |
swifterdarrell | *bite | 20:16 |
*** drewlander has quit IRC | 20:16 | |
swifterdarrell | Here's me trying to roll that dep back to at least what Ubuntu Oneiric/Precise system packages provide: https://review.openstack.org/#/c/28356/ (not sure if that's relevant to your problems, exactly) | 20:17 |
openstackgerrit | A change was merged to openstack-dev/grenade: Fix: kill screen on stop-base https://review.openstack.org/28637 | 20:17 |
*** anniec has joined #openstack-dev | 20:17 | |
swifterdarrell | corresponding openstack/requirements change: https://review.openstack.org/#/c/28653/ | 20:17 |
fungi | ayoung: i want to say the ipv6 breakage stemmed from dnspython/eventlet monkey-patch interactions, and may depend on which gets imported first | 20:18 |
ayoung | fungi, not really | 20:18 |
*** toanster has joined #openstack-dev | 20:18 | |
ayoung | fungi, it is IPV6 | 20:18 |
ayoung | but I think that it is explicitly eventlet | 20:18 |
fungi | k | 20:19 |
ayoung | but...the questions is whether we can somehow fix this. | 20:19 |
fungi | my steel sieve memory may also be conflating a couple of tangentially-related issues there | 20:19 |
openstackgerrit | A change was merged to openstack-dev/grenade: Ensure default flavor is set when upgrading tempest https://review.openstack.org/28693 | 20:19 |
*** toanster has quit IRC | 20:19 | |
ayoung | swifterdarrell, what happens if we remove the dnspython dependency for swift? What breaks? | 20:19 |
ayoung | I assume IPv6 on later platforms, right? | 20:20 |
swifterdarrell | ayoung: if your Swift doesn't try to use the cname_lookup middleware, it's completely irrelevant | 20:20 |
ayoung | swifterdarrell, so one option is to remove it from the pip-requires for swift | 20:21 |
*** cdsvrd has quit IRC | 20:21 | |
ayoung | that is a little draconian | 20:21 |
ayoung | I suspect that Keystone without it will work OK | 20:21 |
swifterdarrell | ayoung: so, there was a bugfix for the cname_lookup middleware--pretty small. But the cname_lookup middleware was both functionally optional (safe-conditionally imported) and its dependency, dnspython was not listed as a dependency of Swift anywhere | 20:21 |
ayoung | swifterdarrell, somehow that assumption got falsificated | 20:22 |
swifterdarrell | ayoung: some folks didn't like that implicit dependency and made it a first-class dependency (which also allows previously-optional tests covering cname_lookup to start running for everyone instead of whoever had actually manually installed dnspython) | 20:22 |
swifterdarrell | ayoung: that being said, it's a dep that was already in openstack/requirements, so outside of packaging, I'm not sure why it's causing other consternation | 20:22 |
*** jamespage_ has joined #openstack-dev | 20:23 | |
swifterdarrell | ayoung: personally, I got pissed off that more fanfare wasn't made when that patch landed (/confession I reviewed it and the guy who wanted it made a first-class dep sits right next to me; but quite a few of us missed the ramifications of that new dep) | 20:23 |
ayoung | swifterdarrell, OK, think we should roll that back to start, and then have a more thought out plan to deal with dnspython, IPv6 and eventlet. Sound about right? | 20:24 |
*** salv-orlando has quit IRC | 20:24 | |
ayoung | Thinking Eventlet should get the Old Yeller treatment myself. | 20:24 |
*** salv-orlando has joined #openstack-dev | 20:25 | |
fungi | i think a lot of people feel that way, but the bullet will require a fair amount of code :/ | 20:25 |
*** megha is now known as baba | 20:25 | |
swifterdarrell | ayoung: I don't understand enough about how dnspython is causing trouble for you, but I'm pretty sure getting rid of eventlet is not the cheapest solution | 20:25 |
*** lloydde has joined #openstack-dev | 20:26 | |
*** toanster has joined #openstack-dev | 20:26 | |
torgomatic | so here's a crazy thought: what if the requirements gate were made less strict, so that Swift could specify a dnspython requirement that works with distro packages, but the stuff in openstack-requirements would also work? | 20:26 |
swifterdarrell | it *was* already in openstack/requirements | 20:26 |
swifterdarrell | torgomatic: I already linked to the two patchsets which (will) do that (when merged) | 20:27 |
torgomatic | that is, change the check from "is exactly equal to openstack/requirements" to "is satisfied by what's in openstack/requirements" | 20:27 |
fungi | i don't think there's anything specific to openstack/requirements which prevents that now | 20:27 |
torgomatic | swifterdarrell: ah, I must not have seen that | 20:27 |
ayoung | swifterdarrell, dnspython is somehow failing on ::1 lookups for IPv6. We commented it out of our unit tests, but looks like it is getting triggered anyway. | 20:27 |
swifterdarrell | ayoung: can you give more details on what's breaking? | 20:27 |
swifterdarrell | ayoung: (thx) | 20:27 |
swifterdarrell | hrm | 20:27 |
ayoung | swifterdarrell, there was a bug for it..I'll link | 20:27 |
openstackgerrit | A change was merged to openstack/nova: Imported Translations from Transifex https://review.openstack.org/28600 | 20:28 |
ayoung | swifterdarrell, https://bugs.launchpad.net/keystone/+bug/1176204 | 20:28 |
uvirtbot | Launchpad bug 1176204 in keystone/grizzly "keystone ipv6 tests fail" [Undecided,Fix committed] | 20:28 |
*** jclift has quit IRC | 20:28 | |
notmyname | ayoung: swifterdarrell: I remember I know that mikal was having some issues with dnspython and IPv6, but I don't know the resolution. mikal added it to openstack/requirements, so I'm assuming there was some sort of resolution | 20:29 |
*** jamespage_ has quit IRC | 20:29 | |
ayoung | swifterdarrell, https://bitbucket.org/eventlet/eventlet/issue/105/name-resolution-needs-to-support-ipv6 | 20:29 |
*** drewlander has joined #openstack-dev | 20:29 | |
ayoung | notmyname, I would state that "resolution" is too optimisitic a term. | 20:30 |
notmyname | ayoung: all I'm saying is that I don't know what it was | 20:30 |
swifterdarrell | I'm currently at a lost as to how Swift's requirements.txt started making DNS resolution for keystone unit tests fail for IPv6... | 20:31 |
swifterdarrell | that's quite a bit of action-at-a-distance | 20:31 |
notmyname | se we added the dependency on dnspython (and subsequently are trying to bump the version requirement back to match LTS version). dnspython was already in openstack/requirements, so whatis the issue? | 20:32 |
mordred | so ... | 20:32 |
ayoung | swifterdarrell, swift's tarball started making keystone's venv code pull it in | 20:32 |
notmyname | and I see in -infra what the issue actually is? | 20:32 |
mordred | well, that's a thing that's up for discussion | 20:32 |
ayoung | the issue is that dnspython breaks when monkeypatched and trying to do IPv6 | 20:32 |
notmyname | why is keystone pulling in swift? | 20:33 |
mordred | one take on this is that keystone/swift integration should be in tempest, not in keystone unittests. BUT... | 20:33 |
*** reed_ has joined #openstack-dev | 20:33 | |
mordred | also, dnspython+eventlet turns out to be broken | 20:33 |
notmyname | ...for ipv6 | 20:33 |
mordred | mikal spent a good amount of time trying to figure out how it can work or not | 20:33 |
*** lloydde has quit IRC | 20:33 | |
mordred | yeah | 20:33 |
mordred | mikal: around? | 20:34 |
clarkb | is he awake yet? | 20:34 |
mordred | lifeless is. I expect mikal to be awake with lifeless is | 20:34 |
lifeless | nup | 20:34 |
lifeless | mikal is 2 hours behind me | 20:34 |
mordred | in any case - the 'easy' answer might be for keystone to not do unittests on swift | 20:34 |
mordred | but I tihnk that's a false fix | 20:35 |
mordred | because devstack would still install both keystone and swfit | 20:35 |
ayoung | I'm OK for yanking swift auth from Keystone. | 20:35 |
*** sacharya has quit IRC | 20:35 | |
ayoung | going once | 20:35 |
mordred | which would mean that dnspython would be pulled in | 20:35 |
mordred | anywya | 20:35 |
ayoung | going twice | 20:35 |
swifterdarrell | I'm dubious of unit tests which start breaking when deps in openstack/requirements get installed... is that crazy? | 20:35 |
clarkb | mordred: yeah there are definitely two different problems here | 20:35 |
clarkb | (at least 2 :) ) | 20:35 |
mordred | swifterdarrell: python dependencies are a complete disaster - so don't be too dubious | 20:35 |
ayoung | swifterdarrell, no, we in Keystone are paranoid. And we end up catching things like this. | 20:35 |
mordred | ayoung: is it a problem in keystone if dnspython is installed? or just in your unittests? | 20:36 |
clarkb | mordred: its a problem if ipv6 is involved. the unittests just happen to catch it | 20:36 |
jeblair | swifterdarrell: the unit tests are correctly failing because eventlet's monkeypatching code paths change when dnspython is installed. so, yeah, there's something to be dubious of here, but i think it's eventlet and monkeypatching, not the unit tests. :) | 20:36 |
mordred | so the problem is real | 20:36 |
mordred | jeblair: ++ | 20:36 |
mordred | it just takes a certain combination of things to trigger it | 20:37 |
swifterdarrell | okie doke | 20:37 |
mordred | so all removing swift dep from keystone will do is cover up the problem again, yeah? | 20:37 |
mordred | I think the real solution is to rewrite swift in go | 20:38 |
*** rkukura has quit IRC | 20:38 | |
fungi | unfortunately it also means that unless some specific resolution is reached, our effort to switch to python26 unit test jobs on centos6 will cause keystone master and grizzly to instabreak in the gate | 20:38 |
mordred | keystone in perl and nova in objective-c - that way we can be assured that we won't step on each other with dependencies | 20:38 |
mordred | fungi: sad panda | 20:38 |
ayoung | I think the real solution is dropping eventlet | 20:38 |
mordred | yeah. clearly. it seems to be the cause of most of our problems | 20:39 |
swifterdarrell | ayoung: that'll be an interesting patch | 20:39 |
* mordred not kidding | 20:39 | |
fungi | one distasteful option would be to make keystone python26 unit tests non-voting in the gate, but ew | 20:39 |
mordred | no, I don't think that's the right choice | 20:39 |
fungi | agreed | 20:39 |
ayoung | swifterdarrell, we can already do it for Keystone | 20:39 |
mordred | ayoung: oh yeah? | 20:39 |
ayoung | https://review.openstack.org/#/c/28387/ | 20:39 |
ayoung | mordred, jamielennox is kicking ass and taking UUIDs | 20:40 |
ayoung | that patch is overkill, as he was learning the tree and refactoring as he was going, but the idea was that we can extract all of the eventlet code and run using webtest | 20:40 |
ayoung | mordred, I had keystone/apache HTTPD running a year ago. | 20:41 |
mordred | ayoung: awesome. I am fully in favor of that as a path | 20:41 |
*** lloydde has joined #openstack-dev | 20:41 | |
mordred | ayoung: so, let me summarize - there is a problem deep in here, but it's a weird enough one that in a production deployment it's avoidable for now | 20:41 |
mordred | ayoung: if we remove swift from keystone unittests for the moment, we unbreak the current issue | 20:41 |
mordred | ayoung: then, we make the issue go away long term by removing eventlet from keystone | 20:42 |
mordred | first in the tests | 20:42 |
mikal | lifeless: mikal is actually awake, just still booting up | 20:42 |
mordred | and eventually just by having apache/httpd handle the good stuff | 20:42 |
mordred | yeah? | 20:42 |
fungi | keep in mind this is affecting keystone stable/grizzly too, so whatever is done to work around or fix this on master needs a backport as well | 20:42 |
mordred | ayoung: do you think removing the test-requires on swift in stable/grizzly is ok? | 20:43 |
notmyname | it seems that the issue is that if dnspython is used, eventlet ends up patching getaddrinfo(). which causes ipv6 resolutions to break. and since keystone is pulling in swift (I don't understand why on that yet) and swift is now pulling in dnspython, keystone's tests (which probably do some getarrdinfo calls with ipv6) break. | 20:43 |
ayoung | I'll try it morazi | 20:43 |
notmyname | is that correct? | 20:43 |
ayoung | mordred, | 20:43 |
fungi | probably as simple as pinning test-requires on swift in stable/grizzly to a version before the dnspython dependency was declared | 20:43 |
mordred | notmyname: yes. but I think we've got a plan forward that removes many of those pieces | 20:44 |
mordred | ayoung: awesome | 20:44 |
fungi | if there's concern over ripping swift out of the test-requires for keystone stable/grizzly altogether i mean | 20:44 |
*** zul has joined #openstack-dev | 20:44 | |
mordred | ayoung: I could love it if keystone+apache became a new model forward for how we don't have to solve the concurrency issues in pure python | 20:45 |
mordred | s/could/would/ | 20:45 |
lifeless | mikal: heh | 20:45 |
lifeless | mikal: of course in a few months you'll be awake 24x7 again | 20:46 |
notmyname | mordred: some people, when confronted with a problem, say, "I know! I'll use C!".... | 20:46 |
mikal | Yay! | 20:46 |
mikal | Not really looking forward to that | 20:46 |
lifeless | mikal: but I can mail you a staplegun if you like | 20:46 |
lifeless | mikal: so you can fix your problem to the wall and get some shuteye :) | 20:46 |
mikal | Heh | 20:46 |
mordred | notmyname: yup. | 20:46 |
vishy | jgriffith: ping | 20:47 |
mordred | notmyname: some people, when confronted with a problem, say "I know! I'll use a thing that's already been written and powers over half of the internet" | 20:47 |
fungi | pfe | 20:47 |
notmyname | mordred: http://www.slideshare.net/GrahamDumpleton/pycon-us-2013-making-apache-suck-less-for-hosting-python-web-applications | 20:48 |
*** adalbas has quit IRC | 20:48 | |
jgriffith | vishy: hey ya | 20:48 |
*** drewlander has quit IRC | 20:48 | |
clarkb | one thing we may have overlooked: leaving dnspython in swift may bork ipv6 there | 20:48 |
vishy | jgriffith: considering my obvious lack of cinder reviews you probably should just remove me from core :) | 20:49 |
clarkb | not sure if that is a concern but I don't think anyone brought it up | 20:49 |
jgriffith | vishy: or you could join the dark side forever :) | 20:49 |
vishy | jgriffith: a bit unlikely i feel :) | 20:49 |
jgriffith | vishy: :) | 20:49 |
jgriffith | vishy: sure, but I'm hoping to still be able to get your advice and help (you can't hide) | 20:50 |
clarkb | also do we know why only centos is affected? | 20:51 |
clarkb | the other ipv6 + dnspython stuff we ran into was affecting ubuntu too | 20:51 |
vishy | jgriffith: i will still happily give advice and help | 20:51 |
jgriffith | vishy: I had assumed, thanks | 20:53 |
fungi | clarkb: might be a question for dprince... he's a bit more intimate with the other weirdness related to having to use red hat's eventlet package to work with the modified python they ship. not sure if there's some special interaction there (eventlet present when dnspython is imported?) | 20:55 |
*** alop has quit IRC | 20:56 | |
*** salv-orlando has quit IRC | 20:56 | |
*** Mapleh has quit IRC | 20:57 | |
*** bswartz has quit IRC | 20:59 | |
*** nunosantos has joined #openstack-dev | 21:00 | |
*** rerngvit has joined #openstack-dev | 21:00 | |
*** lloydde has quit IRC | 21:00 | |
*** rerngvit has left #openstack-dev | 21:00 | |
*** markmcclain has quit IRC | 21:01 | |
ayoung | fungi, I'm running it now. I'll let you know what happens, but I expect some of the tests to fail. We can probably disable those tests, and I would be OK with migrating them to Tempest. I'm looking now to see what I'd expect to fail | 21:02 |
*** johnthetubaguy has joined #openstack-dev | 21:02 | |
ayoung | test_s3_token_middleware.py is the obvious one | 21:02 |
*** alop has joined #openstack-dev | 21:03 | |
fungi | ayoung: okay. should i hold off from making centos tests active in the gate, or do you think you have a sufficient handle on patching this up? | 21:03 |
*** spzala has quit IRC | 21:03 | |
*** mikal has quit IRC | 21:03 | |
ayoung | fungi, if you make it active in gate, it will break everything. DO IT! | 21:03 |
*** sacharya has joined #openstack-dev | 21:04 | |
ayoung | lets get everyone pinging on this! | 21:04 |
fungi | the impetus being today is the last day ubuntu has security support for oneiric, and they don't have later releases with python 2.6 | 21:04 |
*** mikal has joined #openstack-dev | 21:05 | |
fungi | so centos is basically our python 2.6 life raft now | 21:05 |
openstackgerrit | A change was merged to openstack/keystone: A minor refactor in wsgi.py https://review.openstack.org/28657 | 21:05 |
*** johnthetubaguy1 has joined #openstack-dev | 21:05 | |
ayoung | fungi, patch: **** Can't open patch file contrib/redhat-eventlet.patch : No such file or directory how come I didn't see that error before? | 21:07 |
*** johnthetubaguy has quit IRC | 21:07 | |
*** johnthetubaguy1 is now known as johnthetubaguy | 21:07 | |
*** lauria has quit IRC | 21:08 | |
fungi | ayoung: mmm, good question. the extent of my knowledge there is that rhel backported something from later python to 2.6, which in turn broke eventlet... so then they use a patched eventlet to work around their nonstandard python... it's honestly a mess | 21:08 |
*** ashwini has quit IRC | 21:08 | |
*** adrian_otto has joined #openstack-dev | 21:10 | |
ayoung | fungi, yeah, but I ran the unit tests on this machine already, and didn't see it the first time around..maybe I am on the wrong machine? | 21:10 |
ayoung | Nope, it is one of dprince's at rax running centos....def the right machine. Trying again with tox now | 21:11 |
fungi | not entirely sure what to suggest in that case | 21:11 |
ayoung | tox still failed the same way | 21:12 |
ayoung | actually...no | 21:12 |
ayoung | KcMaster now passes | 21:12 |
ayoung | Kc11TestCase fails... | 21:12 |
ayoung | ImportError: No module named contrib.ec2 | 21:13 |
ayoung | ok, I think that is a red herring, saw that before | 21:13 |
ayoung | fungi, I think we are good with no swift. I'll run the whole tox thing to confirm that only the swift middleware test fails | 21:13 |
fungi | ayoung: awesome | 21:14 |
fungi | ayoung: i'm going to cook dinner quickly, and then get behind the centos change and start pushing | 21:14 |
*** armax has quit IRC | 21:14 | |
ayoung | fungi, sounds good. I just saw the Kc11Test case pass when running the full tox suite | 21:15 |
*** cloudchimp has quit IRC | 21:16 | |
ayoung | swifterdarrell, this would mean yanking the swift middleware test from keystone. | 21:17 |
*** pabelanger_ has quit IRC | 21:18 | |
swifterdarrell | ayoung: been working on something else for a bit; to clarify, you're talking about not continuing to test a piece of code which lives in the Swift repo in the unit tests of the Keystone repo? | 21:18 |
swifterdarrell | ayoung: that seems entirely reasonable | 21:19 |
*** pabelanger has joined #openstack-dev | 21:19 | |
ayoung | swifterdarrell, we have th3e middleware in keystone | 21:19 |
openstackgerrit | A change was merged to openstack/python-glanceclient: Expand HACKING with commit message guidelines https://review.openstack.org/27589 | 21:19 |
*** zul has quit IRC | 21:19 | |
ayoung | swifterdarrell, https://github.com/openstack/keystone/blob/master/keystone/middleware/s3_token.py | 21:19 |
*** chuck_ has joined #openstack-dev | 21:19 | |
swifterdarrell | ah, so it'd be not continuing to test a piece of code which lives in the Keystone repo (which runs inside of Swift) in the unit tests of the Keystone repo? | 21:20 |
*** radez is now known as radez_g0n3 | 21:22 | |
ayoung | swifterdarrell, so the keystone code pulls in code from swift. Kindof round-about | 21:22 |
*** malini_ has quit IRC | 21:22 | |
ayoung | swifterdarrell, that code was origianlly in swift, I think | 21:23 |
swifterdarrell | ayoung: *nod* | 21:23 |
ayoung | swifterdarrell, OK, that code totally does not need swift | 21:23 |
ayoung | swift_utils.split_path(req.path, 1, 4, True) | 21:23 |
swifterdarrell | ayoung: IIRC it also didn't used to scale well until it was mated with Swift's concurrency framework (the oft-maligned eventlet) | 21:23 |
ayoung | and self.logger = swift_utils.get_logger(conf, log_route='s3token') | 21:23 |
*** jamespage_ has joined #openstack-dev | 21:24 | |
swifterdarrell | ayoung: the first one could be inlined easily, but I think deployers are going to expect this keystone middleware to handle logging the way all the rest of Swift does | 21:25 |
*** erfanian has joined #openstack-dev | 21:25 | |
ayoung | swifterdarrell, it is possible that eventlet maps well to someones use case in Open Stack, just not Keystone's. But I doubt it. | 21:25 |
swifterdarrell | ayoung: duly noted | 21:25 |
*** diogogmt has quit IRC | 21:26 | |
ayoung | swifterdarrell, there is very little in here that is keystone specific, either. It more likely belongs in common | 21:26 |
ayoung | but as for logging, is swift really doing something so different? | 21:27 |
*** giulivo has joined #openstack-dev | 21:29 | |
ayoung | OK, just looked at the get_logger code. Yes, yes you are | 21:29 |
*** jasondotstar has quit IRC | 21:29 | |
notmyname | ayoung: :-) | 21:29 |
*** alop_ has joined #openstack-dev | 21:29 | |
*** alop has quit IRC | 21:30 | |
*** alop_ is now known as alop | 21:30 | |
*** jamespage_ has quit IRC | 21:31 | |
*** mlavalle has quit IRC | 21:31 | |
*** lloydde has joined #openstack-dev | 21:32 | |
*** pabelanger has quit IRC | 21:32 | |
*** pabelanger has joined #openstack-dev | 21:32 | |
*** FatDarrel has quit IRC | 21:33 | |
*** esheffield has quit IRC | 21:34 | |
*** SergeyLukjanov has quit IRC | 21:35 | |
*** openstackstatus has quit IRC | 21:36 | |
*** cdsvrd has joined #openstack-dev | 21:38 | |
*** chuck_ has quit IRC | 21:38 | |
termie | i really shouldn't try to schedule work after code reviews | 21:39 |
*** soleblaze has quit IRC | 21:39 | |
*** lloydde has quit IRC | 21:41 | |
*** athomas has quit IRC | 21:41 | |
*** gyee has quit IRC | 21:41 | |
*** jjmb has joined #openstack-dev | 21:43 | |
*** openstackstatus has joined #openstack-dev | 21:44 | |
ayoung | fungi, OK, I deleted: tests/test_s3_token_middleware.py and modified: tools/test-requires to remove swift, and now the tests run 100% | 21:44 |
*** jbresnah has quit IRC | 21:44 | |
ayoung | I'm going to post that for review. We can argu over it there. | 21:44 |
*** lpmulligan has quit IRC | 21:44 | |
swifterdarrell | ayoung: maybe your test code could import eventlet, monkeypatch eventlet.monkey_patch to NOOP, then continue with normal imports? I'm only half-joking | 21:46 |
*** alop has quit IRC | 21:47 | |
*** eglynn has quit IRC | 21:48 | |
ayoung | swifterdarrell, only half? | 21:49 |
*** bswartz has joined #openstack-dev | 21:49 | |
*** salv-orlando has joined #openstack-dev | 21:49 | |
fungi | ayoung: i'm about to make that review very popular, when it becomes the only change in keystone which can pass the gate ;) | 21:50 |
ayoung | fungi, schweeet! | 21:51 |
apevec | ayoung, fungi - what about stable ? | 21:53 |
fungi | apevec: ayoung needs to post a backport of it to keystone stable/grizzly too | 21:53 |
fungi | stable/folsom is unaffected by the issue though | 21:53 |
*** dolphm has joined #openstack-dev | 21:54 | |
*** dolphm has quit IRC | 21:54 | |
*** READ10 has quit IRC | 21:54 | |
apevec | fungi, how come, it also has http://tarballs.openstack.org/swift/swift-master.tar.gz#egg=swift in test-requires ? | 21:55 |
ayoung | apevec, to get the s3 middleware test to pass | 21:55 |
*** redbeard2 has quit IRC | 21:55 | |
ayoung | apevec, https://github.com/openstack/keystone/blob/master/keystone/middleware/s3_token.py | 21:56 |
apevec | fungi, ayoung - what about changing that test dep to http://tarballs.openstack.org/swift/swift-stable-folsom.tar.gz | 21:56 |
apevec | and http://tarballs.openstack.org/swift/swift-stable-grizzly.tar.gz | 21:56 |
apevec | on respective keystone stable branches? | 21:56 |
*** dolphm has joined #openstack-dev | 21:56 | |
*** stevemar has quit IRC | 21:56 | |
ayoung | apevec, lets hand this off to dolphm , as I need to catch a bus. dolphm ... | 21:57 |
fungi | i expect that would work too, but it's up to ayoung. i'm really just the ci messenger trying not to get shot | 21:57 |
ayoung | dolphm, we are pulling in swift, which is pulling in dns | 21:57 |
ayoung | dolphm, and dns gets up IPv6 nasitness, which is why the gate is breaking | 21:58 |
dolphm | oh really? | 21:58 |
fungi | (or will be anyway) | 21:58 |
dolphm | in folsom? | 21:58 |
ayoung | dolphm, look in test-requires | 21:58 |
openstackgerrit | A change was merged to openstack-dev/devstack: Add pbr to devstack. https://review.openstack.org/28590 | 21:58 |
ayoung | dolphm, master | 21:58 |
fungi | post-folsom. grizzly and master only | 21:58 |
ayoung | dolphm, https://github.com/openstack/keystone/blob/master/keystone/middleware/s3_token.py#L41 | 21:58 |
ayoung | that needs swift code which we get from | 21:58 |
*** martine has quit IRC | 21:58 | |
ayoung | https://github.com/openstack/keystone/blob/master/tools/test-requires#L30 | 21:59 |
bknudson | ayoung: which tests are failing? | 21:59 |
ayoung | bknudson, all the ones that start up a server. Keystone client | 21:59 |
dolphm | ayoung: is there a gate failure we can look at? | 21:59 |
bknudson | My patch just disabled the ones where it started keystone with ::1 | 21:59 |
ayoung | OK, I'm out...bus is leaving in 2 | 21:59 |
apevec | dolphm, I think fungi has logs | 22:00 |
fungi | dolphm: ayoung: i can get you logs and a redux momentarily | 22:00 |
*** alunduil has quit IRC | 22:00 | |
*** alop has joined #openstack-dev | 22:00 | |
*** radsy has joined #openstack-dev | 22:00 | |
*** jjmb has quit IRC | 22:01 | |
*** jecarey has quit IRC | 22:01 | |
bknudson | so keystone doesn't start at all with eventlet + dnspython on centos? | 22:02 |
bknudson | I thought it was just IPv6 address resolving that was broken. | 22:02 |
clarkb | bkero: there is apparently another reaction when run on centos | 22:03 |
clarkb | potentially because rhel and friends need a patches eventlet to accomodate python2.6 on rhel | 22:03 |
*** ayoung has quit IRC | 22:03 | |
apevec | fungi, ayoung - I've put https://review.openstack.org/28728 just as a test, to see what jenkins will say | 22:03 |
*** aelkikhia has joined #openstack-dev | 22:04 | |
*** portante is now known as portante|afk | 22:04 | |
clarkb | s/patches/patched/ | 22:04 |
*** brunnhilde has quit IRC | 22:04 | |
*** lloydde has joined #openstack-dev | 22:05 | |
*** sacharya has quit IRC | 22:05 | |
*** FatDarrel has joined #openstack-dev | 22:06 | |
*** kbringard has quit IRC | 22:06 | |
*** johnthetubaguy has quit IRC | 22:06 | |
fungi | bknudson: dolphm: to catch you up, immediately after swift landed a change in master to start depending on dnspython, keystone master and stable/grizzly unit tests began doing this on centos... http://logs.openstack.org/periodic/periodic-keystone-python26-stable-grizzly-centos6/4/console.html.gz | 22:07 |
*** savid has quit IRC | 22:08 | |
dolphm | fungi: i assume dnspython is monkey patching something? | 22:08 |
bknudson | fungi: at the same time, keystone master otherwise failed, too, because it couldn't start the server with an IPv6 address. | 22:08 |
bknudson | fungi: so this is weirder. I might be able to put together a centos vm to debug on. | 22:09 |
fungi | bknudson: dolphm: note that http://logs.openstack.org/periodic/periodic-keystone-python26-stable-grizzly-centos6/3/console.html.gz passed on the same exact keystone gitsha the night before, and the only difference according to pip freeze was that dnspython was suddenly present | 22:09 |
bknudson | see why the server doesn't start. | 22:09 |
*** zul has joined #openstack-dev | 22:09 | |
bknudson | fungi: in the ipv6 address case, we found the line of code in eventlet that said "eventlet doesn't support IPv6 address resolution" | 22:10 |
fungi | bknudson: yes, that's a (at least for some of us) well-known situation with eventlet | 22:11 |
*** maoy has quit IRC | 22:11 | |
bknudson | although it's maybe not worth it to figure out what the problem is if removing the swift dependency is better anyways. | 22:11 |
fungi | bknudson: add to the mix, eventlet and dnspython do not play well together, possibly dependent on which is loaded into the namespace first (they both monkey-patch some of the same bits of stdlib) | 22:11 |
bknudson | the output says this: "keystone.common.wsgi: DEBUG: Starting .tox/py26/bin/nosetests on ::1:0" ?? why's it say ::1:0? | 22:12 |
bknudson | is localhost ::1? | 22:12 |
*** soleblaze has joined #openstack-dev | 22:12 | |
bknudson | is hostname ::1? | 22:12 |
clarkb | bknudson: yes, ::1 is the loopback address for ipv6 | 22:12 |
*** anniec has quit IRC | 22:12 | |
fungi | yes, ::1 is the ipv6 equivalent of 127.0.0.0/8 | 22:12 |
clarkb | :0 is listen on a random high port | 22:12 |
*** Ryan_Lane1 has joined #openstack-dev | 22:13 | |
bknudson | but on other systems, does it say ::1 or 127.0.0.1 ? | 22:13 |
*** Ryan_Lane has quit IRC | 22:13 | |
fungi | clarkb: you're thinking on a different osi layer there ;) | 22:13 |
*** Ryan_Lane1 is now known as Ryan_Lane | 22:13 | |
*** Ryan_Lane has joined #openstack-dev | 22:13 | |
*** giulivo has quit IRC | 22:13 | |
*** giulivo has joined #openstack-dev | 22:13 | |
fungi | bknudson: it usually says both on the modern linus distributions with which i'm familiar. some of them may say localhost6 for ::1 instead | 22:14 |
*** soleblaze has quit IRC | 22:14 | |
*** mlavalle has joined #openstack-dev | 22:14 | |
bknudson | oh, I was looking at the wrong log, never mind. | 22:14 |
*** yidclare has quit IRC | 22:14 | |
fungi | er, s/linus/linux/ | 22:14 |
*** soleblaze has joined #openstack-dev | 22:14 | |
apevec | jd__, is ceilo stable/grizzly good to go? | 22:15 |
clarkb | fungi: am I? ifconfig says lo has address ::1/128 | 22:15 |
*** yidclare has joined #openstack-dev | 22:16 | |
apevec | jd__, I guess yes, nothing is open: https://review.openstack.org/#/q/status:open+project:openstack/ceilometer+branch:stable/grizzly,n,z | 22:16 |
fungi | clarkb: your :0 comment about listening on a random port is layer 4-ish (and a linux tcp/ip stack detail anyway) | 22:16 |
clarkb | oh that bit | 22:16 |
fungi | oh, nevermind. you were commenting on the :0 part of ::1:0 | 22:16 |
* fungi looks sheepish | 22:17 | |
bknudson | all this seems to indicate that keystone isn't going to work on centos, if they happen to have dnspython installed. | 22:17 |
dolphm | bknudson: clarkb: related? https://bugs.launchpad.net/nova/+bug/1164822 | 22:18 |
uvirtbot | Launchpad bug 1164822 in nova "eventlet monkey patches getaddrinfo if dnspython is installed" [Medium,Fix committed] | 22:18 |
clarkb | bknudson: correct, but they only need dnspython for a small subset of functionality so it doesn't appear to bother them too much | 22:18 |
fungi | bknudson: i can't entirely disagree with that assertion, as i don't know a ton about keystone's network stack | 22:18 |
openstackgerrit | A change was merged to openstack/nova: Record smoketest dependency on gFlags https://review.openstack.org/27852 | 22:18 |
openstackgerrit | A change was merged to openstack/glance: Add documentation for query parameters https://review.openstack.org/28548 | 22:18 |
openstackgerrit | A change was merged to openstack/nova: Fixes KeyError bug with network api associate https://review.openstack.org/28497 | 22:18 |
openstackgerrit | A change was merged to openstack/nova: Fix zookeeper import and tests https://review.openstack.org/28555 | 22:18 |
clarkb | dolphm: yes, and that appears to be a potential fix | 22:18 |
dolphm | clarkb: adding keystone to that bug then | 22:18 |
clarkb | so maybe you can do that and get ipv6 testing back too | 22:18 |
*** belmoreira has quit IRC | 22:19 | |
bknudson | dolphm: I don't know if it's just getaddrinfo, though. Since the getaddrinfo problem was only about IPv6 address resolution. | 22:20 |
bknudson | and I don't think that's what's happening on the failing centos tests. | 22:20 |
dolphm | bknudson: only about ipv6 resolution? is that not the problem here? | 22:21 |
bknudson | dolphm: that was the problem on the other systems, and we worked around it by not testing ipv6. So all these tests that are now failing on centos pass on other systems with dnspython. | 22:22 |
*** datsun180b has quit IRC | 22:22 | |
bknudson | that's why I think it's not the IPv6 getaddrinfo problem... I don't see how IPv6 is involved in the current failing tests. | 22:23 |
*** koolhead17 has quit IRC | 22:23 | |
bknudson | but I haven't got a centos system handy | 22:23 |
clarkb | I think it may not be the resolution necessarily but may be the monkey patching | 22:23 |
clarkb | my understanding of what mikal said in that bug is you avoid monkeypatching with that fix | 22:24 |
*** hartsocks has quit IRC | 22:25 | |
*** hartsocks has joined #openstack-dev | 22:25 | |
bknudson | clarkb: maybe it would be worth a try to do the same fix as https://review.openstack.org/#/c/26325/ ? | 22:25 |
*** adrian_otto has quit IRC | 22:25 | |
clarkb | yeah you can whip that up fairly quick and jenkins will let us know if it works or not | 22:26 |
bknudson | I'll give it a shot | 22:26 |
dolphm | clarkb: all he's doing is setting an environment variable as early as possible; you can test that yourself without a patch | 22:29 |
dolphm | bknudson: ^ | 22:29 |
clarkb | I thought he was importing eventlet before anything else | 22:29 |
clarkb | so that monkey patching does not occur | 22:30 |
fungi | dolphm: bknudson: clarkb: some of the difference may have to do with rhel vs debuntu conventions in /etc/hosts... http://paste.openstack.org/show/37073/ | 22:30 |
apevec | fungi, you said earlier that folsom is not affected, but isn't that just b/c you don't have centos jobs there? e.g. https://review.openstack.org/#/c/28679/ | 22:30 |
fungi | worth keeping in mind anyway | 22:30 |
dolphm | clarkb: more importantly he's setting an environment variable before eventlet has a chance to monkeypatch, so that it won't do so | 22:30 |
dolphm | export EVENTLET_NO_GREENDNS=yes | 22:30 |
clarkb | ah | 22:30 |
clarkb | I missed that. currently doing far too much mutlitasking | 22:30 |
fungi | apevec: no, we're doing bitrot jobs of stable/folsom on centos as well, and those are consistently passing | 22:30 |
apevec | fungi, interesting | 22:31 |
clarkb | they may not include those tests | 22:31 |
fungi | apevec: it may be that keystone didn't start to depend on swift until grizzly | 22:31 |
*** hartsocks has quit IRC | 22:31 | |
bknudson | clarkb: it does look like it kinda worked. | 22:32 |
dolphm | fungi: apevec: we've had that import from swift for as long as i can remember | 22:32 |
apevec | yeah, folsom keystone also has swift-master.tar.gz in test-requires | 22:32 |
fungi | dolphm: apevec: so there's something else making the folsom unit tests immune to this issue then, but they're definitely passing | 22:32 |
fungi | dolphm: apevec: success still this morning... http://logs.openstack.org/periodic/periodic-keystone-python26-stable-folsom-centos6/9/console.html.gz | 22:33 |
*** alop_ has joined #openstack-dev | 22:33 | |
dolphm | fungi: i don't think swift does backports, so whatever version of swift keystone stable/folsom is testing against definitely wouldn't be pulling in dnspython | 22:33 |
*** eharney has quit IRC | 22:33 | |
*** alop_ has quit IRC | 22:34 | |
*** rnirmal has quit IRC | 22:34 | |
*** alop_ has joined #openstack-dev | 22:34 | |
dolphm | "Greendns: if dnspython is installed, Eventlet will automatically use it to provide non-blocking DNS queries. Set the environment variable 'EVENTLET_NO_GREENDNS' if you don't want greendns but have dnspython installed." | 22:34 |
apevec | dolphm, it's testing against swift-master | 22:34 |
*** alop has quit IRC | 22:34 | |
*** alop_ is now known as alop | 22:34 | |
apevec | https://github.com/openstack/keystone/blob/stable/folsom/tools/test-requires#L26 | 22:35 |
openstackgerrit | A change was merged to openstack/nova: Enable live block migration when using iSCSI volumes https://review.openstack.org/25419 | 22:35 |
dolphm | apevec: hmm, i don't think keystone stable/folsom has ipv6 support | 22:35 |
apevec | ah that's it then | 22:35 |
*** danwent has quit IRC | 22:35 | |
*** Aarti has quit IRC | 22:37 | |
bknudson | dolphm: I slapped this together, we'll see what happens: https://review.openstack.org/#/c/28737/ | 22:37 |
*** vkmc has joined #openstack-dev | 22:37 | |
*** Aarti has joined #openstack-dev | 22:37 | |
dolphm | bknudson: lol give still credit for his comment | 22:37 |
fungi | dolphm: bknudson: just to reiterate, the impetus here is that we're switching from ubuntu oneiric (which is officially eol upstream today) to centos 6.3 for python 2.6 unit testing | 22:38 |
bknudson | I guess I'll show up in the blame anyways, so didn't have to change the name. | 22:38 |
dolphm | bknudson: nah | 22:38 |
dolphm | bknudson: i can't upvote plagiarism anyway | 22:38 |
*** lloydde has quit IRC | 22:39 | |
bknudson | I could try to put my own spin on it. | 22:39 |
dolphm | bknudson: why put it in those entry points instead of keystone/__init__.py? | 22:39 |
dolphm | bknudson: oh, nevermind | 22:39 |
bknudson | I have to somehow catch it before "import eventlet" | 22:39 |
dolphm | yeah, nova's got tests/__init__.py for that, etc | 22:40 |
termie | i remember when we had one of those | 22:41 |
* termie still does | 22:41 | |
*** epim has quit IRC | 22:42 | |
dolphm | termie: that's step 1 of keystoneliter | 22:42 |
termie | dolphm: __init__.py's EVERYWHERE | 22:43 |
termie | docs/__init__.py | 22:43 |
*** Aarti has quit IRC | 22:44 | |
bknudson | dolphm: Here's the next rev https://review.openstack.org/#/c/28737/ | 22:46 |
dolphm | bknudson: so the gate-keystone-python26-centos6 job should pass now? | 22:48 |
apevec | fungi, stable/grizzly centos worked with swift tarball locked to grizzly (swift 1.8.0) https://review.openstack.org/#/c/28728/ | 22:49 |
bknudson | dolphm: If the problem was eventlet address resolution, then it'll pass | 22:49 |
*** lloydde has joined #openstack-dev | 22:49 | |
*** terryh has quit IRC | 22:49 | |
apevec | fungi, granade failed though, but that's unrelated I guess | 22:49 |
bknudson | dolphm: although it might be useful to take this change anyways since a) added back in ipv6 tests, and b) consistent with nova. | 22:49 |
*** terryh has joined #openstack-dev | 22:50 | |
dolphm | bknudson: cool, if it passes, merge it! i'm about to run off as well | 22:50 |
fungi | apevec: maybe. grenade has been mostly passing on master, but maybe not on stable | 22:50 |
*** reed_ is now known as reed | 22:50 | |
clarkb | fungi: yeah I noticed in the last dayish it has failed semi randomly | 22:50 |
bknudson | dolphm: I can check in later. | 22:50 |
*** jimfehlig has quit IRC | 22:50 | |
*** jjmb has joined #openstack-dev | 22:51 | |
*** Ryan_Lane has quit IRC | 22:51 | |
fungi | okay, just be aware the .*-centos6 jobs will shortly disappear, and the python26 jobs will be running on centos6 slaves | 22:51 |
*** terryh has quit IRC | 22:52 | |
fungi | those non-voting jobs were our dry-run to make sure everything would be okay. this swift->dnspython->keystone situation came up out of nowhere and jumped us at the end, or else we'd have given a little more of a heads-up | 22:53 |
*** zul has quit IRC | 22:53 | |
dolphm | no worries | 22:54 |
*** galstrom is now known as galstrom_zzz | 22:54 | |
*** jjmb1 has joined #openstack-dev | 22:56 | |
*** michchap_ has quit IRC | 22:56 | |
*** michchap has joined #openstack-dev | 22:56 | |
*** bknudson has quit IRC | 22:57 | |
*** jjmb has quit IRC | 22:58 | |
*** JonnyNomad_ has joined #openstack-dev | 22:59 | |
*** matiu has joined #openstack-dev | 23:00 | |
*** matiu has quit IRC | 23:00 | |
*** matiu has joined #openstack-dev | 23:00 | |
*** JonnyNomad has quit IRC | 23:00 | |
*** alunduil has joined #openstack-dev | 23:00 | |
*** yidclare has quit IRC | 23:00 | |
*** michchap_ has joined #openstack-dev | 23:03 | |
*** yidclare has joined #openstack-dev | 23:03 | |
*** dolphm has quit IRC | 23:04 | |
*** michchap_ has quit IRC | 23:05 | |
*** michchap_ has joined #openstack-dev | 23:05 | |
*** michchap has quit IRC | 23:05 | |
*** rcleere has quit IRC | 23:07 | |
*** zul has joined #openstack-dev | 23:07 | |
*** soleblaze has quit IRC | 23:08 | |
*** danwent has joined #openstack-dev | 23:08 | |
*** soleblaze has joined #openstack-dev | 23:09 | |
*** mdenny has quit IRC | 23:10 | |
*** apevec has quit IRC | 23:12 | |
*** pcm_ has joined #openstack-dev | 23:15 | |
*** katylava has quit IRC | 23:16 | |
*** ayoung has joined #openstack-dev | 23:17 | |
openstackgerrit | A change was merged to openstack/cinder: Remove outdated cinder test doc https://review.openstack.org/28726 | 23:19 |
*** jayg is now known as jayg|g0n3 | 23:19 | |
*** jamespage_ has joined #openstack-dev | 23:20 | |
*** anniec has joined #openstack-dev | 23:21 | |
*** FunnyLookinHat has quit IRC | 23:24 | |
*** ashwini has joined #openstack-dev | 23:24 | |
*** pixelbeat_ has joined #openstack-dev | 23:25 | |
ayoung | fungi, all resolved? | 23:25 |
fungi | ayoung: prolly. dolphm and bknudson were all over parallel reimplementations of your fix | 23:26 |
fungi | though they both seem to have disappeared since | 23:27 |
ayoung | fungi, I'll look in the evesdrop | 23:27 |
fungi | redundant fixes are always welcome anyway | 23:27 |
*** giulivo has quit IRC | 23:29 | |
ayoung | fungi, https://review.openstack.org/#/c/28728/ | 23:29 |
ayoung | approved and merging | 23:29 |
fungi | right on. zuul is waiting for running tests to complete before it reloads to make centos the python26 default node type | 23:30 |
*** jvrbanac has quit IRC | 23:30 | |
fungi | so your merge will (hopefully) go through shortly thereafter | 23:31 |
*** bknudson has joined #openstack-dev | 23:32 | |
*** dolphm has joined #openstack-dev | 23:35 | |
*** michchap has joined #openstack-dev | 23:36 | |
*** michchap_ has quit IRC | 23:36 | |
*** Vinay_ has joined #openstack-dev | 23:37 | |
*** bknudson has quit IRC | 23:37 | |
Vinay_ | Hello is anyone here? | 23:37 |
Vinay_ | I have a question about instance_info_cache | 23:37 |
comstud | Vinay_: I can probably help you | 23:39 |
Vinay_ | Hi comstud thanks | 23:40 |
Vinay_ | We want to know what is instance_info_cache | 23:40 |
Vinay_ | and how it is used in nova | 23:40 |
comstud | it's a table used to store a copy of data that is normally outside of nova | 23:40 |
comstud | specifically right now it's used to store networking information | 23:40 |
comstud | so we don't have to query quantum for it when someone does a 'nova show' or 'nova list' | 23:40 |
comstud | as that would add a lot of latency to the API call | 23:41 |
fungi | ayoung: oh, actually 28728 is already enqueued in the gate, so it'll go in before the reload (assuming it passes) | 23:41 |
*** lloydde has quit IRC | 23:41 | |
Vinay_ | What we are seeing is this table is storing an outdated version of our gateway (for a particular instance) and the fixed_ips table gets corrupted | 23:41 |
comstud | Vinay_: (So we stash a copy in the nova DB) | 23:41 |
comstud | If you're using nova-network, I can only guess somehow the gateway is misconfigured | 23:42 |
Vinay_ | so which process does this stashing of a copy in the db.. | 23:42 |
Vinay_ | Yes we are using nova-network | 23:42 |
comstud | nova-compute tends to do this | 23:42 |
Vinay_ | so we modified the gateway in networks table to some other value | 23:43 |
comstud | the code is likely in nova/network/api.py | 23:43 |
comstud | which nova-compute calls | 23:43 |
Vinay_ | then restarted everything | 23:43 |
comstud | Ah ok.. | 23:43 |
comstud | so your instances were built with the old gateway | 23:43 |
comstud | right? | 23:43 |
Vinay_ | yes | 23:43 |
Vinay_ | instances were built with old gateway , then we changed it | 23:43 |
comstud | I don't think there's anything that'll fix the cache automatically. because... | 23:44 |
comstud | because your instances were built with the old gateway | 23:44 |
comstud | Solution is to build new instances with the corrected gateway :) | 23:44 |
comstud | Or if you've manually fixed things.. you'll have to manually fix the cache too | 23:44 |
Vinay_ | ok how do I manually fix the cache | 23:45 |
comstud | There is a periodic task on compute that tries to heal the cache... over time. | 23:45 |
*** cdsvrd has quit IRC | 23:45 | |
comstud | Vinay_: creating a script to do SQL queries :) | 23:45 |
*** PaulM1 has joined #openstack-dev | 23:45 | |
*** stevemar has joined #openstack-dev | 23:46 | |
comstud | modify the network_info column | 23:46 |
*** PaulM has quit IRC | 23:46 | |
Vinay_ | but we restarted the nova-compute process.. | 23:46 |
Vinay_ | So even a restart of nova-compute doesnt cause it to take the new values? | 23:47 |
comstud | yeah, but that doesn't change your instnaces' network info | 23:47 |
comstud | They were built with wrong network info | 23:47 |
comstud | right | 23:47 |
*** esheffield has joined #openstack-dev | 23:47 | |
comstud | it should fix NEW builds | 23:47 |
comstud | new instances | 23:47 |
comstud | not old ones | 23:47 |
Vinay_ | actually right now I am seeing that it corrected itself after a few hours | 23:47 |
comstud | yeah, ok... that is good. the periodic healing is working then | 23:47 |
comstud | So that's the other solution... just wait a period of time | 23:48 |
comstud | and it'll auto-correct | 23:48 |
Vinay_ | okay do you know what that period is ? | 23:48 |
comstud | it's a conf setting | 23:48 |
comstud | sec | 23:48 |
Vinay_ | or if there is a nova.con setting | 23:48 |
Vinay_ | yeah | 23:48 |
comstud | it defaults to 1 instance per minute | 23:49 |
comstud | ie, default is 60s... and it only does 1 on each run | 23:49 |
comstud | you could try dropping it down to 1, but it's going to create a lot of traffic. | 23:49 |
comstud | heal_instance_info_cache_interval=1 | 23:50 |
comstud | etc | 23:50 |
comstud | you could try that temporarily.. until all instances are updated | 23:50 |
comstud | and then reset it to 60 | 23:50 |
comstud | how many instances do you have? | 23:50 |
Vinay_ | ok.. I dont have the conf in my nova.conf .. so the default is 60sec ? | 23:50 |
comstud | yea | 23:50 |
*** aelkikhia has left #openstack-dev | 23:51 | |
Vinay_ | we have 95 vms | 23:51 |
comstud | ok, so with the default, it'll take 95 minutes to update them all, i guess | 23:51 |
comstud | if you drop the setting down to 1, it should take 95 seconds | 23:52 |
Vinay_ | but on this particular compute host i have only 1 | 23:52 |
comstud | then you can reset it to 60 | 23:52 |
comstud | ah yeah. you have to update all compute nodes | 23:52 |
comstud | each compute node updates its own instances | 23:52 |
comstud | i would think that everything would be updated within 10 minutes if you have like 10 compute nodes. | 23:53 |
*** bknudson has joined #openstack-dev | 23:53 | |
Vinay_ | so this compute node has 1 instance and my flag is default setting=60s so can I expect it to self-correct after 60 secs.. ???? | 23:53 |
Vinay_ | on that host | 23:53 |
*** reed has quit IRC | 23:53 | |
comstud | it should , yes | 23:54 |
*** pixelbeat_ has quit IRC | 23:54 | |
comstud | for compute nodes that have 10 instances, it would take 10 minutes to get them all | 23:54 |
comstud | etc. | 23:54 |
Vinay_ | ye.p .. but we have seen this happen after 2-3 hours ! | 23:54 |
comstud | strange! | 23:54 |
comstud | i'm not sure why that would be, then. | 23:55 |
*** michchap has quit IRC | 23:55 | |
Vinay_ | so we do see the heal happen every minute but it was not getting the right dhcp server address. the gateway address was right though... | 23:55 |
Vinay_ | After 2-3 hours we now see it getting both addresses right | 23:55 |
*** michchap has joined #openstack-dev | 23:56 | |
comstud | ah | 23:56 |
comstud | no idea | 23:56 |
Vinay_ | what is the idea behind this heal_instance_info_cache ... can I read it somewhere? | 23:57 |
comstud | The idea is... we re-query the network info to update the cache in case it gets out of sync | 23:57 |
*** jog0 has quit IRC | 23:57 | |
comstud | periodically.. so we're not slamming nova-network with a lot of calls | 23:57 |
comstud | the code is in: def _heal_instance_info_cache(self, context): | 23:58 |
comstud | in nova/compute/manager.py | 23:58 |
Vinay_ | ok so the cache is instance_info_cache table.. but where do you read the network info from ? | 23:58 |
*** PaulM1 has quit IRC | 23:58 | |
comstud | it asks nova-network for it | 23:58 |
comstud | and in your case.. nova-network gets it from the DB | 23:58 |
comstud | in different tables | 23:59 |
Vinay_ | ok cool.. which tables would those be | 23:59 |
comstud | for the quantum case, it asks quantum, and quantum gives it | 23:59 |
comstud | i think it's the virtual_interfaces and fixed_ips tables. | 23:59 |
comstud | and networks table | 23:59 |
Vinay_ | no quantum .. only nova-network with vlan manager (folsom) | 23:59 |
comstud | networks table contains gateway, and general info for each network | 23:59 |
comstud | virtual_interfaces I think contains the instance <-> virtual interface mapping | 23:59 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!