/srv/irclogs.ubuntu.com/2015/09/15/#cloud-init.txt

Odd_Blokesmoser: We have a CloudStack partner who would like passwords to be checked and possibly reset on each boot.12:02
Odd_Blokesmoser: The CloudStack data source does the password fetching etc.; will it be called on each boot?12:02
smatzekOdd_Bloke: doesn't datasource search happen on every boot? I think it does and get_data is called on each.  Cloud-init needs to do the datasource search to get the data to get the instance-id before it can check that vs the id on disk an no-op.12:19
Odd_BlokeTrue.12:21
Odd_BlokeAnd we also do filesystem checking at each boot for Azure.12:21
Odd_Blokesmatzek: Thanks. :)12:27
Odd_Blokesmoser: So I think we'd need to modify the CloudStack DS to enable cc_set_passwords when it detected a new password. Does that sounds right?12:44
smoserOdd_Bloke, the cloudstatck datasource is probably read each boot, but probably setting of passwords does not happen.13:16
smoserbut cc_set_passwords sets for all accounts.13:16
smoserso, yeah, you coudl do that. i guess.13:17
smoserbut it'd be a seemingly likely failure path if they re-set the root password and kept their old known values for other users13:17
smoserand then cloud-init re-set those users passwords.13:17
Odd_Blokesmoser: Blargh, this sounds painful.13:27
smoserOdd_Bloke, we want to fix this in 2.0 with "agent" like thing that can set password for the expected user in an api like way.13:35
Odd_BlokeYeah.13:38
=== shardy is now known as shardy_afk
openstackgerritMerged stackforge/cloud-init: Configure basic logging, and make it possible to log to console.  https://review.openstack.org/22053618:36
openstackgerritMerged stackforge/cloud-init: Use a single source for version information.  https://review.openstack.org/22054318:37
=== shardy_afk is now known as shardy
=== cpaelzer_ is now known as cpaelzer

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