# Sunstone-views.yaml with no users view support?

**URL:** https://forum.opennebula.io/t/sunstone-views-yaml-with-no-users-view-support/247
**Category:** Product Support
**Created:** [February 18, 2015, 12:10pm UTC](https://forum.opennebula.io/t/sunstone-views-yaml-with-no-users-view-support/247 "2015-02-18T12:10:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![alfeijoo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/alfeijoo/32/8586_2.png) [@alfeijoo](https://forum.opennebula.io/u/alfeijoo)
#### Post date: [February 18, 2015, 12:10pm UTC](https://forum.opennebula.io/t/sunstone-views-yaml-with-no-users-view-support/247/1 "2015-02-18T12:10:43Z")

</div>

Hi.

Today I was updated to Opennebula 4.10.2 from 4.8 and found a little problem (dont know if is exactly a bug)

my old config at yaml view had:

groups:  
oneadmin:  
- admin  
- vdcadmin  
- user  
- cloud  
**users:  
- cloud  
- user**  
default:  
- cloud

The new (and maybe the default config) not have users view option for group.

well. I added to the config but when i try to start sunstone-server i received the error:

> [oneadmin@cloud ~]$ cat /var/log/one/sunstone.error  
> /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 32, col 7: ` users:’ (ArgumentError)  
> from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/1.8/yaml.rb:144:in `load\_file’  
> from /usr/lib/ruby/1.8/yaml.rb:143:in `open' from /usr/lib/ruby/1.8/yaml.rb:143:in `load\_file’  
> from /usr/lib/one/sunstone/models/SunstoneViews.rb:36:in `initialize' from /usr/lib/one/sunstone/sunstone-server.rb:129:in `new’  
> from /usr/lib/one/sunstone/sunstone-server.rb:129

The questions

1.- now isnt possible to add views for groups like users?  
2.- the only way to give users “user” view is setting at default tab?

Thanks in advance 🙂

**UPDATED** : Was a problem at yaml format (as Fontan said)

---

<div class="post-metadata">

### Author: ![jfontan](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/jfontan/32/18_2.png) [@jfontan](https://forum.opennebula.io/u/jfontan)
#### Post date: [February 18, 2015, 4:35pm UTC](https://forum.opennebula.io/t/sunstone-views-yaml-with-no-users-view-support/247/2 "2015-02-18T16:35:38Z")

</div>

It seems that there is a format error in the `yaml` file. Can you send the file?

---

<div class="post-metadata">

### Author: ![alfeijoo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/alfeijoo/32/8586_2.png) [@alfeijoo](https://forum.opennebula.io/u/alfeijoo)
#### Post date: [February 18, 2015, 4:40pm UTC](https://forum.opennebula.io/t/sunstone-views-yaml-with-no-users-view-support/247/3 "2015-02-18T16:40:40Z")

</div>

Hi.

here can see, I updated from the old config

[http://pastebin.com/xV9TVqLg](http://pastebin.com/xV9TVqLg)

Tomorron i´m going to test again, but I only added 3 lines (users: - cloud and -user)

Thanks Javi

---

<div class="post-metadata">

### Author: ![alfeijoo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/alfeijoo/32/8586_2.png) [@alfeijoo](https://forum.opennebula.io/u/alfeijoo)
#### Post date: [February 19, 2015, 10:37am UTC](https://forum.opennebula.io/t/sunstone-views-yaml-with-no-users-view-support/247/4 "2015-02-19T10:37:09Z")

</div>

HI.

well, after your ask @jfontan i try again… and it works!

as you say… i think was any error at config yaml as you say…

well… thanks and sorry 😃
