smoser | alright, utlemming uploaded. | 00:16 |
---|---|---|
smoser | i kind of am planning on doing an 0.7.4 release to just tie this fix in and anything else that flushes out in the nexst 36 hours. | 00:17 |
utlemming | smoser: ack | 01:26 |
smoser | utlemming, it just made it through | 02:05 |
smoser | so please get builds in if you can | 02:05 |
pedroalvarez | Running 2 OS, in the same OpenStack system, Ubuntu gets the userdata through Ec2 and the other OS doesn't receive anything.. | 12:35 |
pedroalvarez | I've got the two log files: | 13:34 |
pedroalvarez | -Ubuntu: http://paste.ubuntu.com/6209011/ | 13:35 |
pedroalvarez | -The other: http://paste.ubuntu.com/6209024/ | 13:35 |
pedroalvarez | I even downgraded my cloud-init version to 0.7.2, but still not working | 13:49 |
smoser | neat that btrfs resize worked. that was mostly theoretical | 13:53 |
smoser | :) | 13:53 |
pedroalvarez | :) | 13:55 |
smoser | Oct 08 11:15:33 baserock cloud-init[196]: [CLOUDINIT] __init__.py[DEBUG]: Searching for data source in: ['DataSourceNoCloudNet', 'DataSourceConfigDriveNet', 'DataSourceAltCloud', 'DataSourceOVFNet', 'DataSourceNone'] | 13:59 |
smoser | that is your problem | 13:59 |
smoser | i'm not sure whats causing it, but for some reason its not looknig for the DataSourceEc2, while it seems like you've configured that. | 14:01 |
smoser | Oct 08 11:15:33 baserock cloud-init[196]: [CLOUDINIT] __init__.py[DEBUG]: Looking for for data source in: ['NoCloud', 'ConfigDrive', 'AltCloud', 'OVF', 'MAAS', 'Ec2', 'None'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM', 'NETWORK'] | 14:01 |
pedroalvarez | That's exactly what I was checking right now | 14:02 |
pedroalvarez | yes, it is on my cfg file: datasource_list: [ NoCloud, ConfigDrive, AltCloud, OVF, MAAS, Ec2, None ] | 14:03 |
pedroalvarez | smoser: there is a module called "disable-ec2-metadata" | 14:09 |
pedroalvarez | I have tried to make it works with and without it | 14:11 |
pedroalvarez | Seems like the importer can't import it: importer.py[DEBUG]: Found DataSourceEc2 with attributes ['get_datasource_list'] in [] | 14:21 |
smoser | pedroalvarez, disable-ec2-metdata not related. | 14:23 |
smoser | well... disable-ec2-metadata would most certainly disable your ec2metadata | 14:24 |
smoser | pedroalvarez, what is your python version ? | 14:24 |
pedroalvarez | smoser: Python 2.7.2 | 14:25 |
pedroalvarez | and I have already disabled the "disable-ec2-metadata" module | 14:26 |
smoser | that wont affect cloud-init | 14:26 |
smoser | that runs late in the boot process | 14:26 |
smoser | and if it is enabled by user data | 14:26 |
smoser | then it routes the url off | 14:26 |
pedroalvarez | Is the python version enough? | 14:26 |
smoser | i think so | 14:26 |
smoser | i thought it might have an issue if it was 2.6 or 2.6 | 14:27 |
smoser | err 2.5 | 14:27 |
pedroalvarez | smoser: I could try using configDrive instead Ec2, but I don't know how to configure OpenStack to do it | 14:28 |
smoser | no. yo ushoudl fix ec2. | 14:29 |
smoser | i'm not sure why you're not finding that datasource, though. | 14:30 |
smoser | can you let me into an instance? | 14:30 |
pedroalvarez | It's not visible from outside I think | 14:31 |
pedroalvarez | Let me ask | 14:31 |
pedroalvarez | I can't, but maybe I can try to upload it to a free Openstack online | 14:40 |
pedroalvarez | (trystack) | 14:40 |
pedroalvarez | hmm.. do you know another alternative than trystack? | 15:01 |
smoser | pedroalvarez, i dont know. | 15:11 |
smoser | you could put it on amazon | 15:11 |
smoser | oh, or even do a devstack *in* amazon | 15:12 |
smoser | or tunnel out of theinstance | 15:12 |
smoser | can you let me into the bootstrap node ? | 15:31 |
smoser | ssh-import-id smoser | 15:31 |
pedroalvarez | smoser: found the problem I think. I didn't import boto, essential for run Ec2. I will let you know. Thanks | 16:18 |
smoser | hum.. i'd have thoguht we'd see a traceback log there. | 16:19 |
smoser | maybe there was on the consoel | 16:19 |
pedroalvarez | there isn't: | 16:21 |
pedroalvarez | except ImportError: | 16:21 |
pedroalvarez | pass | 16:21 |
smoser | boooo | 16:22 |
pedroalvarez | Solution: | 16:23 |
pedroalvarez | except ImportError, e: | 16:23 |
pedroalvarez | LOG.debug("Failed to import %s: %r", full_path, e) | 16:23 |
smoser | i'd use util.logexc | 16:24 |
smoser | but yeah | 16:24 |
smoser | harlowja, pedroalvarez hit a but that was hidden somewhat by the fact that the datasource loader hides import errors | 20:10 |
harlowja | :-/ | 20:45 |
harlowja | hmmm | 20:45 |
smoser | so the datsource loading | 21:19 |
smoser | tried to load ddatasourceec2 | 21:19 |
smoser | which eneeded boto | 21:19 |
smoser | and so tboto import-errored | 21:19 |
smoser | and then the laoder just swallowd that up. | 21:19 |
smoser | so i couldn't figure out from his log why he wasn't seeing the datasource ec2 (or attempting to use it) | 21:20 |
harlowja | hmmm | 22:03 |
harlowja | ya durn imports of imports failing | 22:03 |
harlowja | those are tough ones | 22:03 |
harlowja | maybe we should log something at least | 22:03 |
harlowja | maybe to start a debug message | 22:04 |
harlowja | around try: | 22:04 |
harlowja | mod = import_module(full_path) | 22:04 |
harlowja | except ImportError: | 22:04 |
harlowja | pass | 22:04 |
harlowja | except its hard to tell the difference between import not existing (which might be ok) and import having a dependency that is failing | 22:07 |
harlowja | both come out as import errors | 22:07 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!