<div dir="ltr">Hi Kiran,<div class="gmail_extra"><br></div><div class="gmail_extra">The problem is how you define the view for the new group. In the sunstone-views.yaml you can define views in three different ways, per user, per group and the default one; and they will be selected in that order:</div>

<div class="gmail_extra"><a href="https://github.com/OpenNebula/one/blob/master/src/sunstone/models/SunstoneViews.rb#L51">https://github.com/OpenNebula/one/blob/master/src/sunstone/models/SunstoneViews.rb#L51</a></div><div class="gmail_extra">

<br></div><div class="gmail_extra">Therefore you have three sections in the sunstone-view.yaml:</div><div class="gmail_extra"><br></div><div class="gmail_extra">groups:</div><div class="gmail_extra">users:</div><div class="gmail_extra">

default:</div><div class="gmail_extra"><br></div><div class="gmail_extra">inside the groups and users section you can define more than one user or group</div><div class="gmail_extra"><div class="gmail_extra"><br class="">

groups:</div><div class="gmail_extra">    developers:</div><div class="gmail_extra">    testers:</div><div class="gmail_extra">users:</div><div class="gmail_extra">    dev_admin:</div><div class="gmail_extra">    dev_user:</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">and inside each user, group or default key you have to add the views available:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">

groups:</div><div class="gmail_extra">    developers:</div><div class="gmail_extra">        - admin</div><div class="gmail_extra">    testers:</div><div class="gmail_extra">        - cloud</div><div class="gmail_extra">users:</div>

<div class="gmail_extra">    dev_admin:</div><div class="gmail_extra">        - admin</div><div class="gmail_extra">    dev_user:</div><div class="gmail_extra">        - user</div><div class="gmail_extra">default:</div><div class="gmail_extra">

    - user</div></div><div class="gmail_extra"><br></div><div class="gmail_extra">Hope this helps. We are changing this behaviour for the next release, and you will be able to assign views from sunstone when you create a new group or user.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Cheers</div><div class="gmail_extra"><br></div><div class="gmail_quote">On 18 February 2014 16:57, kiran ranjane <span dir="ltr"><<a href="mailto:kiran.ranjane@gmail.com" target="_blank">kiran.ranjane@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><div>

<div><div>Hi Everyone,<br><br></div>It seems that the document is not updated or I am missing something while configuring Cloud View in Sunstone.<br><br></div>I followed this link to setup cloud view and it do not work, there are few things missing on the document<br>


<br><a href="http://docs.opennebula.org/stable/administration/sunstone_gui/cloud_view.html" target="_blank">http://docs.opennebula.org/stable/administration/sunstone_gui/cloud_view.html</a><br><br></div>If I open the file sunstone-views.yaml, there seems to be a group called as default and it that the user view.<br>


<br></div>When I create a new group and give that view cloud view in the above file, then restart sunstone, create new user and add that user to the new group created and login with the new user By Default it goes to USER VIEW<br>


<br></div>Example of the entry<br><br>groups:<br>    oneadmin:<br>        - admin<br>        - vdcadmin<br>        - user<br>        - cloud<br>default:<br>    - user<br></div>clouduser<br></div>    - cloud<br><br></div>

Now when I remove -user from the default view and add cloud in there and then login with the new user it goes to cloud view.<br>
<br></div>-- I have added the new user to clouduser group and removed user group from new user, restarted sunstone and still it goes to user view.<br><br></div>I tried above document 2 twice and it seems that there is something missing in the document and something has changed between 4.0 to 4.4 version.<br>


<br><br></div><div>Thanks and Regards<span class=""><font color="#888888"><br></font></span></div><span class=""><font color="#888888"><div>Kiran Ranjane<br></div><div><div><div><div><div><div><br></div></div></div></div>

</div></div></font></span></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>--<br></div>Daniel Molina<br>Project Engineer<br>OpenNebula - Flexible Enterprise Cloud Made Simple<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula</div>


</div></div>