ec2-user cannot be changed

Bug #1101347 reported by Clint Byrum
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Low
Steven Dake
Grizzly
Fix Released
Low
Steven Dake

Bug Description

For cosmetic and practical reasons, the ec2-user that is assumed by the cloud-init configs submitted by heat is inappropriate. While it is fine for compatibility with AWS CloudFormation, one should be able to override it at the system level

Revision history for this message
Monty Taylor (mordred) wrote :

I agree.

Steven Dake (sdake)
Changed in heat:
milestone: none → grizzly-rc1
status: New → Triaged
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/24402

Changed in heat:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/24402
Committed: http://github.com/openstack/heat/commit/ac8b8f9c42911529aab585413bbd7344bd754dad
Submitter: Jenkins
Branch: master

commit ac8b8f9c42911529aab585413bbd7344bd754dad
Author: sdake <email address hidden>
Date: Tue Mar 12 21:50:58 2013 -0700

    Allow per-deployment configuration of user id

    Previously user ids of new instances were limited to ec2-user.
    This patch adds a new configuration option to be placed in
    /etc/heat/heat-engine.conf called "default_instance_user" which
    allows the default of ec2-user to be overriden.

    Note for reviewers that runcmd does not work properly. It was
    actually running after the loguserdata.py script finished execution.

    Fixes: Bug #1101347
    Change-Id: Ica2dbe63d9dcbce8bb8de298eba452c34ab173d9

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: grizzly-rc1 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.