Views from Sunstone to FireEdge

Hello,

I have disabled “Sunstone” and enabled “FireEdge” in my OpenNebula 6.8 system. Now, “oneadmin” only detects “admin” and “user” views, but no more…

I have created this structure:
root@nebulacaos:/etc/one/fireedge/sunstone# tree -A
.
├── admin
│ ├── backup-tab.yaml
│ ├── datastore-tab.yaml
│ ├── file-tab.yaml
│ ├── host-tab.yaml
│ ├── image-tab.yaml
│ ├── marketplace-app-tab.yaml
│ ├── sec-group-tab.yaml
│ ├── user-tab.yaml
│ ├── vdc-tab.yaml
│ ├── vm-tab.yaml
│ ├── vm-template-tab.yaml
│ └── vnet-tab.yaml
├── sunstone-server.conf
├── sunstone-views.yaml
├── user
│ ├── backup-tab.yaml
│ ├── file-tab.yaml
│ ├── image-tab.yaml
│ ├── marketplace-app-tab.yaml
│ ├── sec-group-tab.yaml
│ ├── vm-tab.yaml
│ ├── vm-template-tab.yaml
│ └── vnet-tab.yaml
└── views
├── admin
│ └── admin.yaml
├── cloud
│ └── cloud.yaml
├── groupadmin
│ └── groupadmin.yaml
├── limited-user
│ └── limited-user.yaml
├── sunstone-views.yaml
└── user
└── user.yaml

However, it seems there is a problema with “views” because some views as “limited-user” and “cloud” are not detected.

How could I configure all views I had in Sunstone?

Thanks.

Hello,

Fireedge is a technology preview in versions before v6.10; it is recommended to upgrade to v6.10 LTS or v7.2 which is the latest.

Regards,

@Daniel_Ruiz_Molina you may also want to wait for 7.4 release or try it out with 7.4 beta. 7.4 is LTS release according to our Release Policy.

Hi,

Finally, I upgraded my OpenNebula 6.8 to 7.0.1-1. Now, I have “user”, “admin”, “groupadmin” and “cloud” views, but I would like to customize more these views.
Also, I have added a more limited view and added to file /etc/one/fireedge/sunstone/views/sunstone-views.yaml in this way:


groups:
    oneadmin:
        - admin
        - groupadmin
        - user
        - cloud
        - limited-user
default:
    - user
    - cloud

views:
  admin:
    name: groups.view.admin.name
    description: groups.view.admin.description
  cloud:
    name: groups.view.cloud.name
    description: groups.view.cloud.description
  groupadmin:
    name: groups.view.groupadmin.name
    description: groups.view.groupadmin.description
  user:
    name: groups.view.user.name
    description: groups.view.user.description
  limited-user:
    name: groups.view.limited-user.name
    description: groups.view.limited-user.description

I need to test if “limited-user” has the view in the way I want, because in Sunstone it seems it was easier to customize a view.

Maybe, I would upgrade from 7.0.1-1 to latest CE 7.2

A last question: where I could learn how customize correctly a view in FireEdge?

Thanks.

Hi, OpenNebula 7.4 is out so better to get on that version.
In order to verify limiter-user (or any other) view, log into UI and switch view to required one.
In 7.2 it’s in top-right conrner (oneadmin item), in 7.4 top-left (click on “admin” item for a drop-down list of views)

Hello,

after upgrading to 7.0.1-1 (waiting to september to, maybe, upgrade to 7.2 because my servers are running Ubuntu 22.04 and I don’t know if a “dist-upgrade” to 24.04 could break something…), I’m trying to customize “cloud” view to remove some menus from the left column.

By default, I see this in “cloud” view:

I would like to remove.

  • Instances → Services
  • Storage → Apps
  • System → Users
  • Change default “Dashboard” to the “Dashboard” that is shown in “user” view:

So what I have done is to rename files /etc/one/fireedge/sunstone/views/cloud/marketplace-app-tab.yaml to /etc/one/fireedge/sunstone/views/cloud/marketplace-app-tab.yaml-OLD, /etc/one/fireedge/sunstone/views/cloud/service-tab.yaml to /etc/one/fireedge/sunstone/views/cloud/service-tab.yaml-OLD and /etc/one/fireedge/sunstone/views/cloud/user-tab.yaml to /etc/one/fireedge/sunstone/views/cloud/user-tab.yaml-OLD. After that, I have restarted opennebula and opennebula-fireedge daemons, login with my user but “cloud” views continues showing that menus…
About “Dashboard”, I don’t know what I must change, because in “cloud” view exist a “dashboard-tab.yaml” file, but in “user” view there isn’t that file…

What am I doing wrong?

Thanks.

before you upgrade, check if fireedge is actually reading from that sunstone directory at all — it might be looking for the config somewhere else entirely. you could also check the fireedge logs to see if theres a path issue or if its just ignoring those view files