Sunstone-views.yaml with no users view support?


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:

- admin
- vdcadmin
- user
- cloud
- cloud
- user

- 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:inload_file’
from /usr/lib/ruby/1.8/yaml.rb:143:in open' from /usr/lib/ruby/1.8/yaml.rb:143:inload_file’
from /usr/lib/one/sunstone/models/SunstoneViews.rb:36:in initialize' from /usr/lib/one/sunstone/sunstone-server.rb:129:innew’
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 :slight_smile:

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

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


here can see, I updated from the old config

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

Thanks Javi


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 :smiley: