*** p4tux has joined #openstack-containers | 00:00 | |
*** p4tux has quit IRC | 00:05 | |
*** jjlehr has quit IRC | 00:06 | |
*** Kennan is now known as Kennan_ | 00:06 | |
*** Tango has quit IRC | 00:10 | |
*** kebray has quit IRC | 00:19 | |
*** suro-patz1 has quit IRC | 00:20 | |
*** Drago has quit IRC | 00:25 | |
openstackgerrit | Lan Qi Song proposed openstack/magnum: Use oslo.log instead of oslo.incubator log module https://review.openstack.org/186447 | 00:26 |
---|---|---|
sdake_ | madhuri ping | 00:27 |
*** diga has joined #openstack-containers | 00:28 | |
*** jruano has joined #openstack-containers | 00:29 | |
*** adrian_otto has quit IRC | 00:32 | |
Kennan_ | sdake_ | 00:34 |
sdake_ | sup kennan_ | 00:34 |
Kennan_ | so for requirement, I will first add in global, right ? | 00:34 |
sdake_ | naked pings are evil btw :) | 00:34 |
sdake_ | yup | 00:35 |
Kennan_ | ok sdake_ | 00:35 |
*** hongbin has joined #openstack-containers | 00:35 | |
sdake_ | http://github.com/openstack/requirements I think | 00:35 |
Kennan_ | yes | 00:35 |
openstackgerrit | Kai Qiang Wu(Kennan) proposed openstack/magnum: Use new docker exec call https://review.openstack.org/186323 | 00:36 |
*** sdake_ has quit IRC | 00:38 | |
*** sdake has joined #openstack-containers | 00:38 | |
*** dims_ has quit IRC | 00:42 | |
Kennan_ | sdake_ | 00:42 |
Kennan_ | ping | 00:42 |
sdake | sdake ping subject :) | 00:42 |
sdake | sup | 00:42 |
Kennan_ | I have added some comment https://blueprints.launchpad.net/magnum/+spec/configurable-coe-api-port | 00:43 |
sdake | alot of cats ping it helps me to priortize :) | 00:43 |
Kennan_ | could you check that | 00:43 |
*** snrism has quit IRC | 00:44 | |
*** jruano has quit IRC | 00:44 | |
sdake | commented | 00:46 |
*** dims_ has joined #openstack-containers | 00:47 | |
*** Kennan_ is now known as Kennan | 00:50 | |
*** p4tux has joined #openstack-containers | 00:51 | |
*** tobe has joined #openstack-containers | 00:52 | |
eliqiao1 | hi sdake: I'd like to propose a changes to magnum conductor, and I'v registed a bp, could you help to check it? | 00:52 |
eliqiao1 | #link https://blueprints.launchpad.net/magnum/+spec/add-periodic-task | 00:52 |
*** sdake_ has joined #openstack-containers | 00:52 | |
eliqiao1 | and I wonder do we need spec for magnum for now ? | 00:52 |
sdake_ | we dont use a spec process | 00:53 |
sdake_ | maybe in M | 00:53 |
sdake_ | madhuri when you get in can you test that change in the review queue for the python k8sclient | 00:55 |
*** p4tux has quit IRC | 00:56 | |
eliqiao1 | sdake_: I'd registered a bp, then how can I get approved before landing patches to magnum? | 00:56 |
sdake_ | link? | 00:56 |
sdake_ | ask a core to review | 00:56 |
sdake_ | if its a nobrainer, it gets approved | 00:57 |
sdake_ | if it requires dsicussion it goes into discussion state | 00:57 |
*** sdake has quit IRC | 00:57 | |
eliqiao1 | #link https://blueprints.launchpad.net/magnum/+spec/add-periodic-task | 00:57 |
sdake_ | i am wary of periodic tasks from a scalability POV | 00:58 |
sdake_ | but I also don't like our current heat thread thing | 00:58 |
sdake_ | so do you plan to get rid of the heat thread thing? | 00:58 |
sdake_ | and replace with periodic timer? | 00:58 |
*** Kennan has quit IRC | 00:58 | |
*** Kennan has joined #openstack-containers | 00:59 | |
sdake_ | eliqaio1? | 00:59 |
sdake_ | eliqiao1? | 00:59 |
sdake_ | got it :) | 00:59 |
eliqiao1 | sdake_: hi | 00:59 |
sdake_ | read above | 00:59 |
*** vahidh has quit IRC | 00:59 | |
eliqiao1 | sdake_: hmm.. currently I don't want to change pulling heat things.. | 01:00 |
sdake_ | what would the periodic task do then? | 01:00 |
eliqiao1 | like I say in the bp, if pulling heat worker done before heat create stack. then there is no change to update that bay | 01:01 |
eliqiao1 | so periodic task do some cleanup works. | 01:01 |
sdake_ | are you going to implement some of that cleanup work as well? | 01:02 |
eliqiao1 | another case is if conductor crashed when pulling heat... | 01:02 |
eliqiao1 | what I can see for now, cleanup work will only to watch the bays that in "IN_PROGRESS" status and pull heat to sync it. | 01:03 |
sdake_ | ok if you implement taht as well I'll approve the bp | 01:03 |
sdake_ | I dont want to add infrastructure if it doesn't have an immediate use case tho :) | 01:03 |
sdake_ | note also, I first had periodic timers inthe code and couldn't get conductor to work with oslo messaging with it | 01:04 |
eliqiao1 | sdake_: thanks I will try to get patch ready | 01:04 |
sdake_ | so you may be in for some challenge there | 01:04 |
sdake_ | can you make June 25th deadline? | 01:04 |
eliqiao1 | sdake_: hmm. I will try | 01:05 |
sdake_ | ok | 01:05 |
eliqiao1 | sdake_: thanks :) | 01:05 |
eliqiao1 | sdake_: I used to work for nova, so there maybe something good code we can borrow from it. | 01:06 |
sdake_ | nice | 01:06 |
sdake_ | welcome aboard :) | 01:06 |
eliqiao1 | sdake_: thanks ^_^ | 01:07 |
Kennan | sdake_ so you think we move apiserver_port from baymodel to bay | 01:09 |
Kennan | is it ? | 01:09 |
sdake_ | kennan I htink that is a discussion for the mailing list | 01:09 |
sdake_ | I was justplaying devil's advocate :) | 01:09 |
Kennan | so sdake_ I need send this as discussion in maillist ? | 01:10 |
sdake_ | I think that would be approrpiate yes | 01:10 |
Kennan | OK sdake_ thanks | 01:10 |
*** sdake_ has quit IRC | 01:17 | |
*** vilobhmm has quit IRC | 01:17 | |
*** sdake has joined #openstack-containers | 01:18 | |
*** tobe has quit IRC | 01:22 | |
*** jay-lau-513 has joined #openstack-containers | 01:28 | |
sdake | jay-lau-513 any chance you can test a patch for me? | 01:32 |
sdake | my devstack is busted | 01:32 |
jay-lau-513 | sdake ok, which one? | 01:33 |
sdake | https://review.openstack.org/#/c/186287/ | 01:33 |
sdake | somehow you have to use the pod read api call | 01:34 |
sdake | I'm not sure if that is implemented anywhere or not | 01:34 |
jay-lau-513 | let me check | 01:34 |
sdake | you may have to hardcode something | 01:34 |
sdake | since we have no test cases for our client | 01:34 |
sdake | this is what I get for doign a git pull on devstack ;( | 01:35 |
*** madhuri_ has joined #openstack-containers | 01:35 | |
*** dims_ has quit IRC | 01:35 | |
sdake | madhuri_ ? | 01:35 |
madhuri_ | sdake: Good morning | 01:36 |
sdake | hey jay I htink madhuri_ can test | 01:36 |
sdake | she knows what to test :) | 01:36 |
sdake | jay-lau-513 ^ :) | 01:36 |
jay-lau-513 | sdake ;-) | 01:36 |
madhuri_ | I took a leave today | 01:36 |
madhuri_ | Yes I will test now | 01:36 |
sdake | oh are you out of the office then? | 01:36 |
madhuri_ | And let you now | 01:36 |
madhuri_ | Yes | 01:36 |
madhuri_ | But I can access office machine | 01:36 |
sdake | well we get so few breaks I dont want to interrupt your day off | 01:37 |
madhuri_ | I will get back to you | 01:37 |
sdake | k | 01:37 |
sdake | https://review.openstack.org/#/c/186287/ is the review | 01:39 |
sdake | its passing the functioanl gate but our functioanl gate doesn't do any pod reading | 01:39 |
*** dims_ has joined #openstack-containers | 01:39 | |
sdake | jay-lau-513 ould appreciate a review tho :) | 01:40 |
sdake | would that is | 01:40 |
*** suro-patz has joined #openstack-containers | 01:40 | |
jay-lau-513 | sdake sure | 01:40 |
sdake | it seemed to work in my test program | 01:40 |
*** dims_ has quit IRC | 01:45 | |
*** erkules_ has joined #openstack-containers | 01:46 | |
*** suro-patz has quit IRC | 01:46 | |
*** snrism has joined #openstack-containers | 01:49 | |
*** erkules has quit IRC | 01:49 | |
*** erkules_ has quit IRC | 01:51 | |
*** tobe has joined #openstack-containers | 01:52 | |
*** bradjones has quit IRC | 01:52 | |
*** erkules_ has joined #openstack-containers | 01:54 | |
madhuri_ | sdake: It worked | 01:54 |
sdake | unbelievable :) | 01:54 |
madhuri_ | But I think we should add metadata to the model | 01:54 |
madhuri_ | What do you say? | 01:54 |
sdake | you mean the key that is missing? | 01:55 |
madhuri_ | Yes | 01:55 |
sdake | a separate patch I think | 01:55 |
sdake | should regenerate the api | 01:55 |
madhuri_ | Agree | 01:55 |
sdake | make sure we get the latest key value stuff | 01:55 |
madhuri_ | Yes I will check for all readAPIs for pod/rc/service | 01:56 |
madhuri_ | And then give a +2 | 01:56 |
sdake | nice | 01:56 |
*** bradjones has joined #openstack-containers | 01:56 | |
sdake | I have to admit I had low confidence on the patch :) | 01:56 |
madhuri_ | There are few more issues for which I will submit a patch | 01:56 |
sdake | issues with that patch or something else? | 01:57 |
madhuri_ | No others | 01:57 |
sdake | it would be nice if you could get that implementation into the upstream swagger code | 01:57 |
sdake | since what they have is absolute garbage | 01:57 |
sdake | (or some variant of that implementation) | 01:57 |
madhuri_ | And testing the kubernetes is really easy | 01:57 |
sdake | I dont like the naked exception | 01:58 |
sdake | I htin kwe should only expect KeyErrors | 01:59 |
sdake | but I am not sure | 01:59 |
madhuri_ | https://github.com/swagger-api/swagger-codegen/issues/595#issuecomment-93625409 | 01:59 |
madhuri_ | I have logged an issue for this | 01:59 |
madhuri_ | But they want me to test on different branch | 01:59 |
madhuri_ | Yes more specific exception is good | 02:00 |
madhuri_ | KeyError | 02:00 |
sdake | well personally I think swagger can DIAF | 02:01 |
sdake | that project is a short term means to a long term end | 02:01 |
sdake | it is mor ework to deal with autogeneration then to make a proper client | 02:02 |
sdake | (if your kubernetes community) | 02:02 |
sdake | IMNSHO :) | 02:02 |
*** eghobo has quit IRC | 02:04 | |
madhuri_ | Agree | 02:05 |
*** unicell has quit IRC | 02:07 | |
*** snrism has quit IRC | 02:12 | |
madhuri_ | sdake: There is indentation issue in the patch | 02:21 |
sdake | bummer I thought I got all those | 02:21 |
madhuri_ | 2 spaces indentation issue | 02:22 |
*** snrism has joined #openstack-containers | 02:22 | |
madhuri_ | Sorry 2 spaces indentation is used | 02:22 |
madhuri_ | If you want I can submit the running and tested patch | 02:23 |
sdake | wierd | 02:24 |
sdake | ok feel free | 02:24 |
sdake | actually let me | 02:24 |
sdake | so you can approve it | 02:24 |
sdake | can you git diff | paste | 02:24 |
sdake | madhuri_ | 02:25 |
madhuri_ | Ok sure | 02:25 |
*** snrism has quit IRC | 02:25 | |
madhuri_ | How to share the diff? | 02:27 |
openstackgerrit | Steven Dake proposed openstack/magnum: Implement secure deserialize function https://review.openstack.org/186287 | 02:27 |
sdake | if your on fedora you can git diff | fpaste | 02:28 |
sdake | otherwise not sure | 02:28 |
sdake | have a look at that patch and see if its fixed | 02:28 |
madhuri_ | I will check your patch | 02:28 |
sdake | did it work for all the object types? | 02:29 |
sdake | i've got a demo of kolla tomorrow or i'd try getting devstack rolling today | 02:31 |
madhuri_ | sdake: I think you didn't change the identation | 02:32 |
madhuri_ | It's still the same | 02:32 |
sdake | share diff plz | 02:32 |
madhuri_ | Ok please wait | 02:33 |
*** jruano has joined #openstack-containers | 02:35 | |
sdake | indentation looks right in my patch i submitted | 02:35 |
*** jruano has quit IRC | 02:36 | |
madhuri_ | May I mail you the diff or just paste is ok | 02:39 |
sdake | paste is fine | 02:39 |
sdake | brb | 02:40 |
madhuri_ | ok | 02:40 |
*** sdake_ has joined #openstack-containers | 02:40 | |
madhuri_ | http://paste.openstack.org/show/243666/ | 02:41 |
hongbin | sdake, eliqiao1: About the periodic task BP, I have some concerns. | 02:42 |
*** sdake has quit IRC | 02:43 | |
eliqiao1 | hongbin: sure | 02:43 |
*** sdake has joined #openstack-containers | 02:43 | |
hongbin | Check this ML http://lists.openstack.org/pipermail/openstack-dev/2015-March/058898.html | 02:43 |
hongbin | We are going to change from polling to push | 02:43 |
openstackgerrit | Steven Dake proposed openstack/magnum: Implement secure deserialize function https://review.openstack.org/186287 | 02:43 |
hongbin | The idea is to let Heat to notify Magnum | 02:44 |
eliqiao1 | yes, I think we can do it parallelly | 02:44 |
hongbin | If we pursuit the notification direction, then it looks the periodic task is unnecessary. | 02:44 |
hongbin | K. If you think it is necessary, then go ahead | 02:45 |
sdake | the code will be refactored 20 times in the next 6 months :) | 02:45 |
sdake | hongbin but apologies i must have missed that thread | 02:46 |
hongbin | NP | 02:46 |
hongbin | what do you think. Is periodic task necessary? | 02:47 |
*** sdake_ has quit IRC | 02:47 | |
sdake | Ididn't think it was necessary before I approved the blueprint | 02:47 |
sdake | but code comes and goes | 02:47 |
hongbin | K | 02:48 |
sdake | most of the code I originally wrote in magnum is gone ;) | 02:48 |
sdake | or atleast heavily changed | 02:49 |
sdake | madhuri_ does that look better? | 02:49 |
hongbin | I guess the DB and objects are still there | 02:49 |
sdake | I didnt' realize that code used 2 spaces vs 4 | 02:49 |
sdake | ya look at the bright side hongbin :) | 02:49 |
hongbin | :) | 02:49 |
sdake | its ok, it would have not been refactored if there wasn't something to refactor :) | 02:49 |
madhuri_ | sdake: Indentation error :D | 02:52 |
sdake | oh sadface | 02:53 |
sdake | did I mention I hate computers :) | 02:53 |
sdake | madhuri_ can you tell me where in the review (line !) | 02:55 |
sdake | #) | 02:55 |
madhuri_ | Line 205 | 02:55 |
sdake | make a comment in the review | 02:55 |
madhuri_ | Ok | 02:56 |
madhuri_ | Bad it seems not working | 02:56 |
madhuri_ | I will leave my comment | 02:56 |
openstackgerrit | Steven Dake proposed openstack/magnum: Implement secure deserialize function https://review.openstack.org/186287 | 02:57 |
sdake | how about now :) | 02:57 |
eliqiao1 | hongbin: for periodic bp, I think it is useful even we have heat notify magnum, nofication will be only triggered one time, so if magnum misses it. then the status will be get lost, so periodic task will be useful in this case | 02:57 |
openstackgerrit | Steven Dake proposed openstack/magnum: Implement secure deserialize function https://review.openstack.org/186287 | 02:59 |
*** snrism has joined #openstack-containers | 02:59 | |
hongbin | eliqiao1: Sure. Could you write your comment to the BP, so that everyone can see your arguments. | 03:00 |
sdake | ok that should be it madhuri_ :) | 03:00 |
sdake | 2 spaces for python idententation, another reason swagger can DIAF | 03:03 |
sdake | I'm keeping a list | 03:03 |
eliqiao1 | hongbin: good idea, I will update it. | 03:03 |
*** snrism has quit IRC | 03:03 | |
sdake | worst cae eliqiao1 will learn how the code works and make other improvements and we can remove if we really do the notification thing | 03:04 |
sdake | I'm not really sold that will work well ;) | 03:04 |
sdake | (the notifications) | 03:04 |
sdake | madhuri_ can you give the latest patch a spin | 03:05 |
eliqiao1 | sdake: ah, thanks I get you. | 03:06 |
madhuri_ | There is some other issue sdake | 03:07 |
madhuri_ | I am checking | 03:07 |
madhuri_ | You can leave it for now | 03:07 |
madhuri_ | I will get back to you | 03:07 |
*** fawadkhaliq has joined #openstack-containers | 03:07 | |
*** barra204 has quit IRC | 03:11 | |
madhuri_ | sdake: https://github.com/openstack/magnum/blob/master/magnum/common/pythonk8sclient/client/models/V1beta3_Pod.py#L67 | 03:11 |
madhuri_ | Can you see this? | 03:12 |
sdake | github? yes | 03:12 |
sdake | is it not creating that object? | 03:12 |
madhuri_ | Yes | 03:13 |
*** barra204 has joined #openstack-containers | 03:13 | |
sdake | yes it is not creating that object? | 03:13 |
sdake | or yes it is creating that object | 03:14 |
madhuri_ | Not creating that object | 03:14 |
madhuri_ | But it should | 03:14 |
sdake | was it prior? | 03:15 |
madhuri_ | I don't know when I tested it first it worked | 03:15 |
madhuri_ | ANd now not working | 03:15 |
madhuri_ | :( | 03:15 |
madhuri_ | Ahh I get it | 03:15 |
madhuri_ | Earlier the naked exception made it work | 03:16 |
sdake | are you getting an exception? | 03:16 |
madhuri_ | Yes | 03:16 |
sdake | if so, which | 03:16 |
madhuri_ | Please see my comments on patch | 03:19 |
madhuri_ | Generic exception could be so dangerous | 03:19 |
openstackgerrit | Steven Dake proposed openstack/magnum: Implement secure deserialize function https://review.openstack.org/186287 | 03:21 |
sdake | how about now :) | 03:21 |
sdake | what do you mean generic exception, you mean generic KeyError? | 03:28 |
madhuri_ | No earlier in the patch it was Exception, that's why it passed earlier | 03:31 |
madhuri_ | But now changing to more specific error KeyError shows other error | 03:32 |
hongbin | I am going to leave. Good night folks. | 03:37 |
*** hongbin has quit IRC | 03:38 | |
eliqiao1 | sdake and all, if I need to pull heat, I need first to construct a osc with context, but the context(a fake admin context) has no auth_token, so how can I get the auth_token? | 03:40 |
sdake | madhuri_ what exception | 03:41 |
sdake | eliqiao1 it is in the context of the rpc | 03:41 |
madhuri_ | TypeError: 'str' object is not callable | 03:41 |
madhuri_ | It couldn't construct the subclasses | 03:42 |
eliqiao1 | no , I don't have context at all, since I am not in a context, I am in a periodict task ... the context is not passed from rpc | 03:42 |
*** kenhui has joined #openstack-containers | 03:43 | |
eliqiao1 | no request get called, and hooks was not get called, and I don't have context, so I create a fake admin context(without auth_token, I don't know wher can I get it) | 03:44 |
* eliqiao1 out for lunch | 03:46 | |
*** kenhui has left #openstack-containers | 03:46 | |
*** achanda has joined #openstack-containers | 03:53 | |
sdake | madhuri_ can you paste the dictionary again please | 03:55 |
sdake | I dont have it in my scrollback | 03:55 |
sdake | and what is the second parameter | 03:57 |
sdake | I'll break it out as a separate code and test and debug it here | 03:57 |
madhuri_ | Ok | 04:00 |
*** snrism has joined #openstack-containers | 04:00 | |
madhuri_ | sdake: http://paste.openstack.org/show/243814/ | 04:01 |
sdake | and the second parameter? | 04:02 |
*** snrism has quit IRC | 04:03 | |
*** snrism has joined #openstack-containers | 04:04 | |
*** eghobo has joined #openstack-containers | 04:04 | |
sdake | madhuri_ | 04:04 |
*** achanda has quit IRC | 04:05 | |
*** achanda has joined #openstack-containers | 04:06 | |
madhuri_ | <magnum.common.pythonk8sclient.client.models.V1beta3_PodStatus.V1beta3_PodStatus object at 0x7ff2d7cf62d0> | 04:08 |
madhuri_ | sdake: I tested my patch it is working | 04:09 |
sdake | nice you goti to going? | 04:09 |
madhuri_ | But I am not sure what to do when data is None | 04:09 |
madhuri_ | Yes | 04:09 |
sdake | when data is None do nothing I think is what the old code did | 04:09 |
sdake | got a diff? | 04:10 |
madhuri_ | sdake: Just give me few min | 04:11 |
madhuri_ | I will share the diff | 04:11 |
*** achanda has quit IRC | 04:11 | |
sdake | sure | 04:11 |
sdake | madhuri_ are you using globals()? | 04:12 |
sdake | when you get wrapped up, add yourself as a coauthor-by line and submit an update review | 04:14 |
madhuri_ | No | 04:17 |
sdake | cool would love to see your patch | 04:24 |
*** sdake_ has joined #openstack-containers | 04:29 | |
*** sdake has quit IRC | 04:33 | |
*** snrism has quit IRC | 04:33 | |
*** snrism has joined #openstack-containers | 04:37 | |
*** snrism has quit IRC | 04:44 | |
*** snrism has joined #openstack-containers | 04:48 | |
*** tobe has quit IRC | 04:52 | |
*** snrism has quit IRC | 04:56 | |
*** achanda has joined #openstack-containers | 05:05 | |
madhuri_ | sdake_: Around? | 05:05 |
*** vilobhmm has joined #openstack-containers | 05:10 | |
eghobo | hongbin_desktop: I found Mesos proposals/discussions around networking (https://docs.google.com/document/d/1nqnV586QYl333kA0XUkkjpsRudGX0cMEBMz6FufcMn0/edit#heading=h.6rxvupd83ce3) | 05:10 |
eghobo | do you think it make sense to add them to blueprint? | 05:10 |
*** tobe has joined #openstack-containers | 05:14 | |
*** unicell has joined #openstack-containers | 05:18 | |
sdake_ | madhuri_ shoot | 05:25 |
madhuri_ | Isn't there any utils in oslo to convert str to type | 05:29 |
madhuri_ | Similar to eval | 05:29 |
madhuri_ | We need eval | 05:30 |
madhuri_ | eval('int') returns type int | 05:30 |
madhuri_ | But that doesn't work with ast.literal_eval doesn't | 05:30 |
madhuri_ | use of eval here https://github.com/openstack/magnum/blob/master/magnum/common/pythonk8sclient/client/swagger.py#L212 | 05:32 |
madhuri_ | is safe | 05:32 |
madhuri_ | But gate will not allow this right? | 05:32 |
madhuri_ | sdake_: ? | 05:32 |
sdake_ | madhuri_ use globals() | 05:41 |
sdake_ | yes gate wont allow eval | 05:41 |
sdake_ | the original code is way wrong with eval as it can create arbitrary stuff and has no type authentication | 05:42 |
*** vilobhmm has quit IRC | 05:43 | |
sdake_ | klass = globals()["class_name"] | 05:43 |
sdake_ | instance = klass() | 05:43 |
sdake_ | cls = globals()[obj_type] | 05:43 |
sdake_ | obj = cls(value) | 05:43 |
sdake_ | try that | 05:43 |
sdake_ | eval ('rm -rf because I want to") will end badly | 05:45 |
sdake_ | someone could pass that as a type in the swagger api | 05:45 |
*** sdake has joined #openstack-containers | 05:46 | |
*** tobe has quit IRC | 05:47 | |
madhuri_ | For class type the import_class has worked | 05:47 |
madhuri_ | But for python literal types | 05:47 |
sdake | globals() | 05:48 |
madhuri_ | For example int or str, it doesn't work | 05:48 |
sdake | try that? | 05:48 |
sdake | ya it doesn't work on builtins | 05:48 |
*** sdake_ has quit IRC | 05:50 | |
*** eghobo has quit IRC | 05:59 | |
*** eghobo has joined #openstack-containers | 05:59 | |
*** Tango has joined #openstack-containers | 06:08 | |
sdake | madhuri_ this is problematic | 06:09 |
sdake | self.swaggerTypes = { | 06:09 |
sdake | 06:09 | |
sdake | 'Condition': 'list[v1beta3_PodCondition]', | 06:09 |
sdake | madhuri_ I've hit the wall its 11pm | 06:10 |
sdake | im headed to bed | 06:10 |
sdake | I'll sort this POS out tomorrow | 06:10 |
madhuri_ | Ya I know | 06:11 |
madhuri_ | Ok | 06:11 |
*** alex_klimov has joined #openstack-containers | 06:11 | |
*** tobe has joined #openstack-containers | 06:15 | |
*** destiny has joined #openstack-containers | 06:18 | |
*** oro has joined #openstack-containers | 06:19 | |
*** madhuri_ has quit IRC | 06:19 | |
sdake | I can see why the swagger cats didn't do this job properly | 06:20 |
*** madhuri_ has joined #openstack-containers | 06:20 | |
*** suro-patz has joined #openstack-containers | 06:30 | |
sdake | madhuri_ http://ur1.ca/mo556 -> http://paste.fedoraproject.org/226812/43288105 | 06:31 |
*** snrism has joined #openstack-containers | 06:33 | |
*** suro-patz has quit IRC | 06:34 | |
*** eghobo has quit IRC | 06:34 | |
*** Tango has quit IRC | 06:43 | |
sdake | madhuri can you give me an example of a podstatus with multiple entries for one of the list items? | 06:50 |
sdake | (a json blob) | 06:50 |
sdake | I need to know what it looks like to see if I'm parsing correctly | 06:50 |
*** unicell has quit IRC | 06:52 | |
*** unicell has joined #openstack-containers | 06:52 | |
sdake | I think this is close | 06:58 |
sdake | http://ur1.ca/mo5bv -> http://paste.fedoraproject.org/226816/88266914 | 06:58 |
sdake | madhuri the class names dont match the names in the swagger spec | 07:00 |
sdake | WHISKY TANGO FOXTROT | 07:00 |
madhuri_ | http://paste.openstack.org/show/244155/ here | 07:00 |
sdake | I'm pretty sure their parser is busted too | 07:00 |
madhuri_ | Yes you are right | 07:01 |
sdake | how does their parser deal with it? | 07:01 |
*** jay-lau-513 has quit IRC | 07:01 | |
sdake | or is it just the swagger spec is busted | 07:01 |
*** jay-lau-513 has joined #openstack-containers | 07:01 | |
madhuri_ | Just run find ./pythonk8sclient -name "*.py" | xargs sed -i 's/v1beta3_/V1beta3_/' | 07:01 |
madhuri_ | This is work | 07:02 |
sdake | can you make a commit for that please | 07:02 |
sdake | I find it highly unlikley their parser works | 07:04 |
sdake | but maybe they have some other mapping in the system | 07:05 |
sdake | use a partial on my bug id | 07:05 |
openstackgerrit | Madhuri Kumari proposed openstack/magnum: Fixing import error in kubernetes client code https://review.openstack.org/186662 | 07:07 |
sdake | do the swagger cats know about this problem? | 07:09 |
sdake | or is this a kubernetes bug? | 07:09 |
madhuri_ | Yes | 07:11 |
sdake | yes to both? :) | 07:11 |
madhuri_ | I shared a bug link earlier with you | 07:11 |
sdake | right | 07:11 |
sdake | ok | 07:11 |
madhuri_ | swagger-codegen issue | 07:11 |
madhuri_ | Not kubernetes | 07:11 |
madhuri_ | Your patch is ok | 07:11 |
sdake | which one | 07:12 |
madhuri_ | But just need to add a check for None type | 07:12 |
*** oro has quit IRC | 07:12 | |
madhuri_ | The last patch you shared | 07:12 |
sdake | http://ur1.ca/mo5ga -> http://paste.fedoraproject.org/226821/14328835 | 07:12 |
sdake | this is close | 07:12 |
sdake | but j.phase is printing out as None | 07:12 |
sdake | and j.phase is actually not none in the structure | 07:12 |
sdake | also I am dereferencing "status" | 07:12 |
sdake | I'm not sure where status is coming from | 07:13 |
madhuri_ | status is coming from PodStatus | 07:13 |
madhuri_ | sdake: My lunch has arrived | 07:13 |
sdake | enjoy | 07:13 |
madhuri_ | I will be right back | 07:13 |
sdake | take your time | 07:13 |
*** unicell1 has joined #openstack-containers | 07:15 | |
*** unicell has quit IRC | 07:16 | |
*** snrism has quit IRC | 07:20 | |
*** achanda has quit IRC | 07:22 | |
*** erkules_ is now known as erkules | 07:22 | |
*** erkules has joined #openstack-containers | 07:22 | |
sdake | madhuri_ the way swagger breaks things into a million objects is way overkill | 07:27 |
madhuri_ | sdake: Hmm | 07:30 |
openstackgerrit | Steven Dake proposed openstack/magnum: Implement secure deserialize function https://review.openstack.org/186287 | 07:30 |
sdake | can you give that a spin | 07:30 |
sdake | that works for my test object | 07:30 |
sdake | parses everything correctly | 07:31 |
madhuri_ | ok | 07:31 |
sdake | well that was helpful now I know how all that stuff works ;-) | 07:33 |
madhuri_ | Fails for None | 07:33 |
madhuri_ | That's great | 07:33 |
sdake | where is none from | 07:33 |
sdake | I dont have an example of None | 07:33 |
sdake | is that an Object type? | 07:33 |
sdake | or a swagger type? | 07:34 |
madhuri_ | V1beta3_ResourceRequirements | 07:35 |
sdake | Is none what is "any" type ? | 07:35 |
sdake | what is "any" type? | 07:35 |
*** unicell has joined #openstack-containers | 07:35 | |
sdake | ResourceRequirements uses any not none | 07:36 |
sdake | for the swaggerTypes | 07:36 |
madhuri_ | Yes any is also an error in swagger-spec | 07:36 |
sdake | has google fixed that? | 07:36 |
*** unicell1 has quit IRC | 07:36 | |
madhuri_ | No | 07:36 |
sdake | do they know its a problem or don't think its a problem? | 07:37 |
madhuri_ | I haven't talk to them about it | 07:37 |
madhuri_ | I just got this error now | 07:37 |
sdake | please yell at them | 07:37 |
madhuri_ | While working | 07:37 |
sdake | and flog the shit out of them for even thinking about code generation | 07:37 |
madhuri_ | I want to | 07:37 |
madhuri_ | On both swagger and kubernetes | 07:37 |
madhuri_ | :) | 07:37 |
sdake | can you get a commit up that sed any | 07:38 |
madhuri_ | Yes | 07:38 |
sdake | partial on my bug id | 07:38 |
sdake | you said failure for none | 07:38 |
sdake | where is example of None? | 07:38 |
sdake | do you mean if value == None? | 07:40 |
sdake | rather v == None? | 07:40 |
madhuri_ | v1beta3_Volume is None | 07:42 |
sdake | so your getting none back from the rest api? | 07:43 |
sdake | I can fix that | 07:43 |
sdake | medium = tyep of str | 07:43 |
madhuri_ | Yes | 07:43 |
*** achanda has joined #openstack-containers | 07:44 | |
openstackgerrit | Steven Dake proposed openstack/magnum: Implement secure deserialize function https://review.openstack.org/186287 | 07:45 |
sdake | oh groan | 07:45 |
openstackgerrit | Steven Dake proposed openstack/magnum: Implement secure deserialize function https://review.openstack.org/186287 | 07:49 |
sdake | madhuri_ give that one a spin | 07:49 |
sdake | how do you test this btw? | 07:49 |
madhuri_ | I will share the script | 07:49 |
sdake | in the repo would be good | 07:50 |
sdake | if you wouldn't mind | 07:50 |
sdake | it doesn't have to gate | 07:50 |
sdake | just for manual testing | 07:50 |
sdake | until we sort out how to do the job on this properly | 07:50 |
madhuri_ | typo in your patch | 07:50 |
madhuri_ | setaddr | 07:50 |
openstackgerrit | Steven Dake proposed openstack/magnum: Implement secure deserialize function https://review.openstack.org/186287 | 07:53 |
sdake | brb | 07:54 |
madhuri_ | Also add a check for none in case of list[* | 07:54 |
*** sdake_ has joined #openstack-containers | 07:55 | |
sdake_ | tell me we have victory madhuri :) | 07:56 |
sdake_ | madhuri_ taht is | 07:57 |
*** sdake has quit IRC | 07:59 | |
madhuri_ | Yes we have it finally | 08:06 |
madhuri_ | I will submit few changes in other patch | 08:06 |
madhuri_ | I have added metadata key and change type any to dict in the models only which we need now | 08:06 |
madhuri_ | sdake_: Please submit a new patch with one more additional check | 08:08 |
madhuri_ | And also remove the sed change from your patch | 08:08 |
madhuri_ | sdake_: Here is the test script http://paste.openstack.org/show/244263/ | 08:09 |
sdake_ | which one more dditional check? | 08:10 |
sdake_ | which sed change? | 08:10 |
madhuri_ | http://paste.openstack.org/show/244264/ | 08:12 |
madhuri_ | Here is the diff | 08:12 |
madhuri_ | And sorry no sed change | 08:12 |
*** dims_ has joined #openstack-containers | 08:12 | |
sdake_ | madhuri_ go ahead and submit an udpated review | 08:14 |
sdake_ | so we dont have to go back and forth teting again | 08:14 |
sdake_ | I did include the first none though in my last change | 08:14 |
*** alex_klimov has quit IRC | 08:14 | |
sdake_ | I think you are getting none in a list entry as well | 08:14 |
sdake_ | which sems odd | 08:14 |
madhuri_ | We also need check in case type is list[* | 08:14 |
sdake_ | shardy pointed me at this article: http://stackoverflow.com/questions/9522627/get-built-in-function-from-the-function-name | 08:16 |
sdake_ | anyway i'm going to bed :) | 08:16 |
sdake_ | if you could get that review in teh queue before you head out I'd apprecaite iit :) | 08:16 |
sdake_ | or all of them neededt | 08:16 |
sdake_ | they all need backports | 08:16 |
sdake_ | i'll be around in t-7 hours :) | 08:17 |
*** sdake_ has quit IRC | 08:17 | |
madhuri_ | Backports to stable kilo? | 08:17 |
*** dims_ has quit IRC | 08:18 | |
madhuri_ | Can we merge the patches now so that I can once? | 08:18 |
madhuri_ | All together | 08:18 |
*** apuimedo has joined #openstack-containers | 08:19 | |
*** snrism has joined #openstack-containers | 08:21 | |
*** tobe has quit IRC | 08:23 | |
*** snrism has quit IRC | 08:25 | |
openstackgerrit | Madhuri Kumari proposed openstack/magnum: Fix the KeyError and change type 'any' in k8s client code https://review.openstack.org/186674 | 08:26 |
*** apuimedo has quit IRC | 08:27 | |
openstackgerrit | Madhuri Kumari proposed openstack/magnum: Fix the KeyError and change type 'any' in k8s client code https://review.openstack.org/186674 | 08:28 |
*** tobe has joined #openstack-containers | 08:29 | |
openstackgerrit | Madhuri Kumari proposed openstack/magnum: Implement secure deserialize function https://review.openstack.org/186287 | 08:34 |
*** achanda has quit IRC | 08:35 | |
madhuri_ | sdake I have uploaded a new patch but I am not sure if have commited it correctly or not | 08:36 |
madhuri_ | I have added as co-authored-by | 08:36 |
*** fawadkhaliq has quit IRC | 08:36 | |
*** alex_klimov has joined #openstack-containers | 08:37 | |
*** oro has joined #openstack-containers | 08:44 | |
*** achanda has joined #openstack-containers | 08:48 | |
*** nshaikh has joined #openstack-containers | 08:52 | |
*** achanda has quit IRC | 09:02 | |
*** madhuri_ has quit IRC | 09:08 | |
*** snrism has joined #openstack-containers | 09:21 | |
*** snrism has quit IRC | 09:26 | |
*** alex_klimov has quit IRC | 09:30 | |
*** alex_klimov has joined #openstack-containers | 09:35 | |
*** fawadkhaliq has joined #openstack-containers | 09:49 | |
*** dims_ has joined #openstack-containers | 09:51 | |
*** jay-lau-513 has quit IRC | 10:18 | |
*** baohua has joined #openstack-containers | 10:25 | |
*** alex_klimov has quit IRC | 10:25 | |
openstackgerrit | Lan Qi Song proposed openstack/magnum: Use oslo.log instead of oslo.incubator log module https://review.openstack.org/186447 | 10:27 |
*** achanda has joined #openstack-containers | 10:28 | |
*** apuimedo has joined #openstack-containers | 10:29 | |
*** apuimedo has quit IRC | 10:38 | |
*** fawadkhaliq has quit IRC | 10:42 | |
*** dims_ has quit IRC | 10:52 | |
*** sankarshan_ is now known as sankarshan_away | 10:54 | |
*** apuimedo has joined #openstack-containers | 10:55 | |
*** juggler has quit IRC | 11:12 | |
*** juggler has joined #openstack-containers | 11:14 | |
*** jgjl has joined #openstack-containers | 11:24 | |
openstackgerrit | Tom Cammann proposed openstack/magnum: Backport "Avoid usage of deprecated properties" https://review.openstack.org/186318 | 11:26 |
openstackgerrit | Tom Cammann proposed openstack/magnum: Backport "Cleanup the templates" https://review.openstack.org/186319 | 11:27 |
openstackgerrit | Tom Cammann proposed openstack/magnum: Backport multiple template fixes https://review.openstack.org/186320 | 11:27 |
*** tobe has quit IRC | 11:39 | |
*** fawadkhaliq has joined #openstack-containers | 11:43 | |
*** EricGonczer_ has joined #openstack-containers | 11:45 | |
*** rpothier has joined #openstack-containers | 11:46 | |
*** fawadkhaliq has quit IRC | 11:48 | |
*** dims_ has joined #openstack-containers | 11:50 | |
*** jgjl has left #openstack-containers | 11:54 | |
*** alex_klimov has joined #openstack-containers | 11:56 | |
*** achanda has quit IRC | 12:07 | |
*** tobe has joined #openstack-containers | 12:13 | |
*** tobe has quit IRC | 12:14 | |
openstackgerrit | Merged openstack/magnum: Use new docker exec call https://review.openstack.org/186323 | 12:23 |
openstackgerrit | Merged openstack/magnum: Fixing import error in kubernetes client code https://review.openstack.org/186662 | 12:26 |
*** EricGonczer_ has quit IRC | 12:44 | |
*** apuimedo has quit IRC | 12:52 | |
baohua | is anyone on | 12:56 |
baohua | following the dev guildline at http://git.openstack.org/cgit/openstack/magnum/tree/doc/source/dev/dev-quickstart.rst. an error happens at the end | 12:56 |
baohua | Syncing /opt/stack/magnum/requirements.txt | 12:56 |
baohua | 2015-05-29 12:50:28.075 | 'oslo.versionedobjects' is not in global-requirements.txt | 12:56 |
baohua | 2015-05-29 12:50:28.083 | + exit_trap | 12:56 |
baohua | 2015-05-29 12:50:28.083 | + local r=1 | 12:56 |
baohua | 2015-05-29 12:50:28.084 | ++ jobs -p | 12:56 |
baohua | 2015-05-29 12:50:28.085 | + jobs= | 12:56 |
baohua | 2015-05-29 12:50:28.085 | + [[ -n '' ]] | 12:56 |
baohua | 2015-05-29 12:50:28.085 | + kill_spinner | 12:56 |
baohua | 2015-05-29 12:50:28.085 | + '[' '!' -z '' ']' | 12:56 |
baohua | 2015-05-29 12:50:28.085 | + [[ 1 -ne 0 ]] | 12:56 |
baohua | 2015-05-29 12:50:28.085 | + echo 'Error on exit' | 12:56 |
baohua | 2015-05-29 12:50:28.085 | Error on exit | 12:56 |
baohua | 2015-05-29 12:50:28.085 | + [[ -z /opt/stack/logs ]] | 12:56 |
baohua | 2015-05-29 12:50:28.085 | + /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs | 12:56 |
baohua | 2015-05-29 12:50:28.122 | df: '/run/user/1000/gvfs': Permission denied | 12:56 |
baohua | 2015-05-29 12:50:28.165 | + exit 1 | 12:56 |
baohua | repeat several times, can anyone give some advice? | 12:57 |
baohua | thanks | 12:57 |
*** alex_klimov has quit IRC | 12:57 | |
*** apuimedo has joined #openstack-containers | 13:09 | |
*** hongbin has joined #openstack-containers | 13:09 | |
*** achanda has joined #openstack-containers | 13:14 | |
*** fawadkhaliq has joined #openstack-containers | 13:14 | |
*** alex_klimov has joined #openstack-containers | 13:18 | |
*** fawadkhaliq has quit IRC | 13:19 | |
*** rlrevell has joined #openstack-containers | 13:20 | |
*** dboik has joined #openstack-containers | 13:24 | |
*** madhuri_ has joined #openstack-containers | 13:29 | |
openstackgerrit | Lan Qi Song proposed openstack/magnum: Add bay snapshot object https://review.openstack.org/185005 | 13:38 |
*** jhova has joined #openstack-containers | 13:50 | |
*** fawadkhaliq has joined #openstack-containers | 13:57 | |
*** apuimedo has quit IRC | 14:00 | |
*** baohua has quit IRC | 14:01 | |
openstackgerrit | Accela Zhao proposed openstack/magnum: Fix method signatures unmatching in db api https://review.openstack.org/186387 | 14:01 |
*** snrism has joined #openstack-containers | 14:05 | |
*** alex_klimov has quit IRC | 14:05 | |
*** achanda has quit IRC | 14:10 | |
*** snrism has quit IRC | 14:10 | |
*** dims_ has quit IRC | 14:16 | |
*** apuimedo has joined #openstack-containers | 14:16 | |
openstackgerrit | Tom Cammann proposed stackforge/heat-coe-templates: fixup! added script for dynamically registering a minion https://review.openstack.org/184683 | 14:19 |
openstackgerrit | Tom Cammann proposed stackforge/heat-coe-templates: fix errors in pre-commit hook https://review.openstack.org/184682 | 14:19 |
openstackgerrit | Tom Cammann proposed stackforge/heat-coe-templates: added script for dynamically registering a minion https://review.openstack.org/184681 | 14:19 |
openstackgerrit | Tom Cammann proposed stackforge/heat-coe-templates: added required id: top-level key https://review.openstack.org/184686 | 14:19 |
openstackgerrit | Tom Cammann proposed stackforge/heat-coe-templates: Replace CFN resources with heat native https://review.openstack.org/184685 | 14:19 |
openstackgerrit | Tom Cammann proposed stackforge/heat-coe-templates: add new minions via stack-update https://review.openstack.org/184684 | 14:19 |
openstackgerrit | Tom Cammann proposed stackforge/heat-coe-templates: Avoid usage of deprecated properties https://review.openstack.org/184688 | 14:19 |
openstackgerrit | Tom Cammann proposed stackforge/heat-coe-templates: minor updates to README https://review.openstack.org/184679 | 14:19 |
openstackgerrit | Tom Cammann proposed stackforge/heat-coe-templates: added some output descriptions https://review.openstack.org/184678 | 14:19 |
openstackgerrit | Accela Zhao proposed openstack/magnum: Fix continuation line under/over indented problems https://review.openstack.org/186388 | 14:21 |
tcammann | baohua: you may have to pull the requirements repo again. It seems like its out of date with upstream | 14:21 |
*** alex_klimov has joined #openstack-containers | 14:29 | |
*** snrism has joined #openstack-containers | 14:30 | |
*** snrism has quit IRC | 14:30 | |
*** kebray has joined #openstack-containers | 14:36 | |
*** kebray has quit IRC | 14:37 | |
*** jjlehr has joined #openstack-containers | 14:37 | |
*** kebray has joined #openstack-containers | 14:37 | |
*** Tango has joined #openstack-containers | 14:39 | |
*** sdake has joined #openstack-containers | 14:46 | |
*** nshaikh has quit IRC | 14:51 | |
*** jruano has joined #openstack-containers | 14:53 | |
sdake | morning | 14:56 |
*** EricGonczer_ has joined #openstack-containers | 14:59 | |
*** madhuri_ has quit IRC | 15:00 | |
*** achanda has joined #openstack-containers | 15:00 | |
*** snrism has joined #openstack-containers | 15:01 | |
*** destiny has quit IRC | 15:04 | |
*** EricGonczer_ has quit IRC | 15:06 | |
*** snrism has quit IRC | 15:07 | |
*** apuimedo has quit IRC | 15:07 | |
*** EricGonczer_ has joined #openstack-containers | 15:09 | |
*** snrism has joined #openstack-containers | 15:15 | |
*** dims_ has joined #openstack-containers | 15:16 | |
*** oro has quit IRC | 15:23 | |
*** apuimedo has joined #openstack-containers | 15:24 | |
*** sdake_ has joined #openstack-containers | 15:26 | |
*** sdake has quit IRC | 15:30 | |
*** fawadkhaliq has quit IRC | 15:30 | |
*** snrism has quit IRC | 15:34 | |
*** apuimedo has quit IRC | 15:38 | |
*** Drago has joined #openstack-containers | 15:42 | |
*** Drago has joined #openstack-containers | 15:42 | |
*** alex_klimov has quit IRC | 15:42 | |
*** dims_ is now known as dimsum__ | 15:49 | |
*** daneyon has joined #openstack-containers | 15:50 | |
*** daneyon_ has joined #openstack-containers | 15:53 | |
*** daneyon has quit IRC | 15:55 | |
*** dhellmann has joined #openstack-containers | 16:05 | |
dhellmann | aotto: I would like to cut a release of python-magnumclient on Monday to unblock the work on dropping the oslo namespace packages. The changes that will be released are listed in http://paste.openstack.org/show/245107/ -- Does that work for you? | 16:06 |
dhellmann | hrm, I don't see aotto online, are there any other cores around? | 16:07 |
dimsum__ | dhellmann: sdake_ may be around | 16:09 |
* dimsum__ wears his magnum core hat | 16:09 | |
dhellmann | hi, dimsum__ | 16:09 |
dimsum__ | dhellmann: yes, the changes look good to me :) | 16:09 |
dhellmann | cool | 16:09 |
*** unicell has quit IRC | 16:17 | |
openstackgerrit | Accela Zhao proposed openstack/magnum: Fix continuation line under/over indented problems https://review.openstack.org/186388 | 16:17 |
*** vahidh has joined #openstack-containers | 16:18 | |
*** adrian_otto has joined #openstack-containers | 16:20 | |
*** nihilifer has joined #openstack-containers | 16:24 | |
sdake_ | dhellmann I can help | 16:27 |
sdake_ | but I am not in magnum-release | 16:28 |
dhellmann | sdake_: I can create the release, I just wanted to make sure it wasn't going to cause you problems | 16:28 |
sdake_ | all good from my perspective | 16:29 |
dhellmann | cool, thanks | 16:29 |
sdake_ | adrian_otto would agree i'm sure | 16:29 |
sdake_ | he is here btw, but may be afk | 16:29 |
dhellmann | aha! I had his nic as aotto | 16:29 |
dhellmann | based on the governance repo | 16:29 |
dhellmann | I'll update that | 16:29 |
sdake_ | we need to get that fixed | 16:29 |
sdake_ | cool thanks ! :) | 16:29 |
sdake_ | do you need reviews from us | 16:30 |
sdake_ | or is master gtg? | 16:30 |
dhellmann | sdake_: the 1 patch I need is in master, so I was going to release HEAD on Monday. If you want to land something before then, that's cool, but we can do releases frequently so there's no particular rush | 16:30 |
sdake_ | our client is slow moving and master usually works ;) | 16:31 |
dhellmann | just the way I like it | 16:31 |
dhellmann | sdake_: https://review.openstack.org/#/c/186830/ | 16:32 |
*** eghobo has joined #openstack-containers | 16:32 | |
*** nihilifer has quit IRC | 16:34 | |
*** kebray has quit IRC | 16:34 | |
* adrian_otto notices something happening. Looking at scrollback. | 16:34 | |
adrian_otto | oh, my Launchpad id is "aotto", and my IRC nick is "adrian_otto" | 16:36 |
*** eghobo has quit IRC | 16:36 | |
adrian_otto | dhellmann: what belongs in the governance repo? | 16:37 |
dhellmann | adrian_otto: oh, I thought that was irc, maybe I'm wrong | 16:37 |
*** snrism has joined #openstack-containers | 16:37 | |
adrian_otto | well in Gerrit we go by LP id's | 16:37 |
dhellmann | ok, I'll let the rest of the TC figure out what we want there | 16:38 |
adrian_otto | maybe I should put an aotto irc bot up | 16:38 |
dhellmann | heh | 16:38 |
dhellmann | we should probably document clearly what is desired there, too | 16:38 |
adrian_otto | I'll put a comment on the review | 16:38 |
*** snrism has quit IRC | 16:39 | |
adrian_otto | sdake: what would we like to release? stable/kilo ats2015.1.1? | 16:39 |
adrian_otto | s/ats/as / | 16:39 |
*** snrism has joined #openstack-containers | 16:39 | |
dhellmann | adrian_otto: are you using date versioning for the client lib? | 16:40 |
adrian_otto | no for the client we are using N.N.N | 16:41 |
*** eghobo has joined #openstack-containers | 16:41 | |
adrian_otto | for magnum, we use NNNN.N.N | 16:41 |
dhellmann | adrian_otto: ok, I have a list of unreleased changes in http://paste.openstack.org/show/245107/ | 16:41 |
dhellmann | ok, I'm only interested in the client for now | 16:42 |
dhellmann | given the requirements updates, the next release for python-magnumclient will be 0.3.0 | 16:42 |
adrian_otto | I can tag the client release right now | 16:42 |
adrian_otto | I'll get that done, it just takes a minute or two | 16:42 |
adrian_otto | it looks like the python-magnumclient pypi job is not set up right | 16:44 |
adrian_otto | https://pypi.python.org/pypi/python-magnumclient | 16:44 |
adrian_otto | http://tarballs.openstack.org/python-magnumclient/ | 16:45 |
adrian_otto | dhellmann: any chance you know how to fix that? | 16:45 |
adrian_otto | so that when I tag releases they will automatically show up on pypi? | 16:46 |
*** unicell1 has joined #openstack-containers | 16:46 | |
*** Drago has quit IRC | 16:47 | |
dhellmann | adrian_otto: hrm, yeah, I can look into that for you after lunch | 16:49 |
dhellmann | adrian_otto: did you use a signed tag? | 16:50 |
dhellmann | brb | 16:50 |
adrian_otto | yes. Signed tag. | 16:50 |
*** vilobhmm has joined #openstack-containers | 16:53 | |
adrian_otto | Ok, here is the new python-magnumclient release: https://github.com/openstack/python-magnumclient/releases/tag/0.2.1 | 16:54 |
adrian_otto | I will look at the setup in pypi to see if that is trusting OpenStack's utility users or whatever it needs | 16:55 |
*** fawadkhaliq has joined #openstack-containers | 16:59 | |
*** mfalatic has joined #openstack-containers | 17:01 | |
*** gose has joined #openstack-containers | 17:03 | |
*** daneyon_ has quit IRC | 17:05 | |
*** sdake has joined #openstack-containers | 17:09 | |
*** kebray has joined #openstack-containers | 17:09 | |
*** achanda has quit IRC | 17:10 | |
*** achanda_ has joined #openstack-containers | 17:10 | |
*** sdake_ has quit IRC | 17:12 | |
sdake | need to add openstackci to the admin role adrian_otto in pypi | 17:12 |
sdake | woudl be my guess at what the problem is | 17:12 |
*** suro-patz has joined #openstack-containers | 17:13 | |
sdake | http://docs.openstack.org/infra/manual/creators.html | 17:13 |
sdake | search for "openstackci" | 17:13 |
sdake | I can't do it, I dont have access to the pypi for it | 17:13 |
adrian_otto | ok, I'll sort through it | 17:14 |
sdake | adrian_otto while I've got you | 17:14 |
sdake | can you set liberty as the current focus of release | 17:14 |
adrian_otto | yes, will do. | 17:14 |
sdake | click liberty, then click "focus of release yellow button" | 17:14 |
sdake | is our drivers team open or closed? | 17:14 |
sdake | if its closed, you can set maintainer to drivers so anyone can do this stuff :) | 17:15 |
dhellmann | adrian_otto: ok, we need to get you using semver like everyone else. I'll be posting a cross-project spec next week to talk about standardizing library release management | 17:15 |
sdake | (it should be closed) | 17:15 |
sdake | dhellmann what is semver? | 17:15 |
dhellmann | http://docs.openstack.org/developer/pbr/semver.html | 17:15 |
sdake | ok we will need to find one of our python wizards to do that job :) | 17:16 |
sdake | jay-lau-513 is probably a good candidate :) | 17:16 |
dhellmann | in this case, because of the req changes the version should have been 0.3.0 | 17:16 |
sdake | dhellmann is that the only case for increasing the y version? | 17:17 |
sdake | (requirements change) | 17:17 |
dhellmann | no, new features also call for a min version bump, the requirements change is just the easy one to spot in the list of unreleased changes | 17:17 |
sdake | ya makes sense | 17:18 |
sdake | thanks | 17:18 |
*** sdake_ has joined #openstack-containers | 17:20 | |
*** kebray has quit IRC | 17:22 | |
*** sdake has quit IRC | 17:23 | |
*** sdake has joined #openstack-containers | 17:26 | |
*** barra204 has quit IRC | 17:26 | |
adrian_otto | aah, yes, good catch, dhellman | 17:27 |
*** kebray has joined #openstack-containers | 17:29 | |
*** sdake_ has quit IRC | 17:29 | |
*** nihilifer has joined #openstack-containers | 17:31 | |
*** achanda_ has quit IRC | 17:32 | |
*** achanda has joined #openstack-containers | 17:33 | |
*** unicell has joined #openstack-containers | 17:34 | |
*** unicell1 has quit IRC | 17:36 | |
*** jruano has quit IRC | 17:37 | |
*** jruano has joined #openstack-containers | 17:40 | |
*** kebray has quit IRC | 17:40 | |
*** EricGonc_ has joined #openstack-containers | 17:42 | |
*** EricGonczer_ has quit IRC | 17:44 | |
*** nihilifer has quit IRC | 17:48 | |
*** gose is now known as hblixt | 17:50 | |
*** achanda_ has joined #openstack-containers | 18:00 | |
*** rlrevell1 has joined #openstack-containers | 18:01 | |
*** achanda has quit IRC | 18:02 | |
*** rlrevell has quit IRC | 18:03 | |
*** kebray has joined #openstack-containers | 18:07 | |
*** sdake_ has joined #openstack-containers | 18:07 | |
*** barra204 has joined #openstack-containers | 18:08 | |
*** Drago has joined #openstack-containers | 18:10 | |
*** Drago has quit IRC | 18:10 | |
*** Drago has joined #openstack-containers | 18:11 | |
*** EricGonczer_ has joined #openstack-containers | 18:11 | |
*** kebray has quit IRC | 18:12 | |
*** sdake has quit IRC | 18:12 | |
*** kebray has joined #openstack-containers | 18:12 | |
*** EricGonc_ has quit IRC | 18:14 | |
*** barra204 has quit IRC | 18:15 | |
*** pradk has joined #openstack-containers | 18:15 | |
*** barra204 has joined #openstack-containers | 18:20 | |
*** pradk has quit IRC | 18:27 | |
*** rlrevell1 has quit IRC | 18:27 | |
*** barra204_ has joined #openstack-containers | 18:28 | |
*** pradk has joined #openstack-containers | 18:30 | |
*** barra204 has quit IRC | 18:31 | |
*** rlrevell has joined #openstack-containers | 18:36 | |
*** rlrevell has quit IRC | 18:38 | |
*** barra204_ is now known as shakamunyi | 18:52 | |
*** rlrevell has joined #openstack-containers | 19:02 | |
*** adrian_otto has quit IRC | 19:13 | |
*** snrism has quit IRC | 19:15 | |
*** achanda_ has quit IRC | 19:23 | |
*** adrian_otto has joined #openstack-containers | 19:33 | |
*** sdake_ is now known as sdake | 19:43 | |
*** sdake_ has joined #openstack-containers | 19:46 | |
*** snrism has joined #openstack-containers | 19:46 | |
*** sdake has quit IRC | 19:49 | |
*** sdake has joined #openstack-containers | 19:49 | |
*** snrism has quit IRC | 19:53 | |
*** sdake_ has quit IRC | 19:53 | |
*** openstack has joined #openstack-containers | 20:06 | |
*** oro has joined #openstack-containers | 20:24 | |
*** openstack has joined #openstack-containers | 20:31 | |
*** adrian_otto has quit IRC | 20:33 | |
*** sdake_ has joined #openstack-containers | 20:36 | |
*** sdake has quit IRC | 20:40 | |
*** adrian_otto has joined #openstack-containers | 20:41 | |
*** adrian_otto1 has joined #openstack-containers | 20:44 | |
*** vahidh has quit IRC | 20:44 | |
*** adrian_otto has quit IRC | 20:46 | |
*** vahidh has joined #openstack-containers | 20:46 | |
*** oro has quit IRC | 20:48 | |
*** alex_klimov has joined #openstack-containers | 20:49 | |
*** sdake has joined #openstack-containers | 20:50 | |
*** rpothier has quit IRC | 20:51 | |
*** muralia has quit IRC | 20:51 | |
*** sdake_ has quit IRC | 20:54 | |
*** snrism has joined #openstack-containers | 20:54 | |
*** openstackgerrit has quit IRC | 20:59 | |
*** openstackgerrit has joined #openstack-containers | 20:59 | |
*** snrism has quit IRC | 21:00 | |
*** pradk has quit IRC | 21:02 | |
*** fawadkhaliq has quit IRC | 21:05 | |
*** julim has quit IRC | 21:07 | |
*** rlrevell has quit IRC | 21:23 | |
*** sdake is now known as steakache | 21:23 | |
*** steakache is now known as sdake | 21:24 | |
*** snrism has joined #openstack-containers | 21:25 | |
*** shakamunyi has quit IRC | 21:26 | |
*** jhova has quit IRC | 21:29 | |
*** openstack has joined #openstack-containers | 21:32 | |
*** hongbin has quit IRC | 21:37 | |
*** snrism has quit IRC | 21:43 | |
*** snrism has joined #openstack-containers | 21:46 | |
*** dims_ has joined #openstack-containers | 21:53 | |
*** dimsum__ has quit IRC | 21:55 | |
*** jruano has quit IRC | 21:57 | |
eghobo | sdake: are there any images except fedora/atomic which works with kub and magnun? | 22:02 |
eghobo | ping 10.0.0.3 | 22:02 |
eghobo | -bash: /usr/bin/ping: Invalid argument | 22:02 |
sdake | coreos works | 22:02 |
sdake | but I havn't tested it | 22:02 |
sdake | if you want a proper ping, use scp to copy ping into the vm | 22:02 |
eghobo | aha let me try, nodes cannot connect to etcd and I am not sure why | 22:03 |
eghobo | do you know exact version of coreos? | 22:04 |
*** fawadkhaliq has joined #openstack-containers | 22:05 | |
sdake | diga diga_ is your man for that q | 22:07 |
eghobo | thx | 22:08 |
openstackgerrit | Merged openstack/magnum: Use oslo.log instead of oslo.incubator log module https://review.openstack.org/186447 | 22:09 |
*** fawadkhaliq has quit IRC | 22:11 | |
openstackgerrit | Steven Dake proposed openstack/magnum: Implement secure deserialize function https://review.openstack.org/186287 | 22:14 |
*** EricGonc_ has joined #openstack-containers | 22:17 | |
*** EricGonczer_ has quit IRC | 22:18 | |
*** EricGonc_ has quit IRC | 22:19 | |
sdake | eghobo in atomic? | 22:25 |
sdake | or in coreos | 22:25 |
sdake | (the etcd thing) | 22:25 |
eghobo | atomic | 22:26 |
sdake | what does kubectl get minions show inside the vms? | 22:26 |
sdake | our functional gate is working on master, and it does this operation using atomic | 22:26 |
sdake | it does bay create | 22:27 |
sdake | although I am not certain it actually tests the bay out :) | 22:27 |
eghobo | empty list, it's expected because I see error at kublets that they cannot update state | 22:27 |
sdake | cat /etc/resolv.conf for me | 22:28 |
sdake | are you running on devstack or other? | 22:28 |
eghobo | bay create was successful, devstack at fusion | 22:28 |
sdake | what is fusion | 22:29 |
eghobo | vmware at macos | 22:32 |
sdake | your running magnum in a vm? | 22:32 |
sdake | if so, how much ram? | 22:35 |
sdake | (assignedt o vm) | 22:35 |
sdake | and your minions are created (can be seen via nova) | 22:35 |
sdake | nova list | 22:35 |
sdake | will show them | 22:36 |
*** eghobo_ has joined #openstack-containers | 22:36 | |
sdake | eghobo_ your running magnum in a vm? If so, how much ram assigned to mv? Are you sure your minions are created? Nova list will show them (and the networks they are assigned) | 22:37 |
sdake | paste nova list output for me plz | 22:37 |
*** eghobo has quit IRC | 22:38 | |
*** eghobo__ has joined #openstack-containers | 22:39 | |
*** sdake_ has joined #openstack-containers | 22:39 | |
*** eghobo_ has quit IRC | 22:43 | |
*** sdake has quit IRC | 22:43 | |
eghobo__ | sdake: 4G RAM and I setup oversubscription in nova | 22:43 |
sdake_ | you need 8gb ram for a devstack vm minimum | 22:43 |
sdake_ | you are probably getting an OOM problem of sosme sort | 22:43 |
eghobo__ | vms are fine from nova point of viev | 22:43 |
eghobo__ | why 8G? | 22:44 |
sdake_ | pretty sure tcammann said he required 8gb ram to get er to work | 22:44 |
eghobo__ | [minion@testbay2-f7oqnlixa4bm-kube-master-nia3nozuuwix ~]$ cat /etc/resolv.conf | 22:44 |
eghobo__ | # Generated by NetworkManager | 22:44 |
eghobo__ | search openstacklocal novalocal | 22:44 |
eghobo__ | nameserver 8.8.8.8 | 22:44 |
sdake_ | are you using neutron networking? | 22:45 |
sdake_ | it really looks like your using nova networking | 22:45 |
sdake_ | and kubectl get minions shows nothing on the master? | 22:45 |
sdake_ | systemctl | grep failed | 22:46 |
sdake_ | it should show the ips of the minions , if they can't communicate it will show "NotReady" | 22:47 |
sdake_ | (kubectl get minions) | 22:47 |
eghobo__ | [minion@testbay2-f7oqnlixa4bm-kube-master-nia3nozuuwix ~]$ kubectl get nodes | 22:47 |
eghobo__ | NAME LABELS STATUS | 22:47 |
sdake_ | use get minions | 22:47 |
eghobo__ | [minion@testbay2-f7oqnlixa4bm-kube-master-nia3nozuuwix ~]$ systemctl | grep failed | 22:48 |
eghobo__ | ● var-lib-nfs-rpc_pipefs.mount loaded failed failed RPC Pipe File System | 22:48 |
eghobo__ | get minions the same result | 22:48 |
sdake_ | brb | 22:48 |
*** sdake has joined #openstack-containers | 22:49 | |
*** sdake has quit IRC | 22:49 | |
*** sdake has joined #openstack-containers | 22:49 | |
eghobo__ | and I pretty sure I run neutron, I see neutron output in screen ;) | 22:50 |
sdake | cd /etc/kubernetes | 22:50 |
sdake | ok | 22:50 |
sdake | cat apiserver | 22:50 |
sdake | paste it somewhere handy | 22:50 |
sdake | cat /etc/etcd/etcd.conf | 22:51 |
sdake | paste it somewhere handy | 22:51 |
sdake | point me at the pastes | 22:51 |
sdake | some new place, or maybe just an old one | 22:52 |
sdake | furyia | 22:52 |
sdake | or something like that ;-) | 22:52 |
*** sdake_ has quit IRC | 22:52 | |
eghobo__ | http://paste.openstack.org/show/245812/ | 22:53 |
sdake | curl localhost:4001 | 22:53 |
sdake | see if it outputs stuff | 22:53 |
sdake | type something in like "hello" :) | 22:54 |
eghobo__ | I see '404 page not found' but I think it's right | 22:54 |
sdake | in /var/log | 22:54 |
sdake | there is a cloud-init-output-final or something | 22:55 |
sdake | can you paste that | 22:55 |
sdake | and the api server in /etc/kubernetes as well | 22:55 |
sdake | are you running master of magnum? | 22:56 |
eghobo__ | cloud init http://paste.openstack.org/show/245823/ | 22:57 |
eghobo__ | what do you mean "master of magnum"? | 22:58 |
sdake | are you running master or kilo branch | 22:58 |
sdake | eghobo_ there is a different cloudinit log file in /var/log? | 22:58 |
sdake | I need the other file | 22:58 |
sdake | there are two | 22:58 |
eghobo__ | master | 22:59 |
sdake | ok | 22:59 |
sdake | so there is a different cloudinit log file in /var/log I think - thats the oen I need | 22:59 |
eghobo__ | there is cloud-init.log but it's empty | 22:59 |
sdake | interesting | 22:59 |
sdake | cd /var/lib/cloud | 22:59 |
sdake | find . -name part-001 -ls | 23:00 |
sdake | find that file | 23:00 |
sdake | and ls the directory it is in and show it to me | 23:00 |
sdake | (the directory list) | 23:00 |
sdake | I am pretty sure you are out of memory | 23:00 |
sdake | but happy to debug further | 23:00 |
sdake | is more memory for your vm a possibility? | 23:00 |
sdake | it may be part-0001 | 23:01 |
sdake | I don't recall exactly | 23:01 |
eghobo__ | found ./instances/11451de5-01c3-4117-aa74-02dacdea331b/boothooks/part-001 | 23:01 |
eghobo__ | #!/bin/sh | 23:01 |
eghobo__ | setenforce 0 | 23:01 |
eghobo__ | sed -i ' | 23:02 |
eghobo__ | /^SELINUX=/ s/=.*/=permissive/ | 23:02 |
eghobo__ | ' /etc/selinux/config | 23:02 |
eghobo__ | ~ | 23:02 |
sdake | what I want to see is hte directory listing of that directory | 23:04 |
sdake | ther eshoudl be other part files | 23:04 |
sdake | it wont be in the boothooks directory | 23:04 |
sdake | it may be called part-00? | 23:04 |
eghobo__ | [minion@testbay2-f7oqnlixa4bm-kube-master-nia3nozuuwix cloud]$ ls -la | 23:05 |
sdake | I think its in the "scripts" directory | 23:05 |
eghobo__ | total 8 | 23:05 |
eghobo__ | drwxr-xr-x. 8 root root 98 May 29 22:32 . | 23:05 |
eghobo__ | drwxr-xr-x. 28 root root 4096 May 29 22:31 .. | 23:05 |
eghobo__ | drwxr-xr-x. 2 root root 4096 May 29 22:33 data | 23:05 |
eghobo__ | drwxr-xr-x. 2 root root 6 May 29 22:32 handlers | 23:05 |
eghobo__ | lrwxrwxrwx. 1 root root 61 May 29 22:32 instance -> /var/lib/cloud/instances/11451de5-01c3-4117-aa74-02dacdea331b | 23:05 |
eghobo__ | drwxr-xr-x. 3 root root 49 May 29 22:32 instances | 23:05 |
eghobo__ | drwxr-xr-x. 6 root root 68 May 29 22:32 scripts | 23:05 |
eghobo__ | drwxr-xr-x. 2 root root 6 May 29 22:32 seed | 23:05 |
eghobo__ | drwxr-xr-x. 2 root root 41 May 29 22:33 sem | 23:05 |
sdake | cd instance | 23:05 |
sdake | ls | 23:05 |
eghobo__ | [minion@testbay2-f7oqnlixa4bm-kube-master-nia3nozuuwix instance]$ ls -la | 23:05 |
eghobo__ | total 60 | 23:05 |
eghobo__ | drwxr-xr-x. 6 root root 4096 May 29 22:33 . | 23:05 |
eghobo__ | drwxr-xr-x. 3 root root 49 May 29 22:32 .. | 23:05 |
eghobo__ | -rw-r--r--. 1 root root 52 May 29 22:33 boot-finished | 23:05 |
eghobo__ | drwxr-xr-x. 2 root root 21 May 29 23:02 boothooks | 23:05 |
eghobo__ | -rw-------. 1 root root 2834 May 29 22:32 cloud-config.txt | 23:05 |
eghobo__ | -rw-r--r--. 1 root root 80 May 29 22:32 datasource | 23:05 |
eghobo__ | drwxr-xr-x. 2 root root 6 May 29 22:32 handlers | 23:05 |
eghobo__ | -r--------. 1 root root 13456 May 29 22:32 obj.pkl | 23:05 |
eghobo__ | drwxr-xr-x. 2 root root 79 May 29 22:32 scripts | 23:05 |
eghobo__ | drwxr-xr-x. 2 root root 4096 May 29 22:33 sem | 23:05 |
eghobo__ | -rw-------. 1 root root 6052 May 29 22:32 user-data.txt | 23:06 |
eghobo__ | -rw-------. 1 root root 6477 May 29 22:32 user-data.txt.i | 23:06 |
sdake | cd scripts | 23:06 |
sdake | ls | 23:06 |
eghobo__ | -rw-------. 1 root root 4 May 29 22:32 vendor-data.txt | 23:06 |
eghobo__ | -rw-------. 1 root root 345 May 29 22:32 vendor-data.txt.i | 23:06 |
eghobo__ | [minion@testbay2-f7oqnlixa4bm-kube-master-nia3nozuuwix instance]$ cd scripts/ | 23:06 |
eghobo__ | [minion@testbay2-f7oqnlixa4bm-kube-master-nia3nozuuwix scripts]$ ls -la | 23:06 |
eghobo__ | total 24 | 23:06 |
eghobo__ | drwxr-xr-x. 2 root root 79 May 29 22:32 . | 23:06 |
eghobo__ | drwxr-xr-x. 6 root root 4096 May 29 22:33 .. | 23:06 |
eghobo__ | -rwx------. 1 root root 604 May 29 22:32 part-004 | 23:06 |
eghobo__ | -rwx------. 1 root root 291 May 29 22:32 part-005 | 23:07 |
eghobo__ | -rwx------. 1 root root 511 May 29 22:32 part-006 | 23:07 |
eghobo__ | -rwx------. 1 root root 240 May 29 22:32 part-009 | 23:07 |
eghobo__ | -rwx------. 1 root root 84 May 29 22:32 runcm | 23:07 |
sdake | cat each of those files in a paste plz | 23:07 |
sdake | your learning the internal mechanics of magnum ;) | 23:07 |
sdake | this is like a pro lesson for you :) | 23:07 |
eghobo__ | actually it's nothing specific to magnum it's more how atomic/cloud-init works, right? | 23:08 |
sdake | nope this is all magnum/heat | 23:08 |
sdake | heat puts those files in there | 23:08 |
sdake | based upon teh heat template | 23:08 |
sdake | and they are run to configure the bay | 23:09 |
sdake | obviously they are not doing the job | 23:09 |
sdake | the cloud init log you showed indicates some part handlers are not actually running | 23:09 |
eghobo__ | why I see all process running | 23:09 |
sdake | they may be running but are likely not configured correctly | 23:09 |
sdake | stick with me, I'll show you the whole thing | 23:09 |
*** Marga_ has joined #openstack-containers | 23:10 | |
eghobo__ | ;) | 23:10 |
eghobo__ | do you want all files or lets review kub configs? | 23:11 |
sdake | i want the part files first | 23:11 |
sdake | in a paste | 23:11 |
sdake | I don't know what does what, need to see the part files before we look at the kube config | 23:11 |
eghobo__ | 1 sec | 23:11 |
sdake | make sure I know which part file is which in the paste plz :) | 23:12 |
eghobo__ | http://paste.openstack.org/show/245847/ | 23:13 |
*** Marga_ has quit IRC | 23:16 | |
sdake | http://ur1.ca/moelh -> http://paste.fedoraproject.org/227130/32941440 | 23:17 |
sdake | run with this diff plz | 23:17 |
sdake | kill bay | 23:17 |
sdake | create a fresh one after restarting conductor | 23:17 |
eghobo__ | ok, it will take some time, just fyi node journal has many errors like this | 23:20 |
eghobo__ | May 29 23:17:29 te-qj64gpcq2f-0-6rsltxsql7mj-kube-minion-jgj5v3fjlotu.novalocal kubelet[1116]: E0529 23:17:29.006833 1116 kubelet.go:1779] error updating node status, will retry: error getting node "10.0.0.4": minion "10.0.0.4" not found | 23:20 |
eghobo__ | May 29 23:17:29 te-qj64gpcq2f-0-6rsltxsql7mj-kube-minion-jgj5v3fjlotu.novalocal kubelet[1116]: E0529 23:17:29.011261 1116 kubelet.go:578] Unable to update node status: Update node status exceeds retry count | 23:20 |
sdake | lets tackle one problem at a time | 23:21 |
sdake | etcd is the first problem | 23:21 |
eghobo__ | but I can reach api and etcd with curl | 23:21 |
sdake | etcd is running on 127.0.0.1 | 23:21 |
sdake | it needs to run on 0.0.0.0:40001 | 23:21 |
sdake | sed is not doing what it should | 23:21 |
sdake | I don't understand how master works for me and not you :) | 23:21 |
sdake | but sed is heavy wizardly :) | 23:21 |
eghobo__ | ok, but I can just restart etcd, can't i? | 23:22 |
sdake | I am not sure on that point | 23:23 |
sdake | I would preefer you restart the bay | 23:23 |
eghobo__ | my etcd.conf has ETCD_LISTEN_CLIENT_URLS="http://0.0.0.0:4001" | 23:25 |
sdake | is that what you pasted earlier? | 23:25 |
eghobo__ | yes | 23:25 |
*** rongze has joined #openstack-containers | 23:26 | |
eghobo__ | and I can reach etcd with curl from minion, I doubt that etcd is the issue | 23:26 |
sdake | here is what you pasted: http://paste.openstack.org/raw/245812/ | 23:26 |
sdake | ETCD_LISTEN_CLIENT_URLS="http://localhost:4001" | 23:26 |
sdake | 127.0.0.1 will bind etcd to 127.0.0.1, not *all* interfaces | 23:27 |
sdake | it needs to be bound to all interfaces | 23:27 |
sdake | curl from your localhost works like a champ | 23:27 |
sdake | but it will not work from the minions | 23:27 |
sdake | because the minons cannot get to 127.0.0.1 of your master | 23:28 |
eghobo__ | it's on minion | 23:28 |
sdake | that paste was from the minion? | 23:28 |
sdake | you wer elogged into the master earlier :) | 23:29 |
eghobo__ | sorry, too many open shells | 23:29 |
sdake | so your master has http://0.0.0.0:4001? | 23:29 |
sdake | in /etc/etcd/etcd.conf? | 23:29 |
sdake | where the part handlers fro mthe master or minion? | 23:30 |
eghobo__ | parts from master, etcd.conf was from minion | 23:30 |
eghobo__ | sorry | 23:31 |
sdake | show me etc.doncf on master | 23:31 |
sdake | ok, lets just work on the master for now | 23:31 |
sdake | close all your minion shells plz :) | 23:31 |
eghobo__ | # [member] | 23:32 |
eghobo__ | ETCD_NAME=default | 23:32 |
eghobo__ | ETCD_DATA_DIR="/var/lib/etcd/default.etcd" | 23:32 |
eghobo__ | #ETCD_SNAPSHOT_COUNTER="10000" | 23:32 |
eghobo__ | #ETCD_HEARTBEAT_INTERVAL="100" | 23:32 |
eghobo__ | #ETCD_ELECTION_TIMEOUT="1000" | 23:32 |
eghobo__ | #ETCD_LISTEN_PEER_URLS="http://localhost:2380,http://localhost:7001" | 23:32 |
eghobo__ | ETCD_LISTEN_CLIENT_URLS="http://0.0.0.0:4001" | 23:32 |
eghobo__ | #ETCD_MAX_SNAPSHOTS="5" | 23:32 |
eghobo__ | #ETCD_MAX_WALS="5" | 23:32 |
eghobo__ | #ETCD_CORS="" | 23:32 |
eghobo__ | # | 23:32 |
eghobo__ | #[cluster] | 23:32 |
eghobo__ | #ETCD_INITIAL_ADVERTISE_PEER_URLS="http://localhost:2380,http://localhost:7001" | 23:32 |
eghobo__ | # if you use different ETCD_NAME (e.g. test), set ETCD_INITIAL_CLUSTER value for this name, i.e. "test=http://..." | 23:32 |
eghobo__ | #ETCD_INITIAL_CLUSTER="default=http://localhost:2380,default=http://localhost:7001" | 23:32 |
eghobo__ | #ETCD_INITIAL_CLUSTER_STATE="new" | 23:32 |
eghobo__ | #ETCD_INITIAL_CLUSTER_TOKEN="etcd-cluster" | 23:32 |
eghobo__ | #ETCD_ADVERTISE_CLIENT_URLS="http://localhost:2379,http://localhost:4001" | 23:32 |
eghobo__ | #ETCD_DISCOVERY="" | 23:32 |
eghobo__ | #ETCD_DISCOVERY_SRV="" | 23:32 |
eghobo__ | #ETCD_DISCOVERY_FALLBACK="proxy" | 23:32 |
eghobo__ | #ETCD_DISCOVERY_PROXY="" | 23:32 |
eghobo__ | # | 23:32 |
eghobo__ | #[proxy] | 23:32 |
eghobo__ | #ETCD_PROXY="off" | 23:32 |
eghobo__ | # | 23:32 |
eghobo__ | #[security] | 23:32 |
eghobo__ | #ETCD_CA_FILE="" | 23:32 |
eghobo__ | #ETCD_CERT_FILE="" | 23:32 |
eghobo__ | #ETCD_KEY_FILE="" | 23:32 |
eghobo__ | #ETCD_PEER_CA_FILE="" | 23:32 |
eghobo__ | #ETCD_PEER_CERT_FILE="" | 23:32 |
eghobo__ | #ETCD_PEER_KEY_FILE="" | 23:32 |
sdake | this is master? | 23:33 |
eghobo__ | yep | 23:33 |
sdake | kubectl get minons on master | 23:33 |
eghobo__ | yep | 23:33 |
sdake | what output? | 23:33 |
eghobo__ | [minion@testbay2-f7oqnlixa4bm-kube-master-nia3nozuuwix scripts]$ kubectl get minions | 23:33 |
eghobo__ | NAME LABELS STATUS | 23:33 |
sdake | cat apiserver on master | 23:34 |
sdake | /etc/kubernetes/apiserver | 23:34 |
eghobo__ | [minion@testbay2-f7oqnlixa4bm-kube-master-nia3nozuuwix scripts]$ cat /etc/kubernetes/apiserver | 23:35 |
eghobo__ | ### | 23:35 |
eghobo__ | # kubernetes system config | 23:35 |
eghobo__ | # | 23:35 |
eghobo__ | # The following values are used to configure the kube-apiserver | 23:35 |
eghobo__ | # | 23:35 |
eghobo__ | # The address on the local server to listen to. | 23:35 |
eghobo__ | KUBE_API_ADDRESS="--address=0.0.0.0" | 23:35 |
eghobo__ | # The port on the local server to listen on. | 23:35 |
eghobo__ | # KUBE_API_PORT="--port=8080" | 23:35 |
eghobo__ | # Port minions listen on | 23:35 |
eghobo__ | # KUBELET_PORT="--kubelet_port=10250" | 23:35 |
eghobo__ | # Comma separated list of nodes in the etcd cluster | 23:35 |
eghobo__ | KUBE_ETCD_SERVERS="--etcd_servers=http://127.0.0.1:4001" | 23:35 |
eghobo__ | # Address range to use for services | 23:35 |
eghobo__ | KUBE_SERVICE_ADDRESSES="--portal_net=10.254.0.0/16" | 23:35 |
eghobo__ | # default admission control policies | 23:35 |
eghobo__ | KUBE_ADMISSION_CONTROL="--admission_control=NamespaceAutoProvision,LimitRanger,ResourceQuota" | 23:35 |
eghobo__ | # Add you own! | 23:35 |
eghobo__ | KUBE_API_ARGS="--runtime_config=api/v1beta3 | 23:35 |
sdake | pat files from master is the last past eyou showed me? | 23:36 |
sdake | or were from minons | 23:36 |
sdake | part handlers | 23:36 |
*** rongze has quit IRC | 23:36 | |
eghobo__ | master | 23:36 |
*** rongze has joined #openstack-containers | 23:37 | |
sdake | when did you check out master | 23:39 |
eghobo__ | morning around 10am | 23:40 |
sdake | are you the cat tha tfiled the bluerptin around periodic? | 23:41 |
*** rongze has quit IRC | 23:41 | |
sdake | do you know how to use git bisect? | 23:42 |
eghobo__ | no, but git log usually works ;) | 23:43 |
eghobo__ | eguz@ubuntu-vm:/opt/stack/magnum$ git log | 23:43 |
eghobo__ | commit 1246d3f7ac3b33a354bf6c51aec7b9b6154229f4 | 23:43 |
eghobo__ | Merge: 5e5f6d5 63c1b6f | 23:43 |
eghobo__ | Author: Jenkins <jenkins@review.openstack.org> | 23:43 |
eghobo__ | Date: Thu May 28 05:04:57 2015 +0000 | 23:43 |
eghobo__ | Merge "Backport "fixup! added script for dynamically registering a minion"" | 23:43 |
sdake | git checkout bf42ec94ef3da3a37e1ab875251000b0b7794f8a | 23:44 |
sdake | restack | 23:44 |
sdake | or alternatively bay-delete | 23:44 |
sdake | baymodel-delete | 23:44 |
sdake | kill conductor | 23:45 |
sdake | kill api | 23:45 |
sdake | start api | 23:45 |
sdake | start conductor | 23:45 |
sdake | possible regression in master | 23:45 |
eghobo__ | ok let me cleanup everything, will be back in 15 min | 23:45 |
sdake | my devstack is busted so I can't test it | 23:45 |
eghobo__ | it's the reason why I am using vms, I can kill them anytime | 23:46 |
openstackgerrit | Steven Dake proposed openstack/magnum: Implement secure deserialize function https://review.openstack.org/186287 | 23:50 |
*** fawadkhaliq has joined #openstack-containers | 23:52 | |
openstackgerrit | Steven Dake proposed openstack/magnum: Implement secure deserialize function https://review.openstack.org/186287 | 23:52 |
*** vilobhmm has quit IRC | 23:53 | |
*** sdake_ has joined #openstack-containers | 23:56 | |
*** fawadkhaliq has quit IRC | 23:56 | |
*** jjlehr1 has joined #openstack-containers | 23:57 | |
*** jjlehr1 has quit IRC | 23:57 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!