/srv/irclogs.ubuntu.com/2013/10/07/#cloud-init.txt

smoserhey all16:33
smoseri'm hoping to mark 0.7.3 today.16:33
pedroalvarezcool16:45
pedroalvarezsmoser: I don't know why I cannot make cloud-init receive data from OpenStack, I have a log this time. http://paste.ubuntu.com/6205664/16:53
smoserpedroalvarez, what are you expecting to find ?16:59
smoserconfigdrive or ec2 metadata service ?16:59
pedroalvarezi have installed ubuntu in openstack, and the cloud-config simply worked17:01
pedroalvarezI'm using the same configuration in other operating system, and I don't know why doesn't work17:01
smoserah.17:02
smoseris ubuntu using cloud-config or ec2 17:02
smoserer.r..17:02
smoserconfig-drive or ec2 i meant.17:02
pedroalvarezhow can I know? where in the log?17:02
pedroalvarezsmoser: forget it for today, I have to go home. I'll ask you again tomorrow17:04
smosercloud-init output should say.17:05
smoserbut basically either you've configured openstack to offer config-drive (or requested it at launch) or to offer the ec2 metadata service.17:06
smoserif you don't know, then you're prbably doing the MD service.17:06
smoserbut i have less guessses as to what is going wrong with your install for MD than I would for config-drive.17:06
smoserfor config-drive, i'd suspect that enough drivers are not loaded to see the disk or a race condition in it becoming avialable.17:07
smoserharlowja, around ?18:10
harlowjayo18:10
harlowjasmoser poke18:10
smoseryou hav eanything really important that you'd like to have in to 0.7.3 ?18:11
smosercause i'm about to push "go" on that.18:11
harlowjanot afaik :)18:11
smoserk.18:11
harlowjathat windows stuff?18:11
harlowjalol18:11
smoseryeah. windows. :)18:11
harlowjaalexpilotti ;)18:12
utlemmingsmoser: problem with the latest uplaod to lp:cloud-init20:56
smoserutlemming, ?20:57
utlemmingsmoser: ephemeral0 is not mapping to the first partition20:57
utlemmingsmoser: on parted disks20:57
utlemmingsmoser: http://paste.ubuntu.com/6206712/20:57
utlemmingsmoser: http://paste.ubuntu.com/6206721/ 20:58
smoseri thought you had tested this.20:58
utlemmingsmoser: yeah, I did20:59
utlemmingsmoser: which is why I am confused20:59
utlemmingsmoser: because I took the branch you pinged me and tested against that20:59
smoserwell i merged your branch21:02
smoserutlemming, please figure out what needs fixing. i just released 0.7.3 so that sucks.21:06
utlemmingsmoser: yeah, this blows hard21:07
utlemmingsmoser: I'll get this ASAP21:07
smoseri'll be back in in a couple hours.21:07
utlemmingsmoser: lp:~utlemming/cloud-init/lp1236594-bad_ephemeral0_mnt21:15
smoserutlemming, still there?23:33
utlemmingsmoser: yup23:33
smoserI did the "if not partition" by design.23:33
smoserbecause input to devnode_for_dev_part23:33
smosershould be a string or None23:34
smoserbool("0") == True23:34
smoseroh. but i guess "" is not true. that must be what was occuring there?23:34
utlemmingright23:34
smoserno.23:35
smoserexpand_dotted_devname("ephemeral0")23:36
smoserwould return None23:36
smoserhm..23:36
utlemmingthe issue is "ephemeral0" is not selecting ephemeral0 or epehemeral0.1 because of that "if partition"23:36
smoserright.23:39
smoserutlemming, so i think the right place for that change is in sanitiz_devname.23:41
smoseri think . as its there that we're saying "ephemeral0" == ephemeral0.0 or ephemeral0.123:41
utlemminghrm...23:43
utlemmingbut isn't that the same things as my patch? 23:44
smoserwell mostly, except for then there is no way to call devnode_foor_dev_part with "do not expand this"23:46
smosererr.. with "do not allow part 0 or part 1"23:46
utlemmingsmoser: since this is a specific function to cc_mounts, I think adding a flag that controls that behavior seems sane23:47
utlemmingotherwise we have two functions that only get halfway there23:48
utlemmingi.e. def ...(..., literal=False)23:48
utlemmingwhich controls the beavhior23:49
utlemmingbut again, this is one function that is called by one module23:49
smoseri think you're right23:49
smoserutlemming, you're changes are correct.23:52
smoseri'mpretty sure.23:52
utlemmingsmoser: I tested those changes on SmartOS, EC2 and Azure23:58

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