/srv/irclogs.ubuntu.com/2014/10/06/#cloud-init.txt

=== alexpilotti_ is now known as alexpilotti
=== zz_gondoi is now known as gondoi
nvucinichi guys, i have disable_root: 0 and ssh_pwauth: 1, and after cloud init passes i cannot log into instance with my root pwd, or over ssh 14:08
=== gondoi is now known as zz_gondoi
=== zz_gondoi is now known as gondoi
smosernvucinic, it should be supported.15:57
=== Guest84187 is now known as mfisch
=== mfisch is now known as Guest9962
=== gondoi is now known as zz_gondoi
=== zz_gondoi is now known as gondoi
=== Guest9962 is now known as mfisch
=== mfisch is now known as Guest33821
=== gondoi is now known as zz_gondoi
smosernvucinic, its a bug. its a result of sshd config being changed in 14.04 to disallow root login by default18:28
smoserit went from18:28
smoser PermitRootLogin without-password18:28
smoserto18:28
smosererr.  from18:28
smoser PermitRootLogin yes18:28
smoserto18:28
smoser PermitRootLogin without-password18:28
smoserharlowja, around ?18:28
harlowjasup dawg18:28
smoserfor some work i'm doing on containersa nd openstack...18:29
harlowjauh oh18:29
smoseri need to store some information for a user in the db18:29
smoserhere. http://paste.ubuntu.com/8507232/18:30
harlowjahmmm18:31
=== zz_gondoi is now known as gondoi
harlowjaso this would be like a keystone addition?18:32
harlowjaor a nova + keystone one18:32
smoserwell, i think so. i think that s  where that information would make sense to store.18:32
smoserwell, nova uwell, nova needs to store and retrice that information about a user *somewhere*18:32
smoserin a per-az way.18:32
harlowjaya18:33
smoseri assumed that keystone would make sense, but if you tihnk something better , thats fine too.18:33
harlowjaseems like keystone, although i don't know how much knowledge keystone has of nova azs18:33
harlowjai'd say bug the keystone guys :-P18:34
harlowjawonder if they have any input18:34
=== gondoi is now known as zz_gondoi
smoserwell, i'm assuming that i can get my own az18:35
smoserie, the nova system would be able to know that of itself, and maintain it itself.18:36
smoser{'az1': {'subuid': [1,2,3], 'subgid', [5,6,7]}, 'az2': {...}}18:37
harlowjasure, nova i guess can have that18:38
smoserso is there some similar code that i could look at / base off of that needs to lock and update a keystone value ?18:47
harlowjahmmm18:51
harlowjanot sure :-/18:51
smoserthanks for reading, harlowja.19:23
harlowja:)19:23
nvucinicsmoser: yes, but i am using it on centos 6, and still i cannot login even through console after cloud init 20:33
nvucinicnot ssh, console.20:34
smosernvucinic, i'd need more info to debug. 20:35
smoseryou might try adding a backdoor user20:35
smoserlogging in as hat user, and then watching it fail for root20:36
smosertheres a fair shot that https://code.launchpad.net/~smoser/+junk/backdoor-image20:36
smoserwill allow you to backdoor an image vairly easiy20:36
nvucinicsmoser: i can login as root with key 20:39
nvucinicbut first password that is setup on image before cloud init is not working anymore 20:40
nvucinici am using "golden template"  for all instalation and cloud init for network configuration on first boot 20:40
nvucinicso after cloud init gets initilized i cannot login with root password that setup on template 20:41
smoserare you sure you could log in with password before ?20:41
nvucinicyup, 100% sure 20:43
nvucinicafter cloud init i can login only via ssh key 20:43
nvucinicpassword for root fails at console and ssh 20:43
smosernvucinic, please file a bug. maybe harlowja can look at it . i dont have a setup access to centos that i could easily poke at.20:55
smoseri'm not sure what it would be doing that would lock root out. other than if you have 'user' to 'root' .20:55
smoserand lock_passwd for that.20:55
nvucinici can paste your tommorow whole config 20:59
harlowjanvucinic if u can get the logs, the config that would be great21:58
harlowja*cloud-init logs without secret stuff in them21:58
harlowjathat'd help figure out whats happening21:58

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