The main issue was that maintaining ec2 extensions was becoming too hairy, which is why the original doc talks about using the direct api client to get a console url.  Dashboard support for vnc was subsequently added through the community using dashboard's ec2 extensions.<br>
<br>Proper support for vnc consoles and other features that diverge from the ec2 is coming as we transition away from ec2 to the openstack api and extensions.  The very latest trunk version of dashboard supports vnc consoles for all users through os extensions, and actually doesn't use ec2 at all.<br>
<br>That said, UX-wise, I'd expect that any user should be able to access the console of an instance that was launched by their tenant.  So it probably still makes sense to make the change you suggest to support older ec2-based dashboards.<br>
<br>Anthony<br><br><div class="gmail_quote">On Thu, Jul 14, 2011 at 8:51 AM, Everett Toews <span dir="ltr"><<a href="mailto:everett.toews@cybera.ca">everett.toews@cybera.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>The way the code stands right now is that only the cloudadmin user can view VNC consoles from the Dashboard (<a href="http://nova.openstack.org/runnova/vncconsole.html" target="_blank">http://nova.openstack.org/runnova/vncconsole.html</a>)</div>

<div><br></div><div>Is that the intention?</div><div><br></div><div>Do we want to allow non-cloudadmin users to be able to view VNC consoles from the Dashboard?</div><div><br></div><div>If so we need to add one line to <a href="https://github.com/openstack/nova/blob/master/nova/api/ec2/__init__.py" target="_blank">https://github.com/openstack/nova/blob/master/nova/api/ec2/__init__.py</a> in Authorizer.__init__. Add to self.action_roles </div>

<div><br></div><div>'GetVncConsole': ['projectmanager', 'sysadmin'],</div><div><br></div><div>under CloudController. Otherwise regular users immediately get a 401 when trying to use VNC.</div><div>

<br></div><font color="#888888"><div>Everett</div>
</font><br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br>