GitHub user vivekcloud9559 created a discussion: Issue while creating the 
bucket with MINIO in CloudStack 4.22

I have added the object storage for MinIO-

<img width="373" height="543" alt="Image" 
src="https://github.com/user-attachments/assets/693fe4dc-4a11-4236-940c-bd4aaa6e9f35";
 />

I have double cheked the details - it's working properly with command line - 
but when we create bucket it says - 

<img width="562" height="207" alt="Image" 
src="https://github.com/user-attachments/assets/6a918bfd-a97b-42c7-8f81-1722ebc71d0d";
 />

I have checked the global setting as well for default region, i have changed 
that too but still the same issue -

<img width="1045" height="179" alt="Image" 
src="https://github.com/user-attachments/assets/e36545cd-01cc-4072-9ee2-759ee08655b6";
 />

I have checked the logs as well - 

2026-05-27 11:05:17,570 DEBUG [o.a.c.s.o.BucketApiServiceImpl] 
(API-Job-Executor-3:[ctx-ff787543, job-4156, ctx-cf6871d1]) (logid:49a54801) 
Failed to create bucket with name: tesdt123 
com.cloud.utils.exception.CloudRuntimeException: The authorization header is 
malformed; the region is wrong; expecting 'in-north-clt'.
        at 
org.apache.cloudstack.storage.datastore.driver.MinIOObjectStoreDriverImpl.createBucket(MinIOObjectStoreDriverImpl.java:125)
        at 
org.apache.cloudstack.storage.object.store.ObjectStoreImpl.createBucket(ObjectStoreImpl.java:115)
        at 
org.apache.cloudstack.storage.object.BucketApiServiceImpl.createBucket(BucketApiServiceImpl.java:161)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at 
org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:109)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
        at 
com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:52)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
        at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
        at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
        at com.sun.proxy.$Proxy456.createBucket(Unknown Source)
        at 
org.apache.cloudstack.api.command.user.bucket.CreateBucketCmd.execute(CreateBucketCmd.java:188)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:173)
        at 
com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:110)
        at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:698)
        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 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:646)
        at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: error occurred
ErrorResponse(code = AuthorizationHeaderMalformed, message = The authorization 
header is malformed; the region is wrong; expecting 'in-north-clt'., bucketName 
= tesdt123, objectName = null, resource = /tesdt123, requestId = 
18B35558C9438766, hostId = 
dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8)
request={method=PUT, url=https://north.blob.api.cloudtechtiq.in:35718/tesdt123, 
headers=Host: north.blob.api.cloudtechtiq.in:35718
Accept-Encoding: identity
User-Agent: MinIO (Linux; amd64) minio-java/dev
Content-MD5: 1B2M2Y8AsgTpgAmY7PhCfg==
x-amz-content-sha256: UNSIGNED-PAYLOAD
x-amz-date: 20260527T053517Z
Authorization: ██
}
response={code=400, headers=Server: nginx/1.18.0 (Ubuntu)
Date: Wed, 27 May 2026 05:35:17 GMT
Content-Type: application/xml
Content-Length: 419
Connection: keep-alive
Accept-Ranges: bytes




GitHub link: https://github.com/apache/cloudstack/discussions/13481

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to