PPisz commented on PR #10772:
URL: https://github.com/apache/cloudstack/pull/10772#issuecomment-3649559446

   @abh1sar After the upgrade to 4.22, not much has changed. Buckets can be 
created and deleted (users create them correctly). The browser doesn't work (no 
error when refreshing), and when trying to load an object, the GUI displays a 
"Upload failed - Failed to fetch" message.
   
   The only error I found concerns the statistics:
   
   2025-12-13 05:36:26,278 DEBUG [o.a.c.s.o.B.BucketUsageTask] 
(Bucket-Usage-1:[ctx-f6e6fb06]) (logid:28638ea6) Getting bucket usage for 
Object Store "s3.dco.webdisk.io"
   2025-12-13 05:36:26,548 ERROR [o.a.c.s.o.B.BucketUsageTask] 
(Bucket-Usage-1:[ctx-f6e6fb06]) (logid:28638ea6) Failed to get bucket usage for 
Object Store "s3.dco.webdisk.io". Skipping this store. 
com.cloud.utils.exception.CloudRuntimeException: Cannot invoke 
"org.twonote.rgwadmin4j.model.BucketInfo$Usage$RgwMain.getSize_kb()" because 
the return value of 
"org.twonote.rgwadmin4j.model.BucketInfo$Usage.getRgwMain()" is null
           at 
org.apache.cloudstack.storage.datastore.driver.CephObjectStoreDriverImpl.getAllBucketsUsage(CephObjectStoreDriverImpl.java:313)
           at 
org.apache.cloudstack.storage.object.store.ObjectStoreImpl.getAllBucketsUsage(ObjectStoreImpl.java:155)
           at 
org.apache.cloudstack.storage.object.BucketApiServiceImpl$BucketUsageTask.runInContext(BucketApiServiceImpl.java:325)
           at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
           at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
           at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
           at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
           at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
           at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
           at 
java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
           at 
java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
           at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
           at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
           at java.base/java.lang.Thread.run(Thread.java:840)
   Caused by: java.lang.NullPointerException: Cannot invoke 
"org.twonote.rgwadmin4j.model.BucketInfo$Usage$RgwMain.getSize_kb()" because 
the return value of 
"org.twonote.rgwadmin4j.model.BucketInfo$Usage.getRgwMain()" is null
           at 
org.apache.cloudstack.storage.datastore.driver.CephObjectStoreDriverImpl.getAllBucketsUsage(CephObjectStoreDriverImpl.java:309)
           ... 13 more


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to