Tuesday, 2015-09-15

openstackgerritAdam Gandelman proposed stackforge/akanda-rug: devstack: Update URL for appliance image to tarballs.o.o  https://review.openstack.org/22336401:17
*** puranamr has joined #akanda01:22
openstackgerritAdam Gandelman proposed stackforge/akanda-rug: Enrich functional test suite  https://review.openstack.org/21995201:39
*** puranamr has quit IRC01:53
*** ryanpetrello has quit IRC03:28
*** ryanpetrello has joined #akanda03:30
*** elo has joined #akanda03:37
*** sarob has quit IRC03:40
*** ryanpetrello has quit IRC03:41
*** adam_g has quit IRC03:45
*** adam_g has joined #akanda03:51
*** adam_g has quit IRC03:51
*** adam_g has joined #akanda03:51
*** elo has quit IRC03:56
*** sarob has joined #akanda04:03
*** ryanpetrello has joined #akanda04:04
*** elo has joined #akanda04:17
*** elo has quit IRC04:46
*** elo has joined #akanda04:47
*** elo has quit IRC05:27
*** elo has joined #akanda06:27
*** adam_g has quit IRC06:55
*** elo has quit IRC08:10
*** elo has joined #akanda08:16
*** elo has quit IRC08:42
*** puranamr has joined #akanda12:49
*** puranamr has quit IRC12:55
openstackgerritDavid Lenwell proposed stackforge/akanda-rug: Router driver and required changes to instance manager (WIP)  https://review.openstack.org/21522712:58
openstackgerritDavid Lenwell proposed stackforge/akanda-rug: Router driver and required changes to instance manager (WIP)  https://review.openstack.org/21522713:00
davidlenwellprogress on tests.. and missing stuff from previous commit ^^13:01
openstackgerritDavid Lenwell proposed stackforge/akanda-rug: Router driver and required changes to instance manager (WIP)  https://review.openstack.org/21522713:56
*** puranamr has joined #akanda15:45
*** puranamr has quit IRC16:16
*** puranamr has joined #akanda16:17
*** puranamr has quit IRC16:49
*** puranamr has joined #akanda16:51
*** puranamr has quit IRC16:52
*** puranamr has joined #akanda16:52
*** cleverdevil has joined #akanda16:53
*** adam_g has joined #akanda17:20
*** adam_g has quit IRC17:20
*** adam_g has joined #akanda17:20
*** gsagie_ has joined #akanda17:21
*** puranamr_ has joined #akanda17:24
*** puranamr has quit IRC17:26
*** puranamr has joined #akanda17:29
*** puranamr_ has quit IRC17:31
*** puranamr has quit IRC17:42
*** puranamr has joined #akanda17:46
*** puranamr_ has joined #akanda18:04
*** puranamr has quit IRC18:06
*** puranamr has joined #akanda18:08
*** puranamr_ has quit IRC18:09
*** gsagie_ has quit IRC18:12
adam_gdavidlenwell, http://paste.ubuntu.com/12419463/ this gets me up tot he point where state machine is looping and there is a traceback in happening in notifications.py18:35
*** puranamr has quit IRC18:36
davidlenwelladan .. yeah .. that reflects what I was just about to push..18:38
davidlenwelladam_g: ^18:38
adam_gdavidlenwell,  i think your new ensure_cache() wrapper might be the problem18:38
davidlenwelladam_g: okay18:38
davidlenwellhmm..okay18:38
davidlenwellI'll back it out18:39
davidlenwellI have a better idea about how to make the clients thread safe anyways.. I'll deal with that later18:39
*** puranamr has joined #akanda18:46
*** puranamr has quit IRC18:46
adam_gdavidlenwell, i say we avoid nice-to-have improvements for now18:46
davidlenwellyeah.. im with you18:47
davidlenwellwe can have a conversation about my list of nice to haves later when we are passed this18:48
adam_gdavidlenwell, https://review.openstack.org/#/c/215227/14/akanda/rug/instance_manager.py19:05
adam_gdavidlenwell, where did the make_vrrp_ports callback go?19:05
davidlenwelladam_g:  its supposed to be in the driver and triggered by the driver.pre_boot method .. not sure why its missing in that patch ..19:11
davidlenwellmaking sure its there on the next one ..19:12
rodsadam_g Hi, I'm looking at the ansible playbook and it seems like the dns for the appliance should be set to 8.8.8.8 https://github.com/stackforge/akanda-appliance/blob/master/ansible/tasks/base.yml#L2419:16
adam_grods, does it not?19:17
rodsbut mounting your image at http://tarballs.openstack.org/akanda-appliance/images/akanda_appliance.qcow2 seems like dns is set to "nameserver 127.0.0.1"19:17
adam_grods, hmm.19:18
rodsI'm building my image to and mine is set to "nameserver 192.168.121.1"19:18
rodsakanda-linux[vagrant@devstack-develop:/mnt/image/etc] $ ifconfig19:18
rodseth0      Link encap:Ethernet  HWaddr 52:54:00:b6:e1:e319:18
rods          inet addr:192.168.121.94  Bcast:192.168.121.255  Mask:255.255.255.019:18
adam_grods, you mean when you build yours locally, the resulting image gets it set to the hosts NS?19:19
rodsthe image that I build locally has dns set to 192.168.121.119:20
adam_gi wonder if there might be a another DIB element running later and overwriting the ansible change19:20
rodsbut the image I get from http://tarballs.openstack.org/akanda-appliance/images/akanda_appliance.qcow219:20
adam_gright. they should be set to 8.8.8.8 in both cases, as per the ansible playbook19:20
rodshas dns set to 127.0.0.119:20
rodsyep19:20
adam_gwould you mind filing a bug ? i will take a look later19:21
rodssure, I'll dig into the issue a little more to see if it's something I can fix19:22
adam_gdavidlenwell, how would that work tho? the callback returns ports that we pipe into the nova create request as NICs to be attached at boot time19:22
davidlenwellthe callback will be a staticmethod that lives in the driver so that it can differ from driver to driver and still be passed into the nova client19:23
adam_gdavidlenwell, is that available somwhere to push up?19:28
davidlenwellits about to be19:29
davidlenwelljust a sec ..19:29
adam_gk19:29
openstackgerritDavid Lenwell proposed stackforge/akanda-rug: Router driver and required changes to instance manager (WIP)  https://review.openstack.org/21522719:55
davidlenwelladam_g:  ^^ this has the callback function the way it should work.. I have not tested it yet because im in the middle of backing off the ensure_cache wrapper thing.. but will get to testing it in a moment..19:56
adam_gok19:59
adam_gunfortunately the worker_context and its neutron client are lost by that time that would get called, AFAICS20:00
openstackgerritDavid Lenwell proposed stackforge/akanda-rug: Router driver and required changes to instance manager (WIP)  https://review.openstack.org/21522720:01
davidlenwellyeah.. I made a booboo.. that should work.. however .. like I said.. I'll test it in a minute20:01
davidlenwelladam_g: ^20:01
adam_gdavidlenwell, https://review.openstack.org/#/c/215227/15..16/akanda/rug/instance_manager.py20:03
adam_gthats passing the return values from the callback and not the reference to the callback itself20:03
davidlenwellyes.. if you look at what its returning20:03
davidlenwelllook at https://review.openstack.org/#/c/215227/16/akanda/rug/drivers/router.py20:04
davidlenwellthe return value of that function is the callback function20:04
davidlenwellI think it should work fine .. I'll confirm in a few20:05
davidlenwelljust finishing up the other thing20:05
adam_gdavidlenwell, k20:06
*** cleverdevil has quit IRC20:18
*** cleverdevil has joined #akanda20:22
*** cleverdevil has quit IRC20:25
*** cleverdevil has joined #akanda20:27
*** cleverdevil- has joined #akanda21:08
*** cleverdevil has quit IRC21:11
rodsadam_g so looks like the disk-image-create command is making a copy of the resolv.conf file here https://github.com/openstack/diskimage-builder/blob/master/lib/common-functions#L25421:20
rodswhich is called before the extra-data phase https://github.com/openstack/diskimage-builder/blob/master/bin/disk-image-create#L21921:21
rodsmaking some changes on the file depending on the distribuiton21:22
rodsand then restoring the file here https://github.com/openstack/diskimage-builder/blob/master/lib/img-functions#L10621:23
rodsafter the finalise phase https://github.com/openstack/diskimage-builder/blob/master/bin/disk-image-create#L27921:23
adam_grods, oh nice find. i figured it was something like this21:23
rodslooks like a workaround could be to change -L $TMP_MOUNT_PATH/etc/resolv.conf.ORIG file in the finalise phase21:24
rodsbefore it gets resotred21:25
*** puranamr has joined #akanda21:28
*** puranamr has quit IRC21:33
*** puranamr has joined #akanda21:36
openstackgerritAdam Gandelman proposed stackforge/akanda-rug: Add akanda-pez-service RPC server and client (WIP)  https://review.openstack.org/22199721:41
openstackgerritAdam Gandelman proposed stackforge/akanda-rug: Split out instance provisioning to on_demand and pez (WIP)  https://review.openstack.org/22199921:41
*** puranamr has quit IRC22:04
*** cleverdevil- has quit IRC23:01
*** openstackgerrit has quit IRC23:16
*** openstackgerrit has joined #akanda23:16

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!