smoser | magicalChicken, i dont expect you to make much sense out of it | 02:14 |
---|---|---|
smoser | but http://paste.ubuntu.com/15443576/ | 02:14 |
smoser | that was my quick hack attempt to do some 'fallback'. | 02:14 |
smoser | laregely to just test some of the other assertiions i had. | 02:14 |
smoser | magicalChicken, so one take awy of this is that the fallback network info should not try to rename devices that are 'virtual' | 02:32 |
magicalChicken | smoser: I think I understand it mostly. I get not trying to mess with the virtual devs | 02:40 |
=== openstackgerrit_ is now known as openstackgerrit | ||
=== openstackgerrit_ is now known as openstackgerrit | ||
rharper | smoser: in the patch you shared, there was a reference to a /tmp/my.patch (looking on our shared host) it modifies the systemd networking.service Wants target; is that still needed ? | 18:12 |
smoser | no. that is resolved with cloud-init-local saying Wants=networking-pre.target | 18:13 |
rharper | ok | 18:13 |
smoser | which is in my branch | 18:13 |
rharper | net1 ? | 18:13 |
rharper | I should pull and rebuild the deb, right ? | 18:13 |
smoser | yeah. | 18:13 |
smoser | let me know how it fails :) | 18:13 |
rharper | sure | 18:14 |
smoser | i dont think i've broken it, but i might ave | 18:14 |
rharper | heh | 18:14 |
smoser | i think it should work | 18:15 |
smoser | i probably had it working with 1191 | 18:15 |
smoser | but the working tree on taht system has this http://paste.ubuntu.com/15466159/ | 18:15 |
smoser | so if it doesnt work, maybe read that and see if it helps | 18:16 |
rharper | ok | 18:16 |
rharper | \o/ | 18:17 |
rharper | 1191 works | 18:17 |
rharper | so happy to not see the 120 second timeout =P | 18:17 |
smoser | rharper, but current does not ? | 18:46 |
rharper | smoser: I just did a bzr pull, and I got 1191 | 18:46 |
rharper | in net1 | 18:47 |
rharper | so that's current AFAICT | 18:47 |
rharper | maybe you have local changes not pushed to trunk.net1 ? | 18:47 |
smoser | hm.. i have 1199 here. | 18:47 |
magicalChicken | I'm seeing 1199 as well | 18:48 |
smoser | https://code.launchpad.net/~smoser/cloud-init/trunk.net1/ | 18:48 |
magicalChicken | It looks like it works to me, I've been working from it | 18:48 |
rharper | oh | 18:49 |
rharper | hrm | 18:49 |
rharper | ah, yeah | 18:49 |
rharper | 1199 | 18:49 |
* rharper can't read | 18:49 | |
rharper | 1199 works fine | 18:49 |
smoser | woot. | 18:49 |
smoser | can you push your git that works ? | 18:49 |
rharper | just getting that done now | 18:51 |
rharper | smoser: ok, pushed | 18:52 |
* rharper will now poke at using scripts.d instead of cloud-init injected scripts so we can test cloud-init disabled | 18:52 | |
rharper | magicalChicken: what are you blocked on w.r.t cloud-init-test ? | 18:53 |
magicalChicken | rharper: Nothing atm, since it's all passing nwo | 18:53 |
magicalChicken | rharper: I had been working on getting a test of cmdline ip= going but had been blocked for a bit, but I should be able to finish that now | 18:53 |
rharper | cool | 19:07 |
smoser | rharper, so... | 20:32 |
rharper | y | 20:32 |
smoser | openstack networking information -> network-yaml | 20:32 |
smoser | that is a needed component. | 20:32 |
smoser | should be fairly stand alone conversion | 20:32 |
smoser | could you look at that ? | 20:33 |
rharper | sure, do you have a pointer to their metadata yaml ? | 20:34 |
smoser | rharper, https://review.openstack.org/#/c/85673/9/specs/juno/metadata-service-network-info.rst | 20:42 |
smoser | is some. | 20:42 |
smoser | i'm not sure if there is better or more complete somewhere else | 20:42 |
rharper | cool | 20:42 |
smoser | but that shoudl give you somethign to google for | 20:42 |
rharper | image can have custom startup scripts to get networking config from | 20:43 |
rharper | Config Driv | 20:43 |
rharper | arbitrary blobs ... we don't support that in our network config as of now; what do? =) | 20:43 |
smoser | rharper, ? | 21:00 |
smoser | config driv ? | 21:00 |
rharper | smoser: in the RFC | 21:00 |
rharper | the goal was to support neutron network config, and allow arbitrary scripts run to "configure" things | 21:00 |
smoser | cloud-init does read the config drive. | 21:01 |
smoser | we actually do somewhat read this information | 21:01 |
rharper | I'm just saying that if the config-drive includes scripts that muck with the network; it's possible things won't go quite right | 21:01 |
smoser | no it doesnt | 21:02 |
smoser | i dont think | 21:02 |
smoser | i'm almost certain its sane | 21:02 |
rharper | the last use-case described is what concerns me | 21:02 |
rharper | * image can have custom startup scripts to get networking config from Config Drive | 21:02 |
smoser | i think image here means OS image | 21:03 |
smoser | ie, cloud-init can have custom startup scripts... | 21:03 |
rharper | yeah, OK | 21:03 |
rharper | to obtain the data | 21:03 |
rharper | sorta like the per-Datasource "bring up a layer to find your source" scripts | 21:03 |
rharper | cool | 21:03 |
smoser | interesting. | 21:04 |
smoser | serverstack does not populate network_data | 21:04 |
smoser | you can get a config drive like this, rharper | 21:04 |
smoser | nova boot --config-drive=1 --user-data=/tmp/cstack.hr20QA/ud-rendered --key-name=brickies --flavor=m1.small --nic=net-id=db6a8975-5ca2-49d6-8ca7-f8747a163e58 --image=421f67f2-c72d-4396-a678-ff4a16278fb7 xenial-20160321-210440 | 21:04 |
smoser | --config-drive=1 is what you want | 21:05 |
rharper | cool | 21:05 |
smoser | going afk for 2 to 3 hours. | 21:11 |
rharper | k | 21:17 |
rharper | smoser: magicalChicken: well, I have run-parts based collect_scripts working now; the downside is waiting on multi.target adds like 30 seconds to the total test-time; I'll see if i can just do after cloud-init.final service and see if that speeds things up | 21:21 |
magicalChicken | rharper: 30 seconds isn't really all that long, so that's good | 21:26 |
rharper | magicalChicken: yeah, not terrible; but I think it was closer to 10 seconds without; so it's mostly just empty time | 21:26 |
rharper | yeah, I moved it to just be After=cloud-init.final | 21:26 |
rharper | and we're at 18 seconds | 21:26 |
rharper | cool | 21:27 |
magicalChicken | nice | 21:28 |
rharper | smoser: magicalChicken: ok, pushed the run-parts collect scripts to cloud-init-test master; smoser I'll start poking on the config drive conversion to network.yaml | 22:13 |
=== openstackgerrit_ is now known as openstackgerrit | ||
=== openstackgerrit_ is now known as openstackgerrit |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!