/srv/irclogs.ubuntu.com/2014/07/24/#cloud-init.txt

harlowjasmoser btw, it seems like some parts of openstack are moving away from httpretty to https://pypi.python.org/pypi/httmock/00:04
* harlowja might have to dig into why to see if cloud-init should or shouldn't00:05
=== praneshp_ is now known as praneshp
=== evilissimo|afk is now known as evilissimo
=== harlowja is now known as harlowja_away
harmwmwhudson: I think I have time for aarch64 (or whatever the correct name is) somewhere in and/or after the weekend08:21
mwhudsonharmw: yay08:21
mwhudsoni am on leave for a week so no real hurry:)08:21
harmwoh lol08:21
harmwyou've got the original arm image working btw?08:21
mwhudsonhaven't tried08:22
harmwwhat kind of hardware do you run anyway, since it's aarm64 (which isn't widespread in the embedded/small world just yet)?08:23
mwhudsoni keep poking people about things and then forgetting that i'm away next week08:23
harmwseamicro stuff?08:23
harmw:P08:23
mwhudsonharmw: i work for canonical / linaro so have access to preprod stuff08:26
harmwhow nice08:28
harmw:)08:28
mwhudsonyeah it's kinda fun08:30
mwhudsoncan't really talk about it though, which is a bit annoying :)08:30
harmwhaha np08:30
=== evilissimo is now known as evilissimo|afk
smoserharlowja, i do not understand something21:18
smoser(big surprise)21:18
harlowja?21:18
harlowjalet me help you child21:19
harlowjahow may i help u child21:19
harlowjaj/k21:19
smoserhttp://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/794/cloudinit/util.py#L14821:19
smoserif stat.ST_MODE in stats21:19
harlowjak21:19
harlowja^ u just not want that statement?21:20
smoserwhat is it for?21:20
smoserit doesn't seem tomake sense.21:21
smoserstat.ST_MODE is 021:21
smoser(a constant)21:21
smoserwhy would you say:21:21
smoserif 0 in os.stat("/etc/passwd")21:21
smoserwhat would that even mean?21:21
harlowjaagreed, wonder why i did that21:22
smoserok. thanks.21:22
smoserthat test was failing in sbuild21:23
smoserwhere /etc/hosts didn't exist21:23
smoserso i was making a temp file21:23
smoserand then the tem pfile for whatever reason did not have a '0' in os.stat()21:23
harlowjaya, seems like just do stats[stat.ST_MODE] 21:23
smoseryeah, i think that is what youmeant 21:23
harlowjamust of been smoking crack when doing that21:23
smoserbut dont even know what that would do21:23
harlowjaya, odd21:23
smoseri have to run.21:23
harlowjaall the cracks fault21:23
smoserfor now i will just take that code out21:24
smoserlater21:24
harlowjakk21:24
smoserharlowja, can you verify the os.path.realpath and os.path.expanduser seem odd at http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/util.py#L14823:25
harlowjadon't seem so odd if u want the actual path?23:26
smoserbut why didn't they give you the actual path in the first place.23:29
smoserwhat if they explicitly gave you a path with a '~' in it that should not have been expanded.23:30
smoseri guess if you need the full path it makes sense.23:30
smoserbut the expanduser seems like it could false positive23:30
smoserharlowja, http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/revision/98723:47
smoserthanks for your help.23:47
harlowjasmoser ya, likely could just remove expanduser23:48
harlowjasmoser cool, selinux will i guess work better now23:49

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