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

=== harlowja is now known as harlowja_away
Odd_Blokesmoser: When do/should cloud-init bugs get marked as Fix Released in the cloud-init LP project?13:22
smoserOdd_Bloke, i do it with release of the bug in a version.13:23
smoserie, when 0.7.6 releases all those go to fix-released.13:23
smoserand ubuntu fix-released when ubuntu gets fixed.13:23
Odd_Blokesmoser: Cool, so I don't need to pay attention and do the marking myself when appropriate?13:24
smoserwell, it wouldn't hurt :)13:24
smoserits a pain13:24
Odd_Blokesmoser: What are your thoughts on https://bugs.launchpad.net/cloud-init/+bug/1403617 ?15:17
Odd_Blokesmoser: My comment lays out the decision we need to make.15:18
smoserhow do we not match with roject level keys now ?15:21
smoserOdd_Bloke, ie "we already don't match the GCE docs in the way we handle project-level keys so this may be a foolish consistency."15:22
Odd_Blokesmoser: I _think_ that we put all of the keys on the ubuntu user, even when they're defined against different users.15:23
Odd_Blokesmoser: But I may not be recalling that correctly.15:23
smoserhow do they get defined for different users ?15:25
smoserwe do put them on the ubuntu user for user.15:25
smosersure15:25
Odd_Blokesmoser: Keys come from GCE as a list of "<user>:<key>" strings.15:28
Odd_Blokesmoser: Which GCE infers from the comment (e.g. "... dwatkins" will come as "dwatkins:...") in the user interface.15:28
Odd_BlokeBut you just pass in a mapping to the instance creation API.15:29
Odd_Blokesmoser: We then trim the first half off before setting 'public-keys' in self.metadata (using the _trim_key function).15:30
smoserah. i see.15:30
smoseri think you should override the per-project keys with per-instance if available.15:31
Odd_BlokeSo if I defined {'dwatkins': 'ssh-rsa foo', 'smoser': 'ssh-rsa bar'}, we'd get both 'ssh-rsa foo' and 'ssh-rsa bar' on the ubuntu user.15:31
Odd_Bloke(And the Google scripts would create dwatkins and smoser users with the appropriate keys)15:31
smosercan we know the difference between "no instance keys given" and "instance keys given as empty string"15:31
smoserwith the latter implying intent to have no ssh access15:31
Odd_BlokeI'll have a look; I _suspect_ not, but I'll confirm.15:32
Odd_BlokeAh, we can; sshKeys is passed as a normal metadata attribute, and so if none are specified then the key isn't present.15:35
Odd_BlokeLet me confirm that the web UI behaves the same as the CLI client.15:35
smoseri'd just like to support that behavior15:37
smoserOdd_Bloke, so my general feeling here is that it makes sense to try to do what the cloud vendor wants.15:38
smoserhowever, i'm *more* interested in consistency of ubuntu across vendors15:38
smoserthan i am in ubuntu's consistency with other vms on a given vendor15:38
smosermake sense?15:38
smoseri care more about ubuntu than i do GCE15:39
Odd_BlokeYep, on the same page.15:39
Odd_BlokeSo you're saying you think that 'empty instance keys' is approximately equal to (e.g.) no key given when starting an EC2 instance?15:40
smoserOdd_Bloke, yeah.15:42
smoseri think so. right ?15:42
smoserthat could be achieved easily ehought though, by creating a key named "NOONE@NOWHERE"15:43
smoserand promptly shredding the private key15:44
Odd_BlokeYeah.15:46
Odd_BlokeLet me see what GCE does if I manually set an empty string through the API.15:46
=== utlemming is now known as utlemming_kitche
=== harlowja_away is now known as harlowja

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