-
Notifications
You must be signed in to change notification settings - Fork 856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Ubuntu 12.10, the legacy 'user' cloud-config option is not handled properly #2350
Comments
Launchpad user Clint Byrum(clint-fewbar) wrote on 2013-01-17T19:37:02.857298+00:00 Linking to HEAT to document the problem. May need to work around broken version of cloud-init once it is understood fully. |
Launchpad user Clint Byrum(clint-fewbar) wrote on 2013-01-18T23:10:46.081246+00:00 I'm closing the heat task. Heat is doing the right thing here, I think cloud-init was just doing the wrong one. |
Launchpad user Clint Byrum(clint-fewbar) wrote on 2013-01-23T02:27:59.457705+00:00 Just FYI, the fix that is going into trunk requires some things to be present in /etc/cloud/cloud.cfg. I'm not sure fixing this is worth a conffile update, so we might have to just leave this as a Won't Fix for quantal unless we do something clever, and clever usually leads to regressions.. :-P |
Launchpad user Scott Moser(smoser) wrote on 2013-01-31T14:19:24.333970+00:00 I'm pretty sure that the trunk commit "just works" when applied to quantal. I'm attaching a deb here and the patch that built it, mainly for future reference. I would appreciate feedback as to whether or not it works though. The reason (i think) it "just works" without a config change as Clint suggested is that the distro class in quantal returned a dict for 'get_default_user' the same as trunk does. The difference is one just comes from code (quantal) and the other from config (raring/trunk). |
Launchpad user Scott Moser(smoser) wrote on 2013-01-31T14:22:29.747062+00:00 Launchpad attachments: deb for quantal with above patch applied |
Launchpad user Clint Byrum(clint-fewbar) wrote on 2013-01-31T17:02:27+00:00 Excerpts from Scott Moser's message of 2013-01-31 14:19:24 UTC:
You may be right, I don't think I actually tried the patch backported, I just tried trunk on quantal. So perhaps it is SRU'able. |
Launchpad user Scott Moser(smoser) wrote on 2013-03-12T16:15:08.299236+00:00 This change made it into 0.7.2~bzr795-0ubuntu1 but it is not listed in the changelog. |
Launchpad user Clint Byrum(clint-fewbar) wrote on 2013-05-07T16:10:14.173166+00:00 I can confirm that Ubuntu 13.04 images work fine with Heat now. |
Launchpad user Scott Moser(smoser) wrote on 2013-05-15T20:02:22.930074+00:00 fixed in 0.7.2 |
Launchpad user Rolf Leggewie(r0lf) wrote on 2014-12-03T10:00:38.717794+00:00 quantal has seen the end of its life and is no longer receiving any updates. Marking the quantal task for this ticket as "Won't Fix". |
This bug was originally filed in Launchpad as LP: #1100920
Launchpad details
Launchpad user Clint Byrum(clint-fewbar) wrote on 2013-01-17T19:26:26.199617+00:00
When trying to use HEAT with Ubuntu 12.10, the following cloud-config is used:
--------BEGIN------------
runcmd:
user: ec2-user
cloud_config_modules:
Capture all subprocess output into a logfile
Useful for troubleshooting cloud-init issues
output: {all: '| tee -a /var/log/cloud-init-output.log'}
--------END-----------
This results in ec2-user being created, but no SSH keys for it.
The text was updated successfully, but these errors were encountered: