/srv/irclogs.ubuntu.com/2015/06/04/#cloud-init.txt

=== tmclaugh[work]_ is now known as tmclaugh[work]
=== tmclaugh[work]_ is now known as tmclaugh[work]
=== natorious is now known as zz_natorious
=== rangerpbzzzz is now known as rangerpb
larsksharlowja: btw, submitted that pr yesterday.  And now it has tests, too.14:02
=== rangerpb is now known as rangerpbzzzz
=== zz_natorious is now known as natorious
=== natorious is now known as zz_natorious
Odd_Blokesmoser: I'm looking at fixing https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1411582 in cloud-init.15:39
Odd_Blokesmoser: My suggested fix is to shift the udev rule that creates /dev/disk/azure/... in to cloud-init, and then teach cloud-init to dereference /dev/disk/... symlinks.15:40
Odd_Blokesmoser: We could also look at making the directory created more generic (e.g. /dev/disk/cloud-init/...), so that we have a single place to look for stuff on different clouds.15:41
Odd_Bloke(This would, for example, allow us to answer 'do I have an ephemeral disk?' by just looking at /dev/disk/cloud-init/ephemeral or whatever)15:42
Odd_Blokesmoser: Thoughts?15:42
smoserOdd_Bloke, well, looking forward, there is a plan for a block device usage languange. that explicitly declares how disks should be used. this will support raid, lvm, bcache ... 17:02
smoserthat is happening for curtin usage.17:02
smoseri'd like for cloud-init to be able to take that language and render it into being also.17:02
smoserthe added piece that cloud-init needs is kind of what you were mentioning. curtin will be fed disk config like http://paste.ubuntu.com/10939715/ .17:07
smoserbut ideally cloud-init can then allow substitution of things like 'ephemeral0' where it finds out what that is.17:08
harlowjalarsks awesome17:23
Odd_Blokesmoser: Right, is that something that can happen now?  We've got pressure from Azure to get this fixed.17:23
Odd_Blokesmoser: (Also, will we realistically ever take the curtin language in to 0.7.x?)17:24
smoserOdd_Bloke, probably not17:26
smoserOdd_Bloke, so i think i'm ok with the overall idea.18:00
smoserthen cloud-init would allow users to specify 'ephemeral0' as they can elsewhere.18:00
smoserand on azure that would map to /dev/cloud-init/ephemeral018:00
smoseri think thats what you're saying18:00
Odd_Blokesmoser: Yeah, it would be /dev/disk/cloud-init/ci-ephemeral or somesuch.18:16
Odd_Blokesmoser: Ben proposed this udev config: http://paste.ubuntu.com/11566987/18:16
smoserit doesnt seem unreasonble.18:17
smoserbut i dont know how this determines between "running on azure" and "running on hyper-v"18:18
alexpilottismoser: this is for cirros?18:19
smoseralexpilotti, that above was azure ubuntu18:19
alexpilottioh, k tx18:20
Odd_Blokesmoser: I'm not sure either; udev is not my strong suit. Let me check with Ben.18:20
Odd_Blokesmoser: Ben confirmed with Microsoft that that would only match in Azure environments.18:23
smoserwhy would they only match in azure18:27
smoserthat is odd18:27
smoserdont you think ?18:27
smoserID_VENDOR of Msft18:27
smoserodd18:27
Odd_Blokesmoser: I _think_ it's the UUIDs that are Azure-specific.18:35
smoserah. that does seem more reaosnable.18:36
alexpilottismoser: I’m hearing about ext4 for config drives21:16
smoseralexpilotti, that is odd / roughly stupid21:48
smosernot really here. but a link to info woudl be good. but really cloud-init doesnt care. 21:49
harlowjawindows dll fun scares me lol23:35

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