In Ubuntu 12.10, the legacy 'user' cloud-config option is not handled properly
Bug #1100920 reported by
Clint Byrum
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Invalid
|
Undecided
|
Unassigned | ||
cloud-init |
Fix Released
|
Medium
|
Unassigned | ||
cloud-init (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Quantal |
Won't Fix
|
Medium
|
Unassigned | ||
Raring |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When trying to use HEAT with Ubuntu 12.10, the following cloud-config is used:
-------
runcmd:
- setenforce 0 > /dev/null 2>&1 || true
user: ec2-user
cloud_config_
- locale
- set_hostname
- ssh
- timezone
- update_etc_hosts
- update_hostname
- runcmd
# Capture all subprocess output into a logfile
# Useful for troubleshooting cloud-init issues
output: {all: '| tee -a /var/log/
-------
This results in ec2-user being created, but no SSH keys for it.
Related branches
lp:~harlowja/cloud-init/legacy-user-make-default
- Joshua Harlow (community): Approve
- Clint Byrum (community): Approve
-
Diff: 146 lines (+63/-32)2 files modifiedcloudinit/distros/__init__.py (+56/-29)
tests/unittests/test_distros/test_user_data_normalize.py (+7/-3)
Changed in cloud-init (Ubuntu Quantal): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in cloud-init: | |
status: | In Progress → Fix Committed |
Changed in cloud-init: | |
importance: | Undecided → Medium |
tags: | added: patch |
To post a comment you must log in.
Linking to HEAT to document the problem. May need to work around broken version of cloud-init once it is understood fully.