/srv/irclogs.ubuntu.com/2013/12/30/#cloud-init.txt

=== harlowja_away is now known as harlowja
=== harlowja is now known as harlowja_away
harlowjaharmw sean hopefully getting me an image today :-P18:15
harmwah nice harlowja 21:08
harmwfirst things first though, time to fix my broken havana upgrade21:12
harlowjaah, good luck :-/21:40
harmwgod how I hate openstack for beeing such a pig to debug in case of failures :| especially since it now just works21:40
harmwoh, haha21:40
harmw^^21:40
harlowjajust works??21:40
harlowjalol21:40
harlowjau so funny21:40
harlowjawe are working through the havana upgrade as we speak afaik21:41
harmwit was bugging me about not beeing able to find drive.conf, even though i configured force_config_drive=false21:41
harlowjasaw on the ML that some migration is possibly busted21:41
harlowjadrive.conf?21:41
harmwyeah, whats it called21:41
harlowjaodd21:41
harmwin the instance dir21:41
harmwor just 'disk'21:41
harlowjaya, thats config drive stuff21:42
harlowja*at least disk.config is 21:42
harmwyes , indeed21:42
harmwand which I told nova to have have disabled21:42
harlowjaya, :-/21:42
harlowjaand u restarted nova processes?21:42
harmwit also complained about timeouts with neutron, causing bad behaviour aswell21:42
harmwofc :)21:43
harlowjak, odd21:43
harmwwell apart from that, it now 'just' works21:43
harmwgrizzly to havana21:43
harlowjaya21:43
harlowjai haven't heard anything bad from the guys that are working on that upgrade here21:44
harlowjajust takes time to make sure :-P21:44
harlowjaand once u go forward u never go back (sadly)21:44
harmwhaving to do db_sync for nova/cinder/glance/etc. was the only real bug i guess21:44
harmwlol, interestingly enough, my newly created instance has a disk.config file :|21:46
harmwforce_config_drive = false21:46
harlowja:-/21:48
harmw2013-12-30 22:49:00.693 25436 INFO nova.virt.libvirt.driver [req-51d97fd0-50b5-4c9c-be1d-c4767df31cf5 30f8cf93273345d1b7dc4e22da05536d 04826ef02a00466da4af5e70ddc67038] [instance: 87b2cf14-bd06-475c-a5a2-293969d31960] Using config drive21:49
harmwwtf21:49
harlowjaya21:49
harlowjaodd21:49
harlowjahttps://github.com/openstack/nova/blob/stable/havana/nova/virt/libvirt/driver.py#L241921:50
harmwah, and here we go again: 2013-12-30 22:49:53.105 25436 TRACE nova.compute.manager [instance: 87b2cf14-bd06-475c-a5a2-293969d31960] ConnectionFailed: Connection to neutron failed: timed out21:50
harlowjahttps://github.com/openstack/nova/blob/stable/havana/nova/virt/configdrive.py#L18021:50
harlowjainstance.get('config_drive') or CONF.force_config_drive21:50
harlowjaso maybe your instance think it needs the config_Drive21:50
harlowjaand thats overriding force setting21:50
harmwhm, well nova boot isn't telling it to use it21:51
harlowjaya, someone is setting that i think21:52
harmwi was hoping to -not- having to go through sourcecode to get this fixed...  :p21:53
harlowjaya21:54
harlowjacan u paste the debug request logs21:54
harlowjahttps://github.com/openstack/nova/blob/stable/havana/nova/api/openstack/compute/servers.py#L76321:54
harlowjamy guess is that code is getting activated, which is saving sometihing in the instance21:54
harlowjaa favorite saying of a person on my team21:54
harlowja'its openstack relaxxxxx'21:54
harlowja*long x, lol21:54
harmw:p21:55
harlowjadoes seem odd that it isn't turned off though21:59
harlowjawhen booting use --debug and see what the heck nova is sending21:59
harmw"name": "dummy", "created": "2013-12-30T22:02:04Z", "tenant_id": "04826ef02a00466da4af5e70ddc67038", "OS-DCF:diskConfig": "MANUAL", "os-extended-volumes:volumes_attached": [{"id": "07c70f2f-9aa5-46fc-ba40-768b1cc412e4"}], "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 0, "config_drive": "", "metadata": {}}}22:03
harmwthough now its hitting a neutron timeout22:04
harlowjaodd, ya, "" == false in python22:05
harlowjaits openstack rellaxxxx22:12
harlowjalol22:12
harmwopenstack should invest some time in making stuff like this easier to debug :)22:12
harmwffs, ive just ran the build-me-a-new-instance script again, but this thime on the controller22:20
harmwand volia, no neutron timeout :|22:20
harmwdifference is fedora workstation with grizzly cmdline tools, controller has havana22:21
harmwthough its probably just dumb luck22:21
harmwits still creating a config_drive though22:21
harmw2013-12-30 23:24:08.190 25862 DEBUG nova.openstack.common.service [-] force_config_drive             = false log_opt_values /usr/lib/python2.6/site-packages/oslo/config/cfg.py:194522:24
harmwfrom nova-compute startup22:24
harlowja:-/22:34
harlowjadid u try setting no value for force_config_drive22:34
harlowjaharmw ya, i think i see it22:35
harlowjalol22:35
harlowjahttps://github.com/openstack/nova/blob/master/nova/virt/configdrive.py#L4622:35
harlowjacfg.StrOpt22:35
harlowjahaha22:35
harlowjaso leave it empty, not 'false'22:36
* harlowja not really funny :-/22:36
harmw+1 for the ever consistent openstack22:36
harlowjadef22:36
harlowjaforce_config_drive is a string option, to allow for future behaviors22:36
harlowjalol22:36
harlowja'future behaviors'22:36
harlowjalol22:36
harmwand empty is "" or just realy NULL ?22:37
harlowjai'd just do22:37
harlowjaforce_config_drive             =22:37
harmwyea22:37
harmwok22:37
harlowjai guess that would be null22:38
harlowjaor should be22:39
harmw2013-12-30 23:38:59.843 26681 WARNING nova.virt.disk.api [req-9093c6c8-eca4-4107-9fea-deae1409d02a 30f8cf93273345d1b7dc4e22da05536d 04826ef02a00466da4af5e70ddc67038] Ignoring error injecting data into image ([Errno 2] No such file or directory: '/data/openstack/nova//instances/0f6f6e41-cc37-4bf0-983b-a48dff16c9db/disk')22:39
harmw2013-12-30 23:39:02.071 26681 INFO nova.compute.manager [-] Lifecycle event 0 on VM 0f6f6e41-cc37-4bf0-983b-a48dff16c9db22:40
harmw2013-12-30 23:39:02.388 26681 INFO nova.virt.libvirt.driver [-] [instance: 0f6f6e41-cc37-4bf0-983b-a48dff16c9db] Instance spawned successfully.22:40
harmwthere we go22:40
harmwthanks harlowja 22:40
harlowjanp22:40
harmw+infinity for opensource :)22:40
harlowja:)22:41
harlowjamostly works some of the time, ha22:41
harlowja^ thats opensource, lol22:41
harmw:)22:41
harmwa little over 24hours away from nye :)22:46
harlowjadef22:47
harlowja2014, the year of linux22:48
harlowjalol22:48
harmwlol22:48
harlowjaor maybe the year of openstack, idk22:50
harlowjawoot, got a freebsd to locally run23:29
harlowjadevfs           1.0K    1.0K      0B   100%    /dev23:29
harlowjaprocfs          4.0K    4.0K      0B   100%    /proc23:29
harlowja /dev/vtbd0p2    9.6G    1.4G    7.5G    16%    23:29
harlowjaharmw do u have an simple instructions i can do to make it active, since i'm guessing its not install rpm :-P23:30

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