[one-users] Sunstone menu items rearranged / missing

Richard Hohm rich.tech at unusual-attitude.org
Mon May 6 10:17:59 PDT 2013


Install package is opennebula-sunstone_3.9.90-1_all.deb.

admin.yaml
---------------
small_logo: images/opennebula-sunstone-v4.0-small.png
tabs:
     dashboard-tab:
         enabled: true
         panel_tabs:
         actions:
         widgets_three_per_row:
             - storage
             - users
             - network
         widgets_two_per_row:
             - hosts
             - vms
         widgets_one_per_row:
     system-tab:
         enabled: true
         panel_tabs:
         actions:
     users-tab:
         enabled: true
         panel_tabs:
             user_info_panel: true
             user_quotas_tab: true
         table_columns:
             - 0         # Checkbox
             - 1         # ID
             - 2         # Name
             - 3         # Group
             - 4         # Auth driver
             - 5         # VMs
             - 6         # Memory
             - 7         # CPU
             #- 8         # Group ID
         actions:
             User.refresh: true
             User.create_dialog: true
             User.update_password: true
             User.quotas_dialog: true
             User.chgrp: true
             User.chauth: true
             User.delete: true
     groups-tab:
         enabled: true
         panel_tabs:
             group_quotas_tab: true
         table_columns:
             - 0         # Checkbox
             - 1         # ID
             - 2         # Name
             - 3         # Users
             - 4         # VMs
             - 5         # Memory
             - 6         # CPU
         actions:
             Group.refresh: true
             Group.create_dialog: true
             Group.quotas_dialog: true
             Group.delete: true
     acls-tab:
         enabled: true
         panel_tabs:
         table_columns:
             - 0         # Checkbox
             - 1         # ID
             - 2         # Applies to
             - 3         # Affected resources
             - 4         # Resource ID / Owned by
             - 5         # Allowed operations
             #- 6         # ACL String
         actions:
             Acl.refresh: true
             Acl.create_dialog: true
             Acl.delete: true
     vresources-tab:
         enabled: true
         panel_tabs:
         actions:
     vms-tab:
         enabled: true
         panel_tabs:
             vm_info_tab: true
             vm_capacity_tab: true
             vm_hotplugging_tab: true
             vm_network_tab: true
             vm_snapshot_tab: true
             vm_placement_tab: true
             vm_actions_tab: true
             vm_template_tab: true
             vm_log_tab: true
         table_columns:
             - 0       # Checkbox
             - 1       # ID
             - 2       # Owner
             - 3       # Group
             - 4       # Name
             - 5       # Status
             #- 6       # Used CPU
             #- 7       # Used Memory
             - 8       # Host
             - 9       # IPs
             #- 10      # Start Time
             - 11      # VNC
         actions:
             VM.refresh: true
             VM.create_dialog: true
             VM.chown: true
             VM.chgrp: true
             VM.chmod: true
             VM.deploy: true
             VM.migrate: true
             VM.livemigrate: true
             VM.hold: true
             VM.release: true
             VM.suspend: true
             VM.resume: true
             VM.stop: true
             VM.boot: true
             VM.reboot: true
             VM.reboot_hard: true
             VM.poweroff: true
             VM.poweroff_hard: true
             VM.undeploy: true
             VM.undeploy_hard: true
             VM.shutdown: true
             VM.shutdown_hard: true
             VM.delete: true
             VM.delete_recreate: true
             VM.resize: true
             VM.attachdisk: true
             VM.detachdisk: true
             VM.saveas: true
             VM.attachnic: true
             VM.detachnic: true
             VM.snapshot_create: true
             VM.snapshot_revert: true
             VM.snapshot_delete: true
             VM.resched: true
             VM.unresched: true
     templates-tab:
         enabled: true
         panel_tabs:
             template_info_tab: true
             template_template_tab: true
         table_columns:
             - 0         # Checkbox
             - 0         # ID
             - 1         # Owner
             - 2         # Group
             - 3         # Name
             - 4         # Registration time
         actions:
             Template.refresh: true
             Template.create_dialog: true
             Template.update_dialog: true
             Template.instantiate_vms: true
             Template.chown: true
             Template.chgrp: true
             Template.chmod: true
             Template.clone_dialog: true
             Template.delete: true
         template_creation_tabs:
             general: true
             storage: true
             network: true
             os_booting: true
             features: true
             input_output: true
             context: true
             scheduling: true
     images-tab:
         enabled: true
         panel_tabs:
             image_info_panel: true
         table_columns:
             - 0         # Checkbox
             - 1         # ID
             - 2         # Owner
             - 3         # Group
             - 4         # Name
             - 5         # Datastore
             #- 6         # Size
             - 7        # Type
             #- 8         # Registration time
             #- 9        # Persistent
             - 10        # Status
             - 11        # #VMs
             #- 12       # Target
         actions:
             Image.refresh: true
             Image.create_dialog: true
             Image.chown: true
             Image.chgrp: true
             Image.chmod: true
             Image.enable: true
             Image.disable: true
             Image.persistent: true
             Image.nonpersistent: true
             Image.clone_dialog: true
             Image.delete: true
     files-tab:
         enabled: true
         panel_tabs:
             file_info_panel: true
         table_columns:
             - 0         # Checkbox
             - 1         # ID
             - 2         # Owner
             - 3         # Group
             - 4         # Name
             - 5         # Datastore
             #- 6         # Size
             - 7        # Type
             #- 8         # Registration time
             #- 9        # Persistent
             - 10        # Status
             #- 11        # #VMs
             #- 12       # Target
         actions:
             File.refresh: true
             File.create_dialog: true
             File.chown: true
             File.chgrp: true
             File.chmod: true
             File.enable: true
             File.disable: true
             File.delete: true
     infra-tab:
         enabled: true
         panel_tabs:
         actions:
     clusters-tab:
         enabled: true
         panel_tabs:
             cluster_info_tab: true
             cluster_host_tab: true
             cluster_vnet_tab: true
             cluster_datastore_tab: true
         table_columns:
             - 0         # Checkbox
             - 1         # ID
             - 2         # Name
             - 3         # Hosts
             - 4         # VNets
             - 5         # Datastores
         actions:
             Cluster.refresh: true
             Cluster.create_dialog: true
             Cluster.update_dialog: true
             Cluster.delete: true
     hosts-tab:
         enabled: true
         panel_tabs:
             host_info_tab: true
             host_monitoring_tab: true
         table_columns:
             - 0         # Checkbox
             - 1         # ID
             - 2         # Name
             - 3         # Cluster
             - 4         # RVMs
             #- 5         # Real CPU
             - 6         # Allocated CPU
             #- 7         # Real MEM
             - 8         # Allocated MEM
             - 9         # Status
             #- 10        # IM MAD
             #- 11        # VM MAD
             #- 12        # Last monitored on
         actions:
             Host.refresh: true
             Host.create_dialog: true
             Host.addtocluster: true
             Host.enable: true
             Host.disable: true
             Host.delete: true
     datastores-tab:
         enabled: true
         panel_tabs:
             datastore_info_tab: true
             datastore_image_tab: true
         table_columns:
             - 0         # Checkbox
             - 1         # ID
             - 2         # Owner
             - 3         # Group
             - 4         # Name
             - 5         # Cluster
             #- 6         # Basepath
             #- 7         # TM
             #- 8         # DS
             - 9         # Type
         actions:
             Datastore.refresh: true
             Datastore.create_dialog: true
             Datastore.addtocluster: true
             Datastore.chown: true
             Datastore.chgrp: true
             Datastore.chmod: true
             Datastore.delete: true
     vnets-tab:
         enabled: true
         panel_tabs:
             vnet_info_tab: true
             vnet_leases_tab: true
         table_columns:
             - 0         # Checkbox
             - 1         # ID
             - 2         # Owner
             - 3         # Group
             - 4         # Name
             - 5         # Cluster
             - 6         # Type
             #- 7         # Bridge
             - 8         # Leases
         actions:
             Network.refresh: true
             Network.create_dialog: true
             Network.addtocluster: true
             Network.chown: true
             Network.chgrp: true
             Network.chmod: true
             Network.delete: true
             Network.addleases: true
             Network.hold_lease: true
             Network.remove_lease: true
             Network.release_lease: true
     marketplace-tab:
         enabled: true
         panel_tabs:
             marketplace_info_tab: true
         table_columns:
             - 0         # Checkbox
             #- 1         # ID
             - 2         # Name
             - 3         # Publisher
             - 4         # Hypervisor
             - 5         # Arch
             - 6         # Format
             #- 7         # Tags
         actions:
             Marketplace.refresh: true
             Marketplace.import: true
-------------

RH


On 05/06/2013 06:49 AM, Daniel Molina wrote:
> Hi Richard,
>
>
> On 5 May 2013 03:48, Richard Hohm <rich.tech at unusual-attitude.org 
> <mailto:rich.tech at unusual-attitude.org>> wrote:
>
>     Hi folks.  New ONE user here, running 3.9.90 on Ubuntu 12.04
>     server.  About a week ago Sunstone abruptly rearranged the items
>     in its menu bar, and about half the subitems went missing.  The
>     usual cache-clearing, view change / restore, service and server
>     rebooting, etc. changed nothing.  Identical layouts in Chrome and
>     Firefox (both latest versions.)  Nothing in sunstone.error;
>     nothing besides the usual web-server logging in sunstone.log.
>      Earlier today I uninstalled (purge) and reinstalled
>     opennebula-sunstone.  Now the menu is as follows:
>
>     Dashboard
>     System
>         ACL
>     Marketplace
>     Virtual Resources
>         Templates
>     Infrastructure
>
>     And that's all.  Before the reinstall, Dashboard was at the end of
>     the list, System had all three of its subitems, and Infrastructure
>     had Hosts and Networks.  I'm stumped.  Any idea what's going on /
>     how to correct?  Any / all comments appreciated.
>
>
> Could you send us the content of /etc/one/sunstone-views/admin.yaml? 
> and the name of the package you installed
>
> Thanks
>
>
>     RH
>     _______________________________________________
>     Users mailing list
>     Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>     http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
>
> -- 
> Daniel Molina
> Project Engineer
> OpenNebula - The Open Source Solution for Data Center Virtualization
> www.OpenNebula.org <http://www.OpenNebula.org> | 
> dmolina at opennebula.org <mailto:dmolina at opennebula.org> | @OpenNebula

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130506/cdfde35e/attachment-0002.htm>


More information about the Users mailing list