Skip to content

Management UI keeps giving 404 #9471

Closed
Closed

Description

@abdelouahabb
ISSUE TYPE
  • Bug Report
  • Improvement Request
  • Enhancement Request
  • Feature Idea
  • Documentation Report
  • Other
COMPONENT NAME
UI
CLOUDSTACK VERSION
4.19.1
CONFIGURATION
OS / ENVIRONMENT
SUMMARY

Testing on a VM : Allocated 16 GB RAM with 4 CPU, Guest OS: Ubuntu 24.04 server

STEPS TO REPRODUCE

EXPECTED RESULTS
Get ejected after like 1 minutes or less, need to wait like 5 minutes to get access back, the issue, everything seems fine from the console
ACTUAL RESULTS
see attached image

2024-07-30_15-19

Activity

  1. rajujith commented on Jul 31, 2024

    @rajujith
    Contributor

    @abdelouahabb can you check the '/var/log/cloudstack/management/management-server.log' for any errors during bootstrap?

  2. yadvr commented on Jul 31, 2024

    @yadvr
    Member

    Something broke to have the mgmt server started, is it a new env or you've tried to upgrade one @abdelouahabb ?

  3. abdelouahabb commented on Jul 31, 2024

    @abdelouahabb
    ContributorAuthor

    Sorry for the delay,
    I just recreated the scenario, fresh install, it happens eachtime I try to download a template to use it (Ubuntu 24.04: https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-amd64.img)

    As shown in the image below :

    2024-07-31_15-24

    Edit : here is the error I guess :

    2024-07-31 14:27:19,342 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail buffersdirect.capacity, 10004
    2024-07-31 14:27:19,342 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail buffersdirect.count, 2
    2024-07-31 14:27:19,343 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail buffersdirect.used, 10004
    2024-07-31 14:27:19,343 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail buffersmapped.capacity, 0
    2024-07-31 14:27:19,343 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail buffersmapped.count, 0
    2024-07-31 14:27:19,343 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail buffersmapped.used, 0
    2024-07-31 14:27:19,343 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail gcPS-MarkSweep.count, 4
    2024-07-31 14:27:19,343 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail gcPS-MarkSweep.time, 488
    2024-07-31 14:27:19,343 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail gcPS-Scavenge.count, 28
    2024-07-31 14:27:19,343 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail gcPS-Scavenge.time, 270
    2024-07-31 14:27:19,343 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail jvmname, 15368@cloud
    2024-07-31 14:27:19,343 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail jvmuptime, 334398
    2024-07-31 14:27:19,344 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail jvmvendor, Ubuntu OpenJDK 64-Bit Server VM 11.0.24+8-post-Ubuntu-1ubuntu324.04.1 (11)
    2024-07-31 14:27:19,344 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail memoryheap.committed, 775946240
    2024-07-31 14:27:19,344 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail memoryheap.init, 262144000
    2024-07-31 14:27:19,344 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail memoryheap.usage, 0.3561485435110761
    2024-07-31 14:27:19,344 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail memorynon-heap.committed, 185229312
    2024-07-31 14:27:19,344 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail memorynon-heap.init, 7667712
    2024-07-31 14:27:19,344 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail memorynon-heap.max, -1
    2024-07-31 14:27:19,344 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail memorynon-heap.usage, -1.79661952E8
    2024-07-31 14:27:19,344 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail memorynon-heap.used, 179661952
    2024-07-31 14:27:19,344 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail memorypools.CodeHeap-'non-nmethods'.usage, 0.3124341643258427
    2024-07-31 14:27:19,344 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail memorypools.CodeHeap-'non-profiled-nmethods'.usage, 0.10310896260997067
    2024-07-31 14:27:19,344 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail memorypools.CodeHeap-'profiled-nmethods'.usage, 0.2381146277659291
    2024-07-31 14:27:19,344 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail memorypools.Compressed-Class-Space.usage, 0.011257477104663849
    2024-07-31 14:27:19,344 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail memorypools.Metaspace.usage, 0.9776627515727084
    2024-07-31 14:27:19,344 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail memorypools.PS-Eden-Space.usage, 0.8402464965820312
    2024-07-31 14:27:19,345 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail memorypools.PS-Old-Gen.usage, 0.08366577304880596
    2024-07-31 14:27:19,345 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail memorypools.PS-Survivor-Space.usage, 0.3040254237288136
    2024-07-31 14:27:19,345 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail memorytotal.committed, 961175552
    2024-07-31 14:27:19,345 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail memorytotal.init, 269811712
    2024-07-31 14:27:19,345 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail memorytotal.max, 1908932607
    2024-07-31 14:27:19,345 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail memorytotal.used, 859525600
    2024-07-31 14:27:19,346 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail threadsdeadlocks, []
    2024-07-31 14:27:19,347 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail threadsnew.count, 0
    2024-07-31 14:27:19,348 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:ctx-54530968) (logid:514782d5) not storing detail threadstimed_waiting.count, 78
    2024-07-31 14:27:19,353 DEBUG [c.c.c.ClusterManagerImpl] (StatsCollector-5:ctx-54530968) (logid:514782d5) Forwarding {"managementServerHostId":2,"managementServerHostUuid":"3901d0bd-ce37-4205-b5c7-9ef4ff809a2e","collectionTime":"Jul 31, 2024, 2:27:19 PM","sessions":0,"cpuUtilization":0.0,"totalJvmMemoryBytes":775946240,"freeJvmMemoryBytes":97569760,"maxJvmMemoryBytes":1908932607,"processJvmMemoryBytes":0,"jvmUptime":334282,"jvmStartTime":1722435704959,"availableProcessors":4,"loadAverage":0.2587890625,"totalInit":269811712,"totalUsed":857938648,"totalCommitted":961175552,"pid":15368,"jvmName":"15368@cloud","jvmVendor":"Ubuntu","jvmVersion":"11.0.24+8-post-Ubuntu-1ubuntu324.04.1","osDistribution":"Ubuntu 24.04 LTS","agentCount":3,"heapMemoryUsed":679863568,"heapMemoryTotal":1908932608,"threadsBlockedCount":0,"threadsDaemonCount":11,"threadsRunnableCount":8,"threadsTerminatedCount":0,"threadsTotalCount":191,"threadsWaitingCount":105,"systemMemoryTotal":16770285568,"systemMemoryFree":8634466304,"systemMemoryUsed":1106440,"systemMemoryVirtualSize":6170988544,"logInfo":"/var/log/cloudstack/management/management-server.log using: 35M\non disk /dev/mapper/ubuntu--vg-ubuntu--lv mounted on / (40% full)","systemTotalCpuCycles":7967.892,"systemLoadAverages":[0.26,0.5,0.44],"systemCyclesUsage":[111694,15488,2398672],"dbLocal":true,"usageLocal":true,"systemBootTime":"Jul 31, 2024, 12:39:32 AM","kernelVersion":"6.8.0-39-generic"} to 8796756959675
    
    
  4. kiranchavala commented on Aug 1, 2024

    @kiranchavala
    Member

    @abdelouahabb Not able to reproduce the issue

    These are the steps that I followed

    1. Create a clodustack setup with Management server as 24.0.4

    2. Register a ubuntu template with the link you shared

    Screenshot 2024-08-01 at 11 38 37 AM

    https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-amd64.img

    1. Once the registration is successful, click on the download template

    Screenshot 2024-08-01 at 12 46 18 PM

    1. The template download was successful and there was no other issue

    let me know if you followed these steps ?

  5. abdelouahabb commented on Aug 1, 2024

    @abdelouahabb
    ContributorAuthor

    @abdelouahabb Not able to reproduce the issue

    These are the steps that I followed

    1. Create a clodustack setup with Management server as 24.0.4
    2. Register a ubuntu template with the link you shared

    Screenshot 2024-08-01 at 11 38 37 AM

    https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-amd64.img

    1. Once the registration is successful, click on the download template

    Screenshot 2024-08-01 at 12 46 18 PM

    1. The template download was successful and there was no other issue

    let me know if you followed these steps ?

    The 404 was happening while I was downloading, maybe it's an issue with the hypvervisor ? But I remember old releases dident have this issue (4.15)

  6. rajujith commented on Aug 5, 2024

    @rajujith
    Contributor

    @abdelouahabb Is the secondary storage an NFS share exported from the management server? Maybe it is getting filled up?

  7. added this to the unplanned milestone on Aug 13, 2024
  8. github-actions commented on Dec 27, 2025

    @github-actions

    This issue is stale because it has been open for 120 days with no activity. It may be removed by administrators of this project at any time. Remove the stale label or comment to request for removal of it to prevent this.

  9. locked and limited conversation to collaborators on Dec 28, 2025
  10. converted this issue into a discussion #12342 on Dec 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions