<div dir="ltr"><div>Looks like this change is what I need, but was the code supposed to not set it to ec2-user when instance_user is unset? I've always had it unset and it's always set it to ec2-user, certainly for Ubuntu images anyway, I've not tested others.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 30, 2015 at 8:22 AM, Thomas Herve <span dir="ltr"><<a href="mailto:therve@redhat.com" target="_blank">therve@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
> Heat devs,<br>
><br>
> What is the status of the instance_user config option and the corollary<br>
> OS::Nova::Server::admin_user field? Our users find it very confusing when<br>
> Heat creates a VM with a user called ec2-user. While I've told them to<br>
> explicitly set admin_user, the documentation claims its deprecated since<br>
> Icehouse. Will it be removed? Along the same lines, instance_user in the<br>
> config also claims to be deprecated and slated for removal in Kilo, it is<br>
> also still there in master. So what's the right behavior here? Should I<br>
> tell heat users that it's safe/recommended to set admin_user or not?<br>
<br>
</div></div>Hi,<br>
<br>
It's been deprecated for a while, and will be hidden in the next release (see <a href="https://review.openstack.org/#/c/103928/" rel="noreferrer" target="_blank">https://review.openstack.org/#/c/103928/</a>) if everything goes well.<br>
<br>
As an operator, you shoud set the instance_user configuration value to the empty string, so that your users get the default user from the image. That's the recommanded mode of operation.<br>
<br>
Cheers,<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Thomas<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</font></span></blockquote></div><br></div>